
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.gradient-bg {
    background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-pattern {
    background-color: #fef2f2;
    opacity: 0.8;
    background-image: radial-gradient(#ef4444 0.5px, transparent 0.5px), radial-gradient(#ef4444 0.5px, #fef2f2 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.nav-shadow {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.sticky-nav {
    transition: all 0.4s ease;
}

.sticky-nav.scrolled {
    top: 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-menu {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
    transform: translateX(100%);
    opacity: 0;
    display: none;
}

.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    display: flex;
}

.menu-item {
    position: relative;
    padding-bottom: 4px;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ef4444;
    transition: width 0.3s ease;
}

.menu-item:hover::after {
    width: 100%;
}

.carousel-slide {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide.active {
    opacity: 1;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.carousel-dot {
    transition: all 0.3s ease;
    width: 12px;
    height: 12px;
}

.carousel-dot.active {
    width: 36px;
    background-color: #ef4444;
    border-radius: 8px;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.logo-container {
    transition: all 0.3s ease;
}

.logo-container.scrolled {
    transform: scale(0.9);
}

.top-bar-triangle {
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
}

/* Centered carousel content */
.carousel-content {
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .top-bar-grid {
        display: flex;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .top-bar-right, .top-bar-center {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .enroll-cta {
        display: none !important;
    }
}


