/* ============================================================
 SEAMLESS FULL-BLEED HERO — shared across all Sri Kabhijith Group sites
 Inspired by K.S. Maniam Institutions hero style:
 Pure white left side for text, soft smooth gradient fade into 
 the crisp photo on the right.
 ============================================================ */

/* Single hero sections */
.hero-fullbg {
 position: relative;
 min-height: 480px;
 background: #ffffff;
 overflow: hidden;
 display: flex;
 align-items: center;
}

/* Fixed height carousel to prevent layout jumping and maintain consistent top/bottom spacing */
.hero-carousel-v2 {
 position: relative;
 height: 480px;
 min-height: 480px;
 background: #ffffff;
 overflow: hidden;
}

/* Slider slide positioning — fixed absolute filling 100% of container */
.hero-carousel-v2 .hslide {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 opacity: 0;
 z-index: 1;
 transition: opacity 0.5s ease-in-out;
 pointer-events: none;
 display: flex;
 align-items: center;
}

.hero-carousel-v2 .hslide.active {
 opacity: 1;
 z-index: 2;
 pointer-events: auto;
}

/* Background image container taking up the right ~62% */
.hero-fullbg-img-wrap {
 position: absolute;
 top: 0;
 right: 0;
 bottom: 0;
 width: 62%;
 z-index: 1;
 overflow: hidden;
}

.hero-fullbg-img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center center;
 display: block;
}

/* Smooth gradient mask blending pure white smoothly into the photo */
.hero-fullbg-img-wrap::before {
 content: "";
 position: absolute;
 inset: 0;
 background: linear-gradient(
 to right,
 #ffffff 0%,
 rgba(255, 255, 255, 0.92) 20%,
 rgba(255, 255, 255, 0.45) 48%,
 rgba(255, 255, 255, 0) 80%
 );
 z-index: 2;
 pointer-events: none;
}

/* Content layer inside max-width container */
.hero-fullbg-content {
 position: relative;
 z-index: 3;
 max-width: 1200px;
 margin: 0 auto;
 padding: 36px 24px;
 width: 100%;
}

.hero-fullbg-text {
 max-width: 560px;
}

/* Eyebrow pill badge */
.hero-pill {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 background: rgba(14, 76, 115, 0.07);
 border: 1px solid rgba(14, 76, 115, 0.16);
 color: var(--navy-deep, #031B2E);
 font-size: .75rem;
 font-weight: 700;
 letter-spacing: .08em;
 text-transform: uppercase;
 padding: 5px 14px;
 border-radius: 30px;
 margin-bottom: 12px;
}
.hero-pill .pill-dot {
 width: 7px;
 height: 7px;
 border-radius: 50%;
 background: var(--hero-accent, #0E4C73);
 flex-shrink: 0;
}

/* Main heading */
.hero-fullbg-text h1 {
 font-family: var(--font-display, "Zilla Slab", Georgia, serif);
 font-size: clamp(2.1rem, 3.6vw, 3.2rem);
 font-weight: 700;
 color: #031B2E;
 line-height: 1.12;
 letter-spacing: -0.01em;
 margin-bottom: 14px;
}

.hero-fullbg-text h1 .accent {
 color: var(--hero-accent, #0E4C73);
}

/* Body text */
.hero-fullbg-text p {
 font-size: 1rem;
 color: #4F6E7D;
 line-height: 1.62;
 margin-bottom: 24px;
}

/* CTA Buttons */
.hero-fullbg-actions {
 display: flex;
 gap: 12px;
 flex-wrap: wrap;
 align-items: center;
}

.hbtn-primary {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 12px 26px;
 border-radius: 8px;
 font-weight: 700;
 font-size: .92rem;
 background: var(--hero-accent, #0E4C73);
 color: #ffffff !important;
 border: 2px solid transparent;
 text-decoration: none;
 transition: transform .18s, box-shadow .18s, filter .18s;
 white-space: nowrap;
}
.hbtn-primary:hover {
 transform: translateY(-2px);
 box-shadow: 0 8px 22px rgba(0,0,0,0.18);
 filter: brightness(0.92);
}

.hbtn-outline {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 11px 24px;
 border-radius: 8px;
 font-weight: 600;
 font-size: .92rem;
 background: #ffffff;
 color: var(--hero-accent, #0E4C73) !important;
 border: 2px solid var(--hero-accent, #0E4C73);
 text-decoration: none;
 transition: transform .18s, background .18s, color .18s;
 white-space: nowrap;
}
.hbtn-outline:hover {
 background: var(--hero-accent, #0E4C73);
 color: #ffffff !important;
 transform: translateY(-2px);
}

/* Dot Navigation for Carousel */
.hcarousel-dots {
 position: absolute;
 bottom: 18px;
 left: 50%;
 transform: translateX(-50%);
 display: flex;
 gap: 10px;
 z-index: 10;
}
.hcarousel-dot {
 width: 10px;
 height: 10px;
 border-radius: 50%;
 border: 2px solid rgba(14, 76, 115, 0.4);
 background: transparent;
 cursor: pointer;
 transition: background .25s, border-color .25s, transform .2s;
 padding: 0;
}
.hcarousel-dot.active {
 background: #031B2E;
 border-color: #031B2E;
 transform: scale(1.25);
}

/* Arrow Controls for Carousel */
.hcarousel-arrow {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 z-index: 10;
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background: rgba(255, 255, 255, 0.9);
 border: 1.5px solid rgba(14, 76, 115, 0.18);
 font-size: 1.2rem;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 color: #031B2E;
 box-shadow: 0 4px 14px rgba(0,0,0,0.12);
 transition: background .2s, box-shadow .2s;
}
.hcarousel-arrow:hover {
 background: #ffffff;
 box-shadow: 0 6px 22px rgba(0,0,0,0.18);
}
.hcarousel-prev { left: 16px; }
.hcarousel-next { right: 16px; }

/* ---- Per-site accent colours ---- */
[data-site="hub"] { --hero-accent: #0E4C73; }
[data-site="skills"] { --hero-accent: #B07A18; }
[data-site="para"] { --hero-accent: #0B5E56; }
[data-site="skies"] { --hero-accent: #1C8FB8; }
[data-site="found"] { --hero-accent: #1E5C3E; }

/* ============================================================
 EDUCATIONAL INSTITUTIONAL ACHIEVEMENTS BANNER
 High-end, informative, rich education stats with feature badges
 ============================================================ */

.edu-stats-section {
 background: var(--edu-bg, linear-gradient(135deg, #031B2E 0%, #0A2F4A 50%, #0E4C73 100%));
 position: relative;
 padding: 56px 0;
 color: #ffffff;
 overflow: hidden;
}

.edu-stats-section::before {
 content: "";
 position: absolute;
 top: -50%;
 left: -10%;
 width: 500px;
 height: 500px;
 background: radial-gradient(circle, var(--edu-icon-bg, rgba(28, 143, 184, 0.18)), transparent 70%);
 pointer-events: none;
}

.edu-stats-section::after {
 content: "";
 position: absolute;
 bottom: -50%;
 right: -10%;
 width: 500px;
 height: 500px;
 background: radial-gradient(circle, var(--edu-icon-bg, rgba(255, 199, 44, 0.14)), transparent 70%);
 pointer-events: none;
}

.edu-stats-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 20px;
 position: relative;
 z-index: 2;
}

.edu-stat-card {
 background: rgba(255, 255, 255, 0.07);
 border: 1px solid rgba(255, 255, 255, 0.14);
 border-radius: 16px;
 padding: 24px 20px;
 backdrop-filter: blur(12px);
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 gap: 14px;
 transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}

.edu-stat-card:hover {
 transform: translateY(-6px);
 background: rgba(255, 255, 255, 0.12);
 border-color: var(--edu-accent-border, rgba(255, 199, 44, 0.45));
 box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.edu-card-top {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 10px;
}

.edu-icon-box {
 width: 42px;
 height: 42px;
 border-radius: 12px;
 background: var(--edu-icon-bg, rgba(255, 199, 44, 0.22));
 border: 1px solid var(--edu-accent-border, rgba(255, 199, 44, 0.35));
 color: var(--edu-accent, #FFC72C);
 display: flex;
 align-items: center;
 justify-content: center;
 flex-shrink: 0;
}

.edu-tag {
 font-size: .65rem;
 font-weight: 700;
 letter-spacing: .08em;
 text-transform: uppercase;
 color: var(--edu-accent, #FFC72C);
 background: var(--edu-icon-bg, rgba(255, 199, 44, 0.12));
 border: 1px solid var(--edu-accent-border, rgba(255, 199, 44, 0.25));
 padding: 4px 10px;
 border-radius: 20px;
}

.edu-stat-num {
 font-family: var(--font-display, "Zilla Slab", Georgia, serif);
 font-size: 2.3rem;
 font-weight: 700;
 color: #ffffff;
 line-height: 1;
 letter-spacing: -0.01em;
 margin: 4px 0 2px;
}

.edu-card-body h4 {
 font-size: 1rem;
 font-weight: 700;
 color: #ffffff;
 margin: 4px 0 6px;
 line-height: 1.35;
}

.edu-card-body p {
 font-size: .83rem;
 color: rgba(255, 255, 255, 0.75);
 line-height: 1.5;
 margin: 0;
}

.edu-card-footer {
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
 padding-top: 10px;
 border-top: 1px solid rgba(255, 255, 255, 0.12);
 margin-top: 4px;
}

.edu-pill-feature {
 font-size: .7rem;
 font-weight: 600;
 color: rgba(255, 255, 255, 0.92);
 background: rgba(255, 255, 255, 0.09);
 border: 1px solid rgba(255, 255, 255, 0.12);
 padding: 3px 9px;
 border-radius: 6px;
}

/* ---- Per-Site Theme Overrides for Edu Stats Section ---- */
/* 1. Hub: Deep Navy & Gold */
[data-site="hub"] .edu-stats-section,
.edu-stats-section[data-site="hub"] {
 --edu-bg: linear-gradient(135deg, #031B2E 0%, #082942 50%, #0E4C73 100%);
 --edu-accent: #FFC72C;
 --edu-icon-bg: rgba(255, 199, 44, 0.16);
 --edu-accent-border: rgba(255, 199, 44, 0.35);
}

/* 2. Skills Academy: Warm Amber & Gold */
[data-site="skills"] .edu-stats-section,
.edu-stats-section[data-site="skills"] {
 --edu-bg: linear-gradient(135deg, #2D1B0B 0%, #543310 50%, #7A4A18 100%);
 --edu-accent: #FFB800;
 --edu-icon-bg: rgba(255, 184, 0, 0.18);
 --edu-accent-border: rgba(255, 184, 0, 0.38);
}

/* 3. Paramedical: Healthcare Teal & Mint Aqua */
[data-site="para"] .edu-stats-section,
.edu-stats-section[data-site="para"] {
 --edu-bg: linear-gradient(135deg, #042320 0%, #094741 50%, #0B5E56 100%);
 --edu-accent: #20E2C8;
 --edu-icon-bg: rgba(32, 226, 200, 0.16);
 --edu-accent-border: rgba(32, 226, 200, 0.35);
}

/* 4. SKIES Andaman: Deep Ocean & Sky Cyan */
[data-site="skies"] .edu-stats-section,
.edu-stats-section[data-site="skies"] {
 --edu-bg: linear-gradient(135deg, #021727 0%, #0A3957 50%, #1C8FB8 100%);
 --edu-accent: #3FB4DE;
 --edu-icon-bg: rgba(63, 180, 222, 0.18);
 --edu-accent-border: rgba(63, 180, 222, 0.38);
}

/* 5. Foundation: Deep Forest Green & Mint Leaf */
[data-site="found"] .edu-stats-section,
.edu-stats-section[data-site="found"] {
 --edu-bg: linear-gradient(135deg, #0B2317 0%, #15422C 50%, #1E5C3E 100%);
 --edu-accent: #34D399;
 --edu-icon-bg: rgba(52, 211, 153, 0.18);
 --edu-accent-border: rgba(52, 211, 153, 0.38);
}

/* Responsive adjustments */
@media (max-width: 1080px) {
 .edu-stats-grid {
 grid-template-columns: repeat(2, 1fr);
 }
}

@media (max-width: 900px) {
 .hero-carousel-v2,
 .hero-fullbg {
 height: auto;
 min-height: auto;
 }
 .hero-carousel-v2 .hslide {
 position: relative;
 height: auto;
 display: none;
 }
 .hero-carousel-v2 .hslide.active {
 display: flex;
 }
 .hero-fullbg-img-wrap {
 width: 100%;
 opacity: 0.22;
 }
 .hero-fullbg-img-wrap::before {
 background: linear-gradient(to bottom, #ffffff 0%, rgba(255,255,255,0.85) 100%);
 }
 .hero-fullbg-content {
 padding: 50px 20px;
 }
 .hero-fullbg-text {
 max-width: 100%;
 }
 .hcarousel-arrow {
 display: none;
 }
}

@media (max-width: 580px) {
 .edu-stats-grid {
 grid-template-columns: 1fr;
 }
}