       /* Universal Box Model Fix - Isay style tag ke shuru me lagayein */
*, *:before, *:after {
    box-sizing: border-box !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header & Navbar */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 5%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 50px;
    margin-right: 10px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #004d26; /* Dark Green theme like your image */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #004d26;
}

/* Premium Hero Container */
.premium-hero {
    position: relative;
    width: 95%; /* Sides sy thori jagah choti premium look k liye */
    max-width: 1400px;
    height: 550px;
    margin: 30px auto; /* Center me lane k liye */
    border-radius: 20px; /* Rounded corners */
    overflow: hidden;
    font-family: 'serif', 'Poppins', sans-serif;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    background-color: #0a0f0c; /* Fallback dark color */
}

/* --- THE IMAGE BLUR LOGIC --- */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.dropbox.com/scl/fi/dsrva5lbcu43k9gkeqyxe/Phoenix_10_A_cinematic_Islamic_website_homepage_hero_banner_ul_1.jpg?rlkey=evwap5cj4xnvlx4coj8yvmb3p&st=9aup9vh5&raw=1'); /* !! Yahan apni Quran wali image ka naam/path likhein !! */
    background-size: cover;
    background-position: center;
    filter: blur(4px); /* Isse image halki blur ho jayegi, aap 6px bhi kr skte hain */
    transform: scale(1.05); /* Blur edges ko chupaney k liye halka sa zoom */
    z-index: 0;
}

/* Dark Gradient Overlay (Image ko dark karne aur text prominent karne k liye) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 15, 12, 0.92) 40%, rgba(10, 15, 12, 0.5) 100%);
    z-index: 1;
}

/* Content Layout over background */
.hero-container {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    width: 90%;
    margin: 0 auto;
    z-index: 2; /* Text ko sab se upar rakhne k liye */
}

.hero-left-content {
    flex: 1;
    max-width: 650px;
}

/* Golden Bold Title */
.hero-main-title {
    color: #e5cc93; /* Soft premium gold */
    font-size: 44px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Subtitle (Dull white text) */
.hero-sub-title {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Premium Button Style */
.btn-get-started {
    display: inline-block;
    padding: 14px 38px;
    background-color: #0d2818; /* Dark Green */
    color: #ffffff !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 8px;
    border: 1px solid rgba(229, 204, 147, 0.4);
    box-shadow: 0 0 15px rgba(13, 40, 24, 0.6);
    transition: all 0.3s ease;
}

.btn-get-started:hover {
    background-color: #164225;
    border-color: #e5cc93;
    box-shadow: 0 0 25px rgba(229, 204, 147, 0.5);
    transform: translateY(-3px);
}

/* Bottom Glow Line */
.bottom-glow-line {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e5cc93, transparent);
    box-shadow: 0 -4px 20px #e5cc93;
    z-index: 3;
}

/* Mobile Friendly Settings */
@media (max-width: 768px) {
    .premium-hero {
        height: auto;
        padding: 60px 0;
        width: 100%;
        border-radius: 0;
    }
    .hero-main-title {
        font-size: 32px;
    }
    .hero-container {
        text-align: center;
    }
}

/* --- Same to Same Why Choose Us Section --- */

.why-choose-us-section {
    padding: 50px 5%;
    background-color: #f8f9fa; /* Halka grey background jesa image mein hai */
    text-align: center;
}

.main-heading {
    font-size: 32px;
    color: #2c3e50; /* Dark blue-grey color */
    margin-bottom: 40px;
    font-weight: 500;
}

.features-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Ek line mein 4 boxes */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: #fff;
    padding: 30px 15px;
    border: 1px solid #e0e0e0; /* Patla aur halka border */
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    transition: 0.3s;
}

/* Icons Styling (Golden-Brown color like image) */
.feature-item i {
    font-size: 50px;
    color: #c5a059; 
    margin-bottom: 15px;
}

/* Special 4+ yrs icon styling */
.age-icon {
    font-size: 35px;
    font-weight: bold;
    color: #c5a059;
    border: 2px solid #c5a059;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.age-icon span { font-size: 14px; margin-left: 2px; }

/* Text Styling */
.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    padding: 0 10px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .features-grid-container { grid-template-columns: repeat(2, 1fr); } /* Tablet par 2 boxes */
}

@media (max-width: 600px) {
    .features-grid-container { grid-template-columns: 1fr; } /* Mobile par 1 box */
}

/* --- Course Pricing Section Styling --- */
.pricing-section {
    padding: 60px 20px;
    background-color: #0d2b11; /* Light beige background */
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pricing-main-title {
    color: #c5a059; /* Muted brown-gold color */
    font-size: 28px;
    margin-bottom: 10px;
}

.pricing-sub-title {
    color: #c5a059;
    font-size: 16px;
    margin-bottom: 20px;
}

.star-icon {
    color: #c5a059;
    font-size: 30px;
    margin-bottom: 10px;
}

.study-plan-title {
    color: #c5a059;
    font-size: 24px;
    margin-bottom: 40px;
}

/* Grid setup for 5 columns */
.pricing-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    background: #d1eeea;
    border: 1px solid #000000;
    width: 220px;
    padding-bottom: 20px;
    transition: 0.3s;
}

.card-header {
    background-color: #d1eeea;
    padding: 15px;
    color: #133e18;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 1px solid #000000;
}

.price-value {
    font-size: 40px;
    font-weight: bold;
    color: hwb(120 9% 82%); /* Dark teal/grey color */
    margin-top: 20px;
}

.price-duration {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}

.price-features {
    list-style: none;
    padding: 0 15px;
    text-align: left;
    margin-bottom: 25px;
}

.price-features li {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.price-features li i {
    color: #c5a059;
    margin-right: 8px;
    font-size: 12px;
}

/* Button style */
.trial-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: hwb(120 9% 82%); /* Teal-grey background */
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 4px;
    transition: 0.3s;
}

.trial-btn i {
    margin-right: 8px;
    font-size: 14px;
}

.trial-btn:hover {
    background-color: #384a4b;
}

/* Responsive */
@media (max-width: 1100px) {
    .pricing-grid { gap: 20px; }
}

@media (max-width: 600px) {
    .price-card { width: 100%; max-width: 300px; }
}


/* --- Same to Same Courses Section --- */

.academy-courses {
    padding: 60px 5%;
    background-color: #fdfdfd; /* Halka white-ish background */
    text-align: center;
}

.courses-wrapper {
    max-width: 1300px;
    margin: 0 auto;
}

/* Heading Styling */
.academy-main-title {
    font-size: 36px;
    font-weight: 500;
    color: #333; /* Dark Grey color jesa image mein hai */
    margin-bottom: 50px;
}

/* 6 Items Grid Setup */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ek row mein 3 cards */
    gap: 30px; /* Cards ke darmiyan gap */
}

/* Course Card Styling */
.course-card {
    border: 2px solid #000000;
    border-radius: 8px;
    background: #fff;
    overflow: hidden; /* Taake image corner se cut jaye */
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); /* Halka shadow */
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s;
    height: 100%; /* Taake sab cards ki height barabar rahe */
    border: 1px solid #f1f1f1; /* Bilkul halka border */
}

/* Image styling */
.course-image {
    width: 100%;
    height: 200px; /* Image ka fixed size */
    object-fit: cover; /* Taake image stretch na ho */
    display: block;
}

/* Content area (Text and Heading) */
.course-content {
    padding: 25px;
    flex-grow: 1; /* Text space cover kare taake button same level par aye */
}

.course-card h3 {
    font-size: 20px;
    font-weight: 500;
    color: #444; /* Thora halka dark jesa image mein hai */
    margin-bottom: 15px;
}

.course-card p {
    font-size: 14px;
    color: #666; /* Light grey text */
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Golden-Brown Button Styling (Exactly same as image) */
.free-trial-btn {
    display: inline-block;
    background-color: #c5a059; /* Wahi color jesa image mein hai */
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    margin: 0 auto 25px; /* Button ko bottom center mein rakhne ke liye */
    border-radius: 4px; /* Thora rounded */
    transition: 0.3s;
}

.free-trial-btn:hover {
    background-color: #b08e4a; /* Hover par thora dark */
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } /* Tablet par 2 */
    .academy-main-title { font-size: 30px; }
}

@media (max-width: 600px) {
    .courses-grid { grid-template-columns: 1fr; } /* Mobile par 1 */
    .academy-main-title { font-size: 26px; }
    .free-trial-btn { padding: 10px 15px; font-size: 13px; }
}

/* Container and Page Title */
.age-gender-container {
    padding: 40px 5%;
}

.highlight-title {
    background: #004d26;
    color: #fff;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    margin-bottom: 20px;
}

/* Gender Section Banner */
.section-banner {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    color: white;
}

.male-section .section-banner {
    background: linear-gradient(90deg, #1e3c72, #2a5298);
}
/* Card header ko thora shade aur bold look deny k liye */
.card-header {
    background: #004d26; /* Dark Green Header */
    color: #ffffff;
    padding: 12px 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.male-section .card-header {
    background: #9c7d66; /* Dark Pink/Rose Header */
}

/* List items ko interactive look deny k liye */
.todo-list li {
    padding: 10px 0;
    transition: all 0.2s ease;
}

.todo-list li:hover {
    color: #000000;
    padding-left: 5px;
}

/* 30-min interactive session ko alag highlight krny k liye */
.todo-list li:first-child {
    font-weight: bold;
    color: #1e3c72; /* Darker Blue to highlight session info */
}

.female-section .section-banner {
    background: linear-gradient(90deg, #d81b60, #ad1457);
}
/* Female section specific highlights */
.female-section .card-header {
    background: #eb578d; /* Dark Pink/Rose Header */
}

.female-section .todo-list li i {
    color: #d81b60; /* Pink checkmarks */
}

.female-section .todo-list li:first-child {
    color: #ad1457; /* Darker Pink for session info highlight */
}

/* Hover effect to make cards look more interactive */
.age-card {
    transition: box-shadow 0.3s ease-in-out;
}

.age-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.section-banner i {
    font-size: 1.8rem;
    margin-right: 15px;
}

/* Grid Layout */
.age-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Age Cards */
.age-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Highlighted Card Heading */
.card-header {
    background: #f1f1f1;
    padding: 15px;
    font-weight: bold;
    font-size: 1.1rem;
    color: #000000;
    border-bottom: 2px solid #004d26;
}

/* To-Do List Style */
.todo-list {
    list-style: none;
    padding: 20px;
}

.todo-list li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    color: #555;
    font-size: 0.95rem;
    border-bottom: 1px dashed #eee;
}

.todo-list li:last-child {
    border-bottom: none;
}

.todo-list li i {
    color: #004d26;
    margin-right: 10px;
    margin-top: 4px;
    font-size: 1rem;
}

/* Male/Female Checkmark color variation (optional) */
.male-section .todo-list li i { color: #1e3c72; }
.female-section .todo-list li i { color: #d81b60; }


/* Teachers Section Styling */
.teachers-section {
    padding: 60px 5%;
    background-color: #fff;
}

.teachers-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.teacher-box {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.teacher-box:hover {
    transform: scale(1.02);
}

.teacher-image {
    flex: 1;
    min-width: 300px;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.teacher-details {
    flex: 1.5;
    padding: 40px;
}

.teacher-header {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid;
}

/* Gender Specific Colors */
.male-box .teacher-header {
    color: #1e3c72;
    border-color: #1e3c72;
}

.female-box .teacher-header {
    color: #d81b60;
    border-color: #d81b60;
}

.teacher-box .todo-list li {
    font-size: 1rem;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
}

/* Responsive for Mobile */
@media (max-width: 850px) {
    .teacher-box {
        flex-direction: column;
    }
    .female-box {
        flex-direction: column-reverse; /* Keeps image on top for mobile */
    }
    .teacher-image {
        width: 100%;
    }
}

/* Reviews Section Styling */
.reviews-section {
    padding: 60px 5%;
    background-color: #f4f7f6;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #004d26; /* Islamic Green Theme */
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px);
}

.stars {
    color: #ffc107; /* Gold color for stars */
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.reviewer-info {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.reviewer-name {
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
}

.reviewer-loc {
    color: #777;
    font-size: 0.85rem;
    margin-top: 3px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.add-review-section {
    padding: 50px 5%;
    background: #fff;
    border-top: 2px solid #eee;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-container h3 {
    color: #004d26;
    margin-bottom: 5px;
}

/* Star Rating Style */
.stars-radio {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    font-size: 2rem;
    margin-bottom: 20px;
}

.stars-radio input { display: none; }

.stars-radio label {
    color: #ccc;
    cursor: pointer;
    transition: 0.2s;
}

.stars-radio input:checked ~ label,
.stars-radio label:hover,
.stars-radio label:hover ~ label {
    color: #ffb400;
}

/* Input Fields */
.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

input:focus, textarea:focus {
    border-color: #004d26;
}

.submit-btn {
    background: #004d26;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #00331a;
}

.main-footer {
    /* Image link yahan lagayein */
    background: url('https://images.unsplash.com/photo-1590075865003-e48277eb578a?q=80&w=2000') no-repeat center center/cover;
    position: relative;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Dark overlay taake text nazar aaye */
.footer-overlay {
    background: rgba(10, 44, 75, 0.85); /* Deep Blue with transparency */
    padding: 60px 0 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.about-col {
    flex: 1.5; /* Pehla column thora bara rakha hai */
}

.footer-logo {
    width: 150px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Logo ko white karne ke liye */
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cbd5e0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

/* Contact and Social */
.contact-col p {
    margin-bottom: 15px;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    color: white;
    margin-right: 15px;
    font-size: 1.2rem;
    transition: 0.3s;
}

/* Copyright Section */
.copyright-bar {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #a0aec0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    .footer-col {
        width: 100%;
        margin-bottom: 40px;
    }
}
/* General Navbar Styling */
.navbar {
    background-color: #ffffff;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #004d26; /* Islamic Green */
}

/* --- Dropdown Design --- */
/* Hover wala purana code delete kar dein */

/* Naya code: Jab 'show' class add hogi tab menu nazar ayega */
.dropdown-content.show {
    display: block;
}

/* Dropdown styling (pehle wali hi rahegi) */
.dropdown-content {
    display: none; /* Default mein chupa rahega */
    position: absolute;
    background-color: #fff;
    min-width: 300px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 3px solid #004d26;
    margin-top: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 260px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-top: 3px solid #004d26;
    border-radius: 0 0 8px 8px;
    margin-top: 10px;
}

.dropdown-content a {
    color: #444 !important;
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
    padding-left: 25px;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* WhatsApp Button Style */
.contact-btn {
    background-color: #25d366; /* WhatsApp Green */
    color: white !important;
    padding: 8px 18px;
    border-radius: 50px;
}

.contact-btn:hover {
    background-color: #128c7e;
}

/* Card ka default style (Jab mouse upar na ho) */
.course-card {
    background-color: #ffffff; /* Pehle white ya koi aur color */
    padding: 30px;
    border-radius: 15px;
    transition: all 0.4s ease; /* Isse movement smooth hogi */
    border: 1px solid #eee;
    text-align: center;
}

/* Hover Effect (Jab mouse upar aye) */
.course-card:hover {
    background-color: #00a651; /* Green color jo image mein hy */
    transform: translateY(-10px) scale(1.03); /* Thora upar aur bada hoga */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); /* Niche shadow ayegi */
}

/* Hover par text ka color white karne k liye */
.course-card:hover h2, 
.course-card:hover p, 
.course-card:hover a {
    color: #ffffff !important;
}

/* Read More link ki styling */
.course-card a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
}

/* Container Layout */
.choose-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 40px 5%;
}

/* Default Card Style */
.choose-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    min-height: 250px;
}

/* Icon Color (Gold) */
.icon-box i, .age-icon {
    color: #b89c5e; /* Image wala gold color */
    margin-bottom: 20px;
    display: inline-block;
    transition: 0.3s;
}

.age-icon {
    font-size: 2rem;
    font-weight: bold;
    border: 2px solid #b89c5e;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 75px;
}

/* --- THE MAGIC HOVER --- */
.choose-card:hover {
    background-color: #00a651 !important; /* Green */
    transform: translateY(-15px) scale(1.05); /* Pop-up effect */
    box-shadow: 0 20px 40px rgba(0, 166, 81, 0.3);
    border-color: transparent;
}

/* Hover par Icon aur Text White ho jaye */
.choose-card:hover i, 
.choose-card:hover .age-icon,
.choose-card:hover h4, 
.choose-card:hover p {
    color: #ffffff !important;
    border-color: #ffffff;
}
/* Header ko center mein lane k liye */
.why-choose-header {
    text-align: center;
    margin-bottom: 50px; /* Cards aur heading k darmiyan gap */
    width: 100%;
}

/* Golden Bold Title */
.golden-title {
    color: #004d26 !important; /* Exact Golden Color from your icons */
    font-size: 36px !important;   /* Thora bada aur pyara lagega */
    font-weight: 800 !important;  /* Extra Bold */
    text-transform: capitalize;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif; /* Agar aap use kr rhy hain */
}

/* Niche wala chota text */
.sub-text {
    color: #666;
    font-size: 16px;
    font-weight: 400;
}

/* Responsive: Mobile pr heading choti ho jaye */
@media (max-width: 768px) {
    .golden-title {
        font-size: 28px !important;
    }
}
/* Master Class for Hover Pop-up */
.master-pop {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

/* Jab cursor upar jaye */
.master-pop:hover {
    transform: translateY(-20px) scale(1.05) !important; /* Upar jump + halka zoom */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important; /* Gahri shadow */
    z-index: 100 !important; /* Card baki cheezon k upar nazar aye */
    background-color: #00a651 !important; /* Green background */
}

/* Hover par text aur icons ko white karna */
.master-pop:hover * {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Agar image icon hy to usay bhi white karny k liye */
.master-pop:hover img {
    filter: brightness(0) invert(1);
}
/* --- GLOBAL HEADER FIXED STYLE --- */
.main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 70px !important; /* Patli single line bar */
    background-color: #ffffff !important;
    z-index: 99999 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100%;
    width: 90%;
    margin: 0 auto;
}

.logo-side {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.site-logo {
    height: 40px !important;
    width: auto !important;
}

.site-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0b3920; /* Dark Green color */
    white-space: nowrap !important;
}

/* Desktop Menu Layout */
.desktop-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    margin-left: 20px;
    font-size: 15px;
}

/* Default hidden states for mobile items on desktop */
.hamburger-btn, .mobile-downbar {
    display: none !important;
}

/* Website content padding from top so it doesn't hide behind header */
body {
    padding-top: 85px !important;
}
/* ==========================================================================
   ULTIMATE FRESH HEADER & DOWNBAR MENU SYSTEM (MUKAMMAL RESPONSIVE FIX)
   ========================================================================== */

/* --- 1. GLOBAL RESET FOR HEADER ELEMENTS --- */
header, 
.main-header, 
.header-container, 
.mobile-downbar, 
.mobile-downbar a {
    box-sizing: border-box !important;
    margin: 0;
}

/* Base body padding taake baki content header ke peeche na chupe */
body {
    padding-top: 75px !important;
}

/* --- 2. DESKTOP/GENERAL HEADER BASE STYLE --- */
.main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 75px !important;
    background-color: #ffffff !important;
    z-index: 99999 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
}

.header-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100% !important;
    width: 90% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.logo-side {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.site-logo {
    height: 45px !important;
    width: auto !important;
}

.site-name {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0b3920 !important;
    white-space: nowrap !important;
}

/* Computer Links Layout */
.desktop-menu {
    display: flex !important;
    gap: 20px !important;
}

.desktop-menu a {
    text-decoration: none !important;
    color: #333333 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

/* Hide Mobile Items on Computer Screen by default */
.hamburger-btn, .mobile-downbar {
    display: none !important;
}


/* --- 3. MOBILE ULTRA-RESPONSIVE FIX (Screens under 768px) --- */
@media (max-width: 768px) {
    
    body {
        padding-top: 65px !important; /* Mobile par header thora patla ho jata hy */
    }

    .main-header {
        height: 65px !important;
        overflow: visible !important; /* Taake iske andar se downbar neeche nikal sakay */
    }

    .header-container {
        width: 100% !important;
        padding: 0 15px !important; /* Mobile screen ke andar safe edges boundary */
    }

    /* --- AUTOMATIC LOGO & TEXT SHRINK LOGIC --- */
    .logo-side {
        max-width: 75% !important; /* 3-lines button ke liye 25% space reserve rakhega */
        gap: 8px !important;
    }

    .site-logo {
        height: 35px !important; /* Logo chota ho gaya */
    }

    .site-name {
        font-size: 14px !important; /* Name text automatic compact size me lock */
        letter-spacing: -0.2px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important; /* Agar screen bohot hi choti ho to text tameez se fit rahy */
    }

    /* Computer menu mobile par bilkul gayab */
    .desktop-menu {
        display: none !important;
    }

    /* --- 3-LINES HAMBURGER BUTTON STYLE --- */
    .hamburger-btn {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 22px !important;
        height: 15px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
    }

    .hamburger-btn span {
        width: 100% !important;
        height: 2.5px !important;
        background-color: #00a651 !important; /* Beautiful Premium Green Lines */
        border-radius: 2px !important;
    }

    /* --- THE FIXED DOWNBAR DROPDOWN (SCREEN SE BAHAR NAHI JAYEGA) --- */
    .mobile-downbar {
        display: none !important; /* Shuru me bilkul hidden */
        flex-direction: column !important;
        position: absolute !important;
        top: 65px !important; /* Exact white bar ke bottom edge se shuru */
        left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important; /* Screen size se single pixel bhi bahar nahi ja skta */
        background-color: #ffffff !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
        z-index: 999999 !important;
    }

    /* !! JAB JAVASCRIPT SE CLICK HO TO YE APARTMENT TRIGGER HO !! */
    .mobile-downbar.show-menu {
        display: flex !important; /* Click hote hi display lock */
    }

    /* Dropdown links full width items */
    .mobile-downbar a {
        display: block !important;
        width: 100% !important;
        padding: 15px 25px !important;
        text-decoration: none !important;
        color: #333333 !important;
        font-weight: 600 !important;
        font-size: 15px !important;
        border-bottom: 1px solid #f2f2f2 !important;
    }

    .mobile-downbar a:hover {
        background-color: #f9f9f9 !important;
        color: #00a651 !important;
    }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON PREMIUM STYLE
   ========================================================================== */
.whatsapp-float {
    position: fixed !important;
    bottom: 25px !important; /* Screen k nichy se gap */
    right: 25px !important;  /* Screen k right side se gap */
    width: 60px !important;
    height: 60px !important;
    background-color: #25d366 !important; /* Official WhatsApp Green Color */
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    z-index: 9999999 !important; /* Taake ye har cheez k upar float kry */
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Hover Effect (Jab computer pr mouse upar layen) */
.whatsapp-float:hover {
    transform: scale(1.1) !important; /* Halka sa bara hoga */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

/* WhatsApp Icon Size inside Button */
.whatsapp-icon {
    width: 35px !important;
    height: 35px !important;
}

/* --- Mobile Phone Responsive Tweaks --- */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px !important; /* Mobile par thora aur set ho jaye */
        right: 20px !important;
        width: 52px !important;  /* Mobile k liye thora sa compact size */
        height: 52px !important;
    }
    
    .whatsapp-icon {
        width: 30px !important;
        height: 30px !important;
    }
}

/* ==========================================================================
   THE DETERMINED MOBILE RESIZER & SCROLL KILLER
   ========================================================================== */

/* Left-to-right shake khatam karne k liye */
html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    body {
        padding: 10px !important;
    }

    /* Main container wrap system */
    .main-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 10px auto !important;
        padding: 10px !important;
        flex-direction: column !important; /* Image aur text upar nichy ho jayen */
        display: flex !important;
    }

    /* Text areas layout fluid controller */
    .info-content {
        padding: 15px 5px !important; /* Kam padding taake text ko space miley */
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important; /* Purani fixed width khatam */
    }

    /* Headings wrap fix */
    .info-content h1, h1, .course-title {
        font-size: 1.8rem !important; /* Resized for mobile screens */
        line-height: 1.3 !important;
        white-space: normal !important; /* Text auto broken into next line */
        width: 100% !important;
    }

    /* Paragraphs and descriptions */
    .description, p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        white-space: normal !important;
        width: 100% !important;
        word-break: break-word !important;
    }

    /* Right side / Bottom side details box (Green outline card) */
    .course-curriculum, .curriculum-box, fieldset {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px !important;
        margin: 15px 0 !important;
        float: none !important;
    }

    /* Images scaling */
    img, .course-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 15px auto !important;
    }
}