/* =========================================
   SOCIETY SOLAR: THE BOLD & DARK REBOOT (2026)
   ========================================= */

:root {
    --soc-p: #4c1d95; /* Deep Royal Purple */
    --soc-s: #7c3aed; /* Vibrant Light Purple */
    --soc-accent: #f59e0b; /* Bright Gold */
    --text-main: #0f172a; /* Slate Dark for Text */
    --text-muted: #475569; /* Muted Text */
    --bg-main: #e2e8f0; /* 🚨 GAHRA SILVER BACKGROUND */
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.9);
    /* 🚨 DEEP PURPLE SHADOW FOR DEPTH */
    --shadow-deep: 0 20px 50px rgba(46, 16, 101, 0.15); 
}

/* Base Fixes for 1366x768 Monitor */
/* * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; } */
body { padding-top: 80px; color: #333; line-height: 1.6; background: var(--soft-grad-white); overflow-x: hidden; }

/* 1. HERO SECTION - Cinematic & LIFTED UP */
.soc-hero { 
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%); /* Gahra Purple Gradient */
    color: white; padding: 100px 5% 70px !important; /* 🚨 LIFTED UP */
    position: relative; overflow: hidden;
    min-height: 85vh; display: flex; align-items: center;
}

/* Abstract Shape for Bold Look */
.soc-hero::before {
    content: ''; position: absolute; bottom: -10%; left: -5%;
    width: 400px; height: 400px; background: rgba(124, 58, 237, 0.1);
    border-radius: 50%; z-index: 1;
}

.soc-container { 
    max-width: 1250px; 
    margin: -30px auto 0; /* Upar se negative margin, baaki auto */
    display: flex; 
    align-items: center; 
    gap: 50px; 
    position: relative; 
    z-index: 2; 
    width: 100%; 
}

/* Image section ko thoda stylish banayein */
.soc-visual {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
}

.soc-visual img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: 0.4s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.soc-visual img:hover {
    transform: scale(1.05); /* Chhat ka view thoda zoom hoga hover par */
}

/* Text section ko thoda clean look dein */
.soc-text {
    flex: 1.2;
}

.soc-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e3a8a; /* Professional Blue */
}

.soc-text ul {
    list-style: none;
    padding: 0;
}

.soc-text li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.soc-text li i {
    color: #fbbf24; /* Gold checkmark icons */
}

.soc-hero-content { 
    flex: 1; /* Text ko 50% jagah di */
}
.soc-badge { 
    background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 10px 20px; border-radius: 50px; font-size: 0.8rem; 
    font-weight: 800; color: var(--soc-accent); display: inline-block; margin-bottom: 25px;
    text-transform: uppercase; letter-spacing: 1px;
}

.soc-hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1; margin-bottom: 25px; font-weight: 800; color: white; }
.soc-hero-content .highlight { color: var(--soc-accent); }
.soc-hero-content p { font-size: 1.15rem; color: #ddd6fe; margin-bottom: 35px; max-width: 600px; font-family: 'Open Sans', sans-serif; }

.soc-hero-btns { display: flex; gap: 20px; align-items: center; }
.soc-btn-primary { 
    background: var(--soc-accent); color: #2e1065; padding: 18px 36px; 
    border-radius: 12px; font-weight: 800; text-decoration: none; transition: 0.3s;
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
}
.soc-btn-primary:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 40px rgba(245, 158, 11, 0.5); }

.soc-btn-secondary { color: white; text-decoration: none; font-weight: 700; border-bottom: 2px solid rgba(255,255,255,0.3); padding-bottom: 5px; transition: 0.3s; margin-left: 20px; }
.soc-btn-secondary:hover { border-color: var(--soc-accent); color: var(--soc-accent); }

/* 2. VISUAL & FLOATING CARD - Glassmorphism */
.soc-hero-visual { 
    flex: 1.2; /* 🚨 IMAGE KO 60% JAGAH DI (Pehle se badi) */
    position: relative; 
    display: flex;
    justify-content: flex-end; /* Image ko right side chipka ke rakha */
    aspect-ratio: 1200 / 670;
}
/* 2. Image ko thoda aur "Grand" banayein */
.soc-hero-visual img { 
   width: 110%; 
    height: auto; /* Height auto rakhna compulsory hai */
    max-width: none; 
    border-radius: 30px; 
    box-shadow: 0 40px 80px rgba(0,0,0,0.4); 
    border: 8px solid rgba(255,255,255,0.1); 
    
    /* 3D Look */
    transform: perspective(1000px) rotateY(-5deg); 
    transition: 0.5s ease;
    
    /* 🚨 Performance Tip: Image loading ko smooth rakhein */
    will-change: transform;
}
.soc-hero-visual img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02); /* Hover karne par sidha aur bada hoga */
}
.soc-floating-card { 
    position: absolute; bottom: 15px; left: -25px; 
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(15px); /* 🚨 GLASS LOOK */
    padding: 12px; border-radius: 20px; display: flex; align-items: center; gap: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); border-left: 6px solid var(--soc-accent);
    animation: float 3s ease-in-out infinite !important;
}
.soc-floating-card i { font-size: 2rem; color: var(--soc-p); }
.soc-floating-card span { font-weight: 800; font-size: 1rem; color: var(--soc-p); text-transform: uppercase; }
/* 📺 1366x768 Monitor Special (Text vs Image Balance) */
@media (max-width: 1366px) {
    .soc-hero-visual img {
        width: 105%;
    }
    .soc-container {
        gap: 20px; /* Gap kam kiya taaki badi image fit aa jaye */
    }
}

/* 📱 Mobile Fix: Image ko wapas normal karein */
@media (max-width: 768px) {
    .soc-hero-visual img {
        width: 100%;
        transform: none; /* 3D effect hatao mobile par */
    }
    .soc-hero-visual {
        margin-top: 40px;
    }
}
/* 3. UNIVERSAL HEADERS - Centered & Tight Gap */
.soc-header { text-align: center; max-width: 850px; margin: 0 auto 30px; display: flex; flex-direction: column; align-items: center; padding-top: 80px; }
.soc-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--soc-p); margin-bottom: 15px; }
.soc-header p { font-size: 1.1rem; color: var(--text-muted); text-align: center; max-width: 600px; font-family: 'Open Sans', sans-serif; }

/* 4. SAVINGS GRID (4 Items) - Bold & Raised Cards */
.soc-savings { padding-top: 10px !important; padding-bottom: 80px; }
.soc-save-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1250px; margin: 0 auto; padding: 0 20px; }
.save-item { 
    background: var(--white); padding: 50px 35px; border-radius: 30px; 
    text-align: center; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-deep); border: 1px solid #e2e8f0; position: relative; overflow: hidden;
}
.save-item::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 6px; background: var(--soc-s); transform: scaleX(0); transition: 0.3s; }
.save-item:hover { transform: translateY(-12px); border-color: var(--soc-s); }
.save-item:hover::after { transform: scaleX(1); }
.save-item i { font-size: 3rem; color: var(--soc-p); margin-bottom: 25px; display: block; }
.save-item h4 { margin-bottom: 15px; font-size: 1.4rem; font-weight: 700; color: var(--soc-dark); }
.save-item p { color: var(--text-muted); font-family: 'Open Sans', sans-serif; font-size: 0.95rem; }

/* 5. SUBSIDY GRID (3 Items) - Distinctive Highlight */
.soc-subsidy { background: var(--bg-main); padding: 80px 0; }
.subsidy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1150px; margin: 0 auto; padding: 0 20px; }
.subsidy-card { background: var(--white); padding: 50px; border-radius: 25px; text-align: center; box-shadow: var(--shadow-deep); border: 1px solid #e2e8f0; transition: 0.3s; }
.subsidy-card:hover { transform: scale(1.02); border-color: var(--soc-p); }
.subsidy-card i { font-size: 3rem; color: var(--soc-p); margin-bottom: 25px; display: block; }
.subsidy-card h3 { font-size: 1.5rem; color: var(--soc-p); margin-bottom: 15px; }

.subsidy-card.highlight { 
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%); 
    color: white; border: none; transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(76, 29, 149, 0.3);
}
.subsidy-card.highlight i { color: var(--soc-accent); }
.subsidy-card.highlight h3, .subsidy-card.highlight p { color: white; }
/* =========================================
   SOCIETY PROCESS: MODERN ROADMAP
   ========================================= */
.soc-process { 
    background: #ffffff; 
    padding: 80px 5%; 
    border-top: 1px solid #e2e8f0;
}

.soc-process-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); /* 4 Steps in 1 Line */
    gap: 25px; 
    max-width: 1250px; 
    margin: 40px auto 0; 
}

.s-step-card { 
    background: #f8fafc; 
    padding: 40px 25px; 
    border-radius: 20px; 
    position: relative; 
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: 0.4s;
}

.s-step-card:hover { 
    background: #ffffff; 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(76, 29, 149, 0.1);
    border-color: var(--soc-p);
}

/* Big Number in Background */
.s-step-num { 
    font-size: 4rem; 
    font-weight: 900; 
    color: rgba(76, 29, 149, 0.05); /* Very light purple */
    position: absolute; 
    top: 10px; 
    right: 20px; 
    z-index: 1;
}

.s-step-card h3 { 
    font-size: 1.25rem; 
    color: var(--soc-p); 
    margin-bottom: 15px; 
    position: relative; 
    z-index: 2;
}

.s-step-card p { 
    font-size: 0.95rem; 
    color: var(--text-muted); 
    position: relative; 
    z-index: 2;
}
/* 6. FAQ DESIGN - Interactive & Purple State */
/* =========================================
   FAQ: TWO-COLUMN (LEFT-RIGHT) LAYOUT
   ========================================= */
.faq-container { 
    max-width: 1250px; 
    margin: 40px auto 0; 
    display: grid;
    grid-template-columns: 1fr 1fr; /* 🚨 LEFT AND RIGHT SPLIT */
    gap: 20px; 
    padding: 0 20px;
}

.faq-box { 
    background: #ffffff; 
    border-radius: 15px; 
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    height: fit-content; /* Box content ke hisab se badhega */
    transition: 0.3s;
}

.faq-box[open] { 
    border-color: var(--soc-p); 
    background: #f5f3ff;
    box-shadow: 0 15px 30px rgba(76, 29, 149, 0.1);
}

/* Summary Styles */
.faq-box summary { 
    padding: 20px 25px; 
    font-weight: 700; 
    color: var(--soc-p);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-box[open] summary {
    background: #f5f3ff; /* 🚨 HALKA PURPLE TAAKI CLICK PATA CHALE */
    color: #7c3aed;
    border-radius: 12px 12px 0 0;
    border-bottom: 2px solid #e2e8f0;
}
/* 2. FAQ: Hover par bhi halka color (Optional but good) */
.faq-box summary:hover {
    background: #f8fafc;
}
.faq-box summary::after {
    content: '\2b'; /* FontAwesome Plus icon code */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.faq-box[open] summary::after {
    content: '\2d'; /* Minus icon code */
}

.faq-box p { 
    padding: 0 25px 25px; 
    font-size: 0.95rem; 
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 1px dashed rgba(76, 29, 149, 0.1);
    margin-top: -5px;
    padding-top: 15px;
}
/* 7. CTA SECTION - Modern Rounded & BOLD */
.soc-cta { 
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%); 
    padding: 120px 0; margin: 60px 0; width: 100%; text-align: center; 
    position: relative; overflow: hidden; color: white;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
}
.soc-cta h2 { font-size: clamp(2rem, 5vw, 3.5rem); color: white; font-weight: 800; max-width: 900px; position: relative; z-index: 2; margin: 0; }
.soc-cta p { font-size: 1.3rem; color: #ddd6fe; max-width: 750px; margin: 0 auto; position: relative; z-index: 2; font-family: 'Open Sans', sans-serif; }
.soc-cta .soc-btn-primary { margin-top: 20px; padding: 22px 60px; font-size: 1.25rem; }

/* KEYFRAMES FOR FLOATING */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
/* Responsive Fix */
@media (max-width: 1024px) {
    .soc-process-grid { grid-template-columns: repeat(2, 1fr); } /* Tablet par 2 columns */
    .faq-container { grid-template-columns: 1fr; } /* Tablet/Mobile par wapas single column */
}

@media (max-width: 768px) {
    .soc-process-grid { grid-template-columns: 1fr; } /* Mobile par single column */
}
/* RESPONSIVE FIXES (1366x768 & Mobile) */
@media (max-width: 1366px) {
    .soc-hero-content h1 { font-size: 3rem; }
    .soc-container { gap: 30px; }
    .save-item { padding: 40px 25px; }
    .soc-header { padding-top: 60px; }
}

@media (max-width: 1024px) {
    .subsidy-grid { grid-template-columns: 1fr; gap: 25px; }
    .subsidy-card.highlight { transform: scale(1); }
}

@media (max-width: 768px) {
    body { padding-top: 60px; }
    .soc-hero { padding-top: 110px !important; text-align: center; min-height: auto; }
    .soc-container { flex-direction: column; text-align: center; margin-top: 0; gap: 30px; }
    .soc-hero-content h1 { font-size: 2.2rem; }
    .soc-hero-btns { flex-direction: column; width: 100%; gap: 15px; }
    .soc-btn-secondary { margin-left: 0; margin-top: 10px; }
    .soc-floating-card { position: relative; left: 0; bottom: 0; margin-top: 30px; width: 100%; justify-content: center; }
    .soc-save-grid { grid-template-columns: 1fr; }
}
/* 3. 📱 MOBILE SPECIFIC FIXES (Screen < 768px) */
@media (max-width: 768px) {
    /* 1. Universal Box Fix (Sabse Zaroori) */
*, *::before, *::after {
    box-sizing: border-box !important;
}
/* 2. Body aur HTML ko Lock kijiye */
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 3. Navbar Hamburger Fix */
    .arka-header {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }

    .navbar {
        width: 100% !important;
        padding: 10px 15px !important; /* Hamburger ko thoda andar rakha */
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    /* 1. Badge ko thoda niche aur margin kijiye */
    .soc-badge {
        margin-bottom: 25px !important; /* Text ke thoda paas */
        margin-top: 40px;
    }
    /* Hero Image ko Bada kijiye */
    /* 3. IMAGE SQUEEZE FIX (The main problem) */
    .soc-hero-visual {
        display: flex;
        flex-direction: column; /* Card ko niche lane ke liye */
        align-items: center;
        width: 100%;
        margin-top: 30px;
    }
    .soc-hero {
        padding: 110px 15px 50px !important; /* Side padding kam ki taaki fit ho */
        width: 100%;
        display: block; /* Flex se block kiya taaki line by line aaye */
    }
    .soc-container {
        display: flex !important;
        flex-direction: column !important; /* Stack vertical */
        align-items: center !important;    /* Horizontal Center */
        text-align: center;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .soc-hero-content {
        width: 100%;
        text-align: center;
        padding: 0 10px;
    }
    /* IMAGE KO EK DUM FIT KAREIN */
    .soc-hero-visual {
        width: 100%;
        margin-top: 40px;
        position: relative;
        text-align: center;
    }

    .soc-hero-visual img {
        width: 100% !important; /* Screen ki width ke hisab se 100% fit */
        max-width: 100%;
        height: auto;
        transform: none !important;
        border-radius: 15px;
        display: block;
        margin: 0 auto;
    }

    /* Floating Card ko Image ke Center-Bottom mein set karein */
    .soc-floating-card {
        position: relative;
        display: inline-flex; /* Sirf content jitna bada ho */
        width: auto;
        min-width: 250px;
        margin: -30px auto 0 !important; /* Image ke upar halka sa overlay */
        left: 0 !important;
        z-index: 5;
        background: white;
        padding: 15px 20px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    /* FAQ Mobile (Left-Right se wapas ek line mein) */
    .faq-container {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 15px;
    }
}