/* --- Base Styles (Your Original) --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

/* Navbar */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.logo { font-size: 1.5rem; font-weight: bold; color: #d32f2f; }
.logo span { color: #333; }
.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 25px; }
.nav-links a { text-decoration: none; color: #333; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: #d32f2f; }

/* Mobile Menu Toggle */
.menu-icon { display: none; font-size: 1.8rem; cursor: pointer; }
.close-btn { display: none; font-size: 2rem; align-self: flex-end; padding: 20px; cursor: pointer; }

/* Hero Section */
.hero-section { display: flex; padding: 20px 5%; background: #fff8f5; gap: 20px; flex-wrap: wrap; }
.slider-container { flex: 2; min-width: 300px; width: 100%; overflow: hidden; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.15); background: #000; }
.slider { position: relative; width: 100%; padding-top: 40%; }
.slider img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; background-color: #f9f9f9; transition: opacity 0.5s ease-in-out; }

.form-container { flex: 1; background: #fff; padding: 25px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); min-width: 300px; }
.form-container h3 { margin-bottom: 15px; color: #d32f2f; }
input, textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; }
.btn-submit { width: 100%; padding: 12px; background: #d32f2f; color: white; border: none; border-radius: 5px; cursor: pointer; font-size: 1rem; }

/* Courses Offered (With Strip Design) */
.courses-section { padding: 50px 5%; text-align: center; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
.course-card { padding: 0; overflow: hidden; border: 1px solid #eee; border-radius: 12px; background: #fff; transition: 0.3s ease; display: flex; flex-direction: column; }
.course-header { background: linear-gradient(135deg, #d32f2f, #b71c1c); padding: 15px; text-align: center; }
.course-header h3 { color: #ffffff; margin: 0; font-size: 1.2rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.course-body { padding: 20px; text-align: center; }
.course-body p { color: #555; font-size: 0.95rem; line-height: 1.5; margin-bottom: 15px; }
.course-card:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(211, 47, 47, 0.2); border-color: #d32f2f; }
.more-btn { display: inline-block; margin-top: 15px; color: #d32f2f; text-decoration: none; font-weight: bold; border: 1px solid #d32f2f; padding: 8px 20px; border-radius: 5px; transition: 0.3s; }
.more-btn:hover { background: #d32f2f; color: #fff; }

/* Features (Better Teachers With Icons) */
.features-section { display: flex; justify-content: space-around; padding: 60px 5%; gap: 25px; background-color: #fffafa; }
.feature-box { flex: 1; text-align: center; padding: 40px 20px; background: #ffffff; border-radius: 15px; border-bottom: 5px solid #d32f2f; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.feature-box:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(211, 47, 47, 0.15); }
.icon-wrapper { width: 80px; height: 80px; background: #fff0f0; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #d32f2f; font-size: 2.5rem; transition: 0.3s ease; }
.feature-box:hover .icon-wrapper { background: #d32f2f; color: #ffffff; }
.feature-box h3 { font-size: 1.4rem; color: #333; margin-bottom: 15px; font-weight: 700; }
.feature-box p { color: #666; line-height: 1.6; font-size: 0.95rem; }

/* Testimonials */
.testimonials { display: flex; align-items: center; padding: 50px 5%; background: #1a1a1a; color: white; height: 400px; overflow: hidden; }
.test-text { flex: 1; padding-right: 20px; }
.test-slider { flex: 1; text-align: center; background: rgba(255,255,255,0.1); padding: 40px; border-radius: 10px; }

/* Footer */
footer { background: #222; color: #bbb; padding: 50px 5% 20px; }
.footer-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-col { flex: 1; min-width: 200px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; cursor: pointer; }
.footer-bottom { text-align: center; border-top: 1px solid #333; margin-top: 30px; padding-top: 20px; font-size: 0.9rem; }

/* --- Tablet & Mobile Combined View Logic --- */
/* मैंने ब्रेकपॉइंट 1024px कर दिया है ताकि टैबलेट पर भी मोबाइल व्यू दिखे */
@media (max-width: 1024px) {
    .nav-links { position: fixed; left: -100%; top: 0; height: 100vh; width: 280px; background: #fff; flex-direction: column; box-shadow: 2px 0 10px rgba(0,0,0,0.2); transition: 0.4s; z-index: 1001; padding-top: 50px; }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 20px; }
    .menu-icon, .close-btn { display: block; }
    
    .hero-section { flex-direction: column; }
    .slider-container { flex: none; margin-bottom: 20px; }
    .slider { padding-top: 50%; } /* मोबाइल/टैब पर रेशियो फिक्स */
    
    .features-section { flex-direction: column; }
    .testimonials { height: auto; flex-direction: column; padding: 30px 5%; }
}


/* --- Hero Section --- */
.hero-section { 
    display: flex; 
    padding: 20px 5%; 
    background: #fff8f5; 
    gap: 20px; 
    flex-wrap: wrap; 
    align-items: flex-start;
}

/* --- Slider Style --- */
.slider-container { 
    flex: 2; 
    min-width: 300px; 
    width: 100%; 
    overflow: hidden; 
    border-radius: 15px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.15); 
    background: #000; 
}
.slider { position: relative; width: 100%; padding-top: 40%; }
.slider img { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    background-color: #f9f9f9; 
    transition: opacity 0.5s ease-in-out; 
}

/* --- Form Container Style --- */
.form-container { 
    flex: 1; 
    background: #fff; 
    padding: 25px; 
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    min-width: 320px; 
}

.form-container h3 { 
    margin-bottom: 20px; 
    color: #d32f2f; 
    font-weight: bold;
    text-align: center;
}

/* सभी इनपुट, ड्रॉपडाउन और टेक्स्ट-एरिया के लिए */
.form-container input, 
.form-container select, 
.form-container textarea { 
    width: 100%; 
    padding: 12px; 
    margin-bottom: 15px; 
    border: 1px solid #ddd; 
    border-radius: 5px; 
    font-size: 14px;
    box-sizing: border-box; /* पैडिंग को कंट्रोल करने के लिए */
}

.form-container select {
    background-color: #fff;
    cursor: pointer;
    color: #555;
}

.form-container textarea { 
    height: 80px; 
    resize: none; /* बॉक्स का साइज फिक्स रखने के लिए */
}

/* --- कैप्चा बॉक्स --- */
.captcha-box { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 15px; 
    font-size: 14px;
    color: #555;
}
.captcha-box input { 
    width: auto; 
    margin-bottom: 0; 
    cursor: pointer;
}

/* --- सबमिट बटन --- */
.btn-submit { 
    width: 100%; 
    padding: 14px; 
    background: #d32f2f; 
    color: white; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 1rem; 
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-submit:hover { 
    background: #b71c1c; 
}

/* --- मोबाइल रिस्पॉन्सिव --- */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding: 10px 3%;
    }
    .slider-container, .form-container {
        width: 100%;
    }
}


.test-slider-container {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}

.arrow-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10;
    position: absolute;
}

.arrow-btn:hover {
    background: #d32f2f;
}

.left-arrow { left: 0; }
.right-arrow { right: 0; }

.test-slider {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 10px;
    width: 80%;
    min-height: 250px;
    transition: 0.5s;
}

.test-slider img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #d32f2f;
    margin-bottom: 15px;
}

.youtube-section { padding: 60px 5%; text-align: center; background: #fff; }
.youtube-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
    margin-top: 30px; 
}
.yt-card { 
    text-decoration: none; 
    color: inherit; 
    padding: 30px; 
    border-radius: 20px; 
    background: #f9f9f9; 
    border: 1px solid #eee; 
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.yt-card:hover { 
    background: #fff; 
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.1); 
    border-color: #ff0000;
    transform: translateY(-5px);
}
.yt-icon { font-size: 3rem; color: #ff0000; margin-bottom: 15px; }
.yt-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.yt-card p { font-size: 0.9rem; color: #666; margin-bottom: 20px; }
.sub-btn { 
    background: #ff0000; 
    color: #fff; 
    padding: 8px 20px; 
    border-radius: 50px; 
    font-size: 0.85rem; 
    font-weight: bold; 
    text-transform: uppercase;
}

/* --- Testimonials & Why Ambition Wrapper --- */
.testimonials-wrapper {
    background-color: #fffaf0; /* क्रीम पीला बैकग्राउंड */
    padding: 80px 0;
    font-family: 'Arial', sans-serif;
    width: 100%;
}

.test-container {
    max-width: 1400px; /* चौड़ाई और बढ़ाई गई है */
    width: 95%;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

/* --- Why Ambition Section --- */
.why-ambition {
    flex: 1.2;
    min-width: 400px;
}

.why-ambition h2 {
    color: #b30000;
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: bold;
}

.why-content p {
    line-height: 1.8;
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: justify;
}

/* --- Testimonial Box --- */
.testimonial-box {
    flex: 1;
    min-width: 400px;
    background: #ffffff;
    padding: 50px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    text-align: center;
}

.test-title {
    color: #444;
    font-size: 26px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* --- Slider Wrapper (Arrows Fix) --- */
.slider-wrapper {
    position: relative; /* यह बटन्स को लेफ्ट-राइट रखने के लिए जरूरी है */
    padding: 0 50px; /* बटन्स के लिए जगह */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Topper Image --- */
.topper-thumb {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #b30000;
}

.topper-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Quote Area --- */
.quote-area {
    margin-bottom: 20px;
    min-height: 100px;
}

.quote-area p {
    font-style: italic;
    color: #222 !important;
    line-height: 1.6;
    font-size: 19px;
}

#testName {
    color: #b30000;
    font-weight: bold;
    font-size: 18px;
}

/* --- Arrows (Left/Right Positioning) --- */
.slide-arrow {
    background: #b30000;
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    position: absolute; /* एब्सोल्यूट पोजीशनिंग */
    top: 50%; /* वर्टिकल सेंटर */
    transform: translateY(-50%); /* बिल्कुल बीच में लाने के लिए */
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev {
    left: 0; /* बायीं तरफ */
}

.next {
    right: 0; /* दायीं तरफ */
}

.slide-arrow:hover { 
    background: #333; 
}

/* --- Mobile Responsive --- */
@media (max-width: 992px) {
    .test-container { flex-direction: column; }
    .why-ambition, .testimonial-box { width: 100%; min-width: unset; }
    .slider-wrapper { padding: 0 40px; }
}

/* --- Professional Footer (As per your Image) --- */
.site-footer {
    background: #1e1e1e;
    color: #fff;
    padding: 60px 5% 20px;
    font-size: 0.9rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ff4d4d;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #333;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #ccc; text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: #ff4d4d; padding-left: 5px; }

.contact-info p { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; }
.contact-info i { color: #ff4d4d; margin-top: 5px; }

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: 0.3s;
}

.social-icons a:hover { color: #ff4d4d; }






/* --- 1. Global Reset & Desktop Header --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body { padding-top: 110px; background-color: #fff; color: #333; transition: background 0.3s; }

/* जब मेनू खुलेगा तब यह क्लास बैकग्राउंड स्क्रॉल रोकेगी */
body.menu-open { overflow: hidden; }

.main-header { position: fixed; top: 0; width: 100%; z-index: 2000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

/* लाल पट्टी (Top Bar) */
.top-bar { background: #8b0000; color: white; padding: 8px 5%; font-size: 13px; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.contact-info span { margin-right: 20px; }
.contact-info i { margin-right: 5px; color: #ffd700; }

.top-right { display: flex; align-items: center; gap: 15px; }
.online-course-btn { border: 1px solid #ffd700; padding: 4px 12px; border-radius: 4px; color: white; text-decoration: none; font-size: 12px; transition: 0.3s; }
.online-course-btn:hover { background: #ffd700; color: #8b0000; }

.top-social a { color: white; margin-left: 10px; font-size: 14px; transition: 0.3s; }
.top-social a:hover { color: #ffd700; }

/* Navbar */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 5%; background: #fff; }
.logo { font-size: 1.5rem; font-weight: bold; }
.logo a { text-decoration: none; display: inline-block; }

/* डेस्कटॉप लोगो कलर्स */
.logo .red-part { color: #d32f2f; }
.logo .black-part { color: #000000; }

.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 25px; position: relative; }
.nav-links a { text-decoration: none; color: #333; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: #d32f2f; }

/* Desktop Dropdown */
.dropdown-content { display: none; position: absolute; background: #fff; min-width: 260px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); z-index: 1000; border-top: 4px solid #ffd700; border-radius: 0 0 10px 10px; }
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content li { margin-left: 0; border-bottom: 1px solid #f9f9f9; }
.dropdown-content a { padding: 12px 20px; display: block; font-size: 14px; }

/* --- 2. Mobile Responsive (1024px) --- */
@media screen and (max-width: 1024px) {
    body { padding-top: 130px; }
    
    .menu-icon { display: block; font-size: 1.8rem; cursor: pointer; }

    .nav-links {
        position: fixed; right: -100%; top: 0; height: 100vh;
        width: 300px; background: #fff; flex-direction: column;
        transition: 0.4s; z-index: 2001; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto; justify-content: flex-start;
    }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 0; width: 100%; border-bottom: 1px solid #f0f0f0; }
    .nav-links a { padding: 15px 20px; display: block; }

    /* मोबाइल मेनू हेडर डिजाइन */
    .mobile-menu-header {
        display: block !important;
        background: #ffffff !important; /* सफेद बैकग्राउंड ताकि काला नाम दिखे */
        padding: 15px 20px !important;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .mobile-brand-box { display: flex; flex-direction: column; gap: 5px; }
    
    .mobile-logo-text { font-size: 1.35rem !important; text-decoration: none !important; font-weight: bold; }
    
    /* मोबाइल मेनू के अंदर ब्रांड नेम कलर्स */
    .mobile-logo-text .red-text { color: #d32f2f !important; }
    .mobile-logo-text .black-text { color: #000000 !important; }

    .mobile-contact-info {
        color: #555 !important;
        font-size: 15px;
        margin-top: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .mobile-contact-info i { color: #d32f2f; }

    .close-btn {
        position: absolute; right: 15px; top: 15px;
        font-size: 24px; color: #000 !important;
        background: #f1f1f1; width: 35px; height: 35px;
        display: flex; align-items: center; justify-content: center;
        border-radius: 50%; cursor: pointer; font-weight: bold;
    }

    /* मोबाइल ड्रॉपडाउन */
    .dropdown:hover .dropdown-content { display: none; }
    .dropdown.active .dropdown-content { 
        display: block; position: static; 
        background: #f9f9f9; box-shadow: none; border-left: 4px solid #ffd700;
    }

    .desktop-only { display: none !important; }
    .mobile-social-icons { display: block !important; padding: 30px 20px; text-align: center; margin-top: auto; }
    .soc-flex { display: flex; justify-content: center; gap: 20px; margin-top: 10px; }
    .soc-flex a { color: #d32f2f; font-size: 1.5rem; padding: 0 !important; }
}

/* --- 3. Footer & Socials (768px) --- */
@media (max-width: 768px) {
    .bottom-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons-footer { justify-content: center; }
    .footer-col { margin-bottom: 30px; }
    .top-bar { padding: 5px 3%; }
    .top-bar-content { font-size: 11px; flex-direction: column; gap: 5px; }
}

.social-icons-footer a { color: #fff; font-size: 1.2rem; margin-right: 15px; transition: 0.3s; }
.social-icons-footer a:hover { color: #ff4d4d; }






/* डिफ़ॉल्ट रूप से मोबाइल हेडर और सोशल आइकॉन छुपे रहेंगे */
.mobile-menu-header, .mobile-social-icons {
    display: none;
}

/* Reach Us कॉलम के लिए विशेष स्टाइल */
.footer-col.contact-info {
    max-width: 350px; /* कंटेंट को व्यवस्थित रखने के लिए */
}

.branch-title {
    color: #ff4d4d; /* लाल रंग जैसा इमेज में है */
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 15px !important;
    text-transform: uppercase;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.contact-item i {
    color: #ff4d4d; /* आइकॉन का लाल रंग */
    font-size: 1.1rem;
    margin-top: 4px;
    min-width: 20px;
    text-align: center;
}

.contact-item span {
    color: #ccc;
    font-size: 0.88rem;
}

.contact-item strong {
    color: #fff; /* हेडर्स को थोड़ा हाईलाइट करने के लिए */
    font-size: 0.8rem;
}










/* Judiciary Foundation Styles */
.judiciary-foundation {
    padding: 60px 5%;
    background: #ffffff;
    color: #333;
}

.foundation-container {
    max-width: 1200px;
    margin: 0 auto;
}

.foundation-header {
    text-align: center;
    margin-bottom: 50px;
}

.badge {
    background: #d32f2f;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.foundation-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-top: 15px;
}

.sub-headline {
    font-size: 1.2rem;
    color: #d32f2f;
    font-weight: 600;
    margin-bottom: 20px;
}

.intro-box {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    background: #fff8f8;
    padding: 20px;
    border-left: 5px solid #d32f2f;
    border-radius: 8px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #d32f2f;
}

.feature-card i {
    font-size: 2.5rem;
    color: #d32f2f;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #1a1a1a;
}

/* Holistic Section */
.holistic-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: #1a1a1a;
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 50px;
}

.holistic-content {
    flex: 2;
    min-width: 300px;
}

.holistic-content h2 {
    color: #ffc107;
    margin-bottom: 25px;
}

.h-list .h-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.h-item i {
    color: #4caf50;
    font-size: 1.2rem;
}

.support-box {
    flex: 1;
    min-width: 250px;
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px dashed #ffc107;
}

/* Benefits Row */
.benefits-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.b-card {
    background: #fdf2f2;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #ffcccc;
}

.b-card i {
    color: #d32f2f;
}

/* CTA Foundation */
.cta-foundation {
    text-align: center;
    background: linear-gradient(135deg, #d32f2f, #8b0000);
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(211, 47, 47, 0.3);
}

.cta-foundation h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.btn-enroll {
    display: inline-block;
    margin-top: 20px;
    background: #ffc107;
    color: #000;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-enroll:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .foundation-header h1 { font-size: 1.8rem; }
    .holistic-section { padding: 25px; }
    .cta-foundation h3 { font-size: 1.4rem; }
}

.logo a {
    text-decoration: none; /* अंडरलाइन हटाने के लिए */
    color: inherit;       /* लोगो का ओरिजिनल रंग (लाल और काला) रखने के लिए */
    display: inline-block;
}

/* अगर आप चाहते हैं कि क्लिक करने पर लोगो का रंग न बदले */
.logo a:visited {
    color: inherit;
}


/* Hindi Judiciary Section Styles */
.hindi-judiciary-section {
    padding: 60px 5%;
    background-color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.batch-header {
    text-align: center;
    margin-bottom: 50px;
}

.hindi-badge {
    background: #8b0000;
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 14px;
    letter-spacing: 1px;
}

.batch-header h1 {
    font-size: 2.8rem;
    color: #1a1a1a;
    margin: 15px 0;
}

.hindi-tagline {
    font-size: 1.3rem;
    color: #8b0000;
    font-weight: 600;
}

.hindi-intro-card {
    background: #fdf2f2;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
    border-right: 6px solid #8b0000;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
}

/* Feature Grid */
.hindi-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.h-feature-box {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: 0.3s;
}

.h-feature-box:hover {
    transform: translateY(-8px);
    border-color: #8b0000;
}

.h-icon-circle {
    width: 60px;
    height: 60px;
    background: #8b0000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
}

.h-feature-box h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

/* Checklist Highlights */
.detailed-highlights {
    background: #1a1a1a;
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 50px;
}

.sub-title {
    color: #ffd700;
    text-align: center;
    margin-bottom: 35px;
    font-size: 1.8rem;
}

.highlight-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.highlight-item {
    display: flex;
    gap: 15px;
}

.highlight-item i {
    color: #ffd700;
    font-size: 1.4rem;
    margin-top: 5px;
}

.highlight-item h4 {
    color: #fff;
    margin-bottom: 5px;
}

.highlight-item p {
    color: #bbb;
    font-size: 0.95rem;
}

/* Extra Benefits */
.extra-benefits-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.benefit-item {
    background: #fff8f0;
    border: 1px solid #ffd700;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.9rem;
}

.benefit-item i {
    color: #8b0000;
}

/* CTA Box */
.hindi-cta-box {
    background: linear-gradient(135deg, #8b0000, #4a0000);
    color: #fff;
    text-align: center;
    padding: 45px;
    border-radius: 20px;
}

.contact-details {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-details a {
    color: #ffd700;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .batch-header h1 { font-size: 1.9rem; }
    .contact-details a { font-size: 1.2rem; }
    .detailed-highlights { padding: 20px; }
}

/* IAS Law Optional Styles */
.ias-law-section {
    padding: 80px 5%;
    background-color: #f4f7f9;
    font-family: 'Segoe UI', sans-serif;
}

.ias-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ias-hero-header {
    text-align: center;
    margin-bottom: 60px;
}

.ias-badge {
    background: #003366;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.ias-hero-header h1 {
    font-size: 3rem;
    color: #002244;
    margin: 20px 0 10px;
    font-weight: 800;
}

.ias-subtext {
    font-size: 1.2rem;
    color: #d32f2f;
    font-weight: 600;
}

.ias-intro-box {
    max-width: 850px;
    margin: 30px auto 0;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444;
    padding: 20px;
    border-top: 2px solid #003366;
}

/* Pillars Grid */
.ias-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.pillar-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: 0.4s;
}

.pillar-card:hover {
    transform: translateY(-10px);
    background: #003366;
    color: #fff;
}

.pillar-icon {
    font-size: 2.5rem;
    color: #d32f2f;
    margin-bottom: 20px;
}

.pillar-card:hover .pillar-icon {
    color: #fff;
}

.pillar-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* Features Layout */
.ias-features-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.ias-feature-image {
    position: relative;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border-right: 8px solid #003366;
}

.experience-badge {
    position: absolute;
    top: -20px;
    right: 20px;
    background: #d32f2f;
    color: #fff;
    padding: 15px;
    border-radius: 50%;
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    line-height: 1.2;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

.ias-feature-image h2 {
    color: #003366;
    margin-bottom: 25px;
}

.ias-feature-image ul {
    list-style: none;
}

.ias-feature-image ul li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ias-feature-image ul li i {
    color: #2e7d32;
}

.ias-quote-card {
    background: #002244;
    color: #fff;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    position: relative;
}

.ias-quote-card i {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 20px;
    display: block;
}

.ias-quote-card p {
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* CTA Box */
.ias-cta-box {
    text-align: center;
    background: #fff;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.ias-contact {
    margin: 25px 0;
    font-size: 1.8rem;
    color: #003366;
}

.ias-contact i {
    color: #d32f2f;
    margin-right: 10px;
}

.ias-enroll-btn {
    display: inline-block;
    background: #d32f2f;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
    margin-top: 20px;
}

.ias-enroll-btn:hover {
    background: #003366;
    transform: scale(1.05);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .ias-hero-header h1 { font-size: 2rem; }
    .ias-contact { font-size: 1.4rem; }
}

/* CLAT Comprehensive Page Styles */
.clat-comprehensive-section {
    padding: 60px 5%;
    background-color: #f9f9f9;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.clat-container {
    max-width: 1200px;
    margin: 0 auto;
}

.clat-main-header {
    text-align: center;
    margin-bottom: 50px;
}

.clat-badge {
    background: #c0392b;
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    text-transform: uppercase;
}

.clat-main-header h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin: 15px 0;
}

.clat-main-header h3 {
    color: #c0392b;
    font-weight: 600;
}

/* Intro Cards */
.clat-intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.clat-card {
    padding: 40px;
    border-radius: 15px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.clat-card.blue { background: #2980b9; }
.clat-card.gold { background: #d4af37; }

.clat-card i { font-size: 30px; margin-bottom: 15px; }

/* Table Styling */
.nlu-table-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.table-title {
    margin-bottom: 20px;
    color: #2c3e50;
}

.responsive-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: #2c3e50;
    color: #fff;
    padding: 15px;
    text-align: left;
}

td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    line-height: 1.6;
}

/* Exam Pattern Grid */
.exam-pattern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.pattern-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
}

.pattern-head {
    padding: 15px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.pattern-card.red .pattern-head { background: #c0392b; }
.pattern-card.orange .pattern-head { background: #e67e22; }
.pattern-card.green .pattern-head { background: #27ae60; }

.pattern-body ul {
    list-style: none;
    padding: 20px;
}

.pattern-body li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
}

/* Univ Cards */
.univ-info {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.univ-card {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border-top: 5px solid #2980b9;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Private Colleges Scroll */
.private-colleges {
    background: #eee;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
}

.scroll-list {
    margin-top: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-height: 150px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.8;
}

/* CTA */
.clat-cta {
    text-align: center;
    background: #2c3e50;
    color: #fff;
    padding: 50px;
    border-radius: 20px;
}

.call-now-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    background: #c0392b;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
}

.call-now-btn:hover { background: #e74c3c; transform: scale(1.05); }

/* Responsive */
@media (max-width: 768px) {
    .clat-main-header h1 { font-size: 1.8rem; }
}
/* --- डेस्कटॉप ड्रॉपडाउन सेटिंग्स --- */

/* --- डेस्कटॉप सेटिंग्स (इनमें कोई बदलाव नहीं है) --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown:hover .dropdown-content {
    display: block !important;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 260px;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 4px solid #ffcc00;
    border-radius: 0 0 10px 10px;
    padding: 10px 0;
}

.dropdown-content li {
    list-style: none;
    margin-bottom: 5px;
}

.dropdown-content li a {
    color: #333 !important;
    padding: 12px 20px;
    display: block;
    font-size: 15px;
    transition: all 0.3s ease;
}

.dropdown-content li a:hover {
    background-color: #fff9e6;
    padding-left: 28px;
}

/* --- मोबाइल रिस्पॉन्सिव (यहाँ सुधार किया गया है) --- */
@media screen and (max-width: 1024px) {
    /* मोबाइल पर होवर बंद करें */
    .dropdown:hover .dropdown-content {
        display: none !important;
    }

    /* जब यूजर क्लिक करे (active क्लास), तब लिस्ट को मेनू के अंदर ही दिखाएँ */
    .dropdown.active .dropdown-content {
        display: block !important;
        position: static; /* इससे लिस्ट मेनू के अंदर ही जगह बनाएगी */
        width: 100%;
        box-shadow: none;
        background-color: #f1f1f1; /* थोड़ा अलग रंग ताकि पता चले कि यह अंदर की लिस्ट है */
        border-top: none;
        border-left: 4px solid #ffcc00; /* पहचान के लिए बाईं ओर पीली पट्टी */
        margin: 10px 0;
        padding: 5px 0;
    }

    /* मोबाइल पर लिंक्स के बीच गैप */
    .dropdown-content li a {
        padding: 12px 30px; /* थोड़ा दाईं ओर खिसका हुआ */
        font-size: 14px;
    }

    /* पूरे साइड मेनू में स्क्रॉलर ताकि लिस्ट लंबी होने पर सब दिखे */
    .nav-links {
        overflow-y: auto !important;
        max-height: calc(100vh - 50px);
        display: flex;
        flex-direction: column;
    }

}

/* --- 1. Base Footer Style --- */
.main-footer {
    background-color: #1a1a1a;
    color: #cccccc;
    width: 100%;
    margin: 0;
    padding: 50px 0 0;
    font-family: 'Arial', sans-serif;
}

.footer-content-container {
    max-width: 1300px;
    width: 90%;
    margin: 0 auto;
}

/* --- 2. Top Section (Head Office) --- */
.ho-title { color: #b30000; text-align: center; font-size: 22px; margin-bottom: 5px; font-weight: bold; }
.head-office-info p { text-align: center; color: #fff; margin-bottom: 25px; font-size: 15px; }

.ho-contact-flex { 
    display: flex; 
    justify-content: center; 
    gap: 40px; 
    flex-wrap: wrap; 
    margin-bottom: 40px; 
    width: 100%;
}

.contact-box { 
    font-size: 14px; 
    line-height: 1.8; 
    text-align: center; 
    flex: 1; 
    min-width: 250px; 
}

/* आइकॉन कलर */
.contact-box i, .branch-card i { 
    color: #b91c1c; 
    margin-right: 8px; 
    width: 20px;
    text-align: center;
}

/* --- Branches Grid (Centered & Wider Cards) --- */
.branches-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 30px;
    margin-top: 30px;
}

.branch-card {
    flex: 0 1 450px; 
    min-width: 320px;
    border: 1px solid #ccc;
    border-radius: 12px;
    text-align: left;
    background: #ffffff !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.branch-card h5 { 
    background-color: #b91c1c !important; 
    color: #ffffff !important; 
    font-size: 18px; 
    margin: 0; 
    padding: 18px; 
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

.branch-card-content {
    padding: 25px;
}

/* --- Desktop Styles (Always Pure Black) --- */
.branch-card p {
    color: #000000 !important;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.branch-card strong {
    color: #000000 !important;
    font-weight: 700;
}

.branch-card strong span {
    color: #000000 !important;
    font-weight: 400;
}

.branch-card i { 
    color: #b91c1c !important; 
    margin-right: 12px;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* --- Mobile Responsive Fix (768px से नीचे) --- */
@media (max-width: 768px) {
    .branch-card {
        flex: 0 1 100%;
        margin: 0 15px;
    }

    .branch-card-content {
        padding: 5px;
        text-align: center; /* पूरा कंटेंट सेंटर में */
    }

    .branch-card p.contact-item {
        flex-direction: column; /* आइकॉन, लेबल और ईमेल एक के नीचे एक */
        align-items: center;
        justify-content: center;
        gap: 0 !important; /* आइकॉन और टेक्स्ट के बीच का डिफ़ॉल्ट गैप खत्म */
    }

    .branch-card strong {
        display: flex;
        flex-direction: column; /* ईमेल आईडी को लेबल के नीचे लाने के लिए */
        align-items: center;
        width: 100%;
        margin-top: 0 !important;
    }

    .branch-card strong span {
        display: block;
        margin-top: 0px;
        font-size: 14px;
        word-break: break-all;
    }

    .branch-card i {
        margin-right: 0 !important; /* मोबाइल पर राइट मार्जिन खत्म */
        margin-bottom: 0px !important; /* आइकॉन और टेक्स्ट के बीच का गैप खत्म किया */
        margin-top: 0;
        padding-bottom: 0 !important;
        line-height: 1; /* लाइन की ऊँचाई कम करके और करीब लाया */
    }

    /* बाकी ग्रिड सेटिंग्स */
    .branches-grid {
        grid-template-columns: 1fr !important; 
        gap: 20px;
    }
}

/* --- 4. Bottom Section Grid --- */
.footer-bottom-wrapper {
    background-color: #151515;
    padding: 50px 0;
    width: 100%;
}

.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    color: #b30000; font-size: 16px; margin-bottom: 25px; font-weight: bold;
    border-bottom: 2px solid #b30000; display: inline-block;
}

.footer-logo { width: 220px; margin-bottom: 15px; }

.social-icons-footer { margin-top: 25px; display: flex; gap: 12px; }
.social-icons-footer a {
    background: #fff; color: #000; width: 35px; height: 35px; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 4px; transition: 0.3s; font-size: 18px; text-decoration: none;
}
.social-icons-footer a:hover { background: #ff0000; color: #fff; }

.links-flex { display: flex; justify-content: space-between; gap: 20px; }
.links-flex ul { list-style: none; padding: 0; margin: 0; }
.links-flex li { margin-bottom: 12px; }
.links-flex a { color: #bbb; text-decoration: none; font-size: 14px; transition: 0.3s; }
.links-flex a:hover { color: #ff0000; padding-left: 5px; }

.about-col p { line-height: 1.8; font-size: 14px; color: #aaa; text-align: justify; }

.tagline-container { text-align: center; margin: 15px 0; width: 100%; max-width: 250px; }
.tagline { color: #ffffff; font-weight: bold; font-size: 14px; line-height: 1.6; position: relative; display: inline-block; padding: 0 25px; }
.tagline::before { content: '"'; position: absolute; left: 0; top: -5px; font-size: 30px; color: #b30000; }
.tagline::after { content: '"'; position: absolute; right: 0; bottom: -15px; font-size: 30px; color: #b30000; }

.app-buttons { display: flex; gap: 12px; margin-top: 20px; align-items: center; }
.app-buttons img { width: 120px; height: auto; border-radius: 5px; transition: 0.3s; }
.app-buttons img:hover { transform: translateY(-3px); filter: brightness(1.1); }

.copyright-bar { background: #000; text-align: center; padding: 20px; font-size: 13px; color: #666; border-top: 1px solid #222; }

/* सोशल मीडिया आइकॉन कलर फिक्स */
.social-icons-footer a.fb-bg { background: #3b5998; }
.social-icons-footer a.ig-bg { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-icons-footer a.wa-bg { background: #25d366; }
.social-icons-footer a.tg-bg { background: #0088cc; }

/* मोबाइल और अन्य सेटिंग्स (जैसे आपने दी थी) */
@media (max-width: 768px) {
    .mobile-contact-info { margin-top: -10px !important; padding-top: 0 !important; display: block; text-align: left; padding-left: 20px; }
    .bottom-grid { grid-template-columns: 1fr !important; text-align: center; gap: 50px; }
    .ho-contact-flex { flex-direction: column; align-items: center; }
    .links-flex { flex-direction: column; gap: 10px; }
    .social-icons-footer, .app-buttons { justify-content: center; }
    .about-col p { text-align: center; }
}

@media (max-width: 1024px) {
    .tagline-container { margin: 15px auto; }
}