/* =========================================
   BRAND CONSISTENCY STYLES
   Ensures visual consistency across all pages
   ========================================= */

/* === CSS VARIABLES (Brand System) === */
:root {
    /* Healthcare-Focused Brand Colors */
    --color-primary: #1E6FE3;
    --color-primary-hover: #1557B8;
    --color-primary-light: #5B9AF5;
    --color-primary-bg: #EDF5FF;

    /* Secondary Colors */
    --color-secondary: #2DB6A3;
    --color-secondary-hover: #259483;
    --color-secondary-light: #5FCDB9;
    --color-secondary-bg: #E8F8F5;

    /* Text Colors */
    --color-text-heading: #1F2937;
    --color-text-main: #4B5563;
    --color-text-muted: #6B7280;
    --color-text-light: #9CA3AF;

    /* Background Colors */
    --color-bg: #FFFFFF;
    --color-surface: #F5F7FA;
    --color-surface-alt: #F9FAFB;

    /* Accent Colors */
    --color-accent: #F59E0B;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #20bd5a;
    --color-success: #10B981;
    --color-error: #EF4444;

    /* Border Colors */
    --color-border: #E5E7EB;
    --color-border-light: rgba(229, 231, 235, 0.8);

    /* Spacing System */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;
}

/* === ENHANCED HERO TYPOGRAPHY === */

/* Hero H1 - Large, Bold, Impactful */
.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-text-heading);
    margin-bottom: 1.5rem;
}

/* Page Header H1 - Slightly smaller but still bold */
.page-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text-heading);
    margin-bottom: 1.5rem;
}

/* Section H2 - Strong but secondary */
.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--color-text-heading);
    margin-bottom: 1.5rem;
}

/* Hero Subtitle/Description */
.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.7;
    color: var(--color-text-main);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

/* Page Description */
.page-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    color: var(--color-text-main);
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

/* Section Label/Eyebrow */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Badge/Pill styling */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--color-primary-bg);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
}

/* Text Gradient Enhancement */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Healthcare gradient for hero backgrounds */
.bg-gradient-hero {
    background: linear-gradient(135deg, #EDF5FF 0%, #E8F8F5 50%, #F5F7FA 100%);
}


/* Hero Section Container */
.hero-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 6rem;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Page Header Section */
.page-header-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 4rem;
    background: var(--color-surface);
    text-align: center;
    overflow: hidden;
}

.page-header-content {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

/* === CONSISTENT BUTTON STYLES === */

/* Primary Button - Dark background */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--color-secondary);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

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

/* Primary Button - Brand color variant */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--color-primary);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-brand:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Secondary/Outline Button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: white;
    color: var(--color-text-heading);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    border: 2px solid var(--color-border);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--color-surface);
    border-color: var(--color-text-muted);
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--color-whatsapp);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--shadow-xl);
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

/* === CONSISTENT SECTION LABELS === */
.section-label {
    display: block;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* === CONSISTENT PAGE HEADERS === */
.page-header {
    padding-top: 11rem;
    padding-bottom: 5rem;
    background-color: var(--color-surface);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-content {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

/* === CONSISTENT SECTION SPACING === */
.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-lg {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* === CONSISTENT CARD STYLES === */
.card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    transition: all var(--transition-slow);
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon svg,
.card-icon i {
    width: 2rem;
    height: 2rem;
    color: white;
}

/* === CONSISTENT FOOTER STYLES === */
.footer {
    background-color: #0F172A;
    color: var(--color-text-light);
    padding-top: 6rem;
    padding-bottom: 3rem;
}

.footer-heading {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

/* === CONSISTENT ICON SIZES === */
.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-md {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-lg {
    width: 1.5rem;
    height: 1.5rem;
}

.icon-xl {
    width: 2rem;
    height: 2rem;
}

/* === CONSISTENT SPACING UTILITIES === */
.mb-section {
    margin-bottom: 5rem;
}

.mb-content {
    margin-bottom: 2.5rem;
}

.mb-heading {
    margin-bottom: 1.5rem;
}

/* === CONSISTENT CONTAINER === */
.container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* === CONSISTENT CTA SECTIONS === */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #9333EA 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* === CONSISTENT TRUST INDICATORS === */
.trust-indicator {
    text-align: center;
    padding: 1rem;
}

.trust-indicator-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.trust-indicator-label {
    font-size: 0.875rem;
    color: var(--color-text-main);
    font-weight: 500;
}

/* === FIX: Link underlines removed globally === */
a {
    text-decoration: none;
}

/* === FIX: Consistent list styles === */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* === FIX: Image responsive === */
img {
    max-width: 100%;
    height: auto;
}

/* === FIX: Focus states for accessibility === */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* === RESPONSIVE ADJUSTMENTS FOR CONSISTENCY === */
@media (max-width: 767px) {
    .page-header {
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .section-lg {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card-icon {
        width: 3rem;
        height: 3rem;
    }

    .card-icon svg,
    .card-icon i {
        width: 1.5rem;
        height: 1.5rem;
    }

    .btn-primary,
    .btn-brand,
    .btn-secondary,
    .btn-whatsapp {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .trust-indicator-value {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .page-header {
        padding-top: 9rem;
        padding-bottom: 4rem;
    }

    .section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}