/* GENERAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* TOP BAR - RIGHT ALIGNED */
.top-bar {
    background: #2c3e50;
    padding: 6px 8%;
    display: flex;
    justify-content: flex-end;
}

.top-right {
    display: flex;
    gap: 25px;
}

.top-right span {
    color: #ecf0f1;
    font-size: 18px;
    font-weight: bold; /* Requested weight */
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.top-right i {
    margin-right: 6px;
    color: #c0d400;
    font-size: 20px;
}

/* NAVIGATION */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8%;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo img {
    height: 80px;
    width: auto;
}

/* --- TIGHTENED NAVIGATION (Header) --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 8%; /* Minimal vertical space */
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo img {
    height: 140px; /* Reduced height to remove extra header space */
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 25px; /* Requested size */
    font-weight: bold; /* Requested weight */
    transition: 0.3s;
}

.nav-links a:hover {
    color: #0d47a1;
}

/* HERO SECTION (HOME PAGE) */
.hero {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    color: white;
    font-size: 44px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* KIDS PAGE BACKGROUND SECTION */
.kids-hero-bg {
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    url('https://images.unsplash.com/photo-1581092334651-ddf26d9a1930?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 0;
}

/* COURSE SECTION HEADERS */
.course-section {
    padding: 0 8%;
    text-align: center;
}

.section-title {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.highlight-red {
    color: #e74c3c;
    font-weight: bold;
}

.red-line {
    width: 60px;
    height: 4px;
    background: #e74c3c;
    margin: 0 auto 40px;
    border-radius: 2px;
}

/* COURSE GRID */
.course-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    justify-content: center;
}

/* CARD DESIGN WITH DARK BLUE OUTLINE */
.card {
    background: white;
    width: 350px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 1.5px solid #0d47a1; /* Thin Dark Blue Border Outline */
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(13, 71, 161, 0.15);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.stars {
    color: #f1c40f;
    margin: 15px 0 10px;
    font-size: 16px;
}

.card h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 12px;
}

/* DESCRIPTION - FIXED TO THREE LINES */
.card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    height: 68px; /* Approximately 3 lines of text */
    overflow: hidden;
    margin-bottom: 20px;
}

/* CARD LIST INFO */
.card ul {
    list-style: none;
    margin-bottom: 20px;
}

.card li {
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
    display: flex;
    align-items: center;
}

.card li i {
    color: #0d47a1;
    margin-right: 10px;
}

/* JOIN NOW BUTTON */
.btn-join {
    width: 100%;
    padding: 12px;
    background: #0d47a1;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.btn-join:hover {
    background: #c0d400;
    color: #2c3e50;
}

/* STATS BAR (HOME PAGE) */
.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px 6%;
    background: #f9f9f9;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 32px;
    color: #c0d400;
    font-weight: bold; /* Requested weight */
}

.stat-item span {
    font-size: 14px;
    color: #777;
    font-weight: bold; /* Requested weight */
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: #ddd;
}

/* --- CLEAN COMPACT FOOTER --- */
footer {
    background: #2c3e50;
    padding: 15px 0; /* Very tight vertical space */
    color: white;
    text-align: center;
    width: 100%;
}

.footer-info {
    display: none; /* This hides the address/phone/email from the bottom */
}

.copyright {
    font-size: 10px; /* Consistent with header */
    
    color: #ffffff;
    margin: 0;
    padding: 0;
}


/* LIGHT COLOR BACKGROUND + ADULT/PROFESSIONAL THEME */
.adults-courses-bg {
    background: linear-gradient(rgba(240, 244, 248, 0.92), rgba(240, 244, 248, 0.92)), 
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 0;
}

/* COURSE STATS (ASSIGNMENTS/PROJECTS) */
.course-stats {
    list-style: none;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
}

.course-stats li {
    font-size: 13px !important;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px !important;
}

.course-stats i {
    color: #e74c3c !important; /* Red icons for professional look */
}
/* ADULT PAGE BACKGROUND THEME */
.adults-courses-bg {
    background: linear-gradient(rgba(240, 244, 248, 0.94), rgba(240, 244, 248, 0.94)), 
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 0;
}

/* PROFESSIONAL STATS BOX */
.course-stats {
    list-style: none;
    margin-bottom: 20px;
    background: #f1f3f5;
    padding: 12px;
    border-radius: 10px;
}

.course-stats li {
    font-size: 13px !important;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 6px !important;
    display: flex;
    align-items: center;
}

.course-stats i {
    color: #0d47a1 !important; /* Professional Blue Icons */
    margin-right: 12px;
    width: 18px;
    text-align: center;
}
/* ADD THIS TO YOUR style.css */
.course-stats {
    list-style: none;
    margin-bottom: 20px;
    background: #f1f4f9;
    padding: 15px;
    border-radius: 10px;
}

.course-stats li {
    font-size: 13px !important;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px !important;
    display: flex;
    align-items: center;
}

.course-stats i {
    color: #0d47a1 !important;
    margin-right: 12px;
    font-size: 14px;
}
/* --- ADULT PAGE THEME --- */

.adults-courses-bg {
    background: linear-gradient(rgba(240, 244, 248, 0.95), rgba(240, 244, 248, 0.95)), 
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 0;
}

/* Updated grid for 9 courses (3x3 layout) */
.course-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    width: 360px;
    padding: 20px;
    border-radius: 12px;
    border: 1.5px solid #0d47a1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 8px;
    display: block; /* Ensures image is rendered properly */
}

/* Professional Stats List for Adults */
.course-stats {
    list-style: none;
    margin: 15px 0;
    padding: 12px;
    background: #f1f5f9;
    border-radius: 8px;
}

.course-stats li {
    font-size: 13px !important;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px !important;
    display: flex;
    align-items: center;
}

.course-stats i {
    color: #0d47a1 !important;
    margin-right: 12px;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.btn-join {
    width: 100%;
    padding: 12px;
    background: #0d47a1;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-join:hover {
    background: #c0d400;
    color: #2c3e50;
}
/* --- ADULTS PAGE LAYOUT --- */

.adults-courses-bg {
    background: linear-gradient(rgba(245, 247, 250, 0.96), rgba(245, 247, 250, 0.96)), 
                url('https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
}

.course-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
}

.card {
    background: white;
    width: 380px;
    padding: 30px;
    border-radius: 20px;
    border: 1.5px solid #0d47a1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column; /* This keeps everything in a single vertical column */
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(13, 71, 161, 0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 12px;
}

/* Fix Description Height for Alignment */
.card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    height: 70px; /* Fixed height so cards align */
    overflow: hidden;
    margin-bottom: 20px;
}

/* Fix Stats Box Position */
.course-stats {
    list-style: none;
    background: #f8fafc;
    padding: 18px;
    border-radius: 12px;
    margin-top: auto; /* Pushes the box to the bottom */
    margin-bottom: 20px;
}

.course-stats li {
    font-size: 13px !important;
    font-weight: 700;
    color: #334155;
    margin-bottom: 10px !important;
    display: flex;
    align-items: center;
}

.course-stats i {
    color: #0d47a1 !important;
    margin-right: 15px;
    font-size: 14px;
}

/* Professional Button */
.btn-join {
    width: 100%;
    padding: 14px;
    background: #0d47a1;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-join:hover {
    background: #c0d400;
    color: #1e293b;
}
/* KIDS PAGE FULL BACKGROUND THEME */
.kids-courses-full-bg {
    background: linear-gradient(rgba(245, 247, 250, 0.96), rgba(245, 247, 250, 0.96)), 
                url('https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
}
/* CONTACT PAGE STYLES */
.contact-container {
    padding: 60px 8%;
    background: #fdfdfd;
}

.map-box {
    width: 100%;
    margin: 30px 0;
    border: 10px solid #0d47a1; /* Big size border */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-box img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info h3, .enquiry-form h3 {
    color: #0d47a1;
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #444;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: #c0d400;
    margin-right: 15px;
    font-size: 20px;
}

/* FORM STYLING */
.enquiry-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.input-group {
    margin-bottom: 15px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: #0d47a1;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #0d47a1;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #c0d400;
    color: #2c3e50;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
/* --- CONTACT PAGE UPDATES --- */

.contact-page-bg {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    padding: 80px 0;
}

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

.parallel-grid {
    display: flex;
    gap: 40px;
    align-items: stretch; /* Makes both sides equal height */
    max-width: 1200px;
    margin: 0 auto;
}

.location-box {
    flex: 1.2; /* Slightly wider for the map image */
    border: 10px solid #0d47a1; /* Bold border as requested */
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.location-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.enquiry-card {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.enquiry-card h3 {
    color: #0d47a1;
    margin-bottom: 20px;
    text-align: center;
}

.enquiry-card input, .enquiry-card textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #0d47a1;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #c0d400;
    color: #2c3e50;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .parallel-grid {
        flex-direction: column;
    }
    .location-box {
        height: 350px;
    }
}
/* MODAL STYLES */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

.close-btn {
    position: absolute;
    right: 20px; top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #888;
}

.modal-content h3 { color: #0d47a1; margin-bottom: 10px; }

.modal-content .input-group { margin-bottom: 15px; }

.modal-content input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
/* Ensure the enquiry card stays the same height during transition */
.enquiry-card {
    min-height: 450px; /* Adjust based on your form height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#contactForm input, #contactForm textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

#contactForm input:focus, #contactForm textarea:focus {
    border-color: #0d47a1;
    box-shadow: 0 0 5px rgba(13, 71, 161, 0.2);
}

.btn-submit {
    cursor: pointer;
    background: #0d47a1;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #c0d400;
    color: #2c3e50;
}
/* --- ADDRESS BOX STYLING --- */
.location-container {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.address-details-box {
    background: #0d47a1;
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-size: 20px; /* Size 20 as requested */
    font-weight: bold; /* Bold as requested */
    text-align: center;
}

.address-details-box i {
    color: #c0d400;
    margin-right: 10px;
}

/* --- TOP BAR (Contact Details) --- */
.top-right span {
    color: #ecf0f1;
    font-size: 18px;    /* Large font */
    font-weight: bold;  /* Bold weight */
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.top-right i {
    margin-right: 6px;
    color: #c0d400;
    font-size: 20px;    /* Prominent icons */
}

/* --- PERFECTED FOOTER --- */
footer {
    background: #2c3e50;
    padding: 15px 8%;   /* Tight vertical space */
    color: white;
    text-align: center;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;           /* Clean spacing between address and copyright */
}

/* Address: 20px and Bold */
.footer-address {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    color: #ffffff;
}

.footer-address i {
    color: #c0d400;
    margin-right: 10px;
}

/* Copyright: 12px and Normal */
.copyright {
    font-size: 12px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.7); /* Slightly faded for professional look */
    margin: 0;
    padding: 0;
}

/* Hidden elements to ensure no extra space */
.footer-info, .footer-container {
    display: none !important;
}