/* --- VARIABLES --- */
:root {
    --primary: #002147;
    --secondary: #10c45c;
    --dark: #1a1a1a;
    --light: #f4f4f4;
    --white: #ffffff;
    --gray: #777;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    
    /* --- IN 2 LINES KO DELETE YA COMMENT KAR DEIN --- */
    /* overflow-x: hidden; */
    /* overflow-y: auto; */
    
    /* Agar Horizontal scroll rokna zaroori hai to sirf ye use karein: */
    overflow-x: hidden; 
    /* overflow-y mat lagayen */
}

/* JS se jab ye class add hogi to header fix ho jayega */
.sticky-active {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.3s ease forwards;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.text-center { text-align: center; }
.bg-light { background-color: #f8f9fa; }

/* --- REUSABLE UTILITIES --- */
.container {
    max-width: 1300px; /* Increased Width */
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-padding { padding: 80px 0; }

.section-header { margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; color: var(--primary); font-weight: 700; }
.section-header p { color: var(--gray); margin-top: 10px; }
.line {
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 10px auto;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    border: 2px solid var(--secondary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--secondary);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover { background: var(--white); color: var(--primary); }

.btn-primary-inverted {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.btn-primary-inverted:hover { background: transparent; color: var(--white); }

/* --- 1. TOP BAR --- */
.top-bar {
    background-color: var(--primary);
    color: rgba(255,255,255,0.8);
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.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: var(--secondary); }
.social-links a { color: var(--white); margin-left: 15px; }
.social-links a:hover { color: var(--secondary); }
.verify-link { color: var(--secondary) !important; font-weight: bold; }

/* --- 2. HEADER --- */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    
    /* Wapis Sticky karein */
    position: sticky; 
    position: -webkit-sticky; /* Safari browser support ke liye */
    
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* --- UPDATED LOGO STYLES --- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px; /* Icon aur Text ke beech fasla */
    text-decoration: none; /* Agar link ho to underline na aye */
}

.logo-icon {
    font-size: 2.5rem; /* Icon thora bara kiya */
    color: var(--secondary); /* Green color icon ke liye */
}

.logo-text {
    display: flex;
    flex-direction: column; /* Text ko upar neechay karta hai */
    line-height: 1.1; /* Lines ke beech gap kam */
}

.main-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary); /* Navy Blue */
    letter-spacing: 1px;
}

.sub-name {
    font-size: 0.6rem; /* Size chota taake fit aye */
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer mein text color adjust karne ke liye */
footer .main-name { color: var(--white); }
footer .sub-name { color: #ccc; }

.logo span { color: var(--secondary); }

.nav-links { display: flex; align-items: center; gap: 30px; }

.nav-links a {
    font-weight: 500;
    color: var(--primary);
    font-size: 1rem;
}

.nav-links a:hover, .nav-links a.active { color: var(--secondary); }

.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

/* --- 3. HERO SECTION --- */
.hero {
    height: 85vh;
    background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0, 33, 71, 0.9), rgba(0, 33, 71, 0.7));
}

.hero-content { position: relative; z-index: 1; }
.hero-content h1 { font-size: 4rem; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px; opacity: 0.9; }
.highlight { color: var(--secondary); }
.big-btn { padding: 15px 40px; margin: 0 10px; }

/* --- 4. PARTNERS --- */
.partners-section {
    background: #e9ecef;
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
.partners-section p { font-size: 0.9rem; font-weight: 600; color: #666; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px;}
.partner-logos { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.partner-logos span { font-weight: 700; color: #888; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }

/* --- 5. ABOUT --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.sub-heading { color: var(--secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }
.about-text h2 { font-size: 2.5rem; color: var(--primary); margin: 10px 0 20px; }
.about-image img { width: 100%; border-radius: 10px; box-shadow: 20px 20px 0px var(--secondary); }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.stat-box { background: var(--primary); color: white; padding: 20px; border-radius: 8px; text-align: center; }
.stat-box h3 { font-size: 2rem; color: var(--secondary); }

/* --- 6. CATEGORIES (Widened) --- */
.categories-grid {
    display: grid;
    /* Cards ab kam se kam 350px width lenge */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-card:hover { transform: translateY(-5px); border-bottom: 4px solid var(--secondary); }

.icon-box {
    width: 60px; height: 60px; background: rgba(16, 196, 92, 0.1);
    color: var(--secondary); font-size: 24px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; margin-bottom: 20px;
}

.category-card h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 10px; }
.category-card p { color: var(--gray); margin-bottom: 20px; font-size: 0.95rem; }
.read-more { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.read-more i { margin-left: 5px; transition: 0.3s; }
.read-more:hover i { margin-left: 10px; color: var(--secondary); }

/* --- 7. PROCESS --- */
.process-steps {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 30px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 10px;
    position: relative;
}

.step-number {
    font-size: 4rem; font-weight: 900; color: rgba(0, 33, 71, 0.05);
    position: absolute; top: 10px; right: 20px;
}
.step h4 { color: var(--primary); font-size: 1.4rem; margin-bottom: 15px; }

/* --- 8. TESTIMONIALS --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card {
    background: var(--white); padding: 30px; border-radius: 8px; box-shadow: var(--shadow);
}
.quote-icon { color: var(--secondary); font-size: 2rem; margin-bottom: 15px; }
.testimonial-card p { font-style: italic; color: #555; margin-bottom: 20px; }
.student-info h4 { color: var(--primary); margin-bottom: 0; }
.student-info span { font-size: 0.85rem; color: var(--gray); }

/* --- 9. FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #ddd; padding: 20px; margin-bottom: 15px; border-radius: 5px; border-left: 4px solid var(--secondary); }
.faq-item h4 { color: var(--primary); margin-bottom: 10px; }
.faq-item p { color: #555; font-size: 0.95rem; }

/* --- 10. CTA & FOOTER --- */
.cta-section {
    background: var(--secondary);
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
}
.cta-content h2 { margin-bottom: 15px; font-size: 2.2rem; }
.cta-content p { margin-bottom: 30px; font-size: 1.1rem; }

/* --- FOOTER UPDATED --- */
footer { 
    background: var(--primary); 
    color: #ccc; 
    padding: 70px 0 20px; 
}

.footer-grid { 
    display: grid; 
    /* Ab yahan 4 barabar sections banenge */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 40px; 
    margin-bottom: 50px; 
}

.footer-logo { 
    color: var(--white); 
    margin-bottom: 20px; 
    display: block; 
}

.footer-col h4 { 
    color: var(--secondary); 
    margin-bottom: 25px; 
    font-size: 1.2rem; 
    position: relative;
}

/* Optional: Heading ke neeche choti line */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-col ul li { 
    margin-bottom: 12px; 
}

.footer-col ul li a:hover { 
    color: var(--secondary); 
    padding-left: 5px; 
}

/* --- Social Icons Fix --- */
.footer-socials {
    margin-top: 20px;
}

.footer-socials a { 
    color: var(--white); 
    font-size: 1.1rem; 
    /* Pehle 15px tha, ab 8px kar diya hai taake qareeb hon */
    margin-right: 8px; 
    display: inline-block;
    transition: 0.3s;
    /* Optional: Thora background circle de sakte hain */
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.footer-socials a:hover { 
    background: var(--secondary); 
    color: var(--white);
    transform: translateY(-3px);
}

.copyright { 
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding-top: 20px; 
    font-size: 0.9rem; 
}

/* Responsive Fix */
@media (max-width: 992px) {
    .footer-grid { 
        grid-template-columns: 1fr 1fr; /* Tablet pe 2-2 karke ayenge */
    }
}

@media (max-width: 576px) {
    .footer-grid { 
        grid-template-columns: 1fr; /* Mobile pe sab ek ke neeche ek */
        text-align: center;
    }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); } /* Line center mein */
}



/* =========================================
   MOBILE RESPONSIVE FIXES (Paste at the end)
   ========================================= */

@media (max-width: 992px) {
    /* Tablet & Small Laptops Fixes */
    .hero-content h1 { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; text-align: center; } 
    .about-image { margin-top: 40px; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    
    .top-bar {
        display: none !important;
    }

    /* --- 1. GENERAL CONTAINER --- */
    .container {
        padding: 0 15px; /* Side padding kam ki taake content ke liye jagah banay */
    }

    /* --- 2. TOP BAR FIX --- */
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
        font-size: 0.8rem;
    }
    
    .contact-info span { margin-right: 0; }
    .social-links { margin-top: 5px; }

    /* --- 3. HEADER & NAVIGATION FIX --- */
    .navbar {
        padding: 15px 15px;
    }

    .logo { font-size: 1.4rem; }

    .mobile-menu-btn { 
        display: block; 
        color: var(--primary);
    }

    .nav-links {
        position: absolute;
        top: 100%; /* Header ke foran baad */
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        
        /* Animation setup */
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none; /* Clickable nahi hoga jab tak active na ho */
        transition: all 0.3s ease;
        z-index: 999;
    }

    /* JS class add hone par show hoga */
    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* --- 4. HERO SECTION FIX (Major Fix) --- */
    .hero {
        /* Height ko auto karein taake content kate na */
        height: auto; 
        min-height: 80vh; 
        padding-top: 100px; /* Header ke liye jagah */
        padding-bottom: 60px;
        background-position: center;
    }

    .hero-content h1 {
        font-size: 2.2rem; /* Font chota kiya */
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .big-btn {
        width: 100%; /* Buttons full width */
        margin: 0;
    }

    /* --- 5. PARTNERS FIX --- */
    .partner-logos {
        gap: 20px;
    }
    
    .partner-logos span {
        font-size: 1rem;
        flex: 1 1 40%; /* 2 logos per line */
        justify-content: center;
    }

    /* --- 6. ABOUT SECTION & STATS FIX --- */
    .about-grid {
        display: flex;
        flex-direction: column-reverse; /* Text upar, image neechay ya vice versa */
    }

    .about-image img {
        margin-top: 0;
        margin-bottom: 30px;
    }

    .stats-grid {
        grid-template-columns: 1fr; /* Stats ek ke neechay ek */
        gap: 15px;
    }

    /* --- 7. SECTION HEADINGS --- */
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 50px 0; /* Vertical spacing kam ki */
    }

    /* Add inside @media (max-width: 768px) { ... } */

    .subscribe-form {
        flex-direction: column; /* Mobile par upar neechay */
        background: transparent;
        border: none;
        border-radius: 0;
        gap: 15px;
    }

    .subscribe-form input {
        background: #f9f9f9;
        border: 1px solid #ddd;
        border-radius: 5px;
        width: 100%;
        text-align: center;
    }

    .subscribe-form button {
        width: 100%;
        border-radius: 5px;
    }

    /* Add inside @media (max-width: 768px) { ... } */

    .logo-icon {
        font-size: 1.8rem; /* Mobile pe icon chota */
    }

    .main-name {
        font-size: 1.5rem; /* Mobile pe CPTE chota */
    }

    /* Mobile Header mein lambi line hide kar dein taake safai rahay */
    header .sub-name {
        display: none;
    }
    
    /* Footer mein show karwa sakte hain kyunke wahan jagah hoti hai */
    footer .sub-name {
        display: block;
        font-size: 0.5rem;
    }
}

/* --- 7b. VIDEO SECTION --- */
.video-section {
    position: relative;
    height: 400px;
    background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 33, 71, 0.8); /* Primary color overlay */
}

.video-content { position: relative; z-index: 2; }

.play-btn-wrapper { margin-bottom: 20px; }

.play-btn {
    display: inline-flex;
    width: 70px; height: 70px;
    background: var(--white);
    color: var(--secondary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.play-btn:hover { background: var(--secondary); color: var(--white); }

.video-content h2 { font-size: 2.5rem; margin-bottom: 10px; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* --- 7c. TEAM SECTION --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
}

.team-card:hover { transform: translateY(-10px); }

.team-img {
    height: 250px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.team-card:hover .team-img img { transform: scale(1.1); }

.team-info { padding: 20px; }
.team-info h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 5px; }
.team-info span { color: var(--secondary); font-size: 0.9rem; font-weight: 600; display: block; margin-bottom: 15px; }
.team-socials a { color: var(--gray); margin: 0 5px; transition: 0.3s; }
.team-socials a:hover { color: var(--primary); }

/* --- 7d. NEWS SECTION --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.news-card:hover { transform: translateY(-5px); }

.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-date {
    position: absolute;
    bottom: 0; left: 0;
    background: var(--secondary);
    color: var(--white);
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 700;
}

.news-content { padding: 25px; }
.news-content h4 { color: var(--primary); font-size: 1.2rem; margin-bottom: 10px; line-height: 1.4; }
.news-content p { color: var(--gray); font-size: 0.9rem; margin-bottom: 15px; }

/* --- SUBSCRIBE SECTION --- */
.subscribe-section {
    background-color: var(--white); /* White background */
    border-bottom: 1px solid #eee; /* Slight separation from footer if needed */
}

.subscribe-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 50px; /* Pill shape container */
    border: 1px solid #ddd;
}

.subscribe-form input {
    flex: 1; /* Input baki sari jagah le lega */
    padding: 15px 25px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    color: var(--dark);
}

.subscribe-form button {
    border-radius: 50px; /* Button bhi round */
    padding: 12px 30px;
    white-space: nowrap; /* Text tootay ga nahi */
}

/* Input focus effect */
.subscribe-form:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(16, 196, 92, 0.1);
}

/* --- 1. NAVBAR ALIGNMENT FIX (Sab se zaroori) --- */
.nav-links {
    display: flex;
    align-items: center; /* Yeh items ko vertically center karega */
    gap: 20px;
}

.nav-links li {
    display: flex; /* Li ke andar bhi flex taake button center ho */
    align-items: center;
    height: 100%;
}

/* --- 2. SHARED BUTTON STYLES (Header Only) --- */
/* Hum Login aur Apply dono buttons par same structure lagayenge */
.btn-login, 
.navbar .btn-primary {
    height: 40px; /* Fixed Height: Dono bilkul barabar honge */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 20px !important; /* Top/Bottom padding 0, sirf Left/Right */
    font-size: 14px !important;
    font-weight: 500;
    border-radius: 4px;
    line-height: 1;
    white-space: nowrap; /* Text tootna nahi chahiye */
    box-sizing: border-box; /* Border width height mein shamil ho */
    transition: 0.3s;
}

/* --- 3. SPECIFIC COLORS --- */

/* Login Button (Outline) */
.btn-login {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    gap: 8px;
}

.btn-login:hover {
    background: var(--primary);
    color: var(--white);
}

/* Apply Button (Filled) */
.navbar .btn-primary {
    background: var(--secondary); /* Green */
    color: var(--white);
    border: 1px solid var(--secondary); /* Border zaroori hai height match karne ke liye */
}

.navbar .btn-primary:hover {
    background: transparent;
    color: var(--secondary);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .nav-links li {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .btn-login, .navbar .btn-primary {
        width: 80%; /* Mobile pe wapis choray ho jayen */
        height: 45px; /* Mobile pe thora bara touch target */
    }
}

/* --- FOOTER LOGO ALIGNMENT FIX --- */

.footer-logo {
    display: flex;          /* Yeh property Icon aur Text ko side-by-side layegi */
    align-items: center;    /* Vertically center karega */
    gap: 15px;              /* Icon aur Text ke beech fasla */
    margin-bottom: 20px;    /* Logo ke neechay thora gap */
}

/* Icon ka size adjust karein */
.footer-logo .logo-icon {
    font-size: 2.5rem;      /* Icon thora bara */
    color: var(--secondary);
}

/* Text ko wapis set karein */
.footer-logo .logo-text {
    display: flex;
    flex-direction: column; /* CPTE upar aur Full Name neechay */
    align-items: flex-start; /* Text left side se shuru ho */
    line-height: 1.2;
}

/* Colors specifically for Footer (Dark Background) */
.footer-logo .main-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;            /* CPTE White */
}

.footer-logo .sub-name {
    font-size: 0.75rem;     /* Full name chota */
    color: #ccc;            /* Grayish White */
    font-weight: 400;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-wrapper {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 400px;
    max-width: 90%;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 9999;
    border-left: 5px solid var(--secondary); /* Green Accent */
    
    /* Animation Initial State (Hidden) */
    opacity: 0;
    transform: translateY(50px);
    pointer-events: none;
    transition: 0.5s ease-in-out;
}

/* Active State (Visible) - JS se add hoga */
.cookie-wrapper.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.cookie-content {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.cookie-icon {
    font-size: 2rem;
    color: #d35400; /* Cookie Color (Orange-ish) */
    margin-top: 5px;
}

.cookie-text h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 600;
}

.cookie-text p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 5px;
}

.cookie-link {
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: underline;
}

/* Buttons */
.cookie-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-cookie-fill {
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-cookie-fill:hover {
    background: var(--primary);
}

.btn-cookie-outline {
    background: transparent;
    color: #777;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-cookie-outline:hover {
    background: #f4f4f4;
    color: #333;
}

/* Mobile Responsive */
@media (max-width: 500px) {
    .cookie-wrapper {
        left: 5%;
        bottom: 20px;
        width: 90%;
        padding: 20px;
    }
    .cookie-actions {
        flex-direction: column-reverse; /* Accept upar ajaye */
    }
    .btn-cookie-fill, .btn-cookie-outline {
        width: 100%;
    }
}