/* 
   Edward Kings Academy - Premium Stylesheet
   Theme: Academic Excellence (Deep Forest Green, Royal Gold, & Soft Silk)
   Inspired by: NiceSchool Template Layout and UX
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Raleway:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

:root {
  /* Fonts */
  --default-font: "Roboto", sans-serif;
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;

  /* Global Colors */
  --primary-green: #0F5D46;          /* Primary Green */
  --primary-green-dark: #0a4030;     /* Deeper Green */
  --accent-gold: #D4AF37;            /* Royal Gold */
  --accent-gold-hover: #bfa032;      /* Darker Gold */
  --accent-gold-light: #F1D279;      /* Lighter Gold */
  
  --background-color: #F8FAF9;       /* Light grey-green background */
  --default-color: #444444;          /* Body text color */
  --heading-color: #102A22;          /* Deep Forest Green for headings */
  --surface-color: #ffffff;          /* Card/surface background */
  --contrast-color: #ffffff;         /* Text color against dark background */

  /* Navigation menu colors */
  --nav-color: rgba(255, 255, 255, 0.85);
  --nav-hover-color: #D4AF37;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #102A22;
  --nav-dropdown-hover-color: #0F5D46;

  /* Transition speeds */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
  
  scroll-behavior: smooth;
}

/* Base Styles */
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-gold);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--heading-color);
}

/* Helper Utilities */
.text-gold { color: var(--accent-gold) !important; }
.text-green { color: var(--primary-green) !important; }
.bg-green { background-color: var(--primary-green) !important; }
.bg-dark-green { background-color: var(--heading-color) !important; }

/* Sections */
section, .section {
  padding: 80px 0;
  scroll-margin-top: 80px;
  overflow: clip;
}
@media (max-width: 1199px) {
  section, .section {
    scroll-margin-top: 66px;
    padding: 60px 0;
  }
}

.section-bg {
  background-color: var(--surface-color);
}

/* Section Title */
.section-title {
  text-align: center;
  padding-bottom: 50px;
  position: relative;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-gold);
  display: inline-block;
}
.section-title h2:before {
  margin: 0 15px 8px 0;
}
.section-title h2:after {
  margin: 0 0 8px 15px;
}
.section-title p {
  margin-bottom: 0;
  color: #777;
  font-size: 1.1rem;
}

/* Topbar */
.topbar {
  background: var(--heading-color);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--nav-font);
}

/* Header & Navbar */
.header {
  background-color: rgba(16, 42, 34, 0.95); /* Semi-transparent dark green */
  backdrop-filter: blur(10px);
  padding: 12px 0;
  transition: var(--transition-slow);
  z-index: 997;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.sticky-top {
  position: sticky;
  top: 0;
}

.scrolled .header {
  background-color: rgba(16, 42, 34, 0.98);
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
}

.header .logo h1 {
  font-size: 26px;
  margin: 0;
  font-weight: 700;
  color: var(--contrast-color);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header .logo h1 span {
  color: var(--accent-gold);
}

.header .logo img {
  max-height: 48px;
}

/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }
  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  .navmenu li {
    position: relative;
  }
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 14px 16px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: var(--transition);
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    margin-left: 5px;
  }
  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--accent-gold);
  }
  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--primary-green);
  }
  .navmenu .dropdown ul li {
    min-width: 200px;
  }
  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
    background-color: #f5f9f7;
  }
  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: var(--transition);
  }
  .navmenu {
    padding: 0;
    z-index: 9997;
  }
  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
  }
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 12px 20px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: var(--transition);
  }
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
    background-color: #f5f9f7;
  }
  .mobile-nav-active {
    overflow: hidden;
  }
  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(16, 42, 34, 0.85);
    transition: 0.3s;
    backdrop-filter: blur(5px);
  }
  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/* Admission Button */
.btn-admission {
  background: var(--accent-gold);
  color: var(--heading-color) !important;
  font-weight: 600;
  border-radius: 4px;
  padding: 8px 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: 1px solid var(--accent-gold);
  margin-left: 15px;
}
.btn-admission:hover {
  background: transparent;
  color: var(--accent-gold) !important;
}

/* Hero Section */
.hero {
  padding: 0;
  overflow: hidden;
  position: relative;
  background-color: var(--heading-color);
}

.hero .hero-container {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px 0;
}

.hero .hero-container .hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.35; /* Dark background overlay image */
}

.hero .hero-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(16, 42, 34, 0.9) 0%, rgba(10, 47, 28, 0.6) 100%);
  z-index: 2;
}

.hero .hero-container .container {
  z-index: 3;
}

.hero .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--contrast-color);
  margin-bottom: 25px;
}

.hero .hero-content h1 span {
  color: var(--accent-gold);
  display: block;
}

.hero .hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
}

.hero .cta-buttons .btn-get-started {
  background: var(--accent-gold);
  color: var(--heading-color);
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-block;
  margin-right: 15px;
  border: 2px solid var(--accent-gold);
}
.hero .cta-buttons .btn-get-started:hover {
  background: transparent;
  color: var(--accent-gold);
}

.hero .cta-buttons .btn-watch-video {
  color: var(--contrast-color);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  transition: var(--transition);
}
.hero .cta-buttons .btn-watch-video i {
  font-size: 24px;
  color: var(--accent-gold);
  transition: var(--transition);
}
.hero .cta-buttons .btn-watch-video:hover {
  color: var(--accent-gold);
}

/* Hero Stats Card */
.hero .stats-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  color: var(--contrast-color);
}
.hero .stats-card h3 {
  color: var(--contrast-color);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
}
.hero .stats-card .decoration-line {
  width: 50px;
  height: 2px;
  background: var(--accent-gold);
  margin-bottom: 25px;
}
.hero .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.hero .stat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hero .stat-item .stat-icon {
  font-size: 24px;
  color: var(--accent-gold);
  line-height: 1;
}
.hero .stat-item h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--contrast-color);
  margin: 0;
}
.hero .stat-item p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Event Ticker */
.hero .event-ticker {
  background: var(--primary-green-dark);
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--contrast-color);
  z-index: 3;
  position: relative;
}
.hero .event-ticker .ticker-item {
  display: flex;
  align-items: center;
  gap: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.hero .event-ticker .ticker-item:last-child {
  border-right: none;
}
.hero .event-ticker .date {
  background: var(--accent-gold);
  color: var(--heading-color);
  font-weight: 700;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}
.hero .event-ticker .title {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero .event-ticker .btn-register {
  color: var(--accent-gold);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  margin-left: auto;
  padding-right: 15px;
}
.hero .event-ticker .btn-register:hover {
  color: var(--contrast-color);
}

@media (max-width: 992px) {
  .hero .hero-container {
    min-height: auto;
    padding: 100px 0 60px 0;
  }
  .hero .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero .stats-card {
    margin-top: 40px;
  }
  .hero .event-ticker .ticker-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
  }
  .hero .event-ticker .ticker-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* About Section Styles */
.about .display-6 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.3;
}
.about .display-6 span {
  color: var(--primary-green);
  position: relative;
  display: inline-block;
}
.about .display-6 span:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background: rgba(212, 175, 55, 0.25); /* Light gold bar under text */
  z-index: -1;
}

.about .stat-box {
  padding: 15px 25px;
  background: var(--surface-color);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent-gold);
  border-radius: 4px;
}
.about .stat-box .stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-green);
  display: block;
}
.about .stat-box .stat-label {
  font-size: 14px;
  color: #777;
  font-weight: 500;
}

.about .signature-block img {
  filter: grayscale(1) contrast(1.2);
  opacity: 0.8;
}

/* About Overlapping Image Stack */
.about .image-stack {
  position: relative;
  height: 440px;
}
.about .image-stack-item {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about .image-stack-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about .image-stack-item-top {
  left: 0;
  top: 0;
  width: 80%;
  height: 320px;
  z-index: 2;
  border: 6px solid var(--surface-color);
}
.about .image-stack-item-bottom {
  right: 0;
  bottom: 0;
  width: 70%;
  height: 280px;
  z-index: 1;
}

@media (max-width: 992px) {
  .about .image-stack {
    margin-top: 40px;
    height: 350px;
  }
}

/* Value Cards (Mission, Vision, Values) */
.value-card {
  background: var(--surface-color);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-slow);
  text-align: center;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.3);
}
.value-card .card-icon {
  width: 60px;
  height: 60px;
  background: rgba(15, 93, 70, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-green);
  margin: 0 auto 25px auto;
  transition: var(--transition);
}
.value-card:hover .card-icon {
  background: var(--primary-green);
  color: var(--contrast-color);
  transform: rotateY(360deg);
}
.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}
.value-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 0;
}

/* =========================================================
   Campus Tour Video Showcase Section
   ========================================================= */
.video-showcase {
  background: linear-gradient(160deg, #0a2818 0%, #0F5D46 60%, #0a2818 100%);
  position: relative;
  overflow: hidden;
}
.video-showcase::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.video-showcase .section-title h2,
.video-showcase .section-title p {
  color: var(--contrast-color);
}
.video-showcase .section-title h2:before,
.video-showcase .section-title h2:after {
  background: var(--accent-gold);
}
.video-showcase .section-title p {
  color: rgba(255,255,255,0.75);
}

/* Cinematic Video Wrapper */
.video-showcase-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: #000;
}

/* Play Overlay */
.video-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.5s ease;
}
.video-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.video-overlay-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,40,24,0.7) 0%, rgba(0,0,0,0.5) 100%);
}
.video-overlay-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Pulsing Play Button */
.play-icon-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: var(--heading-color);
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
  animation: pulsePlay 2s infinite;
}
.play-icon-ring:hover {
  transform: scale(1.12);
  background: var(--contrast-color);
  animation: none;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}
.play-icon-ring i {
  padding-left: 5px; /* optical center for play icon */
}
@keyframes pulsePlay {
  0%   { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.55); }
  70%  { box-shadow: 0 0 0 22px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.video-cta-label {
  color: var(--contrast-color);
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Video Frame Container */
.video-frame-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: #000;
}
.video-frame-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Fallback Card (shown when Google Photos can't embed directly) */
.video-fallback-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a2818 0%, #0F5D46 100%);
}
.fallback-inner {
  text-align: center;
  padding: 40px 20px;
  max-width: 500px;
}
.fallback-icon {
  font-size: 60px;
  color: var(--accent-gold);
  margin-bottom: 20px;
  animation: gentlePulse 3s ease-in-out infinite;
}
@keyframes gentlePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.08); opacity: 0.85; }
}
.fallback-inner h3 {
  color: var(--contrast-color);
  font-size: 26px;
  margin-bottom: 12px;
}
.fallback-inner p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  margin-bottom: 30px;
}
.video-external-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-gold);
  color: var(--heading-color) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-gold);
  font-family: var(--nav-font);
}
.video-external-btn:hover {
  background: transparent;
  color: var(--accent-gold) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212,175,55,0.3);
}
.video-external-btn i {
  font-size: 20px;
}

/* Video Highlight Cards */
.video-highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 25px 20px;
  transition: all 0.35s ease;
  backdrop-filter: blur(6px);
  height: 100%;
}
.video-highlight-card:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-5px);
}
.vh-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-gold);
  transition: all 0.3s ease;
}
.video-highlight-card:hover .vh-icon {
  background: var(--accent-gold);
  color: var(--heading-color);
}
.vh-content h4 {
  color: var(--contrast-color);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.vh-content p {
  color: rgba(255,255,255,0.68);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .play-icon-ring {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
  .video-cta-label {
    font-size: 13px;
  }
  .video-highlight-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Why Parents Choose Us Section */
.feature-box {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  text-align: left;
  border-bottom: 3px solid transparent;
}
.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--accent-gold);
}
.feature-box .icon {
  font-size: 36px;
  color: var(--accent-gold);
  margin-bottom: 20px;
  display: inline-block;
}
.feature-box h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-box p {
  color: #777;
  font-size: 14px;
  margin-bottom: 0;
}

/* Featured Programs / Academic Pathways */
.program-filters {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.program-filters li {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: var(--surface-color);
  color: var(--default-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.program-filters li.filter-active,
.program-filters li:hover {
  background: var(--primary-green);
  color: var(--contrast-color);
}

.program-item {
  background: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-slow);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 510px;
}
.program-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.program-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-gold);
  color: var(--heading-color);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 3;
}
.program-image-wrapper {
  height: 220px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.program-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.program-item:hover .program-image-wrapper img {
  transform: scale(1.08);
}
.program-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.program-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.program-highlights {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 13px;
  color: #888;
}
.program-highlights span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.program-highlights i {
  color: var(--primary-green);
}
.program-content p {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}
.program-btn {
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-green);
}
.program-btn:hover {
  color: var(--accent-gold);
}

/* School Life / Student Activities block */
.students-life-block .students-life-img {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  box-shadow: var(--shadow-md);
  height: 420px;
}
.students-life-block .students-life-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.students-life-block .students-life-img:hover img {
  transform: scale(1.05);
}
.students-life-block .students-life-img .img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(16, 42, 34, 0.95), transparent);
  padding: 40px 30px;
  z-index: 2;
}
.students-life-block .students-life-img .img-overlay h3 {
  color: var(--contrast-color);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}
.students-life-block .explore-btn {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.students-life-block .explore-btn:hover {
  color: var(--contrast-color);
}

.student-activity-item {
  background: var(--surface-color);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition);
  height: 100%;
}
.student-activity-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.student-activity-item .icon-box {
  width: 50px;
  height: 50px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-gold);
  margin-bottom: 15px;
}
.student-activity-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.student-activity-item p {
  color: #777;
  font-size: 13.5px;
  margin-bottom: 0;
}

/* Testimonials Section */
.testimonials .testimonial-card {
  background: var(--surface-color);
  padding: 35px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  position: relative;
  height: 100%;
}
.testimonials .testimonial-card .quote-icon {
  font-size: 32px;
  color: rgba(214, 175, 55, 0.2);
  position: absolute;
  top: 25px;
  right: 25px;
}
.testimonials .testimonial-card p {
  font-style: italic;
  color: #555;
  font-size: 15px;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}
.testimonials .user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}
.testimonials .user-info .user-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--primary-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.testimonials .user-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.testimonials .user-info span {
  font-size: 13px;
  color: #888;
}

/* Stats Overview Section */
.stats .stats-overview h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 20px;
}
.stats .stats-overview p {
  color: #666;
  margin-bottom: 30px;
}
.stats .stats-overview .btn-outline {
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  background: transparent;
  padding: 10px 25px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-block;
  margin-left: 10px;
}
.stats .stats-overview .btn-outline:hover {
  background: var(--primary-green);
  color: var(--contrast-color);
}

.stats .stats-card {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.stats .stats-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.stats .stats-card .stats-icon {
  font-size: 32px;
  color: var(--accent-gold);
  margin-bottom: 15px;
}
.stats .stats-card .stats-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 5px;
}
.stats .stats-card .stats-label {
  font-size: 14px;
  color: #777;
  font-weight: 500;
}

/* Facilities Achievement Gallery */
.achievement-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  height: 250px;
}
.achievement-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.achievement-item .achievement-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 42, 34, 0.9) 0%, rgba(16, 42, 34, 0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0.9;
  transition: var(--transition);
}
.achievement-item:hover img {
  transform: scale(1.08);
}
.achievement-item h4 {
  color: var(--contrast-color);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.achievement-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  margin: 0;
}

/* Admissions Process Flow */
.process-flow {
  background: var(--surface-color);
  padding: 50px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.process-step {
  position: relative;
  text-align: center;
  padding: 10px;
}
.process-step .step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-green);
  color: var(--contrast-color);
  font-size: 22px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 4px solid rgba(212, 175, 55, 0.2);
  z-index: 2;
  position: relative;
}
.process-step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}
.process-step p {
  color: #777;
  font-size: 13px;
  margin-bottom: 0;
}
.process-step:not(:last-child):after {
  content: "";
  position: absolute;
  top: 40px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: rgba(15, 93, 70, 0.15);
  z-index: 1;
}
@media (max-width: 768px) {
  .process-step {
    margin-bottom: 30px;
  }
  .process-step:not(:last-child):after {
    display: none;
  }
}

/* FAQ Accordion */
.faq .accordion-item {
  border: none;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  border-radius: 8px !important;
  overflow: hidden;
  background: var(--surface-color);
}
.faq .accordion-button {
  font-weight: 600;
  color: var(--heading-color);
  background: var(--surface-color);
  padding: 20px 25px;
  font-size: 16px;
  border: none;
  box-shadow: none;
}
.faq .accordion-button:not(.collapsed) {
  color: var(--primary-green);
  background: rgba(15, 93, 70, 0.03);
}
.faq .accordion-button::after {
  background-size: 14px;
}
.faq .accordion-body {
  padding: 0 25px 25px 25px;
  color: #555;
  font-size: 14.5px;
  background: var(--surface-color);
}

/* Events Cards Section */
.event-filters select {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 14px;
  color: #555;
  box-shadow: var(--shadow-sm);
}
.event-card {
  background: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  height: 100%;
}
.event-card .event-date {
  background: var(--primary-green);
  color: var(--contrast-color);
  padding: 20px;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.event-card .event-date .month {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.event-card .event-date .day {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent-gold);
}
.event-card .event-date .year {
  font-size: 12px;
  opacity: 0.8;
}
.event-card .event-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}
.event-card .event-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: fit-content;
}
.event-card .event-tag.academic { background: #e3f2fd; color: #0d47a1; }
.event-card .event-tag.sports { background: #e8f5e9; color: #2e7d32; }
.event-card .event-tag.arts { background: #ffebee; color: #c62828; }
.event-card .event-tag.community { background: #fff3e0; color: #e65100; }

.event-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.event-card p {
  color: #666;
  font-size: 13.5px;
  margin-bottom: 15px;
}
.event-card .event-meta {
  display: flex;
  gap: 15px;
  font-size: 12.5px;
  color: #888;
  margin-bottom: 15px;
}
.event-card .event-meta i {
  color: var(--primary-green);
}
.event-card .event-actions {
  display: flex;
  gap: 10px;
}
.event-card .btn-learn-more {
  background: var(--primary-green);
  color: var(--contrast-color);
  padding: 6px 15px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}
.event-card .btn-learn-more:hover {
  background: var(--heading-color);
}
.event-card .btn-calendar {
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #666;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.event-card .btn-calendar:hover {
  background: #f8f9fa;
  color: var(--primary-green);
}

.btn-view-all {
  background: var(--primary-green);
  color: var(--contrast-color);
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  display: inline-block;
  transition: var(--transition);
}
.btn-view-all:hover {
  background: var(--heading-color);
  color: var(--contrast-color);
}

@media (max-width: 768px) {
  .event-card {
    flex-direction: column;
  }
  .event-card .event-date {
    min-width: auto;
    flex-direction: row;
    gap: 10px;
    padding: 15px;
  }
  .event-card .event-date .day {
    font-size: 22px;
  }
}

/* Contact Us Section Layout */
.contact-info-card {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  height: 100%;
}
.contact-info-card .icon-wrapper {
  width: 50px;
  height: 50px;
  background: rgba(15, 93, 70, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-green);
  flex-shrink: 0;
}
.contact-info-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}
.contact-info-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 0;
}

.contact-form-panel {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.contact-form-panel .form-control {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 12px 15px;
  font-size: 14px;
  color: #333;
  transition: var(--transition);
}
.contact-form-panel .form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(15, 93, 70, 0.1);
}
.contact-form-panel .btn-submit {
  background: var(--primary-green);
  color: var(--contrast-color);
  padding: 12px 30px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  border: none;
  text-transform: uppercase;
  transition: var(--transition);
  width: 100%;
}
.contact-form-panel .btn-submit:hover {
  background: var(--heading-color);
}

/* Contact Map styling */
.map-container {
  background: var(--surface-color);
  padding: 15px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition-slow);
}
.map-container:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.map-container iframe {
  border-radius: 8px;
  display: block;
  width: 100%;
  height: 400px;
}
@media (max-width: 768px) {
  .map-container iframe {
    height: 300px;
  }
}

/* Footer Section */
.footer {
  background: var(--heading-color);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  padding: 60px 0 30px 0;
  border-top: 4px solid var(--accent-gold);
}
.footer h3 {
  color: var(--contrast-color);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.footer p {
  line-height: 1.6;
}
.footer .social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .social-links a:hover {
  background: var(--accent-gold);
  color: var(--heading-color);
  border-color: var(--accent-gold);
}

.footer h4 {
  color: var(--contrast-color);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer h4:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-links li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer .footer-links li:first-child {
  padding-top: 0;
}
.footer .footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}
.footer .footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer .copyright-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 25px;
  font-size: 13px;
}
.footer .copyright-section p {
  margin-bottom: 0;
}
.footer .credits {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 5px;
}
.footer .credits a {
  color: rgba(255, 255, 255, 0.7);
}
.footer .credits a:hover {
  color: var(--accent-gold);
}

/* Gallery Section */
.gallery-swiper {
  padding: 40px 0;
}
.gallery-swiper .swiper-slide {
  width: 500px;
  height: 380px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease-in-out;
  opacity: 0.5;
  transform: scale(0.85);
}
.gallery-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 4px solid var(--accent-gold);
  z-index: 10;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.gallery-swiper .swiper-slide:hover .gallery-img {
  transform: scale(1.1);
}
.gallery-swiper .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.gallery-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--primary-green);
  opacity: 0.5;
}
.gallery-swiper .swiper-pagination-bullet-active {
  background-color: var(--accent-gold);
  opacity: 1;
}

@media (max-width: 768px) {
  .gallery-swiper .swiper-slide {
    width: 300px;
    height: 220px;
  }
}

/* Float Buttons */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}
.whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 80px;
  background: var(--primary-green);
  color: white !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(15, 93, 70, 0.2);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
}
.scroll-top.active {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  background: var(--accent-gold);
  color: var(--heading-color) !important;
  transform: translateY(-5px);
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--heading-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s ease-out;
}
#preloader:before {
  content: "";
  border: 4px solid var(--accent-gold-light);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: animate-preloader 1s linear infinite;
}
@keyframes animate-preloader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}