/* ═══════════════════════════════════════════════════
   SCHOOL LANDING PAGE STYLESHEET
   MetaHub Educational Platform
═══════════════════════════════════════════════════ */

/* ── THEME VARIABLES (Default fallbacks) ───────────── */
:root {
    --pri:          #1a2a5d;
    --pri2:         #131e42;
    --acc:          #f59e0b;
    --acc2:         #d97706;
    --dark:         #0c142b;
    --text-on-pri:  #ffffff;
    --text-on-acc:  #ffffff;
    --coral:        #f43f5e;
    --coral2:       #e11d48;
    --teal:         #14b8a6;
    --teal2:        #0d9488;
    --body-bg:      #fdfdfe;
    --hero-bg:      #ffffff;
    --dark-heading: #0f172a;
    --text-body:    #475569;
    --text-muted:   #64748b;
    --radius-pill:  9999px;
    --radius-card:  34px;
    --radius-sm:    14px;
    --shadow-hero:  0 20px 45px -10px rgba(15, 23, 42, 0.12);
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--body-bg);
    color: var(--text-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--acc);
    border-radius: 4px;
}

/* ═══════════════════════════════════════════════════
   TOP NAVIGATION BAR (Clean light aesthetic)
═══════════════════════════════════════════════════ */
.navbar-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar-wrap.scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    background: #ffffff;
}

.navbar-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Left brand & hamburger */
.nav-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    padding: 2px 0;
    transition: opacity 0.2s;
}

.nav-hamburger:hover {
    opacity: 0.8;
}

.nav-hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--acc);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--dark-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.nav-brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.nav-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--pri), var(--pri2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-pri);
    font-size: 1.25rem;
}

/* Center links */
.nav-center-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
}

.nav-center-links a {
    color: #334155;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.25s ease;
}

.nav-center-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--acc);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-center-links a:hover {
    color: var(--dark-heading);
}

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

/* Right actions */
.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-signup-link {
    color: #334155;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.25s ease;
}

.nav-signup-link:hover {
    color: var(--acc);
}

.nav-login-pill {
    background: var(--acc);
    color: var(--text-on-acc) !important;
    padding: 0.45rem 1.6rem 0.45rem 0.6rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.nav-login-pill:hover {
    background: var(--acc2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.nav-login-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--acc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* ═══════════════════════════════════════════════════
   HERO SECTION (2-column layout + edge arrows)
═══════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    background: #ffffff;
    padding-top: 105px;
    overflow: hidden;
}

/* Outer slider navigation arrows (< and >) */
.hero-edge-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e9eef5;
    border: 1px solid rgba(0, 0, 0, 0.04);
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    z-index: 25;
    transition: all 0.25s ease;
}

.hero-edge-arrow:hover {
    background: var(--acc);
    color: var(--text-on-acc);
    border-color: var(--acc);
    transform: translateY(-50%) scale(1.1);
}

.hero-edge-prev {
    left: 24px;
}

.hero-edge-next {
    right: 24px;
}

/* Main Hero Grid */
.hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 3.5rem 3rem 4rem;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Column */
.hero-left-content {
    z-index: 5;
}

/* Category badge with stylized triangles */
.hero-badge-row {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-badge-tag {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    color: var(--acc);
    text-transform: uppercase;
}

.hero-triangles {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-triangles span {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid;
    display: inline-block;
}

.tri-teal {
    border-left-color: var(--teal) !important;
}

.tri-yellow {
    border-left-color: var(--acc) !important;
}

.tri-coral {
    border-left-color: var(--coral) !important;
}

/* Headline */
.hero-title {
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--dark-heading);
    margin-bottom: 1.4rem;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    color: var(--acc);
    display: block;
}

/* Paragraph */
.hero-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 2.2rem;
}

/* Buttons row */
.hero-btn-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn-pill-primary {
    background: var(--acc);
    color: var(--text-on-acc) !important;
    border-radius: var(--radius-pill);
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 10px 25px -4px rgba(255, 138, 0, 0.35);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-pill-primary:hover {
    background: var(--acc2);
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -4px rgba(255, 138, 0, 0.45);
}

.btn-pill-icon-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.btn-pill-outline {
    background: transparent;
    color: var(--acc) !important;
    border: 2px solid var(--acc);
    border-radius: var(--radius-pill);
    padding: 0.85rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-pill-outline:hover {
    background: var(--acc);
    color: var(--text-on-acc) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Right Column (Rounded Photo Frame Card) */
.hero-right-frame {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-hero);
    aspect-ratio: 16 / 11;
    background: #e2e8f0;
}

.hero-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: scale(1.04);
}

.hero-slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   BOTTOM 3-COLUMN HIGHLIGHTS STRIP
   (Directly docked at the base of the Hero section)
═══════════════════════════════════════════════════ */
.hero-feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
}

.strip-card {
    padding: 2.2rem 2.8rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.strip-card:hover {
    filter: brightness(1.04);
}

.strip-card-bg-pattern {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 7rem;
    opacity: 0.1;
    pointer-events: none;
    color: #ffffff;
}

/* Card 1: Coral / Red */
.strip-card-coral {
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral2) 100%);
    color: #ffffff;
}

/* Card 2: Amber / Gold / School Accent */
.strip-card-yellow {
    background: linear-gradient(135deg, var(--acc) 0%, var(--acc2) 100%);
    color: var(--text-on-acc);
}

/* Card 3: Teal / Emerald / School Primary */
.strip-card-teal {
    background: linear-gradient(135deg, var(--teal2) 0%, var(--pri) 100%);
    color: var(--text-on-pri);
}

.strip-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.strip-card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    line-height: 1.25;
    color: inherit;
}

.strip-card-content p {
    font-size: 0.88rem;
    line-height: 1.5;
    opacity: 0.92;
    color: inherit;
}

/* ═══════════════════════════════════════════════════
   SECTION STYLES (About, Portal, Gallery, etc.)
═══════════════════════════════════════════════════ */
.section-wrapper {
    padding: 5.5rem 2rem;
}

.section-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    background: rgba(245, 158, 11, 0.12);
    color: var(--acc);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
}

.section-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--dark-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 620px;
}

/* ── ABOUT SECTION ── */
.about-section {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text-col p {
    color: #475569;
    line-height: 1.85;
    font-size: 1.05rem;
    margin-bottom: 1.6rem;
}

.about-cards-col {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.about-feature-box {
    background: #f8fafc;
    border-radius: 20px;
    padding: 1.6rem 1.8rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.about-feature-box:hover {
    transform: translateX(6px);
    border-color: var(--acc);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

.about-box-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--acc), var(--acc2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-on-acc);
    flex-shrink: 0;
}

.about-box-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-heading);
    margin-bottom: 0.35rem;
}

.about-box-text p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ── PORTAL SECTION ── */
.portal-section {
    background: #f8fafc;
}

.portal-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.portal-header .section-subtitle {
    margin: 0 auto;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.portal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 2.2rem 2rem;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--acc), var(--pri));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.portal-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.07);
    border-color: rgba(0, 0, 0, 0.1);
}

.portal-card:hover::before {
    transform: scaleX(1);
}

.portal-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--pri), var(--pri2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-on-pri);
    margin-bottom: 1.3rem;
    transition: transform 0.3s ease;
}

.portal-card:hover .portal-card-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, var(--acc), var(--acc2));
    color: var(--text-on-acc);
}

.portal-card h3 {
    color: var(--dark-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.portal-card p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ── GALLERY SECTION ── */
.gallery-section {
    background: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-card-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gallery-card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card-item:hover img {
    transform: scale(1.08);
}

.gallery-card-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-card-item:hover::after {
    opacity: 1;
}

/* ── CTA BANNER ── */
.cta-banner-wrap {
    background: linear-gradient(135deg, var(--pri) 0%, var(--pri2) 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: var(--text-on-pri);
    position: relative;
    overflow: hidden;
}

.cta-banner-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 60%);
}

.cta-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}

.cta-banner-inner h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-on-pri);
}

.cta-banner-inner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.2rem;
    line-height: 1.7;
}

.btn-cta-white {
    background: #ffffff;
    color: var(--pri) !important;
    border-radius: var(--radius-pill);
    padding: 0.9rem 2.4rem;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
    color: var(--acc) !important;
}

/* ── FOOTER ── */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.65);
    padding: 4.5rem 2rem 0;
}

.footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 3.5rem;
    padding-bottom: 3.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
}

.footer-logo-link img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
}

.footer-logo-fallback {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--acc), var(--acc2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-on-acc);
}

footer p {
    line-height: 1.7;
    font-size: 0.92rem;
}

footer h4 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1.4rem;
}

footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

footer ul li a:hover {
    color: var(--acc);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item i {
    color: var(--acc);
    margin-top: 4px;
    width: 18px;
}

.footer-bottom-bar {
    max-width: 1240px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.6rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.88rem;
}

.footer-bottom-bar a {
    color: var(--acc);
    text-decoration: none;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   LOGIN MODAL
═══════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.modal-overlay.open {
    display: flex;
}

.modal-card {
    background: #ffffff;
    border-radius: 24px;
    max-width: 440px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    animation: modalPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header-area {
    background: linear-gradient(135deg, var(--pri), var(--pri2));
    padding: 2.2rem 2rem 1.6rem;
    text-align: center;
    position: relative;
    color: var(--text-on-pri);
}

.modal-btn-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.modal-btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-avatar-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    overflow: hidden;
    margin: 0 auto 1rem;
}

.modal-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-avatar-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--acc), var(--acc2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-on-acc);
}

.modal-header-area h2 {
    font-size: 1.4rem;
    font-weight: 800;
}

.modal-header-area p {
    font-size: 0.88rem;
    opacity: 0.8;
    margin-top: 0.3rem;
}

.modal-body-form {
    padding: 2rem;
}

.form-field-group {
    margin-bottom: 1.3rem;
}

.form-field-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-heading);
    margin-bottom: 0.5rem;
}

.form-input-wrap {
    position: relative;
}

.form-input-wrap i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
}

.modal-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--dark-heading);
    transition: all 0.25s ease;
    outline: none;
}

.modal-input:focus {
    border-color: var(--pri);
    box-shadow: 0 0 0 4px rgba(26, 42, 93, 0.08);
}

.btn-submit-login {
    width: 100%;
    padding: 0.95rem;
    background: linear-gradient(135deg, var(--pri), var(--pri2));
    color: var(--text-on-pri);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 42, 93, 0.25);
}

.modal-bottom-links {
    text-align: center;
    margin-top: 1.3rem;
    font-size: 0.88rem;
    color: #64748b;
}

.modal-bottom-links a {
    color: var(--pri);
    font-weight: 600;
    text-decoration: none;
}

.modal-bottom-links a:hover {
    color: var(--acc);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem 2rem 3.5rem;
    }

    .hero-right-frame {
        max-width: 650px;
        margin: 0 auto;
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

@media (max-width: 900px) {
    .nav-center-links {
        display: none;
    }

    .hero-feature-strip {
        grid-template-columns: 1fr;
    }

    .strip-card {
        padding: 1.8rem 2rem;
    }

    .hero-edge-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }

    .hero-container {
        padding: 2rem 1.25rem 3rem;
    }

    .hero-badge-row {
        gap: 1rem;
    }

    .hero-badge-tag {
        font-size: 0.78rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

/* Mobile drawer navigation */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 290px;
    height: 100vh;
    background: #ffffff;
    z-index: 2000;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.25);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.mobile-drawer-overlay.open {
    display: block;
}

.mobile-drawer-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #475569;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.mobile-drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mobile-drawer-links a {
    color: var(--dark-heading);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-drawer-links a:hover {
    color: var(--acc);
}

/* Scroll reveal effects */
.reveal-node {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-node.visible {
    opacity: 1;
    transform: translateY(0);
}

