:root {
    --primary: #0F3D5E;
    /* Deep Medical Blue */
    --primary-light: #1b5a85;
    --teal: #4FA3A5;
    /* Soft Teal - Compassion */
    --lavender: #8B7BBE;
    /* Muted Lavender - Oncology Awareness */
    --accent: #F4B860;
    /* Soft Amber - Safety Alerts */
    --bg-light: #F7F9FB;
    /* Off-white background */
    --bg-dark: #0F3D5E;
    --text-main: #2C2C2C;
    /* Dark Slate Text */
    --text-muted: #576574;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px -15px rgba(15, 61, 94, 0.2);
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.logo .hub {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cta-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('oncology_pharmacy_hero_1767024938705.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 61, 94, 0.85) 0%, rgba(79, 163, 165, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1rem;
    will-change: transform, opacity;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    word-wrap: break-word;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn.primary {
    background: var(--primary);
    color: white;
}

.btn.alert {
    background: var(--accent);
    color: var(--primary);
}

.btn.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 61, 94, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    text-decoration: none;
    animation: bounce 2s infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
}

.scroll-indicator i {
    width: 30px;
    height: 30px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Global Reveal Animations */
.reveal,
.reveal-delay,
.card,
.pearl-card,
.comp-box,
.section-title,
.blog-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-delay {
    transition-delay: 0.2s;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

.section-title.revealed::after {
    width: 60px;
    transition: width 0.6s ease-out 0.4s;
}

.section-title::after {
    /* ... existing pulse-like width transition ... */
    width: 0;
}

/* Sections */
.section {
    padding: 100px 0;
}

.alt-bg {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3.5rem;
    position: relative;
    color: var(--primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--teal);
    border-radius: 2px;
}

.section-title.left {
    text-align: left;
}

.section-title.left::after {
    left: 0;
    transform: none;
}

/* Intro & Comparison Stacked */
.intro-main {
    max-width: 850px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.intro-main p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.comparison-flex {
    display: flex;
    gap: 2rem;
    justify-content: center;
    text-align: left;
}

.intro-grid {
    display: none;
}

/* Cleanup if still present */

.comparison-grid {
    display: none;
}

/* Cleanup if still present */

.comp-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--teal);
    box-shadow: var(--shadow);
    flex: 1;
    max-width: 500px;
}

.comp-box.highlight {
    border-left-color: var(--primary);
    background: linear-gradient(to right, rgba(15, 61, 94, 0.05), transparent);
}

.comp-box h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* Bento Grid */
.grid-bento {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    color: var(--teal);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
}

/* List Layout */
.list-layout {
    max-width: 900px;
    margin: 0 auto;
}

.list-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.item-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(139, 123, 190, 0.2);
    /* Muted Lavender for oncology awareness */
    line-height: 1;
}

.item-text h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* Pearls Grid */
.pearls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pearl-card {
    background: var(--bg-dark);
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.pearl-tag {
    background: var(--lavender);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.pearl-card h3 {
    margin-bottom: 1rem;
}

.pearl-card p {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Custom pearl types */
.pearl-card:nth-child(2) .pearl-tag {
    background: var(--accent);
    color: var(--primary);
}

.pearl-card:nth-child(3) .pearl-tag {
    background: var(--teal);
    color: var(--white);
}

/* ADR Section */
.adr-wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
}

.adr-info {
    max-width: 800px;
}

.adr-list {
    list-style: none;
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: inline-block;
    text-align: left;
}



.adr-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.adr-list i {
    color: var(--teal);
}

.adr-form-mini {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.adr-form-mini h3 {
    margin-bottom: 1.5rem;
}

#adr-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input,
select,
textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #e1e7e7;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
}

textarea {
    height: 100px;
    resize: none;
}

.full-width {
    width: 100%;
}

/* Dual Column Layout */
.dual-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-list i {
    color: var(--teal);
}

/* Impact Section */
.impact-text {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.impact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.impact-item i {
    width: 60px;
    height: 60px;
    padding: 15px;
    background: var(--white);
    border-radius: 50%;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.impact-item span {
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.social-links {
    margin: 2.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-links a.blog-link {
    width: auto;
    padding: 0 1.4rem;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.85rem;
    background: var(--primary-light);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links a.blog-link:hover {
    background: var(--teal);
    transform: translateY(-3px);
    border-color: var(--white);
    box-shadow: 0 8px 20px rgba(79, 163, 165, 0.3);
}

.social-links a i {
    width: 18px;
    height: 18px;
}

.social-links a:not(.blog-link) i {
    color: var(--white);
    opacity: 0.8;
}

.social-links a:hover {
    background: var(--white);
    transform: translateY(-4px);
    border-color: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.social-links a:hover i {
    color: var(--primary);
    opacity: 1;
}

.footer p {
    opacity: 0.4;
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal,
.reveal-delay,
.reveal-delay-2 {
    will-change: transform, opacity;
}

.reveal {
    animation: fadeInUp 0.8s forwards;
}

.reveal-delay {
    animation: fadeInUp 0.8s 0.2s forwards;
    opacity: 0;
}

.reveal-delay-2 {
    animation: fadeInUp 0.8s 0.4s forwards;
    opacity: 0;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(15, 61, 94, 0.3);
    z-index: 2000;
    transition: var(--transition);
    white-space: nowrap;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: var(--primary);
    box-shadow: 0 6px 20px rgba(15, 61, 94, 0.4);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--teal);
    animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    80%,
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 968px) {
    .navbar {
        padding: 1rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .mini-hero {
        height: auto !important;
        min-height: 400px;
        padding: 100px 0 60px 0;
    }

    .mini-hero h1 {
        font-size: 1.8rem !important;
    }

    .section {
        padding: 40px 0;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .dual-column {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .comparison-flex {
        flex-direction: column;
        align-items: center;
    }

    .adr-wrapper {
        grid-template-columns: 1fr;
    }

    .portal-options {
        grid-template-columns: 1fr !important;
    }
}

/* Portal Modal Styles */
.portal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 61, 94, 0.4);
    backdrop-filter: blur(8px);
    display: none;
    /* Controlled by JS */
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portal-modal.active {
    display: flex;
    opacity: 1;
}

.portal-modal-content {
    background: var(--white);
    width: 90%;
    max-width: 900px;
    padding: 3.5rem;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    transform: translateY(40px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.portal-modal.active .portal-modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    white-space: nowrap;
}

@media (max-width: 968px) {
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    body {
        min-width: 320px;
    }

    .navbar {
        display: grid !important;
        grid-template-columns: 1fr auto auto !important;
        grid-template-rows: auto auto !important;
        padding: 0.8rem 1.2rem !important;
        background: white !important;
        gap: 0.6rem;
        align-items: center;
        min-height: 60px;
    }

    .logo {
        grid-column: 1;
        grid-row: 1 / 3;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        min-width: 0;
    }

    .logo-img {
        height: 36px;
        width: auto;
    }

    .logo span {
        font-size: 0.85rem;
        max-width: 140px;
        line-height: 1.2;
        white-space: normal;
    }

    .mobile-menu-toggle {
        grid-column: 2;
        grid-row: 1;
        display: block;
        padding: 0.4rem;
        min-width: 40px;
        min-height: 40px;
    }

    .cta-btn {
        grid-column: 3;
        grid-row: 1;
        padding: 0.5rem 0.85rem !important;
        font-size: 0.65rem !important;
        font-weight: 700;
        background: var(--primary);
        color: white;
        border-radius: 50px;
        box-shadow: 0 4px 10px rgba(15, 61, 94, 0.15);
        text-transform: uppercase;
        letter-spacing: 0.3px;
        border: none;
        white-space: nowrap;
        min-height: 36px;
    }

    .nav-links {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    .hero p {
        font-size: 1rem !important;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 600px) {
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        order: 1;
        margin-bottom: 1.5rem;
    }

    .social-links {
        order: 2;
        margin: 0 0 1.5rem 0;
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .social-links a.blog-link {
        flex-basis: 100%;
        width: 100%;
        padding: 0.75rem 1rem !important;
        gap: 0.6rem;
        font-weight: 600;
        font-size: 0.85rem;
        background: var(--primary-light);
        border-radius: 50px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        justify-content: center;
        height: 45px;
    }

    .social-links a.blog-link span {
        display: inline !important;
    }

    .social-links a:not(.blog-link) {
        width: 48px;
        height: 48px;
        flex-basis: auto;
    }

    .footer p {
        order: 3;
        margin-top: 0;
    }
}

.modal-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.portal-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.portal-card-select {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portal-card-select:hover {
    background: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 61, 94, 0.1);
    border-color: var(--primary);
}

.portal-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.portal-icon-wrapper i {
    width: 40px;
    height: 40px;
    color: white;
}

.portal-icon-wrapper.patient {
    background: linear-gradient(135deg, var(--teal), #3e8183);
}

.portal-icon-wrapper.pharmacist {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.portal-card-select h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.portal-card-select p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.portal-link-text {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portal-link-text i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.portal-card-select:hover .portal-link-text i {
    transform: translateX(5px);
}

/* Patient Portal Specific Styles */
.mini-hero {
    height: 60vh !important;
}

.align-center {
    align-items: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.info-card-lite {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.info-card-lite h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.info-card-lite i {
    color: var(--teal);
}

.stats-box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.simple-list {
    list-style: none;
    margin-top: 1rem;
}

.simple-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
}

.simple-list li:last-child {
    border-bottom: none;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.treatment-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.treatment-item:hover {
    transform: translateY(-5px);
    border-color: var(--teal);
}

.t-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--primary);
}

.treatment-item h4 {
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.counseling-hero {
    background: var(--primary);
    padding: 5rem 4rem;
    border-radius: 40px;
    color: white;
}

.section-title.white {
    color: white;
}

.section-title.white::after {
    background: var(--accent);
}

.counseling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.c-point {
    position: relative;
}

.c-num {
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.2;
    position: absolute;
    top: -2.5rem;
}

.c-point h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--accent);
}

.c-point p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .stats-box {
        padding-left: 0;
        flex-direction: column;
        /* Changed to column for better fitting */
        align-items: center;
        text-align: center;
    }

    .mini-hero {
        height: 50vh !important;
        padding-top: 80px;
    }

    .mini-hero h1 {
        font-size: 2rem !important;
    }

    .counseling-hero {
        padding: 3rem 1.5rem;
    }
}

/* Epidemiology & Types Expansion */
.mt-3 {
    margin-top: 1.5rem;
}

.epi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.epi-item {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.epi-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.epi-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.epi-list {
    list-style: none;
    margin-top: 1rem;
}

.epi-list li {
    padding: 0.6rem 0;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.epi-list li:last-child {
    border-bottom: none;
}

.wide-card {
    grid-column: span 2;
}

.types-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    text-align: left;
}

.type-detail-item {
    background: var(--bg-light);
    padding: 1.2rem;
    border-radius: 12px;
}

.type-detail-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.type-detail-item p {
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 968px) {
    .wide-card {
        grid-column: span 1;
    }

    .types-detail-grid {
        grid-template-columns: 1fr;
    }

    .dual-row-grid {
        grid-template-columns: 1fr !important;
    }

    .epi-grid {
        grid-template-columns: 1fr;
    }
}

/* Guidelines Badges */
.guidelines-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    margin-top: 0.5rem;
}

.g-badge {
    background: var(--white);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(15, 61, 94, 0.1);
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    display: inline-block;
}

.g-badge:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 61, 94, 0.2);
}

.mt-4 {
    margin-top: 2rem;
}

.dual-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Super Smooth Mobile Adjustments */
@media (max-width: 600px) {
    .stat-num {
        font-size: 2.5rem;
    }

    .g-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .info-card-lite {
        padding: 1.5rem;
    }

    .card {
        padding: 2.5rem 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .logo span {
        font-size: 0.9rem;
    }

    .grid-bento {
        grid-template-columns: 1fr;
    }

    .pearls-grid {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .comparison-flex {
        gap: 1.5rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .stat-item {
        margin-bottom: 1.5rem;
    }
}

/* Smooth Navigation Transitions */
.nav-links {
    transition: max-height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, padding 0.3s ease;
    overflow: hidden;
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        max-height: 100vh;
        opacity: 1;
        background: white;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        margin-top: 0;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
        max-height: 100vh;
        opacity: 1;
        padding: 2rem;
        margin-top: 0;
        border-top: none;
    }

    .nav-links a {
        font-size: 1.2rem;
        font-weight: 600;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* ==================== BLOG STYLES ==================== */

/* Blog Hero */
.blog-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
    padding-top: 80px;
}

.blog-hero h1 {
    font-size: 3.5rem;
}

.blog-close-btn {
    position: absolute;
    top: 120px;
    right: 5%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    z-index: 100;
    border: 2px solid white;
}

.blog-close-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    background: var(--bg-light);
    color: var(--accent);
}

.blog-close-btn i {
    width: 28px;
    height: 28px;
    stroke-width: 2.5px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(15, 61, 94, 0.05) 0%, rgba(79, 163, 165, 0.05) 100%);
    border: 2px solid var(--primary);
}

.blog-card.coming-soon {
    opacity: 0.7;
    border: 2px dashed var(--text-muted);
}

.blog-card.coming-soon:hover {
    transform: none;
}

.blog-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--teal);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.blog-tag.featured-tag {
    background: var(--accent);
    color: var(--primary);
}

.blog-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-meta i {
    width: 16px;
    height: 16px;
}

.author {
    font-weight: 600;
    color: var(--primary);
}

.blog-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
    line-height: 1.3;
}

.blog-card.featured .blog-title {
    font-size: 2.25rem;
}

.blog-excerpt {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.blog-read-more:hover {
    gap: 0.8rem;
    color: var(--teal);
}

.blog-read-more i {
    width: 18px;
    height: 18px;
}

/* Newsletter Section */
.newsletter-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(15, 61, 94, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ==================== BLOG POST STYLES ==================== */

.blog-post {
    background: var(--bg-light);
}

.blog-post-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
    color: white;
    padding: 180px 0 80px 0;
    margin-top: 0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding: 0.6rem 1.2rem;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-5px);
}

.back-button i {
    width: 18px;
    height: 18px;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.blog-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.blog-breadcrumb a:hover {
    opacity: 0.7;
}

.blog-breadcrumb i {
    width: 16px;
    height: 16px;
}

.blog-post-title {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 2.5rem;
    margin-top: 0.5rem;
    max-width: 900px;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    width: 35px;
    height: 35px;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.author-title {
    font-size: 0.9rem;
    opacity: 0.8;
}

.post-stats {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-stats i {
    width: 18px;
    height: 18px;
}

/* Blog Post Content */
.blog-post-content {
    background: white;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.blog-post-content .container {
    max-width: 850px;
    background: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.post-intro {
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.post-section {
    margin-bottom: 3rem;
}

.post-section h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.post-section h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.post-section h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.post-section p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: var(--text-main);
}

.content-list {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-list li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    color: var(--text-main);
}

.numbered-list {
    margin: 1.5rem 0;
    padding-left: 2rem;
    counter-reset: item;
}

.numbered-list li {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-main);
    font-weight: 500;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, rgba(79, 163, 165, 0.1) 0%, rgba(139, 123, 190, 0.1) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 5px solid var(--teal);
}

.alert-box {
    background: rgba(244, 184, 96, 0.1);
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 5px solid var(--accent);
}

.alert-box h2 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.alert-box h2 i {
    color: var(--accent);
}

.note {
    background: rgba(15, 61, 94, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-style: italic;
    margin-top: 1.5rem;
    border-left: 3px solid var(--primary);
}

.emphasis {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Specialty Grid */
.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.specialty-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

.specialty-item i {
    color: var(--teal);
    flex-shrink: 0;
}

/* Comparison Container */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-side {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.comparison-side.global {
    border-top: 4px solid var(--teal);
}

.comparison-side.india {
    border-top: 4px solid var(--accent);
}

.comparison-side h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

/* Challenges Grid */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.challenge-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.challenge-card i {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.challenge-card h4 {
    margin-bottom: 0.5rem;
}

.challenge-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Bridge Grid */
.bridge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.bridge-item {
    background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.bridge-item i {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.bridge-item h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.bridge-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Benefits List */
.benefits-list {
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.benefit-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.benefit-item i {
    width: 40px;
    height: 40px;
    color: var(--teal);
    flex-shrink: 0;
}

.benefit-item h4 {
    margin-bottom: 0.3rem;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Conclusion */
.conclusion {
    background: linear-gradient(135deg, rgba(15, 61, 94, 0.05) 0%, rgba(79, 163, 165, 0.05) 100%);
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid var(--primary);
}

.final-statement {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
}

/* Post Footer */
.post-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--bg-light);
}

.author-bio {
    display: flex;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(15, 61, 94, 0.05) 0%, rgba(79, 163, 165, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.author-bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-bio-avatar i {
    width: 45px;
    height: 45px;
}

.author-bio-content h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.author-bio-content h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.author-bio-content p {
    line-height: 1.7;
    color: var(--text-main);
}

/* Share Buttons */
.post-share {
    text-align: center;
}

.post-share h4 {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    color: white;
}

.share-btn i {
    width: 18px;
    height: 18px;
}

.share-btn.whatsapp {
    background: var(--teal);
}

.share-btn.linkedin {
    background: #0077B5;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.back-to-blog {
    text-align: center;
    margin-top: 3rem;
}

.back-to-blog .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-blog .btn i {
    width: 18px;
    height: 18px;
}

/* ==================== BLOG RESPONSIVE STYLES ==================== */

@media (max-width: 968px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }

    .blog-close-btn {
        top: 100px;
        right: 1.5rem;
        width: 42px;
        height: 42px;
    }

    .blog-close-btn i {
        width: 24px;
        height: 24px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-card.featured {
        grid-column: 1;
    }

    .blog-card.featured .blog-title {
        font-size: 1.75rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        width: 100%;
    }

    .blog-post-header {
        padding: 160px 0 50px 0;
    }

    .back-button {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .blog-post-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .blog-post-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .blog-post-content .container {
        padding: 2.5rem 1.5rem;
    }

    .post-section h2 {
        font-size: 1.6rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .comparison-container {
        grid-template-columns: 1fr;
    }

    .challenges-grid,
    .bridge-grid {
        grid-template-columns: 1fr;
    }

    .specialty-grid {
        grid-template-columns: 1fr;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .author-bio-avatar {
        margin: 0 auto;
    }

    .footer .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }

    .final-statement {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
}