/* =====================================================
KIDVEDA PRESCHOOL STYLE.CSS
===================================================== */

/* =========================
GOOGLE FONT
========================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================
ROOT VARIABLES
========================= */

:root {
    --primary: #2D2EA8;
    --secondary: #FF5B1A;
    --green: #16A34A;
    --yellow: #FFC928;
    --text: #222222;
    --light: #f8fbff;
    --white: #ffffff;
    --shadow:
        0 10px 35px rgba(0, 0, 0, .08);
    --shadow-hover:
        0 20px 40px rgba(0, 0, 0, .15);
    --radius: 24px;
    --transition: .35s ease;
}

/* =========================
RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: var(--text);
    background: #ffffff;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(92%, 1400px);
    margin: auto;
}

/* =====================================================
HEADER
===================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.nav-wrapper {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================
LOGO
========================= */

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 82px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.03);
}

/* =========================
NAVIGATION
========================= */

.navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-menu a {
    position: relative;
    color: #333;
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--secondary);
}

.nav-menu a.active {
    color: var(--secondary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: .3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* =========================
ADMISSION BUTTON
========================= */

.admission-btn {
    background: linear-gradient(135deg,#ff7b26,#ff4f16);
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(255, 91, 26, .25);
}

.admission-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(255, 91, 26, .4);
}

/* =========================
MOBILE TOGGLE
========================= */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

/* =========================
BUTTONS
========================= */

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn {
    position: relative;
    overflow: hidden;
    border: none;
    padding: 16px 28px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    transition: .6s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.btn-visit {
    background: linear-gradient(135deg, #ff6a22, #ff4d12);
}

.btn-admission {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* =====================================================
SECTION HEADING
===================================================== */

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 60px;
    text-align: center;
}

.section-heading h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary);
}

.heading-line {
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--yellow));
    border-radius: 20px;
}

/* =====================================================
CTA SECTION
===================================================== */

.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, #2D2EA8, #4447d4);
    border-radius: 35px;
    padding: 70px;
    text-align: center;
    color: #fff;
}

.cta-box h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-box p {
    max-width: 700px;
    margin: auto auto 35px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s ease;
}

.primary-btn {
    background: #FF6A22;
    color: #fff;
}

.secondary-btn {
    background: #fff;
    color: #2D2EA8;
}

.cta-btn:hover {
    transform: translateY(-5px);
}

/* =====================================================
FOOTER
===================================================== */

.footer {
    background: #1b1c64;
    color: #fff;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 30px;
}

.footer-column h3 {
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.footer-column a {
    color: #fff;
    transition: .3s ease;
}

.footer-column a:hover {
    color: #FFC928;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top:
        1px solid rgba(255, 255, 255, .15);
}

/* =====================================================
BACK TO TOP
===================================================== */

#backToTop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #FF6A22;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-5px);
}

@keyframes floatLogo {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}