/* FONTS */
@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/Space_Grotesk/static/SpaceGrotesk-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/Space_Grotesk/static/SpaceGrotesk-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --primary-pink: #07393b;
    /* Darkest teal - primary brand color */
    --secondary-purple: #2e6a6c;
    /* Medium-dark teal - secondary elements */
    --text-dark: #1a1a2e;
    /* Keep dark text for readability */
    --text-light: #666;
    /* Keep light text */
    --bg-light: #f5f5f5;
    /* Keep light background */
    --white: #ffffff;
    /* Restore to actual white */
    --teal: #64babd;
    /* Lightest teal - accents and highlights */

    /* Global Typography Scale - SIGNIFICANTLY INCREASED */
    --h1-fs: 110px;
    --h2-fs: 84px;
    --h3-fs: 52px;
    --subtitle-fs: 34px;
    --body-fs: 22px;
    --body-lg-fs: 26px;
    --card-title-fs: 32px;
    --card-body-fs: 20px;
    --btn-fs: 20px;
    --nav-fs: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    font-size: var(--body-fs);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-light);
}

h1 {
    font-size: var(--h1-fs);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: var(--h2-fs);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: var(--h3-fs);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h4 {
    font-size: var(--card-title-fs);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    width: 60px;
    height: 60px;
    background: var(--primary-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    /* Ensures text links align with the button */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-pink);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-pink);
}

/* Highlight Contact Button in Nav */
.nav-links li:last-child a {
    background: var(--primary-pink);
    color: var(--white) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(7, 57, 59, 0.2);
}

.nav-links li:last-child a::after {
    display: none;
    /* Remove underline for button style */
}

.nav-links li:last-child a:hover {
    background: var(--secondary-purple);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 57, 59, 0.3);
    color: var(--white) !important;
}

@media (max-width: 968px) {
    .nav-links li:last-child a {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* COMMON BUTTONS */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-primary {
    background: var(--primary-pink);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-purple);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 124, 158, 0.3);
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: var(--h2-fs);
    color: var(--secondary-purple);
    margin-bottom: 2rem;
}

.section-title span {
    color: var(--primary-pink);
}

.section-subtitle {
    color: var(--text-light);
    font-size: var(--subtitle-fs);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-content {
    animation: fadeIn 0.5s ease;
    padding: 2rem 0;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    :root {
        --h1-fs: 56px;
        --h2-fs: 48px;
        --subtitle-fs: 24px;
        --body-fs: 19px;
        --card-title-fs: 24px;
        --card-body-fs: 17px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 576px) {
    :root {
        --h1-fs: 42px;
        --h2-fs: 36px;
        --subtitle-fs: 20px;
        --body-fs: 18px;
        --card-title-fs: 22px;
        --card-body-fs: 16px;
    }
}

/* FOOTER */
footer {
    background: var(--secondary-purple);
    color: var(--white);
    padding: 3rem 5%;
    font-size: 0.9rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    /* White text for contrast on dark bg */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-pink);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-pink);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}