*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --midnight: #0F172A;
    --mint: #70C1B3;
    --white: #FFFFFF;
    --slate-100: #F8FAFA;
    --slate-200: #E2E8F0;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
}

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

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    color: var(--midnight);
    background: var(--white);
    overflow-x: hidden;
}

.font-\[Cormorant_Garamond\] {
    font-family: 'Cormorant Garamond', serif;
}

.font-\[Manrope\] {
    font-family: 'Manrope', sans-serif;
}

/* Loader */
#loader {
    opacity: 1;
}

#loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--mint);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu-btn span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

#mobile-menu-btn span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Hero animations */
.hero-subtitle {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
    transform: translateY(30px);
}

.hero-desc {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 1.1s;
    opacity: 0;
    transform: translateY(20px);
}

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

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--white);
}

::-webkit-scrollbar-thumb {
    background: var(--mint);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--midnight);
}

/* Selection */
::selection {
    background: var(--mint);
    color: var(--white);
}

/* Select styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

/* Focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
}

/* Responsive */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .hero-title {
        font-size: 3.5rem !important;
    }
}

@media (max-width: 640px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 2.75rem !important;
    }
}
