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

:root {
    --primary: #003366;
    --primary-dark: #002244;
    --secondary: #10B981; /* Emerald Green */
    --accent: #F59E0B;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.glass-navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Gradients */
.bg-gradient-premium {
    background: linear-gradient(135deg, var(--primary) 0%, #004e92 100%);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Ensure all AOS elements are contained */
[data-aos] {
    max-width: 100vw;
}

/* Swiper Custom */
.swiper-button-next, .swiper-button-prev {
    color: var(--secondary) !important;
}

.swiper-pagination-bullet-active {
    background: var(--secondary) !important;
}

/* Scroll Progress */
#scroll-to-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* FAQ Accordion */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-content {
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    transform-origin: top;
}

#mobile-menu.hidden {
    display: none;
    opacity: 0;
    transform: scaleY(0);
}

#mobile-menu:not(.hidden) {
    display: block;
    opacity: 1;
    transform: scaleY(1);
}

/* Responsiveness Fixes */
@media (max-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    h1 {
        font-size: 2.25rem !important;
        line-height: 2.5rem !important;
    }
    
    .hero-swiper {
        height: 500px !important;
    }
}

@media (max-width: 360px) {
    .font-heading.text-lg {
        font-size: 1rem !important;
    }
    
    .text-\[10px\] {
        font-size: 8px !important;
    }
}

footer p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

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