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

html {
    scroll-behavior: smooth;
}

body { 
    font-family: 'Inter', sans-serif; 
    -webkit-tap-highlight-color: transparent; 
}

/* Custom Scrollbar for consistent look */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9; 
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; 
}

/* Page Load Animation */
.page-enter { 
    animation: fadeIn 0.5s ease-out forwards; 
}
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(15px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Nav Link Animation */
.nav-link { 
    position: relative; 
}
.nav-link::after { 
    content: ''; 
    position: absolute; 
    width: 0; 
    height: 2px; 
    bottom: 0; 
    left: 50%; 
    background-color: #047857; 
    transition: all 0.3s ease-in-out; 
}
.nav-link:hover::after, .nav-link.active::after { 
    width: 100%; 
    left: 0; 
}
.nav-link.active { 
    color: #047857; 
    font-weight: 700; 
}

/* Mobile Menu Animation */
#mobile-menu { 
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out; 
    max-height: 0; 
    opacity: 0; 
    overflow: hidden; 
}
#mobile-menu.open { 
    max-height: 400px; 
    opacity: 1; 
}

/* Custom Utilities */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #047857 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Modal Styles */
.modal {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.modal .modal-content {
    transform: scale(0.95);
    transition: transform 0.3s ease-in-out;
}
.modal.open .modal-content {
    transform: scale(1);
}
