/* Features Grid for Crash Course Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 24px;
    margin-top: 24px;
}

.features-grid .feature-row {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        grid-gap: 16px;
    }
    .features-grid .feature-row {
        padding: 14px;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }
    .features-grid .feature-row {
        padding: 10px;
        gap: 8px;
        border-radius: 8px;
        font-size: 0.92rem;
    }
}
/* ============================================
   DAGWALE COACHING CLASSES - MAIN STYLESHEET
   Modern, Professional, and Responsive Design
   ============================================ */

/* Root Variables */
:root {
    --primary-navy: #001a4d;
    --secondary-navy: #003d99;
    --accent-gold: #ff8c00;
    --accent-orange: #ff9500;
    --light-gold: #ffa500;
    --pure-white: #ffffff;
    --light-gray: #f5f7fa;
    --medium-gray: #e8ecf1;
    --dark-gray: #4a5568;
    --text-dark: #1a202c;
    --border-color: #e2e8f0;
    --shadow-light: 0 2px 10px rgba(0, 26, 77, 0.1);
    --shadow-medium: 0 10px 30px rgba(0, 26, 77, 0.15);
    --shadow-dark: 0 15px 40px rgba(0, 26, 77, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--pure-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

a {
    color: var(--secondary-navy);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-gold);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    min-height: 48px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    color: var(--pure-white);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 140, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: var(--pure-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-navy);
    border: 2px solid var(--secondary-navy);
}

.btn-outline:hover {
    background-color: var(--secondary-navy);
    color: var(--pure-white);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 18px 40px;
    min-height: 52px;
    font-size: 1.1rem;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    background-color: var(--pure-white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-medium);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-wrapper {
    padding: 8px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-navy);
    text-decoration: none;
}

.logo i {
    color: var(--accent-gold);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    border: none;
    background: none;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-navy);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--pure-white);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: var(--shadow-light);
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu li {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a::after {
        display: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--pure-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    color: var(--pure-white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-buttons .btn-secondary {
    color: var(--pure-white);
    border-color: var(--pure-white);
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--pure-white);
    color: var(--primary-navy);
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat h3 {
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat p {
    color: rgba(255, 255, 255, 0.8);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    font-size: 15rem;
    color: var(--accent-gold);
    opacity: 0.9;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Staggered Fade-in Animation for Course Cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.2s; }
.course-card:nth-child(3) { animation-delay: 0.3s; }
.course-card:nth-child(4) { animation-delay: 0.4s; }
.course-card:nth-child(5) { animation-delay: 0.5s; }
.course-card:nth-child(6) { animation-delay: 0.6s; }

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 60"><path d="M0,30 Q300,0 600,30 T1200,30 L1200,60 L0,60 Z" fill="white"/></svg>');
    background-repeat: repeat-x;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .hero-illustration {
        font-size: 8rem;
    }
}

/* ============================================
   COURSES SECTION
   ============================================ */

.courses {
    padding: 100px 0;
    background-color: var(--light-gray);
}

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

.section-header h2 {
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

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

.course-card {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
    border-color: var(--accent-gold);
}

.course-card.featured {
    border: 2px solid var(--accent-gold);
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.05) 0%, rgba(255, 149, 0, 0.05) 100%);
}

.badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--accent-gold);
    color: var(--pure-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.course-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 140, 0, 0.1) 100%);
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-card h3 {
    color: var(--primary-navy);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.course-card > p {
    color: var(--dark-gray);
    margin-bottom: 25px;
    font-style: italic;
}

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

.course-features li {
    color: var(--dark-gray);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-features i {
    color: var(--accent-gold);
    font-size: 0.9rem;
    background: rgba(255, 140, 0, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-card .btn {
    width: 100%;
    margin-top: 20px;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose {
    padding: 100px 0;
}

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

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    display: block;
}

.feature-item h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-item p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* ============================================
   CHEMISTRY SPOTLIGHT SECTION
   ============================================ */

.chemistry-spotlight {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 26, 77, 0.05) 0%, rgba(255, 140, 0, 0.05) 100%);
    border-top: 3px solid var(--accent-gold);
}

.spotlight-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.chemistry-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.info-box {
    background: var(--pure-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--accent-gold);
}

.info-box h3 {
    color: var(--primary-navy);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.details-list {
    list-style: none;
}

.details-list li {
    color: var(--dark-gray);
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.details-list li:last-child {
    border-bottom: none;
}

.details-list i {
    font-size: 1.2rem;
    color: var(--accent-gold);
    min-width: 24px;
    text-align: center;
}

.details-list strong {
    color: var(--primary-navy);
    font-weight: 600;
}

.success-story {
    background: var(--pure-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.success-story h3 {
    color: var(--primary-navy);
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
}

.student-card {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(0, 26, 77, 0.05) 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--accent-gold);
    position: relative;
}

.student-badge {
    position: absolute;
    top: -20px;
    right: 30px;
    background: var(--accent-gold);
    color: var(--pure-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-medium);
}

.student-badge p {
    font-size: 0.7rem;
    margin-top: 2px;
}

.student-card h4 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin: 20px 0 10px;
}

.student-card .score {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.score span {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.3rem;
}

.student-card .description {
    color: var(--dark-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.student-card .btn {
    margin-top: 10px;
}

/* Responsive Chemistry Spotlight */
@media (max-width: 1024px) {
    .chemistry-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .chemistry-spotlight {
        padding: 60px 0;
    }

    .chemistry-info {
        gap: 30px;
    }

    .info-box,
    .success-story {
        padding: 25px;
    }

    .details-list li {
        padding: 10px 0;
        gap: 12px;
    }

    .info-box h3,
    .success-story h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .student-badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .student-card h4 {
        font-size: 1.3rem;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--pure-white) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info-box {
    background: var(--pure-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.contact-info-box h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.contact-detail:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-detail i {
    font-size: 1.4rem;
    color: var(--accent-gold);
    min-width: 32px;
}

.contact-detail h4 {
    color: var(--primary-navy);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.contact-detail p {
    color: var(--dark-gray);
    font-size: 0.85rem;
}


/* Map Container */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    height: 100%;
}

.map-container iframe {
    display: block;
}

.map-note {
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-top: 10px;
    font-style: italic;
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-box {
        padding: 25px;
    }

    .map-container {
        min-height: 300px;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: var(--pure-white);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-gold);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-right a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-right a:hover {
    color: var(--pure-white);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        justify-content: center;
    }

    .footer-right {
        justify-content: center;
    }

    .footer-bottom ul {
        justify-content: center;
        gap: 20px;
    }
}

/* ============================================
   GALLERY PAGE STYLES
   ============================================ */

.gallery-hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--pure-white);
    padding: 80px 0;
    text-align: center;
}

.gallery-hero-content h1 {
    color: var(--pure-white);
    margin-bottom: 15px;
}

.gallery-hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}



/* Masonry Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.gallery-item {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-item.hidden {
    opacity: 0;
    display: none;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 300px;
    box-shadow: var(--shadow-light);
    cursor: pointer;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 26, 77, 0.8) 0%, rgba(255, 140, 0, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--pure-white);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--pure-white);
    text-align: center;
}

.cta-content h2 {
    color: var(--pure-white);
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    color: var(--pure-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-medium);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

/* ============================================
   FLOATING LABELS & FORMS
   ============================================ */

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 1rem;
    color: var(--dark-gray);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 16px 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--pure-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 14px;
    font-size: 0.75rem;
    color: var(--accent-gold);
    background-color: var(--pure-white);
    padding: 0 4px;
    font-weight: 600;
}

.validation-error {
    color: #e53e3e;
    font-size: 0.85rem;
    display: none;
    margin-top: 6px;
    font-weight: 500;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e53e3e;
}

.form-group.error .validation-error {
    display: block;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #38a169;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .features-grid {
        gap: 30px;
    }

    .feature-item {
        padding: 20px;
    }
}

@media (max-width: 640px) {
    :root {
        --shadow-light: 0 2px 8px rgba(0, 26, 77, 0.08);
        --shadow-medium: 0 8px 20px rgba(0, 26, 77, 0.1);
        --shadow-dark: 0 12px 30px rgba(0, 26, 77, 0.15);
    }

    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .btn {
        padding: 12px 24px;
        min-height: 48px;
        font-size: 0.9rem;
        width: 100%;
    }

    .btn-lg {
        padding: 16px 24px;
        min-height: 52px;
    }

    .courses {
        padding: 60px 0;
    }

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

    .course-card {
        padding: 25px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat {
        padding: 15px;
    }

    .why-choose {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        padding: 20px;
    }

    .contact-form,
    .contact-info-box {
        padding: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .gallery-image {
        height: 150px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .cta-section {
        padding: 50px 0;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-bottom {
        gap: 15px;
    }

    .footer-bottom ul {
        gap: 15px;
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .btn,
    .contact-form,
    .menu-toggle {
        display: none;
    }
}
