#whatsapp-button {
    position: fixed;
    bottom: 20px;   /* neeche se distance */
    right: 20px;    /* right side se distance */
    z-index: 1000;  /* upar hi rahega sab cheezon ke */
  }

  #whatsapp-button img {
    width: 60px;   /* size */
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.2s ease-in-out;
  }

  #whatsapp-button img:hover {
    transform: scale(1.1);
  }
/* ✅ Make .courses1 use the same style as .courses */
.courses1 {
    display: flex;               /* ✅ add */
    justify-content: center;     /* ✅ add */
    align-items: center;         /* ✅ add (for vertical center, optional) */
    padding: 50px 0;           /* ✅ adjust padding */
}

.section-title1 {
    text-align: center;
    margin-bottom: 50px;
    justify-content: center;
    padding: 0px 8px;
}

.section-title1 p{
    padding: 0px 8px;
}
.section-title1 h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title1 p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.courses-container1 {
    max-width: 600px;            /* ✅ add */
    padding: 0px 22px;                /* ✅ keep responsive */
    margin: 0 auto;              /* ✅ center horizontally */
    display: flex;               /* ✅ change from grid to flex */
    flex-direction: column;      /* ✅ stack items vertically */
    align-items: center;         /* ✅ center items */
    gap: 20px;                   /* ✅ spacing between items */
}

.course-card1 {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    justify-items: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-top: 2px solid var(--primary-color);  /* 🔹 changed 4px → 2px */
}


.course-card1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.course-card-header1 {
    background-color: var(--secondary-color);
    color: white;
    padding: 20px;
    text-align: center;
    width: 100%;
}

.course-card-header1 h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    align-items: center;
    justify-content: center;
}

.course-price1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.course-card-body1 {
    padding: 20px;
    display: flex;
    flex-direction: column;  /* ✅ stack content vertically */
    align-items: flex-start; /* ✅ align points to left */
}

.course-features1 {
    list-style: none;
    margin-bottom: 30px;
}

.course-features1 li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.course-features1 li i {
    color: var(--primary-color);
    margin-right: 10px;
}




/* Section background */
#forex-broker {
    padding: 70px 20px;
    background: #fff;   /* White background */
    text-align: center;
}

/* Flex wrapper */
.broker-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: center;
    text-align: left;
}

/* Left side */
.broker-info {
    flex: 1;
    min-width: 320px;
}

.broker-info h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.broker-info .intro {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Button */
.btn-account {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(45deg, #FFD700, #FFB800);
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 35px;
    font-size: 18px;
    box-shadow: 0px 5px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover ONLY on button */
.btn-account:hover {
    transform: scale(1.08);
    box-shadow: 0px 8px 18px rgba(0,0,0,0.3);
}
.card:hover {
    transform: scale(1.08);
    box-shadow: 0px 8px 18px rgba(0,0,0,0.3);
}

/* Image on right side */
.broker-img {
    max-width: 300px;  /* smaller size */
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
}
.broker-img:hover {
    transform: scale(1.1);
}

/* Centered 5th Card */
.card-center {
    background: linear-gradient(45deg, #FFD700, #FFB800);
    padding: 20px;
    border-radius: 15px;
    max-width: 700px;
    margin: 40px auto 0 auto;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.card-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.card-center:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-center:hover::before {
    left: 100%;
}

.quote-text {
    transition: all 0.3s ease;
    display: inline-block;
}

.card-center:hover .quote-text {
    transform: scale(1.03);
    transition-delay: 0.1s;
}

.logo {
    height: 50px; /* Adjust as needed */
    width: auto;
    object-fit: contain;
}


 
 :root {
            --primary-color: #FFD700;
            --secondary-color: #000;
            --text-color: #333;
            --light-bg: #f8f9fa;
            --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            overflow-x: hidden;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        header {
            background-color: var(--secondary-color);
            color: white;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transition: padding 0.3s ease;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-color);
        }

        .logo i {
            margin-right: 10px;
            font-size: 2rem;
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 25px;
        }

        nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            position: relative;
            padding: 5px 10px;
            overflow: hidden;
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 50%;
            background-color: var(--primary-color);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        nav ul li a:hover::after,
        nav ul li a.active::after {
            width: 80%;
        }

        nav ul li a:hover {
            color: var(--primary-color);
            transform: translateY(-2px);
        }

        /* Active page highlight */
        nav ul li a.active {
            color: var(--primary-color);
            font-weight: 600;
        }

        .btn-primary {
            background-color: var(--primary-color);
            color: var(--secondary-color);
            padding: 10px 25px;
            border-radius: 30px;
            font-weight: bold;
            text-decoration: none;
            display: inline-block;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }

        .btn-primary:hover {
            background-color: #e6c200;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
        }

        .btn-outline {
            background-color: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
            padding: 10px 25px;
            border-radius: 30px;
            font-weight: bold;
            text-decoration: none;
            display: inline-block;
            transition: var(--transition);
        }

        .btn-outline:hover {
            background-color: var(--primary-color);
            color: var(--secondary-color);
        }

        .auth-buttons {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        /* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Home page animations */
.hero {
    overflow-x: hidden;
}

.hero h1 {
    animation: slideFromLeft 0.8s ease-out forwards;
    opacity: 0;
}

.hero p {
    animation: slideFromLeft 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    animation: slideFromLeft 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-buttons a {
    animation: slideFromLeft 0.8s ease-out 0.9s forwards;
    opacity: 0;
}

/* Mobile Menu */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 0;
            border-radius: 10px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            animation: modalSlideIn 0.3s ease;
        }

        @keyframes modalSlideIn {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-header {
            background-color: var(--secondary-color);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h2 {
            font-size: 1.5rem;
        }

        .close {
            color: white;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
        }

        .close:hover {
            color: var(--primary-color);
        }

        .modal-body {
            padding: 30px;
        }

        .tab-container {
            display: flex;
            margin-bottom: 30px;
            border-bottom: 1px solid #eee;
        }

        .tab-btn {
            flex: 1;
            padding: 15px;
            background: none;
            border: none;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
            color: #666;
        }

        .tab-btn.active {
            color: var(--primary-color);
            border-bottom: 3px solid var(--primary-color);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--text-color);
        }

        .form-group input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
        }

        .form-group input[type="checkbox"] {
            width: auto;
            margin-right: 8px;
        }

        .form-group.checkbox {
            display: flex;
            align-items: center;
        }

        .form-group a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
        }

        .form-group a:hover {
            text-decoration: underline;
        }

        .form-submit {
            width: 100%;
            padding: 15px;
            background-color: var(--primary-color);
            color: var(--secondary-color);
            border: none;
            border-radius: 5px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
        }

        .form-submit:hover {
            background-color: #e6c200;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
        }

        .social-login {
            margin-top: 30px;
            text-align: center;
        }

        .social-login p {
            margin-bottom: 15px;
            color: #666;
        }

        .social-login-buttons {
            display: flex;
            gap: 10px;
        }

        .social-login-btn {
            flex: 1;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            background: white;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .social-login-btn:hover {
            border-color: var(--primary-color);
            background-color: #f9f9f9;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            color: white;
            padding: 150px 0 100px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
            background-size: cover;
            background-position: center;
            opacity: 0.3;
            z-index: 0;
        }

        .hero-content {
            position: relative;
            z-index: 1;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: white;
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.3rem;
            max-width: 700px;
            margin: 0 auto 30px;
            color: #ddd;
        }

        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        /* Stats Section */
        .stats {
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .stats::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            opacity: 0.15;
            z-index: 0;
        }

        .stats-container {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            text-align: center;
        }

        .stat-card {
            background: white;
            padding: 30px 20px;
            border-radius: 10px;
            box-shadow: var(--card-shadow);
            transition: var(--transition);
        }

        .stat-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .stat-card i {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 15px;
        }

        .stat-card h3 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            color: var(--secondary-color);
        }

        .stat-card p {
            color: #666;
        }

        /* Courses Section */
        .courses {
            padding: 80px 0;
            background-color: white;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
       

        .section-title h2 {
            font-size: 2.5rem;
            color: var(--secondary-color);
            margin-bottom: 15px;
        }

        .section-title p {
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }


        
        .courses-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
          
        .course-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: var(--transition);
            border-top: 4px solid var(--primary-color);
        }
         

        .course-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
         

        .course-card-header {
            background-color: var(--secondary-color);
            color: white;
            padding: 20px;
            text-align: center;
        }


        .course-card-header h3 {
            font-size: 1.8rem;
            margin-bottom: 10px;
        }
        
        .course-price {
            font-size: 2.5rem;
            color: var(--primary-color);
            font-weight: bold;
        }
        

        .course-card-body {
            padding: 30px;
        }
       

        .course-features {
            list-style: none;
            margin-bottom: 30px;
        }
        

        .course-features li {
            margin-bottom: 12px;
            display: flex;
            align-items: center;
        }
        
        .course-features li i {
            color: var(--primary-color);
            margin-right: 10px;
        }
        

        /* About Section */
        .about {
            padding: 80px 0;
            background-color: var(--light-bg);
        }

        .about-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .about-image {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: var(--card-shadow);
        }

        .about-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: var(--transition);
        }

        .about-image:hover img {
            transform: scale(1.05);
        }

        .about-content h2 {
            font-size: 2.5rem;
            color: var(--secondary-color);
            margin-bottom: 20px;
        }

        .about-content p {
            margin-bottom: 20px;
            color: #555;
        }

        .about-content .btn-primary {
            margin-top: 20px;
        }

        /* Social Media Section */
        .social {
            padding: 80px 0;
            text-align: center;
            background-color: #fff;
        }

        .social h2 {
            color: var(--secondary-color);
            margin-bottom: 20px;
            font-size: 2.5rem;
        }

        .social p {
            max-width: 700px;
            margin: 0 auto 40px;
            color: #666;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .social-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 30px;
        }

        .social-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100px;
            height: 100px;
            border-radius: 15px;
            background: white;
            color: #333;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            padding: 15px;
            position: relative;
            overflow: hidden;
        }

        .social-link i {
            font-size: 28px;
            margin-bottom: 8px;
            transition: transform 0.3s ease;
        }

        .social-link span {
            font-size: 12px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }

        .social-link:hover i {
            transform: scale(1.2);
            color: var(--primary-color);
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
        }

        .social-link:hover::before {
            left: 100%;
        }

        /* Specific brand colors on hover */
        .social-link[href*="facebook.com"]:hover { background-color: #1877f2; color: white; }
        .social-link[href*="instagram.com"]:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
        .social-link[href*="youtube.com"]:hover { background-color: #ff0000; color: white; }
        .social-link[href*="tiktok.com"]:hover { background-color: #000000; color: white; }
        .social-link[href*="whatsapp.com"]:hover,
        .social-link[href*="wa.me"]:hover { background-color: #25d366; color: white; }

        .contact-card{
            margin-top: 20px;
            background: white;
            border-radius: 10px;
            padding: 20px;
            width: 66%;
            align-items: center;
            box-shadow: var(--card-shadow);
            transition: var(--transition);
            text-align: center;
        }
        .contact-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        /* Responsive adjustments for social links */
        @media (max-width: 768px) {
            .social-link {
                width: 80px;
                height: 80px;
                padding: 10px;
            }
            
            .social-link i {
                font-size: 24px;
            }
            
            .social-link span {
                font-size: 10px;
            }
        }
        
        @media (max-width: 480px) {
            .social-links {
                gap: 10px;
            }
            
            .social-link {
                width: 70px;
                height: 70px;
            }
        }

        /* Footer */
        footer {
            background-color: #111;
            color: white;
            padding: 70px 0 20px;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 50px;
        }

        .footer-col h3 {
            font-size: 1.3rem;
            margin-bottom: 25px;
            color: var(--primary-color);
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 12px;
        }

        .footer-col ul li a {
            color: #aaa;
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-col ul li a:hover {
            color: var(--primary-color);
            padding-left: 5px;
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #333;
            color: #777;
            font-size: 0.9rem;
        }

        /* Enhanced Responsive Design */
        @media (max-width: 1200px) {
            .hero h1 {
                font-size: 3rem;
            }
            
            .section-title h2 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 992px) {
            .hero h1 {
                font-size: 2.8rem;
            }

            .hero p {
                font-size: 1.2rem;
            }

            .about-container {
                grid-template-columns: 1fr;
            }

            .about-image {
                max-width: 600px;
                margin: 0 auto;
            }

            .stats-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .courses-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .header-container {
                flex-wrap: wrap;
                padding: 10px 0;
            }

            .logo {
                font-size: 1.2rem;
            }

            .logo i {
                font-size: 1.5rem;
            }

            nav {
                display: none;
                width: 100%;
                margin-top: 15px;
            }

            nav.active {
                display: block;
            }

            nav ul {
                flex-direction: column;
                width: 100%;
            }

            nav ul li {
                margin: 10px 0;
            }

            .mobile-menu-btn {
                display: block;
            }

            .auth-buttons {
                display: none;
            }

            .btn-primary {
                padding: 8px 20px;
                font-size: 0.9rem;
            }

            .hero {
                padding: 120px 0 80px;
            }

            .hero h1 {
                font-size: 2.2rem;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .btn-primary, .btn-outline {
                width: 200px;
                text-align: center;
            }

            .stats-container {
                grid-template-columns: 1fr;
            }

            .courses-container {
                grid-template-columns: 1fr;
            }

            .section-title h2 {
                font-size: 2rem;
            }

            .social h2 {
                font-size: 2rem;
            }

            .footer-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .modal-content {
                width: 95%;
                margin: 10% auto;
            }
        }

        @media (max-width: 576px) {
            .container {
                width: 95%;
                padding: 0 10px;
            }

            .hero h1 {
                font-size: 1.8rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .section-title h2 {
                font-size: 1.8rem;
            }

            .stat-card h3 {
                font-size: 2rem;
            }

            .course-card-header h3 {
                font-size: 1.5rem;
            }

            .course-price {
                font-size: 2rem;
            }

            .about-content h2 {
                font-size: 2rem;
            }

            .social h2 {
                font-size: 1.8rem;
            }

            .social-link {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }

            .footer-container {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .copyright {
                font-size: 0.8rem;
            }

            .modal-content {
                width: 95%;
                margin: 15% auto;
            }

            .modal-header h2 {
                font-size: 1.3rem;
            }

            .modal-body {
                padding: 20px;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 1.6rem;
            }

            .hero p {
                font-size: 0.95rem;
            }

            .section-title h2 {
                font-size: 1.6rem;
            }

            .stat-card {
                padding: 30px 25px;
            }

            .stat-card i {
                font-size: 2rem;
            }

            .stat-card h3 {
                font-size: 1.8rem;
            }

            .course-card-body {
                padding: 20px;
            }

            .about-content h2 {
                font-size: 1.8rem;
            }

            .social h2 {
                font-size: 1.6rem;
            }

            .social-login-buttons {
                flex-direction: column;
            }
        }

        /* Extra small devices */
        @media (max-width: 360px) {
            .hero h1 {
                font-size: 1.4rem;
            }

            .hero p {
                font-size: 0.9rem;
            }

            .btn-primary, .btn-outline {
                width: 180px;
                padding: 8px 20px;
                font-size: 0.9rem;
            }

            .section-title h2 {
                font-size: 1.5rem;
            }

            .course-card-header h3 {
                font-size: 1.3rem;
            }

            .course-price {
                font-size: 1.8rem;
            }

            .about-content h2 {
                font-size: 1.6rem;
            }

            .modal-content {
                width: 95%;
                margin: 20% auto;
            }
        }
        
    