/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Color Variables */
:root {
    --primary-blue: #1A233A;
    --dark-blue: #1A1A3D;
    --orange: #FF8C42;
    --light-orange: #F57C00;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --text-gray: #666;
    --border-gray: #E5E5E5;
}

/* Top Header */
.top-header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.search-section {
    flex: 1;
    max-width: 300px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 12px;
    color: var(--white);
    z-index: 2;
}

.search-box input {
    width: 100%;
    padding: 8px 12px 8px 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--white);
    font-size: 14px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Search Icon Only */
.search-box-mobile {
    display: none;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box-mobile:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.search-box-mobile i {
    color: var(--white);
    font-size: 16px;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    color: var(--orange);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--orange);
}

/* Auth Icons for Mobile/Tablet */
.auth-icons {
    display: none;
    gap: 15px;
    align-items: center;
}

/* Header Auth Icons (Hidden by default, shown on mobile/tablet) */
.header-auth-icons {
    display: none;
    gap: 15px;
    align-items: center;
}

.auth-icon {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.auth-icon:hover {
    background-color: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}

.auth-icon.login {
    border-color: var(--white);
}

.auth-icon.register {
    background-color: var(--orange);
    border-color: var(--orange);
}

.auth-icon.register:hover {
    background-color: var(--light-orange);
}

/* Main Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header {
    width: 100%;
    height: 70px; /* header height */
    display: flex;
    align-items: center;
    padding: 0 20px;
    background-color: #fff; /* or your color */
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 8px; /* space between image and text */
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
  }
  
  .logo-image {
    width: 150px;   /* increase width */
    height: 60px;   /* increase height */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .logo-image img {
    width: 100%;     /* fill the container */
    height: 100%;
    object-fit: contain;
  }
  
  
  .logo-text {
    color: var(--primary-blue);
  }
  

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: var(--orange);
}

/* Dropdown Menu */
.dropdown,
.custom-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i,
.custom-dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.custom-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}

.custom-dropdown:hover .dropdown-menu,
.custom-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--primary-blue);
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--orange);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cart-icon {
    position: relative;
    color: var(--primary-blue);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: var(--orange);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--orange);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary-blue);
    text-decoration: none;
    border: 2px solid var(--primary-blue);
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-register {
    padding: 10px 20px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background-color: var(--light-orange);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Footer */
.footer {
    align-items: center;
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-image {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo .logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo .logo-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-section h4 {
    margin-bottom: 15px;
}

.footer .social-links {
    display: flex;
    gap: 15px;
}

.footer .social-links a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background-color: var(--orange);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-links i {
    color: var(--orange);
    font-size: 12px;
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.post-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content h5 {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.post-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* New Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a233a 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), #ff8c42, var(--orange));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

/* Company Info Section */
.company-info .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.company-info .logo-image {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-info .logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-info .logo-text h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 15px;
}

/* Social Links */
.social-section h4 {
    margin-bottom: 20px;
    font-size: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 102, 54, 0.3);
    color: var(--white);
}

.social-link.facebook:hover { background: #1877f2; }
.social-link.twitter:hover { background: #1da1f2; }
.social-link.linkedin:hover { background: #0077b5; }
.social-link.instagram:hover { background: #e4405f; }
.social-link.youtube:hover { background: #ff0000; }

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--orange);
    transform: translateX(5px);
}

.footer-links i {
    color: var(--orange);
    font-size: 10px;
    transition: transform 0.3s ease;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Contact Section */
.contact-section .contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 16px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    color: var(--orange);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.4;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--orange);
}

/* Responsive Footer Styles */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .footer {
        padding: 60px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .company-info {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .company-info .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 18px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .company-info .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .company-info .logo-text h3 {
        font-size: 16px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
    
    .contact-icon i {
        font-size: 14px;
    }
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-line {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Main Content Styles */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 58, 0.8);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.hero-tagline {
    display: inline-block;
    background-color: var(--orange);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.btn-primary {
    background-color: var(--orange);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--light-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 13px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

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

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background-color: var(--white);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.content-text {
    padding-left: 20px;
}

.section-tagline {
    color: var(--orange);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Popular Categories Section */
.popular-categories {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--orange);
}

.category-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 32px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background-color: var(--orange);
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.view-more {
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.view-more:hover {
    color: var(--light-orange);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Courses Hero Section */
.courses-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    overflow: hidden;
}

.courses-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/courses-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.courses-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 58, 0.8);
}

.courses-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 60px 0;
}

.courses-hero .hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.courses-hero .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
}

.courses-hero .breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.courses-hero .breadcrumb a:hover {
    color: var(--orange);
    background-color: rgba(255, 255, 255, 0.1);
}

.courses-hero .breadcrumb .separator {
    color: var(--white);
    opacity: 0.7;
    font-weight: 300;
}

.courses-hero .breadcrumb .current {
    color: var(--orange);
    font-weight: 600;
}

/* Courses Page */
.courses-page {
    padding: 40px 0 100px;
    background-color: var(--white);
}

.courses-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.search-section {
    flex: 1;
    max-width: 400px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 15px;
    color: var(--text-gray);
    z-index: 2;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 16px;
    color: var(--primary-blue);
    background-color: var(--white);
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--orange);
}

.search-box input::placeholder {
    color: var(--text-gray);
}

.sort-section {
    min-width: 250px;
}

.sort-dropdown {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 16px;
    background-color: var(--white);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.sort-dropdown:focus {
    outline: none;
    border-color: var(--orange);
}

.courses-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar Filters */
.courses-sidebar {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 30px;
}

.filter-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.filter-option:hover {
    color: var(--primary-blue);
}

.filter-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.filter-option input[type="checkbox"]:checked + .checkmark {
    background-color: var(--orange);
    border-color: var(--orange);
}

.filter-option input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.clear-filters-btn {
    width: 100%;
    background-color: var(--orange);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.clear-filters-btn:hover {
    background-color: var(--light-orange);
    transform: translateY(-2px);
}

/* Main Content Area */
.courses-main {
    min-height: 600px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.course-card.hidden {
    display: none !important;
}

/* No Courses Found Message */
.no-courses-message {
    grid-column: 1 / -1;
    margin: 40px 0;
}

.no-courses-message .text-center {
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.no-courses-message h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.no-courses-message .text-muted {
    color: #6c757d;
    margin-bottom: 25px;
}

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

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.course-level {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 12px;
}

.course-content {
    padding: 20px;
}

.course-price {
    color: var(--orange);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.course-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1.4;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stars {
    color: var(--orange);
    font-size: 14px;
}

.rating-text {
    color: var(--text-gray);
    font-size: 12px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-gray);
}

.course-duration,
.course-students {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-duration i,
.course-students i {
    color: var(--orange);
}

/* About Us Page */
.about-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    overflow: hidden;
}

.about-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/about-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 58, 0.8);
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.about-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--orange);
}

.breadcrumb .separator {
    color: var(--white);
    opacity: 0.7;
}

.breadcrumb .current {
    color: var(--orange);
    font-weight: 500;
}

/* Image Gallery Section */
.image-gallery {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.gallery-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 380px;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

.gallery-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Who We Are Section */
.who-we-are {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.who-we-are .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.who-we-are .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.3;
}

.who-we-are .section-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    padding: 30px 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Why We Are The Best Section */
.why-best {
    padding: 100px 0;
    background-color: var(--white);
}

.why-best .section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    flex: 0 1 350px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--orange);
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-blue);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Instructors Section */
.instructors-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.instructors-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.instructor-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.instructor-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--orange);
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.instructor-info span {
    color: var(--text-gray);
    font-size: 14px;
}

/* Testimonials About Section */
.testimonials-about {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonials-about .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-about .testimonials-grid {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-about .testimonial-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.testimonials-about .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--orange);
}

.testimonials-about .quote-icon {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.testimonials-about .stars {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--orange);
}

.testimonials-about .testimonial-text {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonials-about .testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.testimonials-about .testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonials-about .author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.testimonials-about .author-info span {
    color: var(--text-gray);
    font-size: 14px;
}

/* Additional About Us Styles */
.about-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 60px 0;
}

.about-hero .hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.breadcrumb a:hover {
    color: var(--orange);
    background-color: rgba(255, 255, 255, 0.1);
}

.breadcrumb .separator {
    color: var(--white);
    opacity: 0.7;
    font-weight: 300;
}

.breadcrumb .current {
    color: var(--orange);
    font-weight: 600;
}

/* Enhanced Gallery Styles */
.gallery-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.gallery-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* Enhanced Stats Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    padding: 40px 20px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 15px;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Feature Cards */
.feature-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 380px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--light-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--orange);
}

.feature-card .feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--orange), var(--light-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--white);
    font-size: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(255, 140, 66, 0.3);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(26, 35, 58, 0.3);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

/* Enhanced Instructor Cards */
.instructor-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.instructor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--light-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.instructor-card:hover::before {
    transform: scaleX(1);
}

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

.instructor-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 5px solid var(--orange);
    transition: all 0.3s ease;
    position: relative;
}

.instructor-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--orange), var(--light-orange));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instructor-card:hover .instructor-image::before {
    opacity: 1;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instructor-card:hover .instructor-image img {
    transform: scale(1.1);
}

.instructor-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instructor-info span {
    color: var(--orange);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Testimonial Cards */
.testimonials-about .testimonial-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.testimonials-about .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--light-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonials-about .testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonials-about .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--orange);
}

.testimonials-about .quote-icon {
    font-size: 4rem;
    color: var(--orange);
    margin-bottom: 25px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.testimonials-about .testimonial-card:hover .quote-icon {
    opacity: 1;
    transform: scale(1.1);
}

.testimonials-about .stars {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--orange);
}

.testimonials-about .testimonial-text {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 35px;
    font-style: italic;
    font-size: 1.1rem;
}

.testimonials-about .testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.testimonials-about .testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange);
    transition: all 0.3s ease;
}

.testimonials-about .testimonial-card:hover .testimonial-author img {
    transform: scale(1.1);
    border-color: var(--light-orange);
}

.testimonials-about .author-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonials-about .author-info span {
    color: var(--orange);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===========================================
   CONTACT PAGE - DESKTOP VERSION (Default)
   =========================================== */

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

/* Contact Info Card */
.contact-info {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    border: 1px solid #e8eef3;
    transition: all 0.3s ease;
}

.contact-info:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.contact-info h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-info > p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 45px;
}

/* Contact Details List */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-item:hover {
    background-color: #fff;
    border-color: var(--orange);
    box-shadow: 0 4px 15px rgba(255, 102, 54, 0.15);
    transform: translateX(5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange) 0%, #ff8563 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(255, 102, 54, 0.4);
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.contact-text p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* Contact Form Card */
.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    border: 1px solid #e8eef3;
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.contact-form h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 35px;
    line-height: 1.2;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--primary-blue);
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 102, 54, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

/* Checkbox Group Spacing */
.checkbox-group {
    margin-bottom: 25px !important;
}

/* Button Spacing */
.auth-form .btn-primary {
    margin-top: 10px;
    margin-bottom: 20px;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

/* Form Control (Bootstrap compatible) */
.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--primary-blue);
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--orange);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 102, 54, 0.1);
}

.form-control::placeholder {
    color: #a0aec0;
}

/* Submit Button */
.contact-form .btn-primary {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    background: linear-gradient(135deg, var(--orange) 0%, #ff8563 100%);
    color: var(--white);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(255, 102, 54, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 102, 54, 0.5);
    background: linear-gradient(135deg, #ff8563 0%, var(--orange) 100%);
}

.contact-form .btn-primary:active {
    transform: translateY(-1px);
}

/* Map Section */
.map-section {
    padding: 0 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e8eef3;
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.map-container iframe {
    width: 100%;
    height: 500px;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

/* Page Header Enhancement */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-description {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Hero Section */
.contact-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    overflow: hidden;
}

.contact-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/contact-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 58, 0.8);
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 60px 0;
}

.contact-hero .hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
}

.contact-hero .breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.contact-hero .breadcrumb a:hover {
    color: var(--orange);
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-hero .breadcrumb .separator {
    color: var(--white);
    opacity: 0.7;
    font-weight: 300;
}

.contact-hero .breadcrumb .current {
    color: var(--orange);
    font-weight: 600;
}

/* Registration Section */
.registration-section {
    padding: 100px 0;
    background-color: var(--white);
}

.registration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.registration-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 40px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: var(--orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.benefit-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.checkbox-group {
    margin-bottom: 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-gray);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.terms-link {
    color: var(--orange);
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Auth Section */
.auth-section {
    padding: 100px 0;
    background-color: var(--light-gray);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.auth-form {
    background-color: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.forgot-password {
    color: var(--orange);
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
}

.auth-footer p {
    color: var(--text-gray);
}

.auth-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-image {
    text-align: center;
}

.auth-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* All Categories Buttons */
.all-categories-top,
.all-categories-bottom {
    padding: 40px 0;
    background-color: var(--white);
    text-align: center;
}

.btn-all-categories {
    background-color: var(--orange);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-all-categories:hover {
    background-color: var(--light-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-students.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 58, 0.8);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.hero-tagline {
    display: inline-block;
    background-color: var(--orange);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

/* Popular Courses Section */
.popular-courses {
    padding: 100px 0;
    background-color: var(--white);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.course-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.course-price,
.course-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.course-price {
    background-color: var(--orange);
    color: var(--white);
}

.course-status.free {
    background-color: #28a745;
    color: var(--white);
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1.4;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: var(--orange);
}

.rating-text {
    color: var(--text-gray);
    font-size: 14px;
}

/* Upcoming Webinars Section */
.upcoming-webinars {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.webinars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.webinar-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.webinar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.webinar-image {
    height: 200px;
    overflow: hidden;
}

.webinar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.webinar-content {
    padding: 25px;
}

.webinar-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.webinar-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.webinar-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--orange);
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--orange);
}

.quote-icon {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.testimonial-card .stars {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.author-info span {
    color: var(--text-gray);
    font-size: 14px;
}

/* Become Sections */
.become-sections {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.become-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.become-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.become-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.become-image {
    height: 250px;
    overflow: hidden;
}

.become-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.become-content {
    padding: 30px;
    text-align: center;
}

.become-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.become-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-become {
    background-color: var(--orange);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-become:hover {
    background-color: var(--light-orange);
    transform: translateY(-2px);
}

/* ===========================================
   RESPONSIVE IMAGE OPTIMIZATION
   =========================================== */

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy Loading Images */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Responsive Image Containers */
.image-container {
    position: relative;
    overflow: hidden;
    background-color: var(--light-gray);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Hero Background Images */
.hero-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .hero-background {
        background-attachment: scroll;
    }
}

/* Course Card Images */
.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Gallery Images */
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* Instructor Images */
.instructor-image {
    position: relative;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instructor-card:hover .instructor-image img {
    transform: scale(1.1);
}

/* Testimonial Author Images */
.testimonial-author img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-author img {
    transform: scale(1.1);
}

/* Logo Images */
.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Footer Logo Images */
.footer-logo .logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Post Images */
.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   =========================================== */

/* Mobile Menu Toggle Enhancement */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: var(--light-gray);
    color: var(--orange);
}

.mobile-menu-toggle.active {
    color: var(--orange);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-nav-overlay.active {
    display: block;
}

/* ===========================================
   MOBILE DEVICES (320px - 767px)
   =========================================== */
@media (max-width: 767px) {
    /* Container adjustments */
    .container {
        padding: 0 15px;
    }
    
    /* Hide Top Header Completely on Mobile */
    .top-header {
        display: none;
    }
    
    /* Main Header Mobile */
    .header {
        height: auto;
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    
    .logo {
        font-size: 20px;
        flex: 1;
    }
    
    .logo-image {
        width: 120px;
        height: 50px;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        display: flex;
        left: 0;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-gray);
    }
    
    /* Mobile Dropdown Styles */
    .custom-dropdown .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-top: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        pointer-events: none;
    }
    
    .custom-dropdown.active .dropdown-menu {
        max-height: 300px;
        pointer-events: auto;
    }
    
    .custom-dropdown .dropdown-menu a {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border-gray);
        font-size: 16px;
        pointer-events: auto;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 2;
    }
    
    .header-actions {
        gap: 10px;
        order: 3;
    }
    
    /* Hide desktop auth buttons on mobile */
    .btn-login,
    .btn-register {
        display: none;
    }
    
    /* Show auth icons in main header for mobile */
    .header-auth-icons {
        display: flex;
        gap: 10px;
        order: 3;
    }
    
    .header-auth-icon {
        width: 35px;
        height: 35px;
        background-color: rgba(26, 35, 58, 0.1);
        border: 1px solid rgba(26, 35, 58, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-blue);
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 14px;
    }
    
    .header-auth-icon:hover {
        background-color: var(--orange);
        color: var(--white);
        transform: translateY(-2px);
    }
    
    .header-auth-icon.login {
        border-color: var(--primary-blue);
    }
    
    .header-auth-icon.register {
        background-color: var(--orange);
        border-color: var(--orange);
        color: var(--white);
    }
    
    .header-auth-icon.register:hover {
        background-color: var(--light-orange);
    }
    
    /* Hero Section Mobile */
    .hero-section {
        min-height: 60vh;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 15px 25px;
        text-align: center;
    }
    
    /* Why Choose Us Mobile */
    .why-choose-us {
        padding: 60px 0;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-text {
        padding-left: 0;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .features-list {
        gap: 25px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Categories Mobile */
    .popular-categories {
        padding: 60px 0;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card {
        padding: 30px 20px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    /* Page Header Mobile */
    .page-header {
        padding: 60px 0;
    }
    
    .page-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    /* Courses Mobile */
    .courses-hero {
        min-height: 50vh;
    }
    
    .courses-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .courses-hero .hero-content {
        padding: 40px 0;
    }
    
    .courses-hero .breadcrumb,
    .contact-hero .breadcrumb {
        font-size: 16px;
        flex-wrap: wrap;
    }
    
    .courses-page {
        padding: 30px 0 60px;
    }
    
    .courses-top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .search-section {
        max-width: none;
    }
    
    .courses-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .courses-sidebar {
        position: static;
        order: 2;
        padding: 20px;
    }
    
    .courses-main {
        order: 1;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .course-card {
        margin-bottom: 20px;
    }
    
    /* About Us Mobile */
    .about-hero {
        min-height: 50vh;
    }
    
    .contact-hero {
        min-height: 50vh;
    }
    
    .about-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .about-hero .hero-content,
    .contact-hero .hero-content {
        padding: 40px 0;
    }
    
    .breadcrumb,
    .contact-hero .breadcrumb {
        font-size: 16px;
        flex-wrap: wrap;
    }
    
    .image-gallery {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-card img {
        height: 250px;
    }
    
    .who-we-are {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stat-item {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .why-best {
        padding: 60px 0;
    }
    
    .features-grid {
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px 20px;
        flex: 1 1 100%;
    }
    
    .feature-card .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .instructors-section {
        padding: 60px 0;
    }
    
    .instructors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .instructor-card {
        padding: 30px 20px;
    }
    
    .instructor-image {
        width: 100px;
        height: 100px;
    }
    
    .instructor-info h3 {
        font-size: 1.1rem;
    }
    
    .testimonials-about {
        padding: 60px 0;
    }
    
    .testimonials-about .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-about .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonials-about .quote-icon {
        font-size: 2.5rem;
    }
    
    .testimonials-about .testimonial-author {
        flex-direction: column;
        gap: 15px;
    }
    
    .testimonials-about .testimonial-author img {
        width: 60px;
        height: 60px;
    }
    
    /* Contact Mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-details {
        gap: 25px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .contact-form h2 {
        font-size: 1.8rem;
    }
    
    /* Registration Mobile */
    .registration-section {
        padding: 60px 0;
    }
    
    .registration-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .registration-info h2 {
        font-size: 2rem;
    }
    
    .benefits-list {
        gap: 25px;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Auth Mobile */
    .auth-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .auth-form {
        padding: 30px 20px;
    }
    
    .auth-header h1 {
        font-size: 2rem;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo .logo-image {
        width: 120px;
        height: 120px;
    }
    
    .footer-logo .logo-text {
        font-size: 18px;
    }
    
    .footer .social-links {
        justify-content: center;
    }
    
    .footer .contact-info {
        align-items: center;
    }
    
    .footer .contact-item {
        justify-content: center;
    }
}

/* ===========================================
   SMALL MOBILE DEVICES (320px - 480px)
   =========================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .logo-image {
        width: 100px;
        height: 40px;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .btn-login,
    .btn-register {
        width: 100%;
        text-align: center;
        padding: 10px 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .courses-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .about-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .contact-info h2 {
        font-size: 1.6rem;
    }
    
    .registration-info h2 {
        font-size: 1.6rem;
    }
    
    .auth-header h1 {
        font-size: 1.8rem;
    }
    
    .contact-form h2 {
        font-size: 1.6rem;
    }
    
    .category-card,
    .feature-card,
    .instructor-card,
    .testimonials-about .testimonial-card {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* ===========================================
   TABLET DEVICES (768px - 1023px)
   =========================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 30px;
    }
    
    /* Hide Top Header Completely on Tablet */
    .top-header {
        display: none;
    }
    
    /* Main Header Tablet */
    .header {
        padding: 0 30px;
    }
    
    .logo-image {
        width: 140px;
        height: 55px;
    }
    
    .nav-menu {
        gap: 25px;
    }
    
    .nav-link {
        font-size: 15px;
    }
    
    .header-actions {
        gap: 12px;
    }
    
    .btn-login,
    .btn-register {
        display: none;
    }
    
    /* Show auth icons in main header for tablet */
    .header-auth-icons {
        display: flex;
        gap: 12px;
    }
    
    .header-auth-icon {
        width: 38px;
        height: 38px;
        background-color: rgba(26, 35, 58, 0.1);
        border: 1px solid rgba(26, 35, 58, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-blue);
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 15px;
    }
    
    .header-auth-icon:hover {
        background-color: var(--orange);
        color: var(--white);
        transform: translateY(-2px);
    }
    
    .header-auth-icon.login {
        border-color: var(--primary-blue);
    }
    
    .header-auth-icon.register {
        background-color: var(--orange);
        border-color: var(--orange);
        color: var(--white);
    }
    
    .header-auth-icon.register:hover {
        background-color: var(--light-orange);
    }
    
    /* Hero Section Tablet */
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        gap: 18px;
    }
    
    /* Why Choose Us Tablet */
    .why-choose-us {
        padding: 80px 0;
    }
    
    .section-content {
        gap: 50px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-description {
        font-size: 1.05rem;
    }
    
    .features-list {
        gap: 25px;
    }
    
    .feature-item {
        gap: 18px;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    /* Categories Tablet */
    .popular-categories {
        padding: 80px 0;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .category-card {
        padding: 35px 25px;
    }
    
    .category-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    /* Page Header Tablet */
    .page-header {
        padding: 70px 0;
    }
    
    .page-title {
        font-size: 2.8rem;
    }
    
    .page-description {
        font-size: 1.1rem;
    }
    
    /* Courses Tablet */
    .courses-hero {
        min-height: 55vh;
    }
    
    .courses-hero .hero-title {
        font-size: 3rem;
    }
    
    .courses-hero .hero-content {
        padding: 50px 0;
    }
    
    .courses-page {
        padding: 40px 0 80px;
    }
    
    .courses-top-bar {
        gap: 25px;
    }
    
    .courses-layout {
        grid-template-columns: 250px 1fr;
        gap: 35px;
    }
    
    .courses-sidebar {
        padding: 25px;
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* About Us Tablet */
    .about-hero {
        min-height: 60vh;
    }
    
    .contact-hero {
        min-height: 55vh;
    }
    
    .about-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 3rem;
    }
    
    .about-hero .hero-content,
    .contact-hero .hero-content {
        padding: 50px 0;
    }
    
    .image-gallery {
        padding: 70px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .gallery-card img {
        height: 280px;
    }
    
    .who-we-are {
        padding: 80px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
    
    .stat-item {
        padding: 35px 25px;
    }
    
    .stat-number {
        font-size: 3.2rem;
    }
    
    .stat-label {
        font-size: 1.05rem;
    }
    
    .why-best {
        padding: 80px 0;
    }
    
    .features-grid {
        gap: 35px;
    }
    
    .feature-card {
        padding: 40px 30px;
        flex: 0 1 calc(50% - 20px);
    }
    
    .feature-card .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .instructors-section {
        padding: 80px 0;
    }
    
    .instructors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .instructor-card {
        padding: 35px 25px;
    }
    
    .instructor-image {
        width: 120px;
        height: 120px;
    }
    
    .instructor-info h3 {
        font-size: 1.15rem;
    }
    
    .testimonials-about {
        padding: 80px 0;
    }
    
    .testimonials-about .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .testimonials-about .testimonial-card {
        padding: 40px 30px;
    }
    
    .testimonials-about .quote-icon {
        font-size: 3.2rem;
    }
    
    .testimonials-about .testimonial-author {
        gap: 18px;
    }
    
    .testimonials-about .testimonial-author img {
        width: 65px;
        height: 65px;
    }
    
    /* Contact Tablet */
    .contact-content {
        gap: 50px;
    }
    
    .contact-info h2 {
        font-size: 2.2rem;
    }
    
    .contact-details {
        gap: 25px;
    }
    
    .contact-item {
        gap: 18px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .contact-form h2 {
        font-size: 1.9rem;
    }
    
    /* Registration Tablet */
    .registration-section {
        padding: 80px 0;
    }
    
    .registration-content {
        gap: 50px;
    }
    
    .registration-info h2 {
        font-size: 2.2rem;
    }
    
    .benefits-list {
        gap: 25px;
    }
    
    .benefit-item {
        gap: 18px;
    }
    
    .benefit-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    /* Auth Tablet */
    .auth-section {
        padding: 80px 0;
    }
    
    .auth-container {
        gap: 50px;
    }
    
    .auth-form {
        padding: 40px;
    }
    
    .auth-header h1 {
        font-size: 2.2rem;
    }
    
    /* Footer Tablet */
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .footer-logo .logo-image {
        width: 130px;
        height: 130px;
    }
    
    .footer-logo .logo-text {
        font-size: 19px;
    }
}

/* ===========================================
   DESKTOP & MAC DEVICES (1024px+)
   =========================================== */
@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    /* Top Header Desktop */
    .top-header-content {
        gap: 30px;
    }
    
    .search-section {
        max-width: 300px;
    }
    
    .contact-info {
        gap: 30px;
    }
    
    /* Main Header Desktop */
    .header {
        padding: 0 40px;
    }
    
    .logo-image {
        width: 150px;
        height: 60px;
    }
    
    .nav-menu {
        gap: 30px;
    }
    
    .nav-link {
        font-size: 16px;
    }
    
    .header-actions {
        gap: 15px;
    }
    
    .btn-login,
    .btn-register {
        padding: 10px 20px;
        font-size: 16px;
    }
    
    /* Hero Section Desktop */
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        gap: 20px;
    }
    
    /* Why Choose Us Desktop */
    .why-choose-us {
        padding: 100px 0;
    }
    
    .section-content {
        gap: 60px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
    
    .features-list {
        gap: 30px;
    }
    
    .feature-item {
        gap: 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    /* Categories Desktop */
    .popular-categories {
        padding: 100px 0;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .category-card {
        padding: 40px 30px;
    }
    
    .category-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    /* Page Header Desktop */
    .page-header {
        padding: 80px 0;
    }
    
    .page-title {
        font-size: 3rem;
    }
    
    .page-description {
        font-size: 1.2rem;
    }
    
    /* Courses Desktop */
    .courses-hero {
        min-height: 60vh;
    }
    
    .courses-hero .hero-title {
        font-size: 4rem;
    }
    
    .courses-hero .hero-content {
        padding: 60px 0;
    }
    
    .courses-page {
        padding: 40px 0 100px;
    }
    
    .courses-top-bar {
        gap: 30px;
    }
    
    .courses-layout {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }
    
    .courses-sidebar {
        padding: 30px;
    }
    
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    /* About Us Desktop */
    .about-hero {
        min-height: 70vh;
    }
    
    .contact-hero {
        min-height: 60vh;
    }
    
    .about-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 4rem;
    }
    
    .about-hero .hero-content,
    .contact-hero .hero-content {
        padding: 60px 0;
    }
    
    .image-gallery {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .gallery-card img {
        height: 300px;
    }
    
    .who-we-are {
        padding: 100px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .stat-item {
        padding: 40px 20px;
    }
    
    .stat-number {
        font-size: 4rem;
    }
    
    .stat-label {
        font-size: 1.2rem;
    }
    
    .why-best {
        padding: 100px 0;
    }
    
    .features-grid {
        gap: 40px;
    }
    
    .feature-card {
        padding: 50px 40px;
        flex: 0 1 350px;
    }
    
    .feature-card .feature-icon {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
    
    .feature-card h3 {
        font-size: 1.4rem;
    }
    
    .instructors-section {
        padding: 100px 0;
    }
    
    .instructors-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .instructor-card {
        padding: 40px 30px;
    }
    
    .instructor-image {
        width: 140px;
        height: 140px;
    }
    
    .instructor-info h3 {
        font-size: 1.3rem;
    }
    
    .testimonials-about {
        padding: 100px 0;
    }
    
    .testimonials-about .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .testimonials-about .testimonial-card {
        padding: 50px 40px;
    }
    
    .testimonials-about .quote-icon {
        font-size: 4rem;
    }
    
    .testimonials-about .testimonial-author {
        gap: 20px;
    }
    
    .testimonials-about .testimonial-author img {
        width: 70px;
        height: 70px;
    }
    
    /* Contact Desktop */
    .contact-content {
        gap: 60px;
    }
    
    .contact-info h2 {
        font-size: 2.5rem;
    }
    
    .contact-details {
        gap: 30px;
    }
    
    .contact-item {
        gap: 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .contact-form h2 {
        font-size: 2rem;
    }
    
    /* Registration Desktop */
    .registration-section {
        padding: 100px 0;
    }
    
    .registration-content {
        gap: 60px;
    }
    
    .registration-info h2 {
        font-size: 2.5rem;
    }
    
    .benefits-list {
        gap: 30px;
    }
    
    .benefit-item {
        gap: 20px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    /* Auth Desktop */
    .auth-section {
        padding: 100px 0;
    }
    
    .auth-container {
        gap: 60px;
    }
    
    .auth-form {
        padding: 50px;
    }
    
    .auth-header h1 {
        font-size: 2.5rem;
    }
    
    /* Footer Desktop */
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
    
    .footer-logo .logo-image {
        width: 150px;
        height: 150px;
    }
    
    .footer-logo .logo-text {
        font-size: 20px;
    }
}

/* ===========================================
   LARGE DESKTOP & MAC DEVICES (1440px+)
   =========================================== */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
        padding: 0 50px;
    }
    
    /* Enhanced spacing for large screens */
    .hero-section {
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .page-title {
        font-size: 3.5rem;
    }
    
    .courses-hero .hero-title {
        font-size: 4.5rem;
    }
    
    .about-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 4.5rem;
    }
    
    .contact-info h2 {
        font-size: 2.8rem;
    }
    
    .registration-info h2 {
        font-size: 2.8rem;
    }
    
    .auth-header h1 {
        font-size: 2.8rem;
    }
    
    .contact-form h2 {
        font-size: 2.2rem;
    }
    
    /* Enhanced grid layouts */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Gallery Grid - Keep 3 columns centered */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
    }
    
    /* Features Grid - Keep flexbox for proper centering of 3 items */
    /* Do not override to grid - flexbox centers better */
    
    /* Instructors Grid - Keep 4 columns centered */
    .instructors-grid {
        grid-template-columns: repeat(4, 1fr);
        justify-items: center;
    }
    
    .testimonials-about .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===========================================
   ULTRA-WIDE SCREENS (1920px+)
   =========================================== */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        padding: 0 60px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-description {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .page-title {
        font-size: 4rem;
    }
    
    .courses-hero .hero-title {
        font-size: 5rem;
    }
    
    .about-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 5rem;
    }
    
    .contact-info h2 {
        font-size: 3rem;
    }
    
    .registration-info h2 {
        font-size: 3rem;
    }
    
    .auth-header h1 {
        font-size: 3rem;
    }
    
    .contact-form h2 {
        font-size: 2.5rem;
    }
}

/* ===========================================
   COMPREHENSIVE RESPONSIVE DESIGN
   Optimized for: 320px, 375px, 425px, 768px, 1024px
   =========================================== */

/* ===========================================
   EXTRA SMALL DEVICES (320px - 374px)
   =========================================== */
@media (max-width: 374px) {
    /* Container */
    .container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    /* Logo */
    .logo-image {
        width: 100px;
        height: 40px;
    }
    
    /* Typography */
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .section-tagline {
        font-size: 0.7rem;
    }
    
    /* Buttons */
    .btn-primary,
    .btn-secondary,
    .btn-enroll {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* Cards */
    .course-card,
    .feature-card,
    .instructor-card,
    .testimonial-card {
        padding: 15px;
    }
    
    .course-card h3,
    .feature-card h3 {
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 50vh;
        padding: 30px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Navigation */
    .nav-menu {
        width: 250px;
    }
    
    .mobile-menu-toggle {
        font-size: 20px;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Bootstrap Grid Adjustments */
    .row {
        margin: 0 -5px;
    }
    
    .row > * {
        padding: 0 5px;
    }
    
    /* Header Auth Icons */
    .header-auth-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* ===========================================
   SMALL MOBILE DEVICES (375px - 424px)
   =========================================== */
@media (min-width: 375px) and (max-width: 424px) {
    /* Container */
    .container {
        padding: 0 12px;
    }
    
    /* Logo */
    .logo-image {
        width: 110px;
        height: 45px;
    }
    
    /* Typography */
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-tagline {
        font-size: 0.75rem;
    }
    
    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    /* Cards */
    .course-card,
    .feature-card,
    .instructor-card,
    .testimonial-card {
        padding: 18px;
    }
    
    .course-card h3,
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 55vh;
        padding: 35px 0;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Navigation */
    .nav-menu {
        width: 260px;
    }
}

/* ===========================================
   LARGE MOBILE DEVICES (425px - 767px)
   =========================================== */
@media (min-width: 425px) and (max-width: 767px) {
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Logo */
    .logo-image {
        width: 120px;
        height: 50px;
    }
    
    /* Typography */
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-tagline {
        font-size: 0.8rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    /* Buttons */
    .btn-primary,
    .btn-secondary,
    .btn-enroll {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    /* Cards */
    .course-card,
    .feature-card,
    .instructor-card,
    .testimonial-card {
        padding: 20px;
    }
    
    .course-card h3,
    .feature-card h3 {
        font-size: 1.15rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 60vh;
        padding: 40px 0;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 15px;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Navigation */
    .nav-menu {
        width: 280px;
    }
    
    /* Course Meta */
    .course-meta {
        flex-direction: row;
        gap: 15px;
    }
    
    /* Form Elements */
    input,
    textarea,
    select {
        font-size: 1rem;
    }
}

/* ===========================================
   TABLET DEVICES (768px - 1023px)
   =========================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Container */
    .container {
        padding: 0 25px;
        max-width: 720px;
    }
    
    /* Logo */
    .logo-image {
        width: 140px;
        height: 55px;
    }
    
    /* Typography */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-tagline {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .section-description {
        font-size: 1rem;
        max-width: 90%;
        margin: 0 auto;
    }
    
    /* Buttons */
    .btn-primary,
    .btn-secondary,
    .btn-enroll {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    /* Cards */
    .course-card,
    .feature-card,
    .instructor-card,
    .testimonial-card {
        padding: 25px;
    }
    
    .course-card h3,
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 70vh;
        padding: 60px 0;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }
    
    .hero-buttons {
        gap: 20px;
    }
    
    /* Stats */
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    /* Navigation */
    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        padding: 0;
        gap: 25px;
        width: auto;
        height: auto;
        background-color: transparent;
        box-shadow: none;
    }
    
    .nav-link {
        font-size: 15px;
        padding: 0;
        border-bottom: none;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    /* Grid Columns - Tablet */
    .col-md-6 {
        width: 50%;
    }
    
    .col-md-4 {
        width: 33.333%;
    }
    
    /* Feature Icons */
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    /* Spacing */
    .section-header {
        margin-bottom: 50px;
    }
    
    section {
        padding: 70px 0;
    }
}

/* ===========================================
   DESKTOP DEVICES (1024px - 1439px)
   =========================================== */
@media (min-width: 1024px) and (max-width: 1439px) {
    /* Container */
    .container {
        padding: 0 30px;
        max-width: 960px;
    }
    
    /* Logo */
    .logo-image {
        width: 160px;
        height: 60px;
    }
    
    /* Typography */
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-tagline {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    
    .section-description {
        font-size: 1.1rem;
        max-width: 800px;
        margin: 0 auto;
    }
    
    /* Buttons */
    .btn-primary,
    .btn-secondary,
    .btn-enroll {
        padding: 15px 35px;
        font-size: 1.05rem;
    }
    
    /* Cards */
    .course-card,
    .feature-card,
    .instructor-card,
    .testimonial-card {
        padding: 30px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .course-card:hover,
    .feature-card:hover,
    .instructor-card:hover,
    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
    
    .course-card h3,
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        padding: 80px 0;
    }
    
    .hero-description {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        gap: 25px;
    }
    
    /* Stats */
    .stat-number {
        font-size: 3.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* Navigation */
    .nav-menu {
        gap: 30px;
    }
    
    .nav-link {
        font-size: 16px;
    }
    
    /* Feature Icons */
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    /* Spacing */
    .section-header {
        margin-bottom: 60px;
    }
    
    section {
        padding: 90px 0;
    }
    
    /* Grid Gaps */
    .row.g-4 {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 1.5rem;
    }
}

/* ===========================================
   LARGE DESKTOP (1440px+)
   =========================================== */
@media (min-width: 1440px) {
    /* Container */
    .container {
        max-width: 1320px;
        padding: 0 40px;
    }
    
    /* Typography */
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    /* Cards */
    .course-card,
    .feature-card,
    .instructor-card,
    .testimonial-card {
        padding: 35px;
    }
    
    /* Spacing */
    section {
        padding: 100px 0;
    }
    
    /* Grid Gaps */
    .row.g-4 {
        --bs-gutter-x: 2rem;
        --bs-gutter-y: 2rem;
    }
}

/* ===========================================
   UTILITY CLASSES FOR ALL BREAKPOINTS
   =========================================== */

/* Text Alignment Responsive */
@media (max-width: 767px) {
    .text-center-mobile {
        text-align: center !important;
    }
}

/* Hide/Show Elements */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}

/* Image Responsiveness */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent Horizontal Scroll */
body {
    overflow-x: hidden;
}

.container,
.row {
    max-width: 100%;
}

/* Touch-Friendly Buttons on Mobile */
@media (max-width: 767px) {
    button,
    .btn,
    a {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Bootstrap Grid Override for Precise Control */
@media (max-width: 575px) {
    .col-lg-3,
    .col-lg-4,
    .col-lg-6,
    .col-md-6 {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .col-md-6 {
        width: 100%;
    }
    
    .col-lg-3,
    .col-lg-4 {
        width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .col-md-6 {
        width: 50%;
    }
    
    .col-lg-3 {
        width: 50%;
    }
    
    .col-lg-4 {
        width: 50%;
    }
}

/* Desktop Column System */
@media (min-width: 1024px) {
    .col-lg-3 {
        width: 25%;
    }
    
    .col-lg-4 {
        width: 33.333%;
    }
    
    .col-lg-5 {
        width: 41.666%;
        flex: 0 0 auto;
    }
    
    .col-lg-6 {
        width: 50%;
    }
    
    .col-lg-7 {
        width: 58.333%;
        flex: 0 0 auto;
    }
    
    /* Contact Page Specific */
    .contact-section .row {
        align-items: stretch;
    }
}

/* ===========================================
   CONTACT PAGE RESPONSIVE DESIGN
   =========================================== */

/* Extra Small Mobile (320px - 374px) */
@media (max-width: 374px) {
    .contact-hero {
        min-height: 40vh;
    }
    
    .contact-hero .hero-title {
        font-size: 1.5rem;
    }
    
    .contact-hero .hero-content {
        padding: 30px 0;
    }
    
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .contact-info > p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .contact-details {
        gap: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 12px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .contact-text h4 {
        font-size: 1rem;
    }
    
    .contact-text p {
        font-size: 0.9rem;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .contact-form .btn-primary {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
}

/* Small Mobile (375px - 424px) */
@media (min-width: 375px) and (max-width: 424px) {
    .contact-hero {
        min-height: 45vh;
    }
    
    .contact-hero .hero-title {
        font-size: 1.75rem;
    }
    
    .contact-hero .hero-content {
        padding: 35px 0;
    }
    
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 25px;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.6rem;
        margin-bottom: 18px;
    }
    
    .contact-info > p {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .contact-details {
        gap: 22px;
    }
    
    .contact-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 12px;
    }
    
    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .contact-text h4 {
        font-size: 1.05rem;
    }
    
    .contact-text p {
        font-size: 0.95rem;
    }
    
    .form-control {
        padding: 13px 16px;
        font-size: 15px;
    }
    
    .contact-form .btn-primary {
        padding: 13px 30px;
        font-size: 0.95rem;
    }
    
    .map-container iframe {
        height: 280px;
    }
}

/* Large Mobile (425px - 767px) */
@media (min-width: 425px) and (max-width: 767px) {
    .contact-hero {
        min-height: 50vh;
    }
    
    .contact-hero .hero-title {
        font-size: 2rem;
    }
    
    .contact-hero .hero-content {
        padding: 40px 0;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .contact-info > p {
        font-size: 1rem;
        margin-bottom: 35px;
    }
    
    .contact-details {
        gap: 25px;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .contact-text h4 {
        font-size: 1.1rem;
    }
    
    .contact-text p {
        font-size: 1rem;
    }
    
    .form-control {
        padding: 14px 18px;
        font-size: 16px;
    }
    
    .contact-form .btn-primary {
        padding: 14px 35px;
        font-size: 1rem;
    }
    
    .map-container iframe {
        height: 320px;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .contact-hero {
        min-height: 55vh;
    }
    
    .contact-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero .hero-content {
        padding: 50px 0;
    }
    
    .contact-section {
        padding: 70px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 35px;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-form h2 {
        font-size: 1.9rem;
    }
    
    .contact-info > p {
        font-size: 1.02rem;
        margin-bottom: 38px;
    }
    
    .contact-details {
        gap: 28px;
    }
    
    .contact-icon {
        width: 52px;
        height: 52px;
        font-size: 21px;
    }
    
    .contact-text h4 {
        font-size: 1.15rem;
    }
    
    .contact-text p {
        font-size: 1rem;
    }
    
    .form-control {
        padding: 15px 20px;
    }
    
    .map-container iframe {
        height: 380px;
    }
}

/* Desktop (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .contact-hero {
        min-height: 60vh;
    }
    
    .contact-hero .hero-title {
        font-size: 3.5rem;
    }
    
    .contact-hero .hero-content {
        padding: 60px 0;
    }
    
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 40px;
    }
    
    .contact-info h2 {
        font-size: 2.3rem;
    }
    
    .contact-form h2 {
        font-size: 2.1rem;
    }
    
    .contact-details {
        gap: 30px;
    }
    
    .contact-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .map-container iframe {
        height: 450px;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .contact-hero {
        min-height: 60vh;
    }
    
    .contact-hero .hero-title {
        font-size: 4rem;
    }
    
    .contact-hero .hero-content {
        padding: 70px 0;
    }
    
    .contact-section {
        padding: 100px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 45px;
    }
    
    .contact-info h2 {
        font-size: 2.8rem;
    }
    
    .contact-form h2 {
        font-size: 2.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .contact-text h4 {
        font-size: 1.3rem;
    }
    
    .map-container iframe {
        height: 500px;
    }
}
