/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Poppins:wght@500;600;700&display=swap');

:root {
    --primary: #030344;
    /* Navy from Brand Guide */
    --secondary: #cc922f;
    /* Gold from Brand Guide */
    --pastel-01: #ceaf82;
    --pastel-02: #e2cfb3;
    --pastel-03: #5d5d82;
    --pastel-04: #6e6e87;
}

body {
    font-family: 'Inter', sans-serif;
    /* Fallback for Avenir LT Light */
    font-weight: 300;
}

html,
body {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
.brand-heading {
    font-family: 'Poppins', sans-serif;
    /* Closest web alternative to Gunterz/Poppins Semibold */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.subheading {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

/* Hero Typing Effect */
.typing-container {
    display: inline-block;
    border-right: 3px solid var(--secondary);
    white-space: pre-wrap;
    overflow: hidden;
    animation: blink 0.75s step-end infinite;
    min-width: 4px;
    text-align: left;
    vertical-align: bottom;
}

@keyframes blink {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--secondary);
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Service Card Styles */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: white;
}

.service-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
    /* 60% opacity as requested */
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-bg {
    transform: scale(1.1);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    /* Frosted by default to keep text clear */
    backdrop-filter: blur(4px);
    z-index: 2;
    transition: all 0.5s ease;
}

.service-card:hover .service-card-overlay {
    background: rgba(255, 255, 255, 0.5);
    /* Clearer on hover */
    backdrop-filter: blur(2px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(3, 3, 68, 0.15);
}

.service-card .relative.z-10 {
    position: relative;
    z-index: 10;
}

/* Sticky Header Control */
header {
    transition: all 0.3s ease;
}

.scrolled-header {
    padding: 0.25rem 0 !important;
    box-shadow: 0 10px 15px -3px rgba(3, 3, 68, 0.1);
}

/* Page Transitions */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

/* Carousel Styles */
.carousel-item {
    display: none;
}

.carousel-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--pastel-02);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}