/* 
   ========================================================
   Metro IVF Premium Styling - Main
   ======================================================== 
*/

:root {
    /* Mature Medical Color Palette */
    --primary-slate: #0B1E33;
    --primary-slate-light: #152C46;
    --brand-yellow: #F4C542;
    --brand-yellow-light: #F7D673;
    --yellow-bg: #FDF8EB;
    --champagne-gold: #C89B53;
    --champagne-gold-light: #DFB775;
    --gold-bg: #FAF5EE;
    
    --surface-white: #FFFFFF;
    --surface-offwhite: #F8FAFC;
    --surface-gray: #F1F5F9;
    
    --text-primary: #1E293B;
    --text-muted: #64748B;
    --border-light: rgba(226, 232, 240, 0.8);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(11, 30, 51, 0.05);
    --shadow-elevated: 0 20px 40px -15px rgba(11, 30, 51, 0.1);
    --shadow-glow: 0 10px 30px rgba(244, 197, 66, 0.2);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Layout */
    --nav-height: 85px;
    --container-width: 1240px;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--surface-offwhite);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--surface-offwhite); 
}
::-webkit-scrollbar-thumb {
    background: var(--brand-yellow); 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-slate); 
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-slate);
}

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

.text-primary { color: var(--brand-yellow); }
.text-dark { color: var(--primary-slate); }
.text-white { color: var(--surface-white); }
.text-gold { color: var(--champagne-gold); }
.text-center { text-align: center; }

.text-gradient {
    background: linear-gradient(135deg, var(--brand-yellow), var(--primary-slate-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-gold {
    background: linear-gradient(135deg, var(--champagne-gold), #A47A3B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Spacing Utilities */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.relative { position: relative; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    gap: 8px;
}

.btn-primary {
    background-color: var(--brand-yellow);
    color: var(--surface-white);
    box-shadow: 0 4px 15px rgba(244, 197, 66, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-slate);
    box-shadow: 0 8px 25px rgba(11, 30, 51, 0.25);
    transform: translateY(-2px);
    color: var(--surface-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-slate);
    border: 1.5px solid var(--border-light);
}
.btn-secondary:hover {
    background-color: var(--surface-gray);
    border-color: var(--primary-slate);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--surface-white);
    color: var(--brand-yellow);
    box-shadow: var(--shadow-soft);
}
.btn-white:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

/* Glassmorphism utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}
.glass-card:hover {
    box-shadow: var(--shadow-elevated);
    border-color: var(--champagne-gold-light);
    transform: translateY(-4px);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--surface-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease;
}
.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.pulse-logo {
    width: 60px;
    animation: heartbeat 2.5s infinite;
}
@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Utility Animations */
.reveal-text, .reveal-up {
    opacity: 0;
    transform: translateY(30px);
}

.hover-tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}
