/* RESET & CORE ROOT SYSTEM LAYER COHESION STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fcf9f4; /* Warm crisp asset canvas layout tint */
    color: #222222;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* TOP MINI HEADER BAR CONFIGURATION */
.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);
    letter-spacing: 0.5px;
}

/* NAVIGATION HEADER LAYOUT PROPERTIES */
.main-header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    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;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #444444;
}

.nav-links a:hover, .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-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-assessment:hover {
    background-color: #1a365d;
}

/* HERO LAYER DEPLOYMENT CONTEXT */
.hero-section {
    position: relative;
    height: 600px;
    background: url('About\ \(our\ clinical\ team\).jpg') 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(10, 30, 55, 0.92), rgba(10, 30, 55, 0.55));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 760px;
}

.hero-tag {
    font-size: 12px;
    letter-spacing: 3px;
    color: #d1b894;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.hero-section h1 {
    font-family: 'Cinzel', serif;
    font-size: 50px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.25;
}

.hero-section p {
    font-size: 20px;
    line-height: 1.6;
    color: #e2e8f0;
}

/* FOUR STATS ROW CRUST LAYER */
.metrics-cream-row {
    background-color: #f5ece1; /* Pastel cream stat bar matching design */
    border-bottom: 1px solid #e2dcd0;
    padding: 30px 8%;
}

.metrics-internal-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.metric-block-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-block-title {
    font-family: 'Cinzel', serif;
    font-size: 34px;
    color: #0f233c;
    font-weight: 600;
}

.metric-block-desc {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* MAIN PLATFORM CONTAINER SYSTEM */
.main-container {
    max-width: 1140px;
    margin: 60px auto 90px auto;
    padding: 0 20px;
}

.directory-intro-block {
    text-align: left;
    margin-bottom: 60px;
}

.block-mini-tag {
    font-size: 11px;
    letter-spacing: 2px;
    color: #8c8273;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.directory-intro-block h2 {
    font-family: 'Cinzel', serif;
    font-size: 37px;
    color: #0f233c;
    margin-bottom: 15px;
    font-weight: 500;
}

.directory-intro-block p {
    font-size: 17px;
    color: #555555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    margin-right: 25rem;
}

/* PROVIDERS DIRECTORY MESH GRID Layout */
.providers-directory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.provider-profile-card {
    background-color: #ffffff;
    border: 1px solid #e2dcd0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.provider-profile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.provider-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    background-color: #f1f5f9;
}

.provider-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(5,16,33,0.85) 40%, rgba(5,16,33,0));
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 500;
}

.provider-info-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.provider-meta-role {
    font-size: 12px;
    font-weight: 600;
    color: #8c8273;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.badge-tag {
    font-size: 10px;
    font-weight: 600;
    color: #0f233c;
    background-color: #faf8f5;
    border: 1px solid #e2dcd0;
    padding: 2px 8px;
    border-radius: 4px;
}

.provider-bio-text {
    font-size: 13px;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 20px;
    flex-grow: 1;
}

.provider-card-footer-link {
    font-size: 11px;
    color: #718096;
    border-top: 1px dashed #edf2f7;
    padding-top: 10px;
    margin-top: auto;
}

/* THREE COLUMN TRUST MATRIX ROW */
.trust-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.trust-feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    border: 1px solid #e2dcd0;
}

.trust-card-icon {
    font-size: 24px;
    color: #0f233c;
    margin-bottom: 15px;
}

.trust-feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 17.5px;
    color: #0f233c;
    margin-bottom: 10px;
    font-weight: 500;
}

.trust-feature-card p {
    font-size: 13.5px;
    color: #555555;
    line-height: 1.5;
}

/* MIDNIGHT DARK CONVERSION CARD BOX MODULE */
.dark-cta-card-box {
    background-color: #051021;
    border-radius: 14px;
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dark-cta-left {
    max-width: 650px;
}

.dark-cta-left h3 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    color: #ffffff;
    margin-top: 8px;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.3;
}

.dark-cta-left p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.5;
}

.gold-text {
    color: #d1b894 !important;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
}

.dark-cta-right {
    display: flex;
    gap: 15px;
}

.btn-phone-gold {
    background-color: #fde047;
    color: #051021;
    padding: 14px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.btn-transparent-white {
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
}

/* CRISIS BANNER RED STRIP */
.crisis-banner {
    background-color: #b92c2c;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* MEGA SYSTEM FOOTER LAYOUT */
.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; }
.logo-area.light .logo-subtitle { color: #94a3b8; }

.brand-desc {
    margin-top: 20px;
    line-height: 1.6;
    font-size: 13.5px;
    color: #cbd5e1;
}

.footer-contact-info { margin-top: 25px; }
.footer-contact-info p { margin-bottom: 10px; font-size: 14px; 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;
    font-weight: 600;
}

.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-links-grid ul li a:hover { color: #ffffff; }

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 40px 0;
}

/* RECOVERY TOOLS SECTION LINKS FOOTER EMBED */
.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;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.tools-header h3 {
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 8px;
}

.btn-toolkit {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 4px;
    font-weight: 500;
    font-size: 14px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tools-grid ul { list-style: none; }
.tools-grid ul li { margin-bottom: 12px; }
.tools-grid ul li a { color: #94a3b8; font-size: 13px; }
.tools-grid ul li a:hover { color: #ffffff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    margin-top: 20px;
}

.legal-links a { margin-left: 20px; color: #64748b; }
.legal-links a:hover { color: #ffffff; }

/* CHAT STICKY ACCENT WIDGET CHANNELS */
.chat-widget {
    position: fixed;
    bottom: 25px;
    z-index: 999;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    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;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
}

/* RESPONSIVE LAYOUT MATRIX DEPLOYMENTS */
@media (max-width: 1200px) {
    .providers-directory-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .metrics-internal-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .providers-directory-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-links-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .dark-cta-card-box { flex-direction: column; text-align: center; gap: 25px; padding: 40px; }
}

@media (max-width: 600px) {
    .metrics-internal-grid { grid-template-columns: 1fr; }
    .providers-directory-grid { grid-template-columns: 1fr; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; }
    .legal-links a { margin-left: 0; margin-right: 15px; }
    .nav-links { display: none; }
}








/* --- 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;
}