




/*
Theme Name: Tuition Era 2.0
Theme URI: https://tuitionera.in
Author: Tuition Era
Description: Premium responsive education services WordPress theme.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tuition-era-v2
*/

/* =========================================
   1. GLOBAL SETTINGS
========================================= */

:root {
    --te-navy: #102744;
    --te-navy-dark: #071B35;
    --te-blue: #1E5B9E;
    --te-gold: #D99A45;
    --te-gold-light: #F4D6A5;
    --te-cream: #F8F5EF;
    --te-paper: #F6F8FB;
    --te-white: #FFFFFF;
    --te-ink: #24364B;
    --te-muted: #6C7A8B;
    --te-line: #E5EAF0;
    --te-green: #16845E;
    --te-shadow: 0 18px 50px rgba(16, 39, 68, .09);
    --te-radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px;
}

body {
    margin: 0;
    color: var(--te-ink);
    background: var(--te-white);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

body.te-modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(217, 154, 69, .45);
    outline-offset: 3px;
}

.te-container {
    width: min(1180px, calc(100% - 44px));
    margin-left: auto;
    margin-right: auto;
}

.te-section {
    padding: 92px 0;
}


/* =========================================
   2. COMMON TYPOGRAPHY
========================================= */

.te-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--te-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.te-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--te-gold);
    box-shadow: 0 0 0 5px rgba(217, 154, 69, .13);
}

.te-section-head {
    max-width: 740px;
    margin: 0 auto 44px;
    text-align: center;
}

.te-section-head h2,
.te-about-title,
.te-why h2 {
    margin: 14px 0;
    color: var(--te-navy);
    font-size: clamp(32px, 4vw, 49px);
    line-height: 1.13;
    letter-spacing: -1.7px;
    font-weight: 900;
}

.te-section-head h2 em,
.te-about-title em,
.te-why h2 em {
    color: var(--te-gold);
    font-style: normal;
}

.te-section-head p {
    max-width: 650px;
    margin: 14px auto 0;
    color: var(--te-muted);
    font-size: 14px;
    line-height: 1.9;
}


/* =========================================
   3. BUTTONS
========================================= */

.te-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 49px;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.3;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        color .25s ease;
}

.te-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 39, 68, .15);
}

.te-btn-primary {
    background: linear-gradient(135deg, #E4AA5E, #CB8732);
    color: #FFFFFF;
}

.te-btn-primary:hover {
    background: linear-gradient(135deg, #D99A45, #B87326);
    color: #FFFFFF;
}

.te-btn-outline {
    color: var(--te-navy);
    background: #FFFFFF;
    border-color: #D5DEE8;
}

.te-btn-outline:hover {
    color: var(--te-blue);
    border-color: var(--te-gold);
}

.te-btn-light {
    background: #FFFFFF;
    color: var(--te-navy);
}

.te-btn-light:hover {
    background: var(--te-cream);
    color: var(--te-navy);
}


/* =========================================
   4. HEADER
========================================= */

.te-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--te-line);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.te-header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.te-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    min-width: 160px;
}

.te-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.te-brand .custom-logo {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 66px;
    object-fit: contain;
}

.te-brand-name {
    color: var(--te-blue);
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -1px;
}

.te-tagline {
    display: block;
    margin-top: 3px;
    color: #697A8E;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.25px;
    white-space: nowrap;
}

.te-tagline i {
    color: var(--te-gold);
    font-style: normal;
}

.te-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 27px);
}

.te-nav a {
    position: relative;
    padding: 12px 0;
    color: #30445D;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
    transition: color .2s ease;
}

.te-nav a::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--te-gold);
    transition: width .25s ease;
}

.te-nav a:hover {
    color: var(--te-blue);
}

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

.te-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 1px solid var(--te-line);
    border-radius: 12px;
    background: #FFFFFF;
}

.te-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 3px;
    background: var(--te-navy);
    transition: .25s ease;
}

.te-header-cta {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 19px;
    font-size: 12px;
}


/* =========================================
   5. HERO SECTION
========================================= */

.te-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 66px;
    background:
        radial-gradient(
            circle at 84% 20%,
            rgba(244, 214, 165, .48),
            transparent 28%
        ),
        linear-gradient(
            120deg,
            #F5F7FA 0%,
            #FFFFFF 56%,
            #FBF5EB 100%
        );
}

.te-hero::before {
    content: "";
    position: absolute;
    top: -190px;
    right: -150px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(217, 154, 69, .08);
    pointer-events: none;
}

.te-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 55px;
}

.te-hero-content {
    min-width: 0;
}

.te-hero h1 {
    max-width: 690px;
    margin: 22px 0 17px;
    color: var(--te-navy);
    font-size: clamp(43px, 5.3vw, 68px);
    line-height: 1.06;
    letter-spacing: -3px;
    font-weight: 950;
}

.te-hero h1 em {
    color: var(--te-gold);
    font-style: normal;
}

.te-hero-lead {
    margin: 0 0 12px;
    color: #345779;
    font-size: 19px;
    font-weight: 850;
}

.te-hero-lead span {
    color: var(--te-gold);
}

.te-hero-copy {
    max-width: 590px;
    margin: 0;
    color: var(--te-muted);
    font-size: 15px;
    line-height: 1.9;
}

.te-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.te-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 27px;
    color: #52677E;
    font-size: 11px;
    font-weight: 750;
}

.te-proof span::before {
    content: "✓";
    margin-right: 6px;
    color: var(--te-green);
    font-weight: 900;
}


/* =========================================
   6. HERO VISUAL CARD
========================================= */

.te-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 455px;
    perspective: 1100px;
}

.te-visual-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(242, 183, 92, .30),
        rgba(30, 91, 158, .06) 62%,
        transparent 72%
    );
    filter: blur(8px);
}

.te-visual-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(390px, 82%);
    min-height: 360px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 30px;
    background: linear-gradient(145deg, #FFFFFF, #F1F6FC);
    box-shadow: 0 34px 80px rgba(24, 57, 94, .14);
    transform: rotateY(-7deg) rotateX(3deg);
    transition: transform .5s ease;
}

.te-visual:hover .te-visual-card {
    transform: rotateY(0) rotateX(0) translateY(-8px);
}

.te-visual-logo {
    display: grid;
    place-items: center;
    height: 135px;
    margin-bottom: 8px;
}

.te-visual-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.te-visual-logo img {
    display: block;
    width: auto;
    max-width: 205px;
    max-height: 120px;
    object-fit: contain;
}

.te-monogram {
    color: var(--te-blue);
    font-size: 65px;
    font-weight: 950;
    letter-spacing: -5px;
}

.te-visual-kicker {
    color: #77879B;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
    text-align: center;
}

.te-visual-card h2 {
    margin: 12px 0 22px;
    color: var(--te-navy);
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
}

.te-visual-card h2 em {
    color: var(--te-gold);
    font-style: normal;
}

.te-visual-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    color: var(--te-muted);
    font-size: 10px;
    text-align: center;
}

.te-visual-foot b {
    color: var(--te-navy);
}

.te-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 15px 38px rgba(24, 57, 94, .12);
    animation: te-float 5s ease-in-out infinite;
}

.te-float strong,
.te-float small {
    display: block;
}

.te-float strong {
    color: var(--te-navy);
    font-size: 11px;
}

.te-float small {
    color: var(--te-muted);
    font-size: 9px;
}

.te-float-icon {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    border-radius: 11px;
    color: #FFFFFF;
    background: var(--te-blue);
}

.te-float-top {
    top: 55px;
    right: -3px;
}

.te-float-bottom {
    bottom: 48px;
    left: -10px;
    animation-delay: -2.3s;
}

.te-float-bottom .te-float-icon {
    background: var(--te-gold);
}

@keyframes te-float {
    50% {
        transform: translateY(-11px);
    }
}


/* =========================================
   7. TRUST STRIP
========================================= */

.te-trust {
    border-top: 1px solid var(--te-line);
    border-bottom: 1px solid var(--te-line);
    background: #FFFFFF;
}

.te-trust-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 72px;
    color: #60728A;
    font-size: 11px;
    font-weight: 850;
}

.te-trust-inner i {
    color: var(--te-gold);
    font-style: normal;
}


/* =========================================
   8. ABOUT SECTION
========================================= */

.te-about-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: start;
    gap: 75px;
}

.te-about-title {
    margin-top: 15px;
}

.te-about-copy .te-large {
    margin-top: 0;
    color: #294D73;
    font-size: 20px;
    line-height: 1.55;
    font-weight: 800;
}

.te-about-copy p {
    color: var(--te-muted);
    font-size: 14px;
    line-height: 1.9;
}

.te-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--te-blue);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.te-text-link span {
    color: var(--te-gold);
}


/* =========================================
   9. SERVICES SECTION
========================================= */

.te-services {
    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(226, 244, 250, .5),
            transparent 32%
        ),
        var(--te-paper);
}

.te-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.te-service {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 260px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--te-line);
    border-radius: var(--te-radius);
    background: #FFFFFF;
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.te-service:hover {
    transform: translateY(-8px);
    border-color: #EBC48D;
    box-shadow: var(--te-shadow);
}

.te-service-no {
    position: absolute;
    top: 18px;
    right: 21px;
    color: #C4CFDB;
    font-size: 11px;
    font-weight: 900;
}

.te-service-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 15px;
    background: #EDF4FC;
    font-size: 23px;
}

.te-service h3 {
    margin: 0 0 8px;
    color: var(--te-navy);
    font-size: 18px;
    line-height: 1.4;
}

.te-service p {
    flex: 1;
    margin: 0 0 18px;
    color: var(--te-muted);
    font-size: 12px;
    line-height: 1.8;
}

.te-service button {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--te-blue);
    font-size: 11px;
    font-weight: 900;
}

.te-service button span {
    color: var(--te-gold);
    transition: transform .2s ease;
}

.te-service button:hover span {
    transform: translateX(5px);
}


/* =========================================
   10. HOW IT WORKS
========================================= */

.te-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.te-step {
    padding: 25px 21px;
    border-top: 3px solid var(--te-gold);
    border-radius: 0 0 12px 12px;
    background: #F8FAFC;
    transition: transform .25s ease, box-shadow .25s ease;
}

.te-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--te-shadow);
}

.te-step-no {
    color: var(--te-gold);
    font-size: 12px;
    font-weight: 950;
}

.te-step h3 {
    margin: 14px 0 7px;
    color: var(--te-navy);
    font-size: 16px;
}

.te-step p {
    margin: 0;
    color: var(--te-muted);
    font-size: 12px;
    line-height: 1.8;
}


/* =========================================
   11. WHY CHOOSE TUITION ERA
========================================= */

.te-why {
    background: #F3F6FA;
}

.te-why-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    align-items: center;
    gap: 65px;
}

.te-why-copy > p {
    color: var(--te-muted);
    font-size: 14px;
    line-height: 1.9;
}

.te-checks {
    display: grid;
    gap: 12px;
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
    color: #40546D;
    font-size: 13px;
    font-weight: 750;
}

.te-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.te-checks li::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #E2F4EC;
    color: #137B59;
}

.te-quote-panel {
    display: grid;
    place-items: center;
    min-height: 330px;
    padding: 34px;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(255, 213, 138, .18),
            transparent 35%
        ),
        linear-gradient(145deg, #102744, #1E5B9E);
    box-shadow: 0 25px 60px rgba(16, 39, 68, .2);
    transform: rotate(1deg);
}

.te-quote-inner {
    max-width: 340px;
    color: #FFFFFF;
    text-align: center;
    transform: rotate(-1deg);
}

.te-quote-star {
    color: var(--te-gold-light);
    font-size: 38px;
}

.te-quote-inner blockquote {
    margin: 12px 0 22px;
    font-size: 27px;
    line-height: 1.35;
    font-weight: 850;
}

.te-quote-inner small {
    color: #D9E5F3;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 2;
}


/* =========================================
   12. REGISTRATION / JOIN SECTION
========================================= */

.te-join-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.te-join-card {
    padding: 30px 26px;
    border: 1px solid var(--te-line);
    border-radius: 20px;
    background: #FFFFFF;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.te-join-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--te-shadow);
}

.te-join-icon {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    margin: 0 auto 16px;
    border-radius: 17px;
    background: #EDF4FC;
    font-size: 25px;
}

.te-join-card h3 {
    margin: 0 0 8px;
    color: var(--te-navy);
    font-size: 18px;
}

.te-join-card p {
    min-height: 65px;
    margin: 0 0 18px;
    color: var(--te-muted);
    font-size: 12px;
    line-height: 1.8;
}


/* =========================================
   13. CONTACT CTA BAND
========================================= */

.te-cta-band {
    padding: 54px 0;
    color: #FFFFFF;
    background: linear-gradient(110deg, #102744, #1E5B9E);
}

.te-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.te-cta-inner .te-eyebrow {
    color: var(--te-gold-light);
}

.te-cta-inner h2 {
    margin: 8px 0;
    color: #FFFFFF;
    font-size: clamp(27px, 3vw, 39px);
    line-height: 1.2;
}

.te-cta-inner h2 em {
    color: #FFD58A;
    font-style: normal;
}

.te-cta-inner p {
    margin: 0;
    color: #D9E5F3;
    font-size: 13px;
}


/* =========================================
   14. FOOTER
========================================= */

.te-footer {
    padding: 70px 0 0;
    color: #E5EDF7;
    background: #071B35;
}

.te-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .9fr 1.1fr 1.2fr;
    align-items: start;
    gap: 35px;
    padding-bottom: 48px;
}

.te-footer-brand {
    max-width: 340px;
}

.te-footer-logo {
    display: block;
    margin-bottom: 15px;
}

.te-footer-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.te-footer-logo img.custom-logo {
    display: block;
    width: auto;
    max-width: 210px;
    max-height: 105px;
    object-fit: contain;
}

.te-footer-brandname {
    display: inline-block;
    color: #FFFFFF;
    font-size: 29px;
    font-weight: 900;
    letter-spacing: -1px;
}

.te-footer-tag {
    margin-bottom: 16px;
    color: #E8B36E;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.5px;
}

.te-footer-about {
    max-width: 320px;
    margin: 0;
    color: #B9C8D9;
    font-size: 12px;
    line-height: 1.9;
}

.te-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.te-footer-column h3 {
    position: relative;
    margin: 0 0 9px;
    padding-bottom: 13px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 800;
}

.te-footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 34px;
    height: 2px;
    background: var(--te-gold);
}

.te-footer-column > a {
    display: block;
    width: fit-content;
    margin: 0;
    color: #B9C8D9;
    font-size: 12px;
    line-height: 1.7;
    transition: color .2s ease, transform .2s ease;
}

.te-footer-column > a:hover {
    color: #E8B36E;
    transform: translateX(4px);
}

.te-footer-contact p {
    margin: 0;
    color: #B9C8D9;
    font-size: 12px;
    line-height: 1.8;
}

.te-footer-location {
    display: flex;
    align-items: center;
    gap: 9px;
}

.te-footer-icon {
    color: #E8B36E;
    font-size: 20px;
}

.te-footer-description {
    margin: 7px 0 10px !important;
}

.te-footer-whatsapp,
.te-footer-enquire {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 42px;
    margin: 5px 0 0 !important;
    padding: 10px 17px;
    border: 1px solid #41627F;
    border-radius: 30px;
    background: #173D5C;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 800;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.te-footer-whatsapp:hover {
    background: #245477;
    color: #FFFFFF !important;
}

.te-footer-enquire {
    border-color: var(--te-gold);
    background: #D99052;
}

.te-footer-enquire:hover {
    transform: translateY(-2px);
    background: #BD753C;
}

.te-footer-bottom-wrap {
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: #05152B;
}

.te-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 70px;
    color: #9FB0C4;
    font-size: 11px;
}

.te-footer-bottom-tag {
    color: #E8B36E;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================================
   15. REGISTRATION POPUPS
========================================= */

.te-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.te-modal.is-open {
    display: flex;
}

.te-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 23, 43, .80);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.te-modal-panel {
    position: relative;
    z-index: 1;
    width: min(700px, 100%);
    max-height: 91vh;
    overflow-y: auto;
    padding: 30px;
    border: 1px solid #E5EAF0;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .30);
    overscroll-behavior: contain;
}

.te-modal-panel h2 {
    margin: 0 45px 5px 0;
    color: var(--te-navy);
    font-size: 25px;
    line-height: 1.3;
}

.te-modal-intro {
    margin: 0 0 22px;
    color: var(--te-muted);
    font-size: 13px;
}

.te-modal-close {
    position: absolute;
    top: 13px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #EDF2F8;
    color: var(--te-navy);
    font-size: 25px;
    line-height: 1;
}

.te-modal-close:hover {
    background: #E2EAF3;
}


/* =========================================
   16. REGISTRATION FORMS
========================================= */

.te-registration-form {
    display: block;
}

.te-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.te-registration-form label {
    display: block;
    min-width: 0;
    color: #2C3D52;
    font-size: 12px;
    font-weight: 800;
}

.te-registration-form input,
.te-registration-form select,
.te-registration-form textarea {
    display: block;
    width: 100%;
    min-width: 0;
    margin-top: 6px;
    padding: 11px 12px;
    border: 1px solid #D6E0EA;
    border-radius: 9px;
    background: #FFFFFF;
    color: var(--te-ink);
    font-size: 13px;
    line-height: 1.5;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.te-registration-form input:focus,
.te-registration-form select:focus,
.te-registration-form textarea:focus {
    border-color: var(--te-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 91, 158, .12);
}

.te-registration-form textarea {
    resize: vertical;
}

.te-full-field {
    display: block;
    margin-top: 14px;
}

.te-submit-btn {
    margin-top: 19px;
}

.te-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* =========================================
   17. FORM SUCCESS / ERROR NOTICES
========================================= */

.te-notice {
    width: min(1100px, 92%);
    margin: 18px auto;
    padding: 13px 17px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
}

.te-success {
    border: 1px solid #B9E5C8;
    background: #E8F7EE;
    color: #176B39;
}

.te-error {
    border: 1px solid #F1C3C3;
    background: #FFF0F0;
    color: #9B2424;
}


/* =========================================
   18. WORDPRESS ADMIN ENQUIRY TABLE
========================================= */

.te-admin-wrap {
    max-width: 1200px;
}

.te-admin-wrap table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
}

.te-admin-wrap th,
.te-admin-wrap td {
    padding: 10px;
    border-bottom: 1px solid #E5EAF0;
    text-align: left;
    vertical-align: top;
}

.te-admin-wrap th {
    background: #F5F7FA;
}


/* =========================================
   19. TABLET RESPONSIVE
========================================= */

@media (max-width: 980px) {

    .te-header-inner {
        gap: 14px;
    }

    .te-nav {
        gap: 13px;
    }

    .te-nav a {
        font-size: 11px;
    }

    .te-brand {
        min-width: 135px;
    }

    .te-brand .custom-logo {
        max-width: 145px;
    }

    .te-header-cta {
        padding: 0 13px;
        font-size: 11px;
    }

    .te-hero-grid {
        gap: 25px;
    }

    .te-hero h1 {
        font-size: clamp(40px, 5vw, 55px);
    }

    .te-about-grid,
    .te-why-grid {
        gap: 38px;
    }

    .te-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }

}


/* =========================================
   20. MOBILE RESPONSIVE
========================================= */

@media (max-width: 760px) {

    html {
        scroll-padding-top: 80px;
    }

    .te-container {
        width: min(100% - 32px, 620px);
    }

    .te-header-inner {
        position: relative;
        min-height: 74px;
        flex-wrap: wrap;
        gap: 10px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .te-brand {
        min-width: 0;
        margin-right: auto;
    }

    .te-brand .custom-logo {
        max-width: 125px;
        max-height: 47px;
    }

    .te-tagline {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .te-menu-toggle {
        display: block;
        order: 2;
        margin-left: auto;
    }

    .te-header-cta {
        order: 3;
        min-height: 40px;
        padding: 0 14px;
        font-size: 11px;
    }

    .te-nav {
        display: none;
        order: 4;
        flex: 0 0 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 6px 0 10px;
        border-top: 1px solid var(--te-line);
    }

    .te-nav.is-open {
        display: flex;
    }

    .te-nav a {
        padding: 11px 4px;
        border-bottom: 1px solid var(--te-line);
        font-size: 13px;
    }

    .te-nav a::after {
        display: none;
    }

    .te-hero {
        padding: 48px 0 42px;
    }

    .te-hero-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .te-hero h1 {
        max-width: 600px;
        font-size: clamp(39px, 9vw, 55px);
        letter-spacing: -2px;
    }

    .te-hero-copy {
        font-size: 13px;
    }

    .te-hero-lead {
        font-size: 16px;
    }

    .te-visual {
        min-height: 365px;
    }

    .te-visual-card {
        width: min(340px, 78%);
        min-height: 315px;
        padding: 24px;
    }

    .te-visual-logo {
        height: 110px;
    }

    .te-float-top {
        top: 28px;
        right: 0;
    }

    .te-float-bottom {
        bottom: 22px;
        left: 0;
    }

    .te-trust-inner {
        justify-content: center;
        gap: 8px 12px;
        min-height: 62px;
        padding: 12px 0;
        font-size: 9px;
    }

    .te-section {
        padding: 64px 0;
    }

    .te-about-grid,
    .te-why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .te-section-head h2,
    .te-about-title,
    .te-why h2 {
        font-size: 35px;
    }

    .te-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .te-service {
        min-height: 245px;
        padding: 18px;
    }

    .te-service h3 {
        font-size: 15px;
    }

    .te-service p {
        font-size: 11px;
    }

    .te-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .te-join-grid {
        grid-template-columns: 1fr;
    }

    .te-join-card p {
        min-height: 0;
    }

    .te-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .te-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
    }

}


/* =========================================
   21. SMALL MOBILE RESPONSIVE
========================================= */

@media (max-width: 430px) {

    .te-service-grid,
    .te-process-grid {
        grid-template-columns: 1fr;
    }

    .te-service {
        min-height: 0;
    }

    .te-proof {
        gap: 8px 12px;
        font-size: 10px;
    }

    .te-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .te-footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .te-footer-about {
        max-width: 100%;
    }

    .te-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding-top: 17px;
        padding-bottom: 17px;
    }

    .te-modal {
        align-items: flex-end;
        padding: 7px;
    }

    .te-modal-panel {
        max-height: 94vh;
        padding: 24px 16px;
        border-radius: 18px 18px 10px 10px;
    }

    .te-modal-panel h2 {
        font-size: 22px;
    }

    .te-form-grid {
        grid-template-columns: 1fr;
    }

    .te-submit-btn {
        width: 100%;
    }

}

@media (max-width: 360px) {

    .te-footer-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   22. ACCESSIBILITY / REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}
/* =========================================
   23. OPTIONAL RESUME UPLOAD
========================================= */

.te-registration-form input[type="file"] {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    border: 1px dashed #C5D2E0;
    border-radius: 10px;
    background: #F8FAFC;
    color: #40546D;
    font-size: 12px;
    cursor: pointer;
}

.te-registration-form input[type="file"]:hover {
    border-color: #D99A45;
    background: #FFFDF9;
}

.te-registration-form input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 9px 14px;
    border: 0;
    border-radius: 7px;
    background: #102744;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.te-registration-form input[type="file"]::file-selector-button:hover {
    background: #1E5B9E;
}

.te-registration-form small {
    display: block;
    margin-top: 6px;
    color: #6C7A8B;
    font-size: 11px;
    font-weight: 500;
}

.te-registration-form label[hidden] {
    display: none !important;
}
/* =========================================
   TUITION ERA - FLOATING CONTACT BUTTONS
========================================= */

.te-floating-contact {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.te-floating-contact a {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 23px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.20);
    transition: transform 0.3s ease;
}

.te-floating-contact a:hover {
    transform: scale(1.10);
}

.te-floating-whatsapp {
    background: #25D366;
}

.te-floating-call {
    background: #1689E5;
}

.te-floating-top {
    background: #102744;
}

@media (max-width: 768px) {
    .te-floating-contact {
        right: 14px;
        bottom: 90px;
        gap: 10px;
    }

    .te-floating-contact a {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
