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


/* Modern Color Variables and Custom Properties */
:root {
    --primary: #164B59;
    --primary-dark: #0d3640;
    --primary-light: #1d5e70;
    --secondary: #DED8CA;
    --secondary-dark: #c9c0ae;
    --accent: #2860a0;
    --accent-light: #6778d6;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.16);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* Base Styles with Improved Typography */

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    -webkit-text-size-adjust: 100%;
    background-color: var(--secondary);
    background-image: linear-gradient(to bottom, #e5e0d5, var(--secondary-dark));
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h1::after {
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

/* Enhanced Navigation Styles */
nav {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    /* padding: 0.75rem 0; */
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 1rem;
}

nav ul li a,
nav ul li form button {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: block;
    transition: all var(--transition-fast);
    font-weight: 500;
    position: relative;
    letter-spacing: 0.2px;
}

nav ul li a::after,
nav ul li form button::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-light);
    transition: all var(--transition-medium);
    transform: translateX(-50%);
}

nav ul li a:hover::after,
nav ul li form button:hover::after {
    width: 80%;
}

nav ul li a:hover,
nav ul li form button:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

nav ul li img {
    height: 100px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

nav ul li form {
    margin: 0;
    padding: 0;
}

nav ul li form button {
    background: none;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: inherit;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

@media (max-width: 768px) {
    nav ul li {
        width: 100%;
        text-align: center;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


@keyframes timerPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes sparkle {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 1;
    }
}