/* ====================================== */
/* ANGELS TOUCH HEALTHCARE - BRAND SYSTEM */
/* Professional Healthcare Branding */
/* ====================================== */

/* Import Professional Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ====================================== */
/* BRAND COLOR SYSTEM */
/* ====================================== */

:root {
    /* Primary Healthcare Colors */
    --primary-teal: #1E71B8;
    /* Angels Blue - Main Brand */
    --primary-navy: #0A2540;
    /* Deep Navy - Text & Accents */
    --primary-coral: #E6438F;
    /* Touch Pink - Accent & Compassion */
    --primary-sage: #87AE73;
    /* Calming sage green */

    /* Secondary Colors */
    --secondary-light-teal: #E8F4FF;
    /* Sky Light - Backgrounds */
    --secondary-cream: #FFF8F0;
    /* Warm cream */
    --secondary-lavender: #E8E4F3;
    /* Soft lavender */
    --secondary-peach: #FFE5D9;
    /* Gentle peach */

    /* Neutral Colors */
    --neutral-dark: #2C3E50;
    /* Professional dark text */
    --neutral-medium: #5A6C7D;
    /* Medium gray text */
    --neutral-light: #95A5A6;
    /* Light gray */
    --neutral-bg: #F8FAFB;
    /* Off-white background */
    --white: #FFFFFF;

    /* Accent Colors */
    --accent-gold: #D4AF37;
    /* Premium gold */
    --accent-success: #27AE60;
    /* Success green */
    --accent-warning: #F39C12;
    /* Warning orange */
    --accent-error: #E74C3C;
    /* Error red */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-navy) 100%);
    --gradient-warm: linear-gradient(135deg, var(--primary-coral) 0%, var(--accent-gold) 100%);
    --gradient-calm: linear-gradient(135deg, var(--primary-sage) 0%, var(--primary-teal) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(10, 37, 64, 0.95) 0%, rgba(30, 113, 184, 0.85) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.20);

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====================================== */
/* TYPOGRAPHY SYSTEM */
/* ====================================== */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--neutral-dark);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Body Text */
p {
    margin-bottom: 1.25rem;
    color: var(--neutral-medium);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--neutral-medium);
}

.small-text {
    font-size: 0.875rem;
    line-height: 1.6;
}

.tiny-text {
    font-size: 0.75rem;
    line-height: 1.5;
}

/* Text Utilities */
.text-primary {
    color: var(--primary-teal) !important;
}

.text-navy {
    color: var(--primary-navy) !important;
}

.text-coral {
    color: var(--primary-coral) !important;
}

.text-sage {
    color: var(--primary-sage) !important;
}

.text-gold {
    color: var(--accent-gold) !important;
}

.text-muted {
    color: var(--neutral-light) !important;
}

.text-white {
    color: var(--white) !important;
}

.font-weight-light {
    font-weight: 300;
}

.font-weight-normal {
    font-weight: 400;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-semibold {
    font-weight: 600;
}

.font-weight-bold {
    font-weight: 700;
}

.font-weight-extrabold {
    font-weight: 800;
}

/* Links */
a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: var(--transition-base);
    font-weight: 500;
}

a:hover {
    color: var(--primary-coral);
    text-decoration: none;
}

a:focus {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
}

/* ====================================== */
/* BUTTON SYSTEM */
/* ====================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.98);
}

/* Button Variants */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-coral {
    background: var(--gradient-warm);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-coral:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-sage {
    background: var(--gradient-calm);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-sage:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
}

.btn-white {
    background: var(--white);
    color: var(--primary-navy);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--neutral-bg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Button Sizes */
.btn-sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
}

/* ====================================== */
/* CARD SYSTEM */
/* ====================================== */

.card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-header {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--neutral-bg);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 1rem;
    color: var(--neutral-medium);
    font-weight: 400;
}

.card-body {
    padding: 0;
}

.card-footer {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 2px solid var(--neutral-bg);
}

/* Card Variants */
.card-teal {
    background: var(--gradient-primary);
    color: var(--white);
}

.card-teal h1,
.card-teal h2,
.card-teal h3,
.card-teal h4,
.card-teal h5,
.card-teal h6,
.card-teal p {
    color: var(--white);
}

.card-coral {
    background: var(--gradient-warm);
    color: var(--white);
}

.card-coral h1,
.card-coral h2,
.card-coral h3,
.card-coral h4,
.card-coral h5,
.card-coral h6,
.card-coral p {
    color: var(--white);
}

/* ====================================== */
/* BADGE SYSTEM */
/* ====================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: var(--secondary-light-teal);
    color: var(--primary-teal);
}

.badge-coral {
    background: var(--secondary-peach);
    color: var(--primary-coral);
}

.badge-sage {
    background: rgba(135, 174, 115, 0.2);
    color: var(--primary-sage);
}

.badge-gold {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
}

.badge-success {
    background: rgba(39, 174, 96, 0.2);
    color: var(--accent-success);
}

/* ====================================== */
/* ICON SYSTEM */
/* ====================================== */

.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2rem;
    transition: var(--transition-base);
}

.icon-box-teal {
    background: var(--secondary-light-teal);
    color: var(--primary-teal);
}

.icon-box-coral {
    background: var(--secondary-peach);
    color: var(--primary-coral);
}

.icon-box-sage {
    background: rgba(135, 174, 115, 0.2);
    color: var(--primary-sage);
}

.icon-box-navy {
    background: rgba(27, 58, 82, 0.1);
    color: var(--primary-navy);
}

.icon-box:hover {
    transform: rotate(360deg) scale(1.1);
}

/* ====================================== */
/* SECTION BACKGROUNDS */
/* ====================================== */

.bg-white {
    background: var(--white);
}

.bg-neutral {
    background: var(--neutral-bg);
}

.bg-cream {
    background: var(--secondary-cream);
}

.bg-lavender {
    background: var(--secondary-lavender);
}

.bg-light-teal {
    background: var(--secondary-light-teal);
}

.bg-gradient-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.bg-gradient-warm {
    background: var(--gradient-warm);
    color: var(--white);
}

.bg-gradient-calm {
    background: var(--gradient-calm);
    color: var(--white);
}

/* ====================================== */
/* SPACING SYSTEM */
/* ====================================== */

.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0;
}

.section-xl {
    padding: 10rem 0;
}

/* ====================================== */
/* BORDER SYSTEM */
/* ====================================== */

.border-radius-sm {
    border-radius: 8px;
}

.border-radius-md {
    border-radius: 12px;
}

.border-radius-lg {
    border-radius: 16px;
}

.border-radius-xl {
    border-radius: 24px;
}

.border-radius-full {
    border-radius: 50%;
}

.border-radius-pill {
    border-radius: 50px;
}

/* ====================================== */
/* RESPONSIVE TYPOGRAPHY */
/* ====================================== */

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    p {
        font-size: 1rem;
    }

    .lead {
        font-size: 1.125rem;
    }

    .section {
        padding: 3rem 0;
    }

    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
    }
}

/* ====================================== */
/* PROFESSIONAL ENHANCEMENTS */
/* ====================================== */

/* Selection Color */
::selection {
    background: var(--primary-teal);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-teal);
    color: var(--white);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Visible */
*:focus-visible {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
}

/* Disabled State */
.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Loading State */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid var(--white);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}