:root {
    /* --- NEW GREEN THEME --- */
    --primary: #15803d;       /* Professional Green (Main Color) */
    --primary-dark: #14532d;  /* Darker Green (For Hovers) */
    
    --secondary: #F59E0B;     /* Bright Amber/Orange (For Buttons/Highlights) */
    --accent: #b45309;        /* Darker Orange */
    
    --text-dark: #1F2937;     /* Dark Grey Text */
    --text-light: #6B7280;    /* Light Grey Text */
    --white: #ffffff;
    --bg-light: #f0fdf4;      /* Very Light Greenish White Background */
    
    /* Green Gradient for Hero & Header */
    --gradient-main: linear-gradient(135deg, #15803d 0%, #4ade80 100%); 
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px rgba(0,0,0,0.15);
    --radius: 16px;
    
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: var(--font-body); 
    color: var(--text-dark); 
    background: var(--bg-light); 
    line-height: 1.7; 
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; margin-bottom: 1rem; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

/* --- Layout Utilities --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.text-center { text-align: center; }

/* --- Buttons --- */
.btn { 
    display: inline-block; padding: 12px 30px; border-radius: 50px; 
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm); cursor: pointer; transition: all 0.3s ease;
}
.btn-primary { 
    background: var(--gradient-main); color: var(--white); border: none; 
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(79, 70, 229, 0.4); }

.btn-secondary { 
    background: var(--white); color: var(--primary); border: 2px solid var(--primary); 
}
.btn-secondary:hover { background: var(--primary); color: var(--white); }

.full-width { width: 100%; display: block; }

/* --- Top Bar --- */
.top-bar { background: var(--primary-dark); color: var(--white); padding: 8px 0; font-size: 0.9rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.social-icons a { color: var(--white); margin-left: 15px; font-size: 1rem; opacity: 0.8; }
.social-icons a:hover { opacity: 1; transform: scale(1.1); }

/* --- Navbar --- */
.navbar { 
    background: var(--white); padding: 15px 0; 
    box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; transition: 0.3s;
}
.navbar.scrolled { padding: 10px 0; box-shadow: var(--shadow-md); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; width: auto; transition: 0.3s; }

.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { color: var(--text-dark); font-weight: 700; font-size: 1rem; position: relative; }
.nav-links a:hover { color: var(--primary); }
.btn-nav { background: var(--secondary); color: var(--white) !important; padding: 10px 20px; border-radius: 30px; }
.btn-nav:hover { background: #d97706; transform: translateY(-2px); }

/* Mobile Menu Toggle */
.hamburger { display: none; font-size: 1.8rem; cursor: pointer; color: var(--primary); }
/* --- Navbar Icons Styling --- */
.nav-links a i {
    margin-right: 8px; /* Icon aur Text ke beech gap */
    font-size: 1.1rem; /* Icon thoda bada */
    transition: 0.3s;
}

/* Hover effect: Icon thoda ghumega ya hilga */
.nav-links a:hover i {
    transform: translateY(-2px);
    color: var(--secondary);
}

/* Specific styling for Book Demo button icon */
.btn-nav i {
    margin-right: 6px;
}
/* --- Colorful Navbar Icons --- */

/* 1. Home - Bright Orange */
.nav-links .fa-house {
    color: #FF5722; 
}

/* 2. Courses - Learning Blue */
.nav-links .fa-book-open-reader {
    color: #2962FF; 
}

/* 3. Franchise - Success Green */
.nav-links .fa-handshake-simple {
    color: #00C853; 
}

/* 4. Gallery - Creative Pink */
.nav-links .fa-images {
    color: #D500F9; 
}

/* 5. Contact - Support Cyan */
.nav-links .fa-headset {
    color: #00B8D4; 
}
/* Centers/Location Icon - Purple */
.nav-links .fa-map-location-dot {
    color: #9C27B0;
}
/* 6. Book Demo Button Icon (Keep White) */
.btn-nav i {
    color: white !important; /* Button colored hai, icon white rahega */
}

/* --- Hover Effect Enhancements --- */
.nav-links a:hover i {
    transform: scale(1.2); /* Thoda bada hoga hover par */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); /* Halki parchhai */
}

/* --- SMART DROPDOWN CSS --- */

/* Parent Item */
.dropdown {
    position: relative;
}

/* Dropdown Menu (Hidden by default) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 4px solid var(--primary); /* Green Top Border */
}

/* Show Menu on Hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Links */
.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
    transition: 0.2s;
}

.dropdown-menu li a:hover {
    background: #f0fdf4; /* Light Green Bg */
    color: var(--primary);
    padding-left: 25px; /* Slight slide effect */
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Icons inside Dropdown */
.dropdown-menu i {
    width: 25px;
    color: var(--secondary); /* Orange Icons */
}

/* --- MOBILE RESPONSIVE DROPDOWN --- */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static; /* Stack naturally on mobile */
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding-left: 20px; /* Indent items */
        background: transparent;
        display: none; /* JS Toggle needed ideally, but simpler: Show always or Hover */
    }
    
    /* On mobile, show dropdown items when hovering parent (Simple fix) */
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        padding: 10px 0;
        border-bottom: none;
        color: #555;
    }
}
/* --- Hero Section --- */
.hero { 
    position: relative; padding: 120px 0; 
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; align-items: center; min-height: 80vh;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.4) 100%);
}
.hero-content { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.hero-text { max-width: 600px; animation: fadeInLeft 1s ease; }
.hero-text h4 { color: var(--secondary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.hero-text h1 { font-size: 3.5rem; color: var(--text-dark); margin-bottom: 20px; text-shadow: 2px 2px 0px rgba(0,0,0,0.1); }
.hero-text p { font-size: 1.2rem; margin-bottom: 30px; color: var(--text-dark); }
.hero-btns { display: flex; gap: 15px; }

/* Floating Images Animation */
.hero-images { position: relative; width: 450px; height: 400px; }
.floating-img { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.img-1 { top: 0; right: 0; width: 280px; z-index: 2; animation: float 4s ease-in-out infinite; }
.img-2 { bottom: 0; left: 20px; width: 220px; z-index: 1; animation: float 5s ease-in-out infinite 1s; }

/* Small Hero (Inner Pages) */
.small-hero { background: var(--gradient-main); color: var(--white); padding: 80px 0; text-align: center; }
.small-hero h1 { font-size: 2.8rem; margin-bottom: 10px; }
.small-hero p { opacity: 0.9; font-size: 1.2rem; }


/* --- Modern Compact Header --- */
.compact-header {
    background: #ffffff;
    border-left: 6px solid var(--primary); /* Green Accent Line */
    padding: 25px 0;
    margin-bottom: 40px; /* Content se thoda gap */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Halki si shadow */
    border-radius: 0 10px 10px 0; /* Right side rounded */
}

.compact-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Mobile ke liye */
    gap: 15px;
}

.compact-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.compact-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
    border-left: 2px solid #eee; /* Choti divider line */
    padding-left: 20px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .compact-header .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .compact-header p {
        border-left: none;
        padding-left: 0;
        font-size: 1rem;
    }
}

/* --- Cards (Courses & Gallery) --- */
.card { 
    background: var(--white); padding: 30px; border-radius: var(--radius); 
    box-shadow: var(--shadow-sm); transition: 0.4s ease; border: 1px solid rgba(0,0,0,0.03);
    overflow: hidden; position: relative;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.course-card h3 { font-size: 1.5rem; color: var(--primary); }
.course-card .meta { display: flex; justify-content: space-between; margin: 15px 0; font-size: 0.9rem; color: var(--text-light); border-bottom: 1px solid #eee; padding-bottom: 10px; }
.course-card .badge { background: #e0e7ff; color: var(--primary); padding: 4px 10px; border-radius: 10px; font-size: 0.8rem; }

/* --- Gallery Grid --- */
.gallery-card { padding: 0; }
.img-wrapper { overflow: hidden; height: 250px; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-card:hover img { transform: scale(1.1); }
.caption { padding: 15px; text-align: center; font-weight: 600; color: var(--text-dark); }

/* --- Enquiry Form Section --- */
.enquiry-section { background: var(--white); position: relative; z-index: 5; margin-top: -50px; }
.form-box { 
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
    padding: 40px; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.5); max-width: 900px; margin: 0 auto;
}
.section-title { text-align: center; font-size: 2.5rem; color: var(--primary); margin-bottom: 40px; }

.form-group-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
input, select, textarea { 
    width: 100%; padding: 15px; border: 2px solid #e5e7eb; border-radius: 12px; font-size: 1rem; transition: 0.3s;
    font-family: var(--font-body); background: #f9fafb;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: none; background: var(--white); }
.checkbox-group { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; accent-color: var(--primary); }
/* --- Modal (Popup) Styles --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%;
    overflow: auto; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px);
    animation: fadeIn 0.4s;
}

.modal-content {
    background: #fff; margin: 5% auto; padding: 0; border: 1px solid #888;
    width: 90%; max-width: 500px; border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative; animation: slideDown 0.4s;
}

.modal-header {
    background: var(--gradient-main); color: white; padding: 20px;
    border-top-left-radius: 16px; border-top-right-radius: 16px;
    text-align: center;
}

.modal-header h3 { margin: 0; font-size: 1.5rem; }
.modal-header p { margin: 5px 0 0; opacity: 0.9; font-size: 0.9rem; }

.modal-body { padding: 30px 20px; }

.close-modal {
    color: white; float: right; font-size: 28px; font-weight: bold;
    position: absolute; right: 20px; top: 15px; cursor: pointer; transition: 0.3s;
}
.close-modal:hover { color: #ddd; transform: rotate(90deg); }

/* --- Animations --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* --- Improved Course Card for Index --- */
.course-card .card-actions {
    display: flex; gap: 10px; margin-top: 15px;
}
.course-card .btn-outline {
    flex: 1; text-align: center; padding: 8px; border: 1px solid var(--primary);
    color: var(--primary); border-radius: 50px; font-weight: 600; font-size: 0.9rem;
}
.course-card .btn-outline:hover { background: var(--bg-light); }





/* --- Partners / Trust Section --- */
/* --- Partners / Trust Section --- */
.partners-section {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 50px 0;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Logos ke beech gap */
    margin-top: 30px;
}

.partner-logo {
    /* 1. Fixed Dimensions for Uniformity */
    width: 255px;
    height: 140px;
    
    /* 2. Aspect Ratio Protection */
    object-fit: contain; /* Logo stretch nahi hoga, box me fit hoga */
    
    /* 3. Original Colors & Look */
    filter: none; /* No Grayscale */
    opacity: 1;
    
    /* 4. Card Look (Optional but looks cleaner) */
    background: #ffffff;
    padding: 10px; /* Thoda andar se padding taaki logo kinare se na chipke */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* Halki shadow taaki logo uth kar dikhe */
    border: 1px solid #eee;
    
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-logo:hover {
    transform: translateY(-5px); /* Mouse le jane par thoda upar uthega */
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    border-color: var(--primary); /* Border color change on hover */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .logo-grid {
        gap: 15px;
    }
    .partner-logo {
        width: 120px; /* Mobile par thoda chota */
        height: 70px;
    }
}






/* --- Footer --- */
.footer { background: #111827; color: #9ca3af; padding: 70px 0 20px; }
.footer h3 { color: var(--white); margin-bottom: 20px; }
.footer-logo { height: 100px; margin-bottom: 20px;  padding: 5px; border-radius: 8px; }
.footer p, .footer li a { margin-bottom: 10px; display: block; color: #9ca3af; }
.footer li a:hover { color: var(--secondary); padding-left: 5px; }
.copyright { border-top: 1px solid #374151; margin-top: 50px; padding-top: 20px; text-align: center; font-size: 0.9rem; }

/* --- Floating Icons --- */
.floating-icons { position: fixed; bottom: 30px; left: 30px; z-index: 2000; display: flex; flex-direction: column; gap: 15px; }
.float-wa img { width: 55px; height: 55px; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: 0.3s; }
.float-wa:hover img { transform: scale(1.1) rotate(10deg); }
.float-inquiry {
    background: var(--primary); color: white; padding: 12px 25px; border-radius: 50px;
    font-weight: bold; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* --- Filter Buttons --- */
.filters { text-align: center; margin-bottom: 40px; }
.filter-btn { 
    background: transparent; border: 2px solid #e5e7eb; padding: 8px 25px; margin: 0 5px; 
    border-radius: 30px; cursor: pointer; font-weight: 600; color: var(--text-light); transition: 0.3s;
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* --- Animations --- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }

/* --- Mobile Responsive --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-images { display: none; } /* Hide hero images on tablet/mobile */
    .hero { text-align: center; justify-content: center; }
    .hero-text { margin: 0 auto; }
    .hero-btns { justify-content: center; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .form-group-row { grid-template-columns: 1fr; }
    
    .hamburger { display: block; }
    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--white); flex-direction: column; padding: 80px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: 0.4s ease; z-index: 1001;
    }
    .nav-links.active { right: 0; }
    
    /*.course-detail-layout { grid-template-columns: 1fr; }*/
    .section-title { font-size: 2rem; }
}







