/* ==========================================
   CSS Variables - Colors, Fonts, Transitions
   ========================================== */

:root {
    /* Colors */
    --color-white: #ffffff;
    --color-off-white: #f8f9fa;
    --color-light-grey: #e8ecf0;
    --color-navy: #2d4a7c;
    --color-navy-dark: #1a2b4a;
    --color-blue-accent: #4a90e2;
    --color-blue-light: #7eb3e8;
    --color-text-dark: #2d4a7c;
    --color-text-grey: #4a6899;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
}

/* ==========================================
   Base Styles
   ========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   Shared Section Styles
   ========================================== */

section {
    padding: 8rem 5%;
    position: relative;
}

.section-label {
    font-size: 0.85rem;
    color: var(--color-blue-accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 3rem;
    line-height: 1.2;
}

/* ==========================================
   Scroll Animation Classes
   ========================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.5; 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1); 
        opacity: 0.8; 
    }
}