@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* User Palette */
    --primary: #2b4865;
    --primary-light: #284562;
    --secondary: #122841;
    /* Darkest Navy */
    --dark: #000000;
    --gray-dark: #8c8e8e;
    --gray: #bebebe;
    --gray-light: #cccccb;
    --white: #ffffff;

    /* Variables */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-sm: 0 10px 30px rgba(18, 40, 65, 0.05);
    --shadow-lg: 0 30px 60px rgba(18, 40, 65, 0.12);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.7;
    background-color: #fcfcfc;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Utility */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-white {
    color: var(--white);
}

.italic {
    font-style: italic;
    font-weight: 400;
}

/* Layout & Container */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 25px;
}

.section-padding {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h4 {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title h2 {
    font-size: 3.5rem;
    position: relative;
    display: inline-block;
    color: var(--secondary);
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--secondary);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    color: var(--white);
    border-color: var(--secondary);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary);
    border-color: var(--gray);
}

.btn-outline:hover {
    color: var(--white);
    border-color: var(--secondary);
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    color: var(--secondary);
    background-color: var(--white);
    border-color: var(--white);
}

.btn-outline-white::before {
    background-color: var(--white);
}

/* Topbar */
.topbar {
    background-color: var(--secondary);
    color: var(--gray-light);
    font-size: 0.8rem;
    padding: 10px 0;
    letter-spacing: 1px;
    font-family: var(--font-body);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-info span {
    margin-right: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topbar-info i {
    color: var(--gray);
}

.topbar-social a {
    color: var(--gray-light);
    margin-left: 20px;
    transition: var(--transition);
}

.topbar-social a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(140, 142, 142, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(18, 40, 65, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text h1 {
    font-size: 1.6rem;
    color: var(--secondary);
    margin: 0;
    line-height: 1;
    letter-spacing: 1px;
}

.logo-text h1 span {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--gray-dark);
}

.logo-text p {
    font-size: 0.7rem;
    color: var(--gray-dark);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-body);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a.nav-item {
    font-weight: 500;
    color: var(--secondary);
    position: relative;
    padding: 8px 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-body);
}

.nav-links a.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a.nav-item:hover::before,
.nav-links a.nav-item.active::before {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
    background: none;
    border: none;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: var(--gray-light);
    padding: 100px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: 'M';
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 400px;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col p {
    color: var(--gray-light);
    font-weight: 300;
    line-height: 1.8;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.footer-col p,
.footer-col li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.95rem;
}

.footer-col i {
    margin-top: 5px;
    color: var(--gray);
    font-size: 1.1rem;
}

.footer-links li a {
    color: var(--gray-light);
    transition: var(--transition);
    position: relative;
}

.footer-links li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--gray-dark);
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
}

/* Background CTA Section */
.cta-section {
    padding: 60px 0 100px;
    background-color: transparent;
}

.cta-box {
    background: var(--white);
    padding: 50px 40px 70px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 15px 40px rgba(18, 40, 65, 0.08);
}

.cta-box>* {
    position: relative;
    z-index: 2;
}

.btn-white-solid {
    background-color: var(--white);
    color: var(--secondary);
    border-color: var(--white);
}

.btn-white-solid:hover {
    color: var(--white);
    background-color: transparent;
    border-color: var(--white);
}

.btn-white-solid::before {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Page Header */
.page-header {
    background: var(--secondary);
    padding: 120px 0 100px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 72, 101, 0.2) 0%, rgba(18, 40, 65, 0.9) 100%);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: 400;
}

/* Animations */
.fade-in-up,
.fade-in-down,
.fade-in-left,
.fade-in-right,
.zoom-in {
    opacity: 0;
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-up {
    transform: translateY(50px);
}

.fade-in-down {
    transform: translateY(-50px);
}

.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-right {
    transform: translateX(50px);
}

.zoom-in {
    transform: scale(0.9);
}

.fade-in-up.visible,
.fade-in-down.visible,
.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

.delay-1 {
    transition-delay: 0.2s;
    animation-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
    animation-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
    animation-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
    animation-delay: 0.8s;
}

/* Responsive */
@media (max-width: 1440px) {
    .nav-container {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .topbar-info span {
        margin-right: 15px;
    }

    .container {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .nav-links a.nav-item {
        font-size: 0.85rem;
    }

    .section-padding {
        padding: 80px 0;
    }

    .logo-text h1 {
        font-size: 1.3rem;
    }

    .btn {
        padding: 14px 28px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 20px;
        align-items: flex-start;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .topbar {
        display: none;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 3rem;
    }

    .cta-box {
        padding: 40px 20px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .footer-logo h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 60px 0;
    }

    .page-header {
        padding: 100px 0 80px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .cta-box {
        padding: 30px 15px;
    }
}

@media (max-width: 375px) {
    .logo-text h1 {
        font-size: 1.1rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .footer-col h3 {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}