/* Base styles shared across all pages */
:root {
    --dark-blue: #1E3A5F;
    --testimonial-blue: #E0EEF9;
    --white: #FFFFFF;
    --pink: #F28BD7;
    --font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family);
    overflow-x: hidden;
    max-width: 100vw;
}

.relative {
    position: relative;
}

.flex-container {
    display: flex;
}

.flex-center {
    justify-content: center;
}

.flex-space-around {
    justify-content: space-around;
}


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 96px;
}

.header-logo {
    height: 60px;
    width: auto;
}

.desktop-nav-links {
    display: none;
    align-items: center;
}

.desktop-nav-links > a + a {
    margin-left: 2.5rem;
}

.desktop-nav-links a {
    font-weight: 500;
    color: var(--dark-blue);
    text-decoration: none;
    transition: opacity 0.2s ease-in-out;
}

.desktop-nav-links a:hover {
    opacity: 0.75;
}

.mobile-menu-button-wrapper {
    display: block;
}

.mobile-menu-button {
    width: 2rem;
    height: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-blue);
}

/* Typography */
h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

h3 {
    font-size: 24px;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary,
.btn-secondary {
    background-color: var(--dark-blue);
    color: var(--white);
}

@media (min-width: 1024px) {  /* Changed from 768px */
    .desktop-nav-links {
        display: flex;
    }
    
    .mobile-menu-button-wrapper {
        display: none;
    }
}


@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    
    .mobile-menu-button-wrapper {
        display: block;
    }

}


.mobile-menu-checkbox {
    display: none;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white);
    padding: 100px 30px 30px;
    z-index: 49;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease-in-out, visibility 0.3s;
}

.mobile-nav-links a {
    color: var(--dark-blue);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.mobile-nav-links a:hover {
    background-color: #f3f4f6;
}

.mobile-menu-checkbox:checked~.mobile-nav-links {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu-checkbox:checked~.mobile-menu-button .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-checkbox:checked~.mobile-menu-button .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-checkbox:checked~.mobile-menu-button .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-button {
    width: 2rem;
    height: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center; /* FIX for X icon */
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 51;
}


