:root {
    /* Premium Blue Palette */
    --primary-blue: #0f3460;
    --secondary-blue: #1e4a72;
    --accent-blue: #2e5a85;
    --light-blue: #e8f2ff;
    --navy: #0a2342;
    --white: #ffffff;
    --dark: #1a1a1a;
    --grey: #666666;
    --light-grey: #f8f9fa;
    --gold: #d4a853;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy);
}

/* ========================================
   LOADING SCREEN
   ======================================== */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--navy));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: var(--white);
}

.loading-text {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

.loading-signature {
    font-size: 1rem;
    opacity: 0.8;
    font-style: italic;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(15, 52, 96, 0.1);
}

#header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--secondary-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/backgrounds/hero-background.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(15, 52, 96, 0.4) 0%, 
        rgba(30, 74, 114, 0.3) 50%, 
        rgba(46, 90, 133, 0.2) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.5;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.9s both;
}

.cta-primary,
.cta-secondary {
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-primary {
    background: var(--gold);
    color: var(--navy);
    border: 2px solid var(--gold);
}

.cta-primary:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 168, 83, 0.3);
}

.cta-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ========================================
   APPROACH SECTION
   ======================================== */

.approach-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(255, 255, 255, 0.95) 100%);
    position: relative;
}

.approach-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e8f2ff" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.6;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--navy);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--grey);
    max-width: 600px;
    margin: 0 auto;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.approach-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 52, 96, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 52, 96, 0.1);
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(15, 52, 96, 0.15);
}

.approach-card h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-blue);
    font-family: 'Playfair Display', serif;
}

.approach-card p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--dark);
}

.approach-card p:last-child {
    margin-bottom: 0;
}

.approach-card strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ========================================
   TEAM SECTION
   ======================================== */

.team-section {
    padding: 120px 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 50px;
    border-radius: 20px;
    color: var(--white);
    box-shadow: 0 20px 60px rgba(15, 52, 96, 0.2);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(15, 52, 96, 0.25);
}

.member-info h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--white);
}

.member-role {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 30px;
}

.member-bio {
    line-height: 1.8;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--dark);
    font-size: 1.1rem;
}

.contact-form-container {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 52, 96, 0.1);
}

.form-group {
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(15, 52, 96, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.submit-btn {
    background: var(--primary-blue);
    color: var(--white);
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 52, 96, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--navy);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.footer-brand p {
    color: var(--gold);
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .approach-card {
        padding: 30px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-container {
        padding: 30px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-member {
        padding: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}