@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --primary-blue: #2563EB;
    --secondary-blue: #EFF6FF;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --bg-light: #F8FAFC;
    --accent-green: #10B981;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

.hero-bg {
    background: #020024;
    background: linear-gradient(12deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
}

.light-blue {
    background-color: #edf3ff;
}

.light-yellow {
    background-color: #fcffd5;
}


/* Custom Component Styles (Restored) */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

/* Navigation */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

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

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

.mobile-link {
    text-decoration: none;
}

/* Footer & Lists */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* Floating Animation */
@keyframes float-y {

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

    50% {
        transform: translateY(-20px);
    }
}

.animate-float-y {
    animation: float-y 6s ease-in-out infinite;
}

.animate-float-y-delayed {
    animation: float-y 8s ease-in-out infinite;
    animation-delay: 1s;
}

/* Arch Shape Utility */
.arch-mask {
    border-radius: 300px 300px 20px 20px;
}

.why-school-bg {
    background: url(../assets/images/fd.jpg);
    background-size: cover;
    background-position: center;
}

.inner-header {
    background-color: #0e172a;
}

/* Mobile Menu Active State */
#mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Menu Toggle Animation */
.menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(0px, 1px);
}

.menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -6px);
}

.m-menu-bg {
    background-color: rgb(238 255 62);
}