/* ===============================
   YAGNIK EDUCATION GLOBAL THEME
================================ */

:root {

    /* ===== BRAND COLORS ===== */
    --color-primary: #0248b8;        /* Main Blue */
    --color-primary-dark:#0248b8b5;
    --color-primary-deep: #0248b8;
    --color-primary-soft: #dcfce7;

    --color-secondary: #facc15;      /* Gold / Highlight */

    /* ===== TITLES ===== */
    --color-title: #000000;          /* Main Title Black */
    --color-title-accent: #ffd54f;   /* Title Highlight if needed */

    /* ===== TEXT COLORS ===== */
    --color-text-main: #333333;
    --color-text-soft: #6b7280;
    --color-text-light: #ffffff;
    --color-text-dark: #000000;

    /* ===== SURFACES / BACKGROUNDS ===== */
    --surface-main: #ffffff;
    --surface-section: #f0fdf4;
    --surface-glass: rgba(0, 0, 0, .35);
    --surface-border: rgba(255, 255, 255, .15);

    /* ===== SHADOWS ===== */
    --shadow-soft: 0 0.25rem 0.875rem rgba(22, 163, 74, .25);
    --shadow-strong: 0 0.5rem 1.25rem rgba(22, 163, 74, .35);

    /* ===== RADIUS ===== */
    --radius-sm: 0.625rem;
    --radius-md: 0.875rem;
    --radius-lg: 1.25rem;
    --radius-full: 999px;

    /* ===== MOTION ===== */
    --motion-fast: .3s ease;

    /* ===== TYPOGRAPHY ===== */
    --font-main: 'Poppins', sans-serif;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
}


/* ===============================
   HERO SECTION
================================ */

.hero-overlay {
    background: linear-gradient(to right,
            rgba(0, 0, 0, .65)0%,
            rgba(0, 0, 0, .45)35%,
            rgba(0, 0, 0, .2)60%,
            rgba(0, 0, 0, .05)100%);
}

#home h1 {
    letter-spacing: -0.0625rem;
    /* -1px */
    line-height: 1.15;
}

/* ===============================
   TRUST BADGES
================================ */

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-full);
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    color: var(--color-text-light);
    font-size: 15px;
    border: 1px solid var(--surface-border);
    transition: var(--motion-fast);
}

.trust-badge:hover {
    background: rgba(0, 0, 0, .5);
    transform: translateY(-0.125rem);
    /* -2px */
}



/* ===============================
   BUTTONS
================================ */

.btn-primary {
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 1rem 2rem;
    /* 16px 32px */
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    transition: var(--motion-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    /* keep px (better animation) */
    box-shadow: var(--shadow-strong);
}

.btn-secondary {
    background: var(--color-text-light);
    color: var(--color-primary);
    padding: 0.875rem 2rem;
    /* 14px 32px */
    border-radius: 0.75rem;
    /* 12px */
    font-weight: 600;
    border: 0.125rem solid var(--color-text-light);
    /* 2px */
}



.btn-gold {
    background: var(--color-secondary);
    color: #000;
    padding: 0.875rem 2rem;
    /* 14px 32px */
    border-radius: 0.75rem;
    font-weight: 600;
}

.btn-gold:hover {
    background: #eab308;
}

.btn-apply {
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 0.75rem 1.75rem;
    /* 12px 28px */
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-soft);
}

.btn-apply:hover {
    box-shadow: var(--shadow-strong);
}

/* ===============================
   NAV LINKS
================================ */

.nav-link {
    padding: 0.625rem 0.9375rem;
    /* 10px 15px */
    border-radius: var(--radius-sm);
    color: var(--color-text-main);
    transition: var(--motion-fast);
}

.nav-link:hover {
    color: var(--color-primary);
    background: var(--color-primary-soft);
}


/* ===============================
   SCROLL MOUSE
================================ */
.scroll-mouse {
    position: absolute;
    bottom: -2.5rem;
    /* -40px */
    left: 50%;
    transform: translateX(-50%);
    width: 1.625rem;
    /* 26px */
    height: 2.75rem;
    /* 44px */
    border: 0.125rem solid rgba(255, 255, 255, .7);
    /* 2px */
    border-radius: 1.25rem;
    /* 20px */
    display: flex;
    justify-content: center;
    padding-top: 0.375rem;
    /* 6px */
}

.scroll-wheel {
    width: 0.375rem;
    /* 6px */
    height: 0.375rem;
    /* 6px */
    background: #fff;
    border-radius: 50%;
    animation: scrollMove 1.6s infinite;
}

@keyframes scrollMove {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    60% {
        transform: translateY(10px);
        /* keep px (animation stable) */
        opacity: .4;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* ===============================
   COMMON UTILITIES
================================ */

.section-pattern {
    background-color: var(--surface-section);
}

.check-icon {
    width: 22px;
    height: 22px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.title-underline::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--color-primary);
    margin: 12px auto 0;
    border-radius: 999px;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 60px;
    color: rgba(22, 163, 74, .15);
}

.admission-banner {
    background: linear-gradient(135deg,
            var(--color-primary)0%,
            var(--color-primary-deep)100%);
}


/* ===============================
   GALLERY
================================ */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    /* 16px */
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent);
    opacity: 0;
    transition: .3s;
    padding: 1.25rem;
    /* 20px */
    color: #fff;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* ===============================
   TEAM SECTION
================================ */
.team-row {
    display: flex;
    gap: 3.125rem;
    /* 50px */
    flex-wrap: wrap;
}

.card {
    background: #fff;
    text-align: center;
    width: 13.75rem;
    /* 220px */
}

.card.large {
    width: 16.25rem;
    /* 260px */
}

.img-box {
    background: linear-gradient(135deg, #f8e387, #0248b8);
    height: 10rem;
    /* 160px */
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.large .img-box {
    height: 16.25rem;
    /* 260px */
}

.img-box img {
    height: 120%;
    object-fit: cover;
    filter: grayscale(100%);
}

.info {
    background: #f4f4f4;
    padding: 0.75rem;
    /* 12px */
}

.vertical-strip {
    height: 20.9375rem;
    /* 335px */
    width: 4.375rem;
    /* 70px */
    background: linear-gradient(180deg, #2fb357, #158a40);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-strip span {
    color: #fff;
    font-weight: 700;
    font-size: 1.75rem;
    /* 28px */
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

@media(max-width:48rem) {

    /* 768px */
    .logo {
        height: 6.25rem;
        /* 100px */
    }
}