
/* Advanze Brand Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    /* Advanze Brand Colors - Blue/Teal Healthcare Palette */
    --brand-primary: #1E88E5;
    --brand-dark: #1A237E;
    --brand-light: #E3F2FD;
    --brand-accent: #26C6DA;
    --brand-neutral: #546E7A;

    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #9E9E9E;
    --dark-gray: #424242;
    --success: #4CAF50;
    --error: #F44336;
    --warning: #FF9800;
    --info: #2196F3;

    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --space-16: 64px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--dark-gray);
}

/* Primary */
.cms-bg-primary {
    background-color: var(--brand-primary) !important;
}
.cms-text-primary {
    color: var(--brand-primary) !important;
}
.cms-border-primary {
    border-color: var(--brand-primary) !important;
}

/* Dark */
.cms-bg-dark {
    background-color: var(--brand-dark) !important;
}
.cms-text-dark {
    color: var(--brand-dark) !important;
}
.cms-border-dark {
    border-color: var(--brand-dark) !important;
}

/* Light */
.cms-bg-light {
    background-color: var(--brand-light) !important;
}
.cms-text-light {
    color: var(--brand-light) !important;
}
.cms-border-light {
    border-color: var(--brand-light) !important;
}

/* Accent */
.cms-bg-accent {
    background-color: var(--brand-accent) !important;
}
.cms-text-accent {
    color: var(--brand-accent) !important;
}
.cms-border-accent {
    border-color: var(--brand-accent) !important;
}

/* Neutral */
.cms-text-neutral {
    color: var(--brand-neutral) !important;
}
.cms-bg-neutral {
    background-color: var(--brand-neutral) !important;
}
.cms-border-neutral {
    border-color: var(--brand-neutral) !important;
}

/* White */
.cms-text-white {
    color: var(--white) !important;
}
.cms-bg-white {
    background-color: var(--white) !important;
}

/* Grays */
.cms-text-gray {
    color: var(--dark-gray) !important;
}
.cms-text-gray-light {
    color: var(--medium-gray) !important;
}
.cms-bg-gray-light {
    background-color: var(--light-gray) !important;
}
.cms-border-gray {
    border-color: var(--medium-gray) !important;
}
.cms-border-gray-light {
    border-color: var(--light-gray) !important;
}

/* Success */
.cms-text-success {
    color: var(--success) !important;
}
.cms-bg-success {
    background-color: var(--success) !important;
}
.cms-bg-success-light {
    background-color: rgba(76, 175, 80, 0.1) !important;
}

/* Gradients */
.cms-gradient-primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%) !important;
}
.cms-gradient-primary-light {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(38, 198, 218, 0.1) 100%) !important;
}

/* Typography */
.cms-h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.cms-h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.cms-h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.cms-h4 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.cms-h5 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 8px;
}

.cms-body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 8px;
}

.cms-small {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Links */
.cms-link {
    text-decoration: none;
    transition: all 200ms ease;
}

.cms-link:hover {
    text-decoration: underline;
}

/* Buttons */
.cms-btn {
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 200ms ease;
    display: inline-block;
    text-align: center;
}

.cms-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cms-btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Cards */
.cms-card {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 32px;
    transition: all 300ms ease;
    background: var(--white);
}

.cms-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    transform: translateY(-8px);
}

/* Form Elements */
.cms-form-control {
    display: block;
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--dark-gray);
    background-color: var(--white);
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    transition: all 200ms ease;
    box-sizing: border-box;
}

.cms-form-control:hover {
    border-color: var(--brand-primary);
}

.cms-form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
    outline: none;
}

.cms-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.cms-form-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 16px;
    font-size: 16px;
    font-family: var(--font-family);
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    resize: vertical;
    transition: all 200ms ease;
    box-sizing: border-box;
}

.cms-form-textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
    outline: none;
}

/* ===== HERO SLIDER STYLES ===== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.5) 0%, rgba(30, 136, 229, 0.4) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-slide-content h1 {
    color: white !important;
}

.hero-slide-content p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-slide-content a {
    color: white !important;
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 300ms ease;
    border: none;
}

.hero-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.hero-dot:hover {
    background: rgba(255,255,255,0.8);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 16px;
}

.feature-description {
    font-size: 16px;
    color: var(--brand-neutral);
    line-height: 1.7;
}

/* ===== SECTION STYLES ===== */
.section-light {
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(38, 198, 218, 0.1) 100%);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--brand-neutral);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== CONTACT FORM ===== */
.contact-section {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-primary) 100%);
}

.contact-form {
    background: var(--white);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* ===== SPLIT PANEL SECTIONS ===== */
.split-section-wrapper {
    overflow: hidden;
}

.split-section-intro {
    padding: 80px 24px;
}

.split-panel {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (min-width: 1024px) {
    .split-panel {
        flex-direction: row;
    }
}

.split-panel-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background-color: var(--white);
}

@media (min-width: 1024px) {
    .split-panel-content {
        flex: 0 0 50%;
        padding: 80px 80px;
    }
}

.split-content-inner {
    max-width: 500px;
}

.split-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgba(30, 136, 229, 0.3);
}

.split-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.split-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

@media (min-width: 1024px) {
    .split-title {
        font-size: 44px;
    }
}

.split-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.split-cta {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 300ms ease;
}

.split-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.split-panel-image {
    flex: 1;
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .split-panel-image {
        flex: 0 0 50%;
        min-height: auto;
    }
}

.split-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.split-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.1) 0%, rgba(30, 136, 229, 0.1) 100%);
    pointer-events: none;
}

/* Reverse layout for alternating panels */
@media (min-width: 1024px) {
    .split-panel-reverse {
        flex-direction: row-reverse;
    }

    .split-panel-reverse .split-panel-content {
        background-color: var(--light-gray);
    }
}

/* Alternate background colors */
.split-panel:nth-child(odd) .split-panel-content {
    background-color: var(--white);
}

.split-panel:nth-child(even) .split-panel-content {
    background-color: var(--light-gray);
}

/* ===== FOOTER ===== */
.advanze-footer {
    background: var(--brand-dark);
    color: var(--white);
}

.footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 200ms ease;
}

.footer-link:hover {
    color: var(--brand-accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .cms-h1 {
        font-size: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    .hero-slider {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .cms-h1 {
        font-size: 32px;
    }

    .cms-h2 {
        font-size: 28px;
    }

    .cms-h3 {
        font-size: 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .hero-slider {
        min-height: 450px;
    }

    /* Split panel mobile styles */
    .split-section-intro {
        padding: 60px 20px;
    }

    .split-panel {
        min-height: auto;
    }

    .split-panel-content {
        padding: 50px 24px;
    }

    .split-title {
        font-size: 28px;
    }

    .split-description {
        font-size: 16px;
    }

    .split-panel-image {
        min-height: 300px;
    }

    .split-icon {
        width: 64px;
        height: 64px;
    }

    .split-icon svg {
        width: 32px;
        height: 32px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* faster-motion will handle initial states via data-motion attributes */
