/* RESET & GENERAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fcf9f4;
    color: #222222;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* TOP MINI HEADER */
.top-bar {
    background-color: #051021;
    color: #ffffff;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    padding: 10px 8%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* MAIN NAVBAR */
.main-header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    height: 6rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon { font-size: 28px; color: #0a2540; }
.logo-title {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 600;
    color: #0a2540;
    letter-spacing: 1px;
}
.logo-subtitle {
    font-size: 10px;
    letter-spacing: 2px;
    color: #666;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a.active { color: #0a2540; font-weight: 600; }

.btn-assessment {
    background-color: #0f233c;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
}

/* HERO HOMEPAGE */
.hero-home {
    position: relative;
    height: 650px;
    background: url('Home\ hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(5, 16, 33, 0.9), rgba(5, 16, 33, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 750px;
}

.hero-tag {
    font-size: 11px;
    letter-spacing: 3px;
    color: #d1b894;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 54px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 35px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
}

.btn-gold {
    background-color: #d1b894;
    color: #051021;
    padding: 18px 28px;
    border: none;
    border-radius: 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.hero-phone{
    background: transparent; border: 0.8px solid #ffffff; color: white; padding: 16px 32px; border-radius: 32px; cursor: pointer;white-space: nowrap;transform:translateY-2px;
}
.hero-meet{
    background: transparent; border: 1px solid #ffffff; color: white; padding: 16px 32px; border-radius: 32px; cursor: pointer;font-size: 15px;white-space: nowrap;
}

.hero-bullets {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: #cbd5e1;
}

/* EXCELLENCE SECTION */
.excellence-section {
    padding: 100px 8%;
    background-color: #ffffff;
}

.excellence-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    font-size: 11px;
    letter-spacing: 2px;
    color: #8c8273;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.excellence-left h2 {
    font-family: 'Cinzel', serif;
    font-size: 38px;
    color: #0f233c;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 20px;
}

.excellence-left p {
    color: #555;
    line-height: 1.6;
    font-size: 18px;
    margin-bottom: 40px;
}

.excellence-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.excellence-stats h3 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: #0f233c;
    margin-bottom: 10px;
}

.excellence-stats p {
    font-size: 14px;
    color: #666;
}

.excellence-right .image-wrapper {
    position: relative;
}

.excellence-right img {
    width: 100%;
    height: 25rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.floating-review-card {
    position: absolute;
    bottom: -25px;
    left: -25px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    max-width: 280px;
    border-left: 4px solid #d1b894;
}

.stars { color: #d1b894; margin-bottom: 5px; }
.floating-review-card p { font-size: 13px; font-style: italic; color: #333; }
.author { font-size: 11px; font-weight: 600; color: #777; display: block; margin-top: 5px; }

/* CONTINUUM OF CARE SECTION */
.care-section {
    padding: 90px 8%;
    background-color: #f7f3eb;
}

.section-center { text-align: left; }
.section-center h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    color: #0f233c;
    margin-bottom: 40px;
    font-weight: 500;
}

.tabs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.tab-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid transparent;
}

.tab-card.active {
    border-color: #d1b894;
}

.tab-icon { font-size: 32px; margin-bottom: 20px; }
.tab-card h3 { font-family: 'Cinzel', serif; font-size: 22px; color: #0f233c; margin-bottom: 12px; font-weight: 500; }
.tab-card p { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 20px; }
.tab-link { font-size: 14px; font-weight: 600; color: #0f233c; }

/* SPECIALIZED ACCORDION GRID */
.specialized-section {
    padding: 100px 8%;
    background-color: white;
}

.specialized-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.specialized-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    color: #0f233c;
    margin-bottom: 20px;
    font-weight: 500;
}

.specialized-header p { color: #555; line-height: 1.6; margin-bottom: 30px; font-size: 17px;font-weight: 400;}
.btn-dark { background-color: #0f233c; color: white; padding: 14px 28px; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; }

.substance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.substance-item {
    background: #fdfcf9;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #f0eae1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #0f233c;
    cursor: pointer;
}

/* DARK PIPELINE SECTION */
.dark-grid-section {
    background-color: #051021;
    color: white;
    padding: 100px 8%;
}

.dark-grid-container h2 {
    font-family: 'Cinzel', serif;
    font-size: 40px;
    text-align: left;
    margin-bottom: 15px;
    font-weight: 500;
}

.dark-grid-subtitle {
    text-align: left;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.horizontal-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.step-box {
    font-weight: 500;
    background: rgba(255,255,255,0.03);
    padding: 25px;
    border-radius: 6px;
    border-top: 2px solid #d1b894;
}

.step-num { font-size: 16px; color: #d1b894; font-weight: 600; display: block; margin-bottom: 15px; }
.step-box h3 { font-family: 'Cinzel', serif; font-size: 18px; margin-bottom: 10px; font-weight: 500; }
.step-box p { font-size: 13px; color: #94a3b8; line-height: 1.5; }

.dark-cta { display: flex; justify-content: left; gap: 20px; }
.btn-outline { background: transparent; border: 1px solid #ffffff; color: white; padding: 16px 32px; border-radius: 32px; cursor: pointer; }

/* TESTIMONIALS */
.testimonials-section { padding: 100px 8%; background-color: #ffffff; }
.section-tag-center { text-align: left; display: block; font-size: 11px; letter-spacing: 2px; color: #8c8273; font-weight:500; margin-bottom: 15px;}
.testimonials-section h2 { font-family: 'Cinzel', serif; font-size: 36px; text-align: left; color: #0f233c; margin-bottom: 50px; font-weight: 500; }
.testimonial-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.test-card { background: #fdfcf9; border: 1px solid #f0eae1; padding: 35px; border-radius: 8px; }
.test-stars { color: #d1b894; margin-bottom: 15px; }
.test-card p { font-size: 14px; line-height: 1.6; color: #444; font-style: italic; margin-bottom: 20px; }
.test-author { font-size: 13px; font-weight: 600; color: #0f233c; display: block; }
.test-author small { color: #777; font-weight: 400; }

/* FAQ SECTION ACCORDION */
.faq-section { padding: 100px 8%; background-color: #fdfcf9; }
.faq-container { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
.faq-left h2 { font-family: 'Cinzel', serif; font-size: 36px; color: #0f233c; margin-bottom: 20px; font-weight: 500; }
.faq-left p { color: #555; line-height: 1.6; margin-bottom: 30px; }
.faq-accordion-item { border-bottom: 1px solid #e2dcd0; padding: 20px 0; }
.faq-trigger { display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 400; color: #0f233c; cursor: pointer; }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-content p { padding-top: 15px; font-size: 14px; color: #555; line-height: 1.6; }

/* CALL TO ACTION BANNER */
.action-banner-section { padding: 0 8% 80px 8%; background-color: #fdfcf9; }
.action-banner-card { background: linear-gradient(135deg, #051021, #0f233c); color: white; padding: 60px; border-radius: 12px; text-align: left; }
.action-banner-card h2 { font-family: 'Cinzel', serif; font-size: 36px; margin-bottom: 15px; font-weight: 400; }
.action-banner-card p { color: #cbd5e1; max-width: 600px; margin: 0 auto 35px auto; line-height: 1.6;margin-right: 35rem; }
.banner-cta { display: flex; justify-content: left; align-items: center; gap: 25px;font-size: 1rem;}

/* REST OF REUSED BANNER & FOOTER (MATCHING PREVIOUS BASE EXACTLY) */
.crisis-banner { background-color: #d63f3f; color: white; text-align: center; padding: 15px; font-size: 14px; }
.main-footer { background-color: #040d1a; color: #94a3b8; padding: 70px 8% 30px 8%; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1fr 2.5fr; gap: 60px; margin-bottom: 40px; }
.logo-area.light .logo-title { color: #ffffff;font-weight: 500; }
.logo-area.light .logo-subtitle { color: #94a3b8; }
.brand-desc { margin-top: 20px; line-height: 1.6; color: #cbd5e1; }
.footer-contact-info { margin-top: 25px; }
.footer-contact-info p { margin-bottom: 10px; color: #ffffff; }
.footer-links-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.footer-links-grid h4 { color: #ffffff; font-size: 11px; letter-spacing: 1.5px; margin-bottom: 20px; }
.footer-links-grid ul { list-style: none; }
.footer-links-grid ul li { margin-bottom: 12px; }
.footer-links-grid ul li a { color: #94a3b8; font-size: 13px; }
.footer-divider { border: none; border-top: 1px solid rgba(255, 255, 255, 0.08); margin: 40px 0; }
.tools-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.tools-tag { font-size: 11px; letter-spacing: 1.5px; color: #d1b894; display: block; margin-bottom: 8px; }
.tools-header h3 { color: #ffffff; font-family: 'Cinzel', serif; font-size: 24px; font-weight: 500; }
.btn-toolkit { color: #ffffff; border-bottom: 1px solid #ffffff; padding-bottom: 4px; font-size: 14px; }
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; list-style: none; }
.tools-grid ul { list-style: none; }
.tools-grid ul li { margin-bottom: 12px; }
.tools-grid ul li a { color: #94a3b8; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 12px; color: #64748b; margin-top: 20px; }
.legal-links a { margin-left: 20px; color: #64748b; }

/* FLOATING CHAT WIDGETS */
.chat-widget { position: fixed; bottom: 25px; z-index: 999; cursor: pointer; border-radius: 50px; display: flex; align-items: center; justify-content: center; }
.left-widget { left: 25px; background-color: #22c55e; width: 45px; height: 45px; font-size: 20px; }
.right-widget { right: 25px; background-color: #0f233c; color: white; padding: 12px 22px; font-size: 14px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .excellence-grid, .specialized-container, .faq-container { grid-template-columns: 1fr; gap: 40px; }
    .horizontal-steps { grid-template-columns: 1fr; }
    .footer-links-grid { grid-template-columns: repeat(3, 1fr); }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .tabs-container { grid-template-columns: 1fr; }
    .testimonial-cards-grid { grid-template-columns: 1fr; }
}







.excellence-stats{
    display: flex;
    gap: 20px; /* columns ke beech gap */
}

.excellence-stats p{
    margin: 5px 0;
    line-height: 2;
}





/* Container ko grid banakar ek line me 3 columns set kiye */
.tabs-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ek line me barabar size ke 3 cards */
    gap: 24px; /* Cards ke beech ka gap (horizontal aur vertical) */
    width: 100%;
    max-width: 1280px; /* Aap apne hisab se container ki width adjust kar sakte hain */
    margin: 0 auto;
}

/* Har ek card ki basic styling */
.tab-card {
    background: #fdfbf7; /* Screenshot jaisa off-white background color */
    border: 1px solid #ebd9c8; /* Light border color */
    border-radius: 16px; /* Rounded corners */
    padding: 40px 24px;
    box-sizing: border-box;
}

/* Responsive karne ke liye: Mobile screens par 1 column aur tablets par 2 columns ho jayenge */
@media (max-width: 992px) {
    .tabs-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tabs-container {
        grid-template-columns: 1fr;
    }
}






.insurance-bar{
    background:#e9e4d9;
    height:80px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:40px;
    padding:0 40px;
}

.label{
    color:#2f6a4f;
    letter-spacing:5px;
    font-size:10px;
    font-family:sans-serif;
    text-transform:uppercase;
}

.insurance-list{
    display:flex;
    gap:45px;
    align-items:center;
}

.insurance-list span{
    font-size:14px;
    color:#2e3340;
    font-family:Georgia, serif;
}










/* --- NAV DROPDOWN STYLING --- */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown ke andar ke links ka box */
.dropdown-content {
    display: none; /* Pehle se chhupa rahega */
    position: absolute;
    background-color: #ffffff; /* Pure white background */
    min-width: 220px; /* Box ki width */
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15); /* Premium shadow effect */
    border-radius: 8px; /* Smooth corners */
    padding: 10px 0;
    top: 100%; /* Navbar ke thik niche khulega */
    left: 0;
    z-index: 1000;
}

/* Dropdown ke andar ke individual links */
.dropdown-content a {
    color: #444444 !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Jab dropdown ke links par mouse jaye */
.dropdown-content a:hover {
    background-color: #faf8f5; /* Aapka cream header tone */
    color: #0a2540 !important; /* Premium dark blue tone */
}

/* JAISE HI PROGRAMS PAR MOUSE JAYEGA -> DROPDOWN DIKHEGA */
.dropdown:hover .dropdown-content {
    display: block;
}


















@media (max-width:768px){

    .top-bar{
        flex-direction:column;
        text-align:center;
        gap:6px;
    }

    .main-header{
        flex-direction:column;
        height:auto;
        padding:15px;
        gap:15px;
    }

    .nav-links{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:12px;
    }

    .nav-links a,
    .dropdown > a{
        font-size:13px;
    }

    .btn-assessment{
        width:100%;
        text-align:center;
    }

    .dropdown{
        position:relative;
    }

    .dropdown-content{
        display:none;
        position:static;
        width:100%;
        min-width:180px;
        margin-top:8px;
        box-shadow:none;
        border:1px solid #eee;
    }

    .dropdown.mobile-open .dropdown-content{
        display:block;
    }
}










/* =========================
   EXTRA MOBILE RESPONSIVE
========================= */

@media (max-width:768px){

    .hero-detox{
        min-height:auto;
        padding:80px 20px;
    }

    .hero-content{
        max-width:100%;
        text-align:center;
    }

    .hero-detox h1{
        font-size:32px;
        line-height:1.3;
    }

    .hero-detox p{
        font-size:15px;
    }

    .section-intro{
        text-align:center;
        max-width:100%;
    }

    .section-intro h2{
        font-size:28px;
    }

    .card-img-wrapper{
        height:220px;
    }

    .card-body{
        padding:20px;
    }

    .card-body h3{
        font-size:18px;
    }

    .footer-top{
        grid-template-columns:1fr;
        gap:30px;
    }

    .footer-links-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

    .tools-header{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .tools-grid{
        grid-template-columns:1fr;
    }

    .footer-bottom{
        flex-direction:column;
        text-align:center;
        gap:15px;
    }

    .legal-links{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:10px;
    }

    .legal-links a{
        margin:0;
    }

    .chat-widget{
        display:none;
    }
}



@media (max-width:1024px){

    .hero-detox h1{
        font-size:40px;
    }

    .footer-links-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .tools-grid{
        grid-template-columns:repeat(2,1fr);
    }
}






