/* DOXAPPLY DESIGN SYSTEM & STYLESHEET */

/* Nunito Sans Local Variable Font Mappings */
@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('assets/fonts/nunito-sans.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/nunito-sans.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/nunito-sans.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/nunito-sans.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/nunito-sans.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('assets/fonts/nunito-sans.woff2') format('woff2');
}

/* Inter Local Font Mappings */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/inter-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/inter-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/inter-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/inter-700.woff2') format('woff2');
}

:root {
    /* Fonts */
    --font-heading: 'Nunito Sans', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;
    --font-button: 'Inter', sans-serif;

    /* Color Palette */
    --color-primary: #0B54B3;
    /* Brand Blue */
    --color-primary-hover: #09438F;
    --color-primary-light: #eff6ff;
    --color-secondary: #ef4444;
    /* Brand Coral/Red */
    --color-secondary-hover: #dc2626;

    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #eff6ff 50%, #faf5ff 100%);
    --gradient-mesh-blue: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 45%);
    --gradient-mesh-purple: radial-gradient(circle at 90% 80%, rgba(147, 51, 234, 0.08) 0%, transparent 45%);
    --gradient-mesh-pink: radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.06) 0%, transparent 40%);

    --gradient-audience-section: radial-gradient(circle at 50% 50%, #1e293b 0%, #090d16 100%);
    --gradient-cta-section: linear-gradient(135deg, #1d4ed8 0%, #0f172a 100%);
    --gradient-blue-dark: linear-gradient(to bottom, #0B54B3 0%, #1E293B 100%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.12), 0 12px 24px -10px rgba(15, 23, 42, 0.06);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.25);

    /* Layout & Animation */
    --max-width: 1240px;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease-in-out;
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: #ffffff;
    color: var(--color-slate-700);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-slate-900);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   BUTTONS & UI COMPONENTS
   ========================================================================== */

button,
input[type="button"],
input[type="submit"],
.mobile-toggle,
.play-button,
.video-modal-close {
    font-family: var(--font-button);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-button);
    font-weight: 400;
    border-radius: 9px;
    padding: 10px 25px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(11, 84, 179, 0.2);
}

.btn-primary:hover {
    background-color: #ffffff;
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 8px 25px rgba(11, 84, 179, 0.45);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--color-slate-800);
    border-color: var(--color-slate-200);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

#hero-video-btn {
    background-color: transparent;
    border-color: transparent;
    color: var(--color-slate-800);
}

#hero-video-btn:hover {
    background-color: #ffffff;
    border-color: transparent;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-white {
    background-color: #ffffff;
    color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.btn-white:hover {
    background-color: var(--color-slate-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 0.95rem 2.25rem;
    font-size: 1.05rem;
}

/* ==========================================================================
   TOP BAR SECTION (Non-static top header bar)
   ========================================================================== */
.top-bar {
    background-color: #0f172a;
    color: #ffffff;
    padding: 8px 0;
    position: relative;
    z-index: 1002;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    max-width: 1440px;
}

.top-bar-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.15rem;
    border-radius: 6px;
    font-family: var(--font-heading, 'Nunito Sans', sans-serif);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Login for Doctors - Blue */
.btn-doctor-login {
    background-color: #2563eb;
    color: #ffffff !important;
    border: 1px solid #2563eb;
}

.btn-doctor-login:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Login for Hospitals - Red */
.btn-hospital-login {
    background-color: #dc2626;
    color: #ffffff !important;
    border: 1px solid #dc2626;
}

.btn-hospital-login:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

/* ==========================================================================
   FLOATING VERTICAL LOGIN WIDGET (RIGHT SIDE)
   ========================================================================== */
.floating-login-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    display: flex;
    align-items: center;
}

.floating-login-trigger {
    background: #0f172a;
    color: #ffffff;
    padding: 16px 10px;
    font-family: var(--font-heading, 'Nunito Sans', sans-serif);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 0px 8px 8px 0;
    box-shadow: -4px 0 16px rgba(15, 23, 42, 0.25);
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.floating-login-widget:hover .floating-login-trigger,
.floating-login-widget.open .floating-login-trigger {
    background: #1e293b;
    box-shadow: -6px 0 20px rgba(15, 23, 42, 0.35);
}

.floating-login-options {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.85rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(15px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.floating-login-widget:hover .floating-login-options,
.floating-login-widget.open .floating-login-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.floating-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-family: var(--font-heading, 'Nunito Sans', sans-serif);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-floating-doctor {
    background-color: #2563eb;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.btn-floating-doctor:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.btn-floating-hospital {
    background-color: #dc2626;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.25);
}

.btn-floating-hospital:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.header.mobile-menu-open {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .container {
    max-width: 1440px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 75px;
    width: auto;
    display: block;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-slate-900);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-menu .nav-menu-btn {
    display: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #000;
    font-size: 1rem;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

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

.nav-link:not(.dropdown-toggle):hover::after {
    width: 100%;
}

/* --- Resources Dropdown Styles --- */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

/* Caret icon */
.dropdown-toggle::after {
    content: '';
    display: inline-block;
    position: relative;
    background-color: transparent !important;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 6px;
    margin-top: -3px;
    transition: transform 0.25s ease;
}

/* Slide underline for dropdown-toggle */
.dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.dropdown-toggle:hover::before,
.nav-item-dropdown.active .dropdown-toggle::before {
    width: 100%;
}

/* Rotate caret on hover/open */
.nav-item-dropdown:hover .dropdown-toggle::after,
.nav-item-dropdown.open .dropdown-toggle::after {
    transform: rotate(-135deg);
    margin-top: 1px;
}

/* Dropdown Menu Box */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 160px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(241, 245, 249, 0.9);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Bridge to prevent menu from closing when moving mouse down */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

/* Show Menu on Hover */
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Items */
.dropdown-item {
    display: block;
    padding: 0.6rem 0.85rem;
    color: var(--color-slate-700);
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: var(--color-slate-50);
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-slate-800);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.mobile-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    background-image: url(assets/images/hero-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section .container {
    max-width: 1440px;
}

.hero-bg-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-bg-blobs .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.65;
    animation: drift 15s infinite alternate ease-in-out;
}

.hero-bg-blobs .blob-1 {
    width: 400px;
    height: 400px;
    background-color: rgba(37, 99, 235, 0.15);
    top: -100px;
    left: -50px;
}

.hero-bg-blobs .blob-2 {
    width: 500px;
    height: 500px;
    background-color: rgba(147, 51, 234, 0.12);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: block;
    min-height: 520px;
    padding-top: 2%;
}

.hero-content {
    max-width: 620px;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hospital-hero .hero-title,
.physician-hero .hero-title {
    font-size: 2.6rem;
}

.hero-title .highlight-text {
    background: linear-gradient(135deg, var(--color-secondary) 30%, #f43f5e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-slate-600);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.play-icon-wrapper {
    width: 32px;
    height: 32px;
    background-color: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    transition: var(--transition-fast);
}

.btn-video-trigger:hover .play-icon-wrapper {
    background-color: var(--color-primary);
    transform: scale(1.1);
}

.btn-video-trigger:hover .play-icon {
    fill: #ffffff;
    stroke: #ffffff;
}

/* Hero Visual Graphics (Doctor and floating elements) */
.hero-visual {
    position: absolute;
    right: 30px;
    top: 43%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 600px;
    height: auto;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 620px;
    aspect-ratio: 1;
}

/* Background Stationary Blobs */
.visual-blob {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.65;
    /*filter: blur(20px);*/
}

.visual-blob-a {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    animation: floatBlobA 12s infinite ease-in-out;
}

.visual-blob-b {
    width: 260px;
    height: 260px;
    bottom: -120px;
    right: -140px;
    animation: floatBlobB 16s infinite ease-in-out;
}

.visual-blob-c {
    width: 160px;
    height: 160px;
    top: 60px;
    right: -100px;
    animation: floatBlobC 14s infinite ease-in-out;
}

@keyframes floatBlobA {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-15px, 10px) scale(1.05);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes floatBlobB {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(15px, -15px) scale(0.95);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes floatBlobC {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-10px, -20px) scale(1.08);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Slow Rotating Circle (Placeholder) */
.rotating-bg-wrapper {
    position: absolute;
    width: 104%;
    height: 104%;
    top: -2%;
    left: -2%;
    z-index: 1;
    animation: rotateSlow 10s infinite linear;
}

.rotating-placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fallback-rotating-blob {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(37, 99, 235, 0.15);
    background: radial-gradient(circle, rgba(239, 68, 68, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
    position: relative;
}

.fallback-rotating-blob::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    top: 20%;
    left: 5%;
}

.fallback-rotating-blob::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: var(--color-primary);
    border-radius: 50%;
    bottom: 25%;
    right: 5%;
}

/* Circular Doctor Portrait container */
.doctor-image-container {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    /*box-shadow: var(--shadow-lg);
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.85);*/
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hospital & Physician Hero 1-column responsive layout overrides */
.hospital-hero .hero-grid,
.physician-hero .hero-grid {
    display: block;
    position: relative;
    min-height: 480px;
}

.hospital-hero .hero-content,
.physician-hero .hero-content {
    max-width: 620px;
    position: relative;
    z-index: 3;
}

.hospital-hero .hero-visual,
.physician-hero .hero-visual {
    position: absolute;
    right: -40px;
    top: 45%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 620px;
    height: auto;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.hospital-hero .visual-wrapper,
.physician-hero .visual-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 1.45;
    position: relative;
}

.hospital-hero .doctor-image-container,
.physician-hero .doctor-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 24px;
    /*box-shadow: var(--shadow-lg), 0 30px 60px -15px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.45);*/
    overflow: hidden;
}

.hospital-hero .doctor-img,
.physician-hero .doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fallback-doctor-view {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    position: relative;
}

.fallback-doctor-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: #ffffff;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.fallback-doctor-avatar::before {
    content: 'Dr.';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    color: var(--color-slate-400);
}

/* Drifting SaaS Dashboard Mockup Frame */
.dashboard-mockup-container {
    position: absolute;
    width: 66%;
    height: 52%;
    bottom: -15%;
    left: -15%;
    z-index: 3;
    animation: driftVertical 6s infinite alternate ease-in-out;
}

.dashboard-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    /*box-shadow: var(--shadow-lg); */
}

.fallback-dashboard {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fallback-dashboard .mockup-header {
    height: 24px;
    background-color: var(--color-slate-100);
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    gap: 4px;
    border-bottom: 1px solid var(--color-slate-200);
}

.fallback-dashboard .mockup-header .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-slate-300);
}

.fallback-dashboard .mockup-header .mockup-title {
    font-size: 0.55rem;
    color: var(--color-slate-500);
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

.fallback-dashboard .mockup-body {
    flex-grow: 1;
    display: flex;
}

.fallback-dashboard .mockup-sidebar {
    width: 50px;
    background-color: rgba(248, 250, 252, 0.5);
    border-right: 1px solid var(--color-slate-200);
    padding: 0.5rem 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fallback-dashboard .mockup-item {
    height: 6px;
    border-radius: 2px;
    background-color: var(--color-slate-200);
}

.fallback-dashboard .mockup-item.active {
    background-color: var(--color-primary);
}

.fallback-dashboard .mockup-content {
    flex-grow: 1;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fallback-dashboard .mockup-line {
    height: 6px;
    background-color: var(--color-slate-200);
    border-radius: 4px;
}

.fallback-dashboard .mockup-line.title {
    width: 60%;
    height: 8px;
    background-color: var(--color-slate-400);
}

.fallback-dashboard .mockup-line.text-long {
    width: 90%;
}

.fallback-dashboard .mockup-line.text-medium {
    width: 70%;
}

.fallback-dashboard .mockup-badges {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.fallback-dashboard .badge {
    font-size: 0.5rem;
    padding: 1px 6px;
    border-radius: 99px;
    font-weight: 700;
}

.fallback-dashboard .badge-success {
    background-color: #dcfce7;
    color: #166534;
}

.fallback-dashboard .badge-pending {
    background-color: #fef9c3;
    color: #854d0e;
}

/* ==========================================================================
   ENTERPRISE BUDGET SECTION
   ========================================================================== */

.budget-section {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--color-slate-100);
}

.budget-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.budget-visual {
    position: relative;
    width: 100%;
}

.budget-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);

    background-color: var(--color-slate-100);
}

.budget-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fallback-budget-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--color-slate-400);
    padding: 2rem;
    text-align: center;
    border: 2px dashed var(--color-slate-200);
    border-radius: 24px;
}

.placeholder-tag {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.budget-content {
    max-width: 580px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-slate-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.budget-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.budget-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--color-slate-800);
    font-weight: 500;
}

.list-icon-container {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    /*background-color: rgba(239, 68, 68, 0.08);*/
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* ==========================================================================
   TARGET AUDIENCE SECTION
   ========================================================================== */

.audience-section {
    padding: 120px 0;
    background: var(--gradient-audience-section);
    position: relative;
    overflow: hidden;
}

/* Background Orbiting Blobs */
.audience-orbit-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: transparent;
}

.orbit-blob {
    position: absolute;
    width: 450px;
    height: 450px;
    max-width: none !important;
    border-radius: 50%;
    /*filter: blur(60px);*/
    opacity: 1;
    animation: orbitCentral 25s infinite linear;
}

.orbit-blob-1 {
    top: 5%;
    left: 5%;
}

.orbit-blob-2 {
    bottom: 5%;
    right: 5%;
    animation-delay: -12.5s;
}

.fallback-orbit-blob {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: orbitCentral 25s infinite linear;
}

.fallback-orbit-1 {
    background-color: var(--color-primary);
    top: 10%;
    left: 20%;
}

.fallback-orbit-2 {
    background-color: #8b5cf6;
    bottom: 10%;
    right: 20%;
    animation-delay: -12.5s;
}

.audience-section-title {
    text-align: center;
    color: #ffffff;
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

/* Glassmorphism Card Design */
.audience-card {
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: 20px;
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

#hospitals .card-icon-wrapper {
    background-color: #E8F2FE;
    color: var(--color-accent-blue);
}

#practices .card-icon-wrapper {
    background-color: #FEE2E2;
    color: var(--color-secondary);
}

.card-tag {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-slate-500);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.audience-card .card-title {
    color: var(--color-slate-900);
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    transition: var(--transition-smooth);
}

.card-text {
    color: var(--color-slate-600);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    transition: var(--transition-smooth);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-button);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    background: #0B54B3;
    padding: 10px 15px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.card-link:hover {
    background-color: #ffffff;
    border-color: #0B54B3;
    color: #0B54B3;
    box-shadow: 0 8px 25px rgba(11, 84, 179, 0.45);
    transform: translateY(-2px);
}

.card-link .arrow-icon {
    transition: var(--transition-fast);
}

.card-link:hover .arrow-icon {
    transform: translateX(4px);
}

/* Dynamic Hover Swap Interaction */
.audience-card:hover {
    background-color: #1E293B;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 3px 3px 18px #1b7eff6b;
    transform: translateY(-8px);
}

.audience-card:hover .card-title {
    color: #ffffff;
}

.audience-card:hover .card-text {
    color: var(--color-slate-300);
}

.audience-card:hover .card-tag {
    color: var(--color-slate-400);
}

#hospitals .card-icon-wrapper svg path {
    fill: #0B54B3;
    transition: var(--transition-smooth);
}

#practices .card-icon-wrapper svg path {
    fill: #EF4444;
    transition: var(--transition-smooth);
}

.audience-card:hover .card-icon-wrapper {
    background-color: #ffffff !important;
}

#hospitals:hover .card-icon-wrapper svg path {
    fill: #0B54B3;
}

#practices:hover .card-icon-wrapper svg path {
    fill: #EF4444;
}


/* ==========================================================================
   VIDEO DEMO SECTION
   ========================================================================== */

.video-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.video-container-box {
    max-width: 1000px;
    text-align: center;
}

.video-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-slate-900);
    letter-spacing: -0.01em;
    margin-bottom: 3.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.video-preview-trigger {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    background-color: var(--color-slate-900);
}

.video-backdrop-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.video-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    inset: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-preview-trigger:hover .video-placeholder-img {
    transform: scale(1.05);
}

.gradient-mesh-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(30, 58, 138, 0.25) 0%, rgba(9, 13, 22, 0.45) 100%),
                radial-gradient(circle at 70% 80%, rgba(239, 68, 68, 0.2) 0%, transparent 60%);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.video-preview-trigger:hover .gradient-mesh-overlay {
    opacity: 0.65;
}

.video-duration {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Floating Pulsing Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    color: var(--color-slate-900);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    z-index: 5;
}

.play-svg {
    margin-left: 4px;
}

.play-button::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    animation: pulseGlow 2.5s infinite ease-in-out;
    z-index: -1;
}

.video-preview-trigger:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.video-preview-trigger:hover .video-backdrop-frame {
    transform: scale(1.03);
}

.video-tagline {
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ==========================================================================
   FEATURES SECTION (HOVER DYNAMIC)
   ========================================================================== */

.features-section {
    padding: 120px 0;
    background-color: var(--color-slate-50);
    position: relative;
    overflow: hidden;
}

.features-floating-sphere-container {
    position: absolute;
    width: 250px;
    height: 250px;
    right: -50px;
    top: 20%;
    pointer-events: none;
    z-index: 1;
}

.features-sphere {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fallback-features-sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fecdd3 0%, #fda4af 30%, #f43f5e 100%);
    filter: blur(15px);
    opacity: 0.15;
    animation: driftVertical 8s infinite alternate ease-in-out;
}

.features-header {
    max-width: 800px;
    margin: 0 auto 5rem;
    text-align: center;
}

.features-section-title {
    font-size: 2.85rem;
    font-weight: 800;
    color: var(--color-slate-900);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.features-list {
    display: flex;
    flex-direction: column;
    max-width: 1100px;
    margin: 0 auto;
}

/* Premium Hover Highlight Rows */
.feature-row {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    border-top: 1px solid var(--color-slate-200);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    cursor: default;
    border-radius: 0px;
}

.feature-row:last-child {
    border-bottom: 1px solid var(--color-slate-200);
}

.feature-row-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    pointer-events: none;
    border-radius: 0px;
}

.feature-row-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(15 23 42 / 35%) 0%, rgb(15 23 42 / 35%) 100%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    pointer-events: none;
    border-radius: 0px;
}

.feature-row-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
    pointer-events: none;
}

.feature-left-col {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.feature-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--color-primary);
    line-height: 1;
    transition: var(--transition-smooth);
    min-width: 3rem;
}

.feature-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--color-slate-900);
    line-height: 1.3;
    transition: var(--transition-smooth);
}

.feature-desc {
    font-size: 1.05rem;
    color: var(--color-slate-500);
    line-height: 1.65;
    transition: var(--transition-smooth);
}

/* Hover Swap: Fade in backgrounds and adjust colors */
.feature-row:hover {
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    border-color: transparent;
}

/* Ensure adjacent borders don't look weird when a card has no border */
.feature-row:hover+.feature-row {
    border-top-color: transparent;
}

.feature-row:hover .feature-row-bg {
    opacity: 1;
    transform: scale(1);
}

.feature-row:hover .feature-row-overlay {
    opacity: 1;
}

.feature-row:hover .feature-number {
    color: var(--color-secondary);
}

.feature-row:hover .feature-title {
    color: #ffffff;
}

.feature-row:hover .feature-desc {
    color: var(--color-slate-300);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
    padding: 100px 0;
    background: var(--gradient-cta-section);
    position: relative;
    overflow: hidden;
}

.cta-mesh-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 80%, rgba(239, 68, 68, 0.18) 0%, transparent 45%);
    pointer-events: none;
    z-index: 1;
}

/* Background Orbiting Blobs for CTA Section */
.cta-orbit-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.cta-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.55;
    max-width: none !important;
    animation: orbitCentral 20s infinite linear;
}

.cta-blob-left {
    width: 350px;
    height: 350px;
    top: -50px;
    left: -100px;
}

.cta-blob-right {
    width: 250px;
    height: 250px;
    bottom: -50px;
    right: -80px;
    animation-delay: -10s;
}

.cta-container-box {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 950px;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--color-slate-200);
    margin-bottom: 2.5rem;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer {
    background-color: var(--color-slate-900);
    color: #fff;
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo .logo-text {
    color: #ffffff;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-slate-300);
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    font-size: 0.95rem;
    color: #fff;
}

.footer-link:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--color-slate-300);
}

.contact-item a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a:hover {
    color: #ffffff;
}

/* ==========================================================================
   VIDEO PLAYER MODAL WINDOW
   ========================================================================== */

.video-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(9, 13, 22, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-container {
    width: 100%;
    max-width: 960px;
    background-color: var(--color-slate-900);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-overlay.active .video-modal-container {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
}

.video-modal-close:hover {
    background-color: var(--color-secondary);
    border-color: transparent;
    transform: rotate(90deg);
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background-color: #000000;
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background-color: #000000;
}

/* Floating Glassmorphism Click to Unmute Button */
.video-unmute-btn {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-unmute-btn:hover {
    background-color: rgba(37, 99, 235, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
}

.video-unmute-btn .unmute-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-unmute-btn.is-unmuted {
    background-color: rgba(16, 185, 129, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
}

.video-unmute-btn.is-unmuted:hover {
    background-color: rgba(16, 185, 129, 1);
}

/* ==========================================================================
   FREE TRIAL SIGNUP MODAL WINDOW
   ========================================================================== */

.trial-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(9, 13, 22, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.trial-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.trial-modal-container {
    width: 100%;
    max-width: 650px;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 3rem 2.5rem 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

/* Custom scrollbar for modal container in case of small viewports */
.trial-modal-container::-webkit-scrollbar {
    width: 6px;
}

.trial-modal-container::-webkit-scrollbar-track {
    background: transparent;
}

.trial-modal-container::-webkit-scrollbar-thumb {
    background-color: rgba(15, 23, 42, 0.15);
    border-radius: 10px;
}

.trial-modal-overlay.active .trial-modal-container {
    transform: scale(1);
}

.trial-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--color-slate-400);
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
    padding: 0.25rem;
}

.trial-modal-close:hover {
    color: var(--color-slate-800);
    transform: scale(1.1);
}

.trial-modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.trial-modal-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-slate-900);
    margin-bottom: 0.5rem;
}

.trial-modal-subtitle {
    font-size: 0.95rem;
    color: var(--color-slate-600);
    line-height: 1.5;
}

.trial-modal-submit-btn {
    margin-top: 0.5rem;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(40px, -30px);
    }

    100% {
        transform: translate(-20px, 50px);
    }
}

@keyframes driftVertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-15px);
    }
}

@keyframes rotateSlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.2;
    }
}

@keyframes orbitCentral {
    0% {
        transform: rotate(0deg) translateX(120px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(120px) rotate(-360deg);
    }
}

/* ==========================================================================
   FOR HOSPITALS PAGE SPECIFIC STYLES
   ========================================================================== */

.nav-link.active {
    color: var(--color-primary) !important;
}

.nav-link:not(.dropdown-toggle).active::after {
    width: 100% !important;
}

/* Hero Section override for Hospitals Page */


/* Problem Section */
.problem-section {
    padding: 120px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--color-slate-100);
}

.problem-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
}

.problem-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-slate-900);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.problem-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-slate-600);
    font-weight: 500;
}

/* What DoxApply Solves Section */
.solves-section {
    padding: 120px 0;
    background: var(--gradient-blue-dark);
    position: relative;
    overflow: hidden;
}

.solves-container {
    position: relative;
    z-index: 2;
}

.solves-section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: -0.02em;
}

.solves-rows {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.solves-row {
    display: grid;
    grid-template-columns: 45% 50%;
    gap: 5%;
    align-items: center;
}

.solves-row:nth-child(even) {
    grid-template-columns: 50% 45%;
}

.solves-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.solves-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.solves-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-slate-300);
}

.solves-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.solves-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.5);
    transition: var(--transition-smooth);
}

.solves-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.solves-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* How It Works Sticky Timeline Section */
.how-it-works-section {
    padding: 120px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--color-slate-100);
    border-bottom: 1px solid var(--color-slate-100);
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 0.35fr 8px 0.65fr;
    gap: 4rem;
    align-items: start;
}

.how-left {
    position: sticky;
    top: 120px;
}

.how-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-slate-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.how-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-slate-600);
    font-weight: 500;
}

.how-divider-line-container {
    width: 8px;
    height: 480px;
    position: sticky;
    top: 150px;
    background-color: var(--color-slate-100);
    border-radius: 4px;
    justify-self: center;
    align-self: start;
    overflow: hidden;
}

.timeline {
    position: relative;
    padding-left: 0;
}

.timeline::before {
    display: none;
}

.timeline-progress-bar {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, rgba(11, 84, 179, 0) 0%, #0B54B3 50%, rgba(11, 84, 179, 0) 100%);
    background-size: 100% 480px;
    background-repeat: no-repeat;
    background-position: top center;
    border-radius: 4px;
    transition: height 0.1s ease-out;
}

.timeline-item {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    border-top: 1px solid var(--color-slate-200);
    margin-bottom: 0;
    opacity: 0.25;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-badge {
    position: static;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-slate-900);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 2;
    box-shadow: none;
    flex-shrink: 0;
    transition: background-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
}

.timeline-item.active .timeline-badge {
    background-color: var(--color-slate-900);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(15, 23, 42, 0.1);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.timeline-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-slate-900);
    letter-spacing: -0.01em;
}

.timeline-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-slate-600);
}

/* Outline white button variation for dark sections */
.btn-outline-white {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: #ffffff !important;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.85rem;
    }

    .hero-visual {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        max-width: 550px;
        opacity: 0.15;
        z-index: 1;
        pointer-events: none;
    }

    .hero-content {
        max-width: 100%;
        position: relative;
        z-index: 3;
    }

    .hero-grid,
    .budget-grid,
    .features-grid {
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-info {
        grid-column: span 2;
    }

    .solves-row {
        gap: 3rem;
    }
}

@media (max-width: 1050px) {
    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 3rem 2rem;
        gap: 2rem;
        z-index: 999;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 1.25rem;
        width: fit-content;
    }

    .nav-item-dropdown {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .dropdown-toggle {
        font-size: 1.25rem;
    }

    .dropdown-menu {
        position: static;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        opacity: 1;
        visibility: visible;
        display: none;
        /* JS will toggle display */
        width: 100%;
        text-align: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
        background-color: rgba(15, 23, 42, 0.03);
        border-radius: 10px;
        padding: 0.5rem 0;
        transition: none;
    }

    /* Bridge not needed on mobile */
    .dropdown-menu::before {
        display: none;
    }

    .nav-item-dropdown.open .dropdown-menu {
        display: flex;
    }

    .dropdown-item {
        font-size: 1.1rem;
        padding: 0.5rem;
        text-align: center;
    }

    .header-signup-btn {
        display: none !important;
    }

    .nav-menu .nav-menu-btn {
        display: inline-flex !important;
        margin-top: 1rem;
        width: 100%;
        max-width: 320px;
        justify-content: center;
        align-self: center;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }

    .visual-wrapper {
        width: 320px;
        height: 320px;
    }



    .visual-blob-a {
        width: 100px;
        height: 100px;
        top: 15px;
        left: 15px;
    }

    .visual-blob-b {
        width: 130px;
        height: 130px;
        bottom: 20px;
        right: 20px;
    }

    .visual-blob-c {
        width: 80px;
        height: 80px;
        top: 40px;
        right: 15px;
    }



    .budget-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .budget-content {
        max-width: 100%;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .audience-card {
        padding: 2.5rem 2rem;
    }

    .features-header {
        margin-bottom: 3.5rem;
    }

    .features-section-title {
        font-size: 2.25rem;
        text-align: center;
    }

    .feature-row {
        padding: 2rem 1.25rem;
    }

    .feature-row-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .feature-left-col {
        gap: 1.5rem;
    }

    .feature-number {
        font-size: 1.75rem;
        min-width: 2.5rem;
    }

    .feature-title {
        font-size: 1.4rem;
    }

    .feature-desc {
        font-size: 0.95rem;
    }

    .cta-title {
        font-size: 2.25rem;
    }

    .cta-blob-left {
        width: 200px;
        height: 200px;
        top: -30px;
        left: -80px;
    }

    .cta-blob-right {
        width: 150px;
        height: 150px;
        bottom: -30px;
        right: -60px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }

    /* For Hospitals Responsive overrides */
    .problem-title {
        font-size: 2.25rem;
    }

    .problem-desc {
        font-size: 1.1rem;
    }

    .solves-section-title {
        font-size: 2.25rem;
        margin-bottom: 50px;
    }

    .solves-rows {
        gap: 60px;
    }

    .solves-row {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    .solves-row:nth-child(even) {
        grid-template-columns: 1fr !important;
    }

    .solves-text {
        order: 2 !important;
    }

    .solves-visual {
        order: 1 !important;
    }

    .solves-title {
        font-size: 1.85rem;
        text-align: center;
    }

    .solves-desc {
        font-size: 1rem;
        text-align: center;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .how-left {
        position: static;
        text-align: center;
    }

    .how-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .how-subtitle {
        font-size: 1.1rem;
    }

    .how-divider-line-container {
        display: none;
    }

    .timeline {
        padding-left: 0;
    }

    .timeline::before {
        display: none;
    }

    .timeline-progress-bar {
        display: none;
    }

    .timeline-item {
        padding-top: 2rem;
        padding-bottom: 2rem;
        gap: 1.25rem;
    }

    .timeline-badge {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .timeline-item.active .timeline-badge {
        box-shadow: 0 0 0 5px rgba(15, 23, 42, 0.1);
    }

    .timeline-title {
        font-size: 1.25rem;
    }

    .timeline-desc {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hospital-hero .hero-visual,
    .physician-hero .hero-visual {
        width: 95%;
        opacity: 0.12;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .video-title {
        font-size: 1.75rem;
    }

    .cta-blob-left {
        width: 150px;
        height: 150px;
        top: -20px;
        left: -80px;
    }

    .cta-blob-right {
        width: 100px;
        height: 100px;
        bottom: -20px;
        right: -50px;
    }
}

/* ==========================================================================
   ABOUT US PAGE SPECIFIC STYLES
   ========================================================================== */

/* About Hero */
.about-hero {
    padding: 180px 0 100px;
    text-align: center;
    background: var(--gradient-hero);
    background-image: url(assets/images/hero-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.about-hero-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.about-hero-blob {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.75;
    max-width: none !important;
}

.about-hero-blob-1 {
    width: 280px;
    height: 280px;
    top: 10%;
    left: -80px;
    animation: floatBlobA 14s infinite alternate ease-in-out;
}

.about-hero-blob-2 {
    width: 480px;
    height: 480px;
    bottom: -120px;
    right: -120px;
    animation: floatBlobB 18s infinite alternate ease-in-out;
}

.about-hero-content {
    max-width: 1110px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.about-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--color-slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 0;
    line-height: 1.25;
}

/* About Story Section */
.about-story {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--color-slate-100);
    position: relative;
    z-index: 2;
}

.about-story-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.about-story-paragraphs p {
    font-size: 1.15rem;
    color: var(--color-slate-600);
    line-height: 1.8;
    text-align: center;
}

/* Commitments Section */
.commitments-section {
    padding: 120px 0;
    background: var(--gradient-blue-dark);
    position: relative;
    overflow: clip;
}

.commitments-container {
    position: relative;
    z-index: 2;
}

.commitments-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 4rem;
    align-items: start;
}

.commitments-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: sticky;
    top: 120px;
}

.commitments-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.commitment-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.commitment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.commitment-card .card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: #eff6ff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.commitment-card:hover .card-icon-wrapper {
    background-color: var(--color-primary);
    color: #ffffff;
}

.commitment-card .card-content {
    flex-grow: 1;
}

.commitment-card .card-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-slate-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.commitment-card .card-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--color-slate-600);
}

/* Team Section */
.team-section {
    padding: 120px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.team-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.team-section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-slate-900);
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

/* Team 2-Column Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.team-member-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #EDF4FC;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: var(--transition-smooth);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.team-member-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.15);
}

.team-member-image-container {
    position: relative;
    width: 100%;
    height: 420px;
}

.team-member-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #cbd5e1;
}

.team-member-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-member-card:hover .team-member-image-wrapper img {
    transform: scale(1.05);
}

.team-social-link.linkedin-floating {
    position: absolute;
    bottom: 0;
    right: 2rem;
    transform: translateY(50%);
    background-color: var(--color-primary);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transition: var(--transition-fast);
    z-index: 5;
    border: 3px solid #ffffff;
}

.team-social-link.linkedin-floating:hover {
    background-color: var(--color-primary-hover);
    color: #ffffff;
    transform: translateY(50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.team-member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem 2.5rem;
    text-align: left;
}

.team-member-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-slate-900);
    margin-bottom: 0.25rem;
}

.team-member-role {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-member-description {
    font-size: 0.95rem;
    color: var(--color-slate-600);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.team-member-social {
    display: flex;
    gap: 0.75rem;
}

.team-social-link {
    color: var(--color-slate-400);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-social-link:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

/* Responsive Overrides for About Page */
@media (max-width: 1024px) {
    .about-hero-title {
        font-size: 2.85rem;
    }

    .commitments-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .commitments-title {
        position: static;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 140px 0 80px;
    }

    .about-hero-title {
        font-size: 2.25rem;
        margin-bottom: 0;
    }

    .about-story {
        padding: 60px 0;
    }

    .about-story-paragraphs p {
        font-size: 1.05rem;
    }

    .commitment-card {
        padding: 2rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

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

    .team-member-card {
        align-items: stretch;
        padding: 0;
    }
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */

/* Contact Hero */
.contact-hero {
    padding: 180px 0 100px;
    text-align: center;
    background: var(--gradient-hero);
    background-image: url(assets/images/hero-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-slate-600);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
}

.contact-form-grid {
    display: flex;
    align-items: stretch;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.contact-form-img-col {
    flex: 0 0 55%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 600px;
    display: flex;
}

.contact-form-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-img-col .image-overlay-text {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    z-index: 2;
    color: #ffffff;
    font-size: 2.75rem;
    font-weight: 800;
    font-family: var(--font-heading);
    text-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

.contact-form-img-col::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0) 50%);
    z-index: 1;
}

.contact-form-box-col {
    flex: 0 0 50%;
    margin-left: -5%;
    background: #EDF4FC;
    border-radius: 20px;
    padding: 3.5rem 3rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Contact Form Fields */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-slate-800);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 9px;
    background-color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-slate-800);
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-submit-btn {
    grid-column: span 2;
    background-color: var(--color-primary);
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    transition: var(--transition-smooth);
    margin-top: 0.5rem;
}

.form-submit-btn:hover {
    background-color: #ffffff;
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 8px 25px rgba(11, 84, 179, 0.25);
    transform: translateY(-1px);
}

/* Contact Details Section */
.contact-details-section {
    padding: 60px 0 100px;
    background-color: #ffffff;
    text-align: center;
}

.contact-details-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-slate-900);
    margin-bottom: 3.5rem;
    letter-spacing: -0.02em;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 750px;
    /* Section width 750px as requested */
    margin: 0 auto;
}

.contact-detail-card {
    background-color: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    transition: var(--transition-smooth);
}

.contact-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.25);
}

.contact-detail-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: #F0F7FF;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.contact-detail-card:hover .contact-detail-icon-wrapper {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: scale(1.05);
}

.contact-detail-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-slate-900);
}

.contact-detail-card p {
    font-size: 1rem;
    color: var(--color-slate-600);
    line-height: 1.6;
}

.contact-detail-card a {
    color: var(--color-primary);
    font-weight: 600;
}

.contact-detail-card a:hover {
    color: #0c4ea1;
}

/* Responsive Overrides for Contact Page */
@media (max-width: 1024px) {
    .contact-form-grid {
        flex-direction: column;
        gap: 0;
    }

    .contact-form-img-col {
        flex: 0 0 100%;
        min-height: 450px;
        border-radius: 20px 20px 0 0;
    }

    .contact-form-box-col {
        flex: 0 0 100%;
        margin-left: 0;
        border-radius: 0 0 20px 20px;
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }

    .contact-hero-subtitle {
        font-size: 1.05rem;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .form-submit-btn {
        grid-column: span 1;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .contact-details-title {
        font-size: 2.25rem;
        margin-bottom: 2.5rem;
    }

    .contact-detail-card {
        padding: 2.5rem 1.5rem;
    }
}

/* ==========================================================================
   BLOG PAGE SPECIFIC STYLES
   ========================================================================== */

/* Blog Hero */
.blog-hero {
    padding: 180px 0 100px;
    text-align: center;
    background: var(--gradient-hero);
    background-image: url(assets/images/hero-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.blog-hero-content {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-slate-900);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Blog Section */
.blog-section {
    padding: 60px 0 100px;
    background-color: #ffffff;
}

.blog-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.blog-row {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--color-slate-200);
    transition: var(--transition-smooth);
}

.blog-row:first-child {
    padding-top: 0;
}

.blog-image-wrapper {
    flex: 0 0 240px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.9rem;
    color: var(--color-slate-500);
    font-weight: 600;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-slate-900);
    line-height: 1.35;
    transition: var(--transition-fast);
}

.blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    margin-top: 0.25rem;
}

.blog-readmore svg {
    transition: transform 0.3s ease;
}

/* Hover Effects */
.blog-row:hover .blog-title {
    color: var(--color-primary);
}

.blog-row:hover .blog-image-wrapper img {
    transform: scale(1.05);
}

.blog-row:hover .blog-readmore {
    color: #0c4ea1;
}

.blog-row:hover .blog-readmore svg {
    transform: translateX(4px);
}

.blog-actions {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
}

.blog-view-more-btn {
    padding: 0.85rem 2.25rem;
    font-size: 1.05rem;
    border-radius: 8px;
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.blog-view-more-btn:hover {
    background-color: #0c4ea1;
    box-shadow: 0 4px 12px rgba(11, 84, 179, 0.2);
    transform: translateY(-2px);
}

/* Responsive Overrides for Blog Page */
@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 2.5rem;
    }

    .blog-row {
        flex-direction: column;
        gap: 1.25rem;
        align-items: stretch;
        padding: 2rem 0;
    }

    .blog-row:first-child {
        padding-top: 0;
    }

    .blog-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }

    .blog-title {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   FORM STATUS & VALIDATION FEEDBACK ALERTS
   ========================================================================== */
.form-status-alert {
    padding: 0.85rem 1.15rem;
    border-radius: 9px;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    transition: var(--transition-fast);
}

.form-status-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.form-status-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

/* ==========================================================================
   RESOURCES PAGE - HERO, TABS, DATASHEET & VIDEOS
   ========================================================================== */

.resources-hero {
    position: relative;
    padding: 130px 0 50px;
    background: var(--gradient-hero);
    overflow: hidden;
    text-align: center;
}

.resources-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.resources-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background-color: rgba(11, 84, 179, 0.08);
    color: var(--color-primary);
    border: 1px solid rgba(11, 84, 179, 0.2);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.resources-hero-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--color-slate-900);
    line-height: 1.15;
    margin-bottom: 1.1rem;
    letter-spacing: -0.02em;
}

.resources-hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-slate-600);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
}

/* Resources Content Section */
.resources-section {
    padding: 40px 0 90px;
    background-color: #ffffff;
    min-height: 550px;
}

/* Tab Navigation Switcher */
.resources-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3.25rem;
}

.resources-tabs-nav {
    display: inline-flex;
    background-color: var(--color-slate-100);
    border: 1px solid var(--color-slate-200);
    border-radius: 50px;
    padding: 6px;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.resources-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 2.25rem;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: var(--color-slate-600);
    font-family: var(--font-button);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.resources-tab-btn:hover {
    color: var(--color-primary);
}

.resources-tab-btn.active {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(11, 84, 179, 0.35);
}

.resources-tab-btn svg {
    transition: transform 0.25s ease;
}

.resources-tab-btn:hover svg {
    transform: translateY(-1px);
}

/* Tab Panes */
.resources-tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.resources-tab-pane.active {
    display: block;
    opacity: 1;
}

/* ==========================================================================
   TAB 1: DATASHEET (2 Columns: Left Image, Right Title/Desc/Download)
   ========================================================================== */
.datasheet-card-container {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid var(--color-slate-200);
    box-shadow: var(--shadow-md);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
}

.datasheet-card-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary) 0%, #3b82f6 100%);
}

.datasheet-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.datasheet-img-col {
    display: flex;
    justify-content: center;
    width: 100%;
}

.datasheet-preview-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    background-color: #f8fafc;
    width: 100%;
    max-width: 560px;
}

.datasheet-preview-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 50px -12px rgba(11, 84, 179, 0.25);
}

.datasheet-preview-frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.datasheet-badge-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Datasheet Info Column */
.datasheet-info-col {
    display: flex;
    flex-direction: column;
}

.datasheet-category-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.datasheet-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-slate-900);
    line-height: 1.22;
    margin-bottom: 1.15rem;
    letter-spacing: -0.015em;
}

.datasheet-lead {
    font-size: 1.05rem;
    color: var(--color-slate-600);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.datasheet-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 2.25rem;
}

.datasheet-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.98rem;
    color: var(--color-slate-700);
    line-height: 1.5;
}

.datasheet-feature-item svg {
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.datasheet-action-area {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.datasheet-meta-note {
    font-size: 0.9rem;
    color: var(--color-slate-500);
    font-weight: 500;
}

/* ==========================================================================
   TAB 2: VIDEOS (2 Columns, 1 Video Placeholder + Upcoming)
   ========================================================================== */
.resources-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
}

.video-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--color-slate-200);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 84, 179, 0.3);
}

/* Video Thumbnail with transparent blue theme overlay & play button */
.video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    background-color: #0f172a;
}

.video-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-thumbnail-wrapper:hover .video-thumbnail-img {
    transform: scale(1.05);
}

/* Transparent Blue Theme Overlay */
.video-blue-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 84, 179, 0.68) 0%, rgba(9, 67, 143, 0.48) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.35s ease;
}

.video-thumbnail-wrapper:hover .video-blue-overlay {
    background: linear-gradient(135deg, rgba(11, 84, 179, 0.8) 0%, rgba(9, 67, 143, 0.6) 100%);
}

.video-play-button {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background-color 0.25s ease;
    padding-left: 4px;
}

.video-thumbnail-wrapper:hover .video-play-button {
    transform: scale(1.12);
    box-shadow: 0 15px 40px rgba(11, 84, 179, 0.45);
    background-color: #ffffff;
}

.video-duration-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    letter-spacing: 0.04em;
}

.video-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.video-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.video-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    background-color: rgba(11, 84, 179, 0.08);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

.video-length {
    font-size: 0.85rem;
    color: var(--color-slate-500);
}

.video-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-slate-900);
    line-height: 1.3;
    margin-bottom: 0.85rem;
}

.video-card-desc {
    font-size: 0.98rem;
    color: var(--color-slate-600);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    flex: 1;
}

.btn-video-watch {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 9px;
    padding: 0.75rem 1.4rem;
    font-family: var(--font-button);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.25s ease;
}

.btn-video-watch:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(11, 84, 179, 0.25);
}

/* Upcoming Video Card (2nd column placeholder) */
.video-card-upcoming {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 2px dashed var(--color-slate-300);
    box-shadow: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
}

.video-card-upcoming:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.upcoming-video-box {
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upcoming-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.upcoming-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-slate-500);
    background: #ffffff;
    border: 1px solid var(--color-slate-300);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.upcoming-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-slate-900);
    line-height: 1.35;
    margin-bottom: 0.85rem;
}

.upcoming-desc {
    font-size: 0.95rem;
    color: var(--color-slate-600);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.upcoming-btn {
    padding: 0.75rem 1.6rem;
}

/* ==========================================================================
   DATASHEET DOWNLOAD MODAL WINDOW
   ========================================================================== */
.datasheet-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background-color: rgba(9, 13, 22, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.datasheet-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.datasheet-modal-container {
    width: 100%;
    max-width: 580px;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 2.75rem 2.5rem 2.25rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.datasheet-modal-container::-webkit-scrollbar {
    width: 6px;
}

.datasheet-modal-container::-webkit-scrollbar-track {
    background: transparent;
}

.datasheet-modal-container::-webkit-scrollbar-thumb {
    background-color: rgba(15, 23, 42, 0.15);
    border-radius: 10px;
}

.datasheet-modal-overlay.active .datasheet-modal-container {
    transform: scale(1);
}

.datasheet-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--color-slate-400);
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
    padding: 0.25rem;
}

.datasheet-modal-close:hover {
    color: var(--color-slate-800);
    transform: scale(1.1);
}

.datasheet-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.datasheet-modal-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: rgba(11, 84, 179, 0.08);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.datasheet-modal-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-slate-900);
    margin-bottom: 0.5rem;
}

.datasheet-modal-subtitle {
    font-size: 0.95rem;
    color: var(--color-slate-600);
    line-height: 1.5;
    max-width: 460px;
    margin: 0 auto;
}

/* Responsive Overrides for Resources Page */
@media (max-width: 1024px) {
    .datasheet-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.25rem;
    }
}

@media (max-width: 860px) {
    .resources-hero-title {
        font-size: 2.6rem;
    }

    .datasheet-card-container {
        padding: 2.5rem 1.75rem;
    }

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

    .datasheet-img-col {
        max-width: 540px;
        margin: 0 auto;
    }

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

@media (max-width: 640px) {
    .resources-hero {
        padding: 110px 0 40px;
    }

    .resources-hero-title {
        font-size: 2.1rem;
    }

    .resources-tab-btn {
        padding: 0.7rem 1.35rem;
        font-size: 0.9rem;
    }

    .datasheet-title {
        font-size: 1.75rem;
    }

    .datasheet-modal-container {
        padding: 2rem 1.5rem;
    }
}