/* ===========================================
   BRRAASS International School - Component Styles
   =========================================== */

/* ===== Topbar ===== */
.topbar-section {
  background: var(--primary);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
}
.topbar-section a { color: rgba(255,255,255,0.85); text-decoration: none; margin: 0 4px; transition: var(--transition); }
.topbar-section a:hover { color: var(--accent); }
.topbar-section i { margin-right: 4px; }
.topbar-section .topbar-right a { margin-left: 10px; }

/* ===== School Header ===== */
.school-header-main {
  padding: 18px 0;
  background: linear-gradient(135deg, #f8f9fc 0%, #fff 50%, #fef8f0 100%);
  border-bottom: 3px solid var(--accent);
  position: relative;
}
.school-header-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}
.school-header-main .logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}
.school-header-main .logo-img {
  max-width: 100px;
  border-radius: var(--radius-md);
  border: 3px solid var(--accent);
  padding: 3px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.school-header-main .logo-img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}
.school-header-main .school-title {
  color: var(--primary-light);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0.5px;
}
.school-header-main .school-name {
  margin: 0 0 4px;
  color: var(--primary);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.school-header-main .school-address {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}
.school-header-main .school-address i {
  color: var(--accent);
  margin-right: 4px;
}
.school-header-main .affiliation-text {
  font-size: 11px;
  color: var(--accent);
  margin-top: 4px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent), #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px 0;
}
.header-divider span {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px;
}

/* ===== Navigation ===== */
.nav-wrapper {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}
@media (max-width: 768px) {
  .nav-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nav-wrapper::-webkit-scrollbar { height: 0; }
}
.nav-wrapper.is-sticky {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.navbar-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.navbar-nav > li { position: relative; margin: 0; padding: 0; }
.navbar-nav > li > a {
  display: block;
  padding: 14px 18px;
  color: rgba(255,255,255,0.9) !important;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none !important;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}
.navbar-nav > li:hover > a,
.navbar-nav > li.active > a {
  color: var(--accent) !important;
  background: rgba(255,255,255,0.08);
}
.navbar-nav > li > a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.navbar-nav > li:hover > a:after,
.navbar-nav > li.active > a:after { width: 60%; }

/* Admin login link */
li.admin-login-link {
  margin-left: 8px;
}
li.admin-login-link::before {
  content: '';
  display: block;
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.3);
}
li.admin-login-link a {
  color: var(--accent) !important;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  padding: 8px 10px !important;
  border-bottom: none !important;
  font-size: 16px !important;
}
li.admin-login-link:hover a {
  background: var(--accent) !important;
  color: #fff !important;
}
li.admin-login-link a:after { display: none; }
li.admin-login-link:hover a:after { width: 0; }

/* Dropdown */
.navbar-nav li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  display: none;
  z-index: 9999;
  padding: 8px 0;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-top: 3px solid var(--accent);
}
.navbar-nav li:hover > ul { display: block !important; animation: fadeIn 0.25s ease; }
.navbar-nav li.open > ul { display: block !important; }
.navbar-nav li ul li {
  width: 100%;
  float: none;
  margin: 0;
  padding: 0;
}
.navbar-nav li ul li a {
  padding: 10px 20px;
  color: var(--text) !important;
  display: block;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none !important;
}
.navbar-nav li ul li:last-child a { border-bottom: none; }
.navbar-nav li ul li a:hover {
  background: var(--light);
  color: var(--primary) !important;
  padding-left: 26px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slicknav Mobile Menu */
#slicknav-mobile { display: none; }
.slicknav_menu { display: none; }

@media (max-width: 991px) {
  #slicknav-mobile { display: block; }
  .slicknav_menu { display: block; background: var(--primary); }
  .slicknav_btn {
    background: var(--primary-dark);
    margin: 8px;
    border-radius: var(--radius-sm);
  }
  .slicknav_nav {
    background: var(--primary);
    padding: 5px 0;
  }
  .slicknav_nav a {
    color: rgba(255,255,255,0.9);
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
  }
  .slicknav_nav a:hover { background: var(--primary-light); color: var(--accent); }
  .slicknav_nav .slicknav_row:hover { background: var(--primary-light); }
  .slicknav_nav ul { margin: 0; padding-left: 15px; background: var(--primary-dark); }
  .slicknav_nav .slicknav_arrow { font-size: 12px; margin-left: 5px; }
  .slicknav_nav .slicknav_open > .slicknav_item .slicknav_arrow { transform: rotate(180deg); }
  #responsive-menu { display: none !important; }
}

/* ===== Hero Slider ===== */
#hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 560px;
}
#hero-slider .carousel-inner .item {
  position: relative;
  height: 560px;
}
#hero-slider .hero-slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0; left: 0;
}
#hero-slider .hero-slide-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.7) 0%, rgba(15,42,15,0.5) 50%, rgba(13,27,42,0.8) 100%);
}
#hero-slider .carousel-inner .item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.015) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.015) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.015) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.015) 75%);
  background-size: 60px 60px;
  pointer-events: none;
}

/* carousel controls */
#hero-slider .carousel-control {
  width: 50px; height: 50px;
  top: 50%; transform: translateY(-50%);
  background: rgba(10,22,40,0.6);
  border-radius: 50%;
  line-height: 50px;
  text-align: center;
  font-size: 20px;
  opacity: 0;
  transition: var(--transition);
  z-index: 5;
}
#hero-slider:hover .carousel-control { opacity: 1; }
#hero-slider .carousel-control.left { left: 20px; }
#hero-slider .carousel-control.right { right: 20px; }

/* indicators */
#hero-slider .carousel-indicators { bottom: 60px; z-index: 5; }
#hero-slider .carousel-indicators li {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; margin: 0 5px;
  transition: var(--transition);
}
#hero-slider .carousel-indicators li.active {
  width: 30px; border-radius: 6px;
  background: var(--accent);
}

/* fallback gradient banner */
.hero-banner-fallback {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a1628 0%, #0f2a0f 35%, #1a3a1a 65%, #0d1b2a 100%);
  overflow: hidden;
}
.hero-banner-fallback .hero-bg-fallback {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 15% 35%, rgba(240,165,0,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 65%, rgba(255,255,255,0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 0%, rgba(240,165,0,0.06) 0%, transparent 40%);
  pointer-events: none;
}
.hero-banner-fallback .hero-bg-fallback::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.015) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.015) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.015) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.015) 75%);
  background-size: 60px 60px;
  pointer-events: none;
}

/* shared hero caption */
.hero-caption {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  width: 85%;
  max-width: 750px;
  animation: heroFadeIn 0.8s ease;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translate(-50%, -40%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.hero-caption .hero-badge {
  display: inline-block;
  background: rgba(240,165,0,0.15);
  border: 1px solid rgba(240,165,0,0.3);
  color: var(--accent);
  padding: 5px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-caption h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 4px;
  text-shadow: 0 2px 15px rgba(0,0,0,0.4);
  letter-spacing: 1.5px;
  line-height: 1.2;
}
.hero-caption .hero-title-line {
  display: inline-block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 14px auto 16px;
  border-radius: 2px;
}
.hero-caption p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
  font-weight: 400;
  letter-spacing: 0.3px;
}
.hero-caption .btn-hero {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--primary-dark) !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition);
  border: 2px solid var(--accent);
  box-shadow: 0 4px 15px rgba(240,165,0,0.3);
}
.hero-caption .btn-hero:hover {
  background: transparent;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(240,165,0,0.4);
}
.hero-caption .btn-hero-outline {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.8);
  margin-left: 12px;
}
.hero-caption .btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-3px);
}

/* scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: heroScrollBounce 2s ease-in-out infinite;
}
.hero-scroll i { font-size: 16px; }
@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 991px) {
  #hero-slider, #hero-slider .carousel-inner .item, .hero-banner-fallback { min-height: 420px; height: 420px; }
  .hero-caption h1 { font-size: 32px; }
  .hero-caption p { font-size: 15px; }
  .hero-caption .btn-hero, .hero-caption .btn-hero-outline { padding: 11px 26px; font-size: 13px; }
}
@media (max-width: 767px) {
  #hero-slider, #hero-slider .carousel-inner .item, .hero-banner-fallback { min-height: 320px; height: 320px; }
  .hero-caption { width: 92%; }
  .hero-caption h1 { font-size: 24px; letter-spacing: 0.5px; }
  .hero-caption p { font-size: 13px; margin-bottom: 18px; }
  .hero-caption .btn-hero, .hero-caption .btn-hero-outline { padding: 9px 20px; font-size: 11px; margin: 4px; }
  .hero-caption .hero-badge { font-size: 10px; padding: 4px 14px; margin-bottom: 14px; }
  .hero-caption .hero-title-line { width: 50px; margin: 10px auto 12px; }
  .hero-scroll { display: none; }
  #hero-slider .carousel-indicators { bottom: 30px; }
}
@media (max-width: 480px) {
  #hero-slider, #hero-slider .carousel-inner .item, .hero-banner-fallback { min-height: 260px; height: 260px; }
  .hero-caption h1 { font-size: 18px; }
  .hero-caption p { font-size: 11px; margin-bottom: 12px; }
  .hero-caption .btn-hero, .hero-caption .btn-hero-outline { padding: 7px 16px; font-size: 10px; }
  .hero-caption .hero-badge { font-size: 9px; padding: 3px 10px; }
}

/* ===== Shared Utilities ===== */
.section-padding { padding: 70px 0; }
.bg-light { background: var(--light); }
section, .section-padding, .stats-strip, .about-notice-wrap { border-bottom: 1px solid var(--border); }
section:last-child, .section-padding:last-child { border-bottom: none; }
.text-accent { color: var(--accent); }
.title-divider-left {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  margin: 0 0 18px;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero-sm {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a1628 0%, #0f2a0f 50%, #0d1b2a 100%);
  overflow: hidden;
}
.page-hero-sm .page-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(240,165,0,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}
.page-hero-sm .page-hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.012) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.012) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.012) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.012) 75%);
  background-size: 50px 50px;
}
.page-hero-sm .page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 0;
}
.page-hero-sm .page-hero-content h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
}
.page-hero-sm .page-hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  max-width: 550px;
  margin: 0 auto;
}
.page-hero-sm .page-hero-content .hero-title-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 10px auto 14px;
  border-radius: 2px;
}
.page-badge {
  display: inline-block;
  background: rgba(240,165,0,0.15);
  border: 1px solid rgba(240,165,0,0.3);
  color: var(--accent);
  padding: 4px 18px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ===== About Page ===== */
.about-wrap { align-items: center; }
.about-image-wrapper {
  position: relative;
  padding-right: 20px;
}
.about-img-border {
  position: absolute;
  top: -12px; left: -12px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.4;
}
.about-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
}
.about-experience-badge {
  position: absolute;
  bottom: -15px;
  right: 10px;
  z-index: 2;
  background: linear-gradient(135deg, var(--accent), #d49400);
  color: var(--primary-dark);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 4px 15px rgba(240,165,0,0.3);
}
.about-experience-badge .exp-num {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
.about-experience-badge .exp-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}
.about-text-content { padding-left: 20px; }
.about-text-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary);
}
.about-text-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  margin-top: 10px;
}
.about-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}
.about-feature-item i {
  color: var(--success);
  font-size: 16px;
}
.section-badge {
  display: inline-block;
  background: rgba(240,165,0,0.1);
  color: var(--accent);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-badge i { margin-right: 4px; }

/* ===== Stats Strip ===== */
.stats-strip {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 50px 0;
}
.stat-item-strip {
  text-align: center;
  padding: 15px;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item-strip:last-child { border-right: none; }
.stat-item-strip i {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.stat-item-strip h3 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.stat-item-strip p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Vision Mission Cards ===== */
.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.vm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
}
.vm-vision::before { background: linear-gradient(180deg, var(--accent), #ff8c00); }
.vm-mission::before { background: linear-gradient(180deg, var(--success), var(--success-light)); }
.vm-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 22px;
  margin-bottom: 16px;
}
.vm-vision .vm-icon { background: rgba(240,165,0,0.1); color: var(--accent); }
.vm-mission .vm-icon { background: rgba(46,125,50,0.1); color: var(--success); }
.vm-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}
.vm-card p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0;
}

/* ===== Responsive: About Page ===== */
@media (max-width: 767px) {
  .section-padding { padding: 45px 0; }
  .page-hero-sm { min-height: 200px; }
  .page-hero-sm .page-hero-content h1 { font-size: 24px; }
  .page-hero-sm .page-hero-content p { font-size: 14px; }
  .about-image-wrapper { padding-right: 0; margin-bottom: 30px; }
  .about-text-content { padding-left: 0; }
  .about-text-content h2 { font-size: 22px; }
  .about-experience-badge { right: 0; }
  .about-features { gap: 8px 15px; }
  .stat-item-strip { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 20px 10px; }
  .stat-item-strip:last-child { border-bottom: none; }
  .stat-item-strip h3 { font-size: 26px; }
  .stat-item-strip i { font-size: 26px; }
  .vm-card { padding: 25px 20px; }
}

/* ===== Stats Counter ===== */
.stat-box {
  text-align: center;
  padding: 30px 15px 25px;
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.stat-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(26,39,68,0.12);
}
.stat-box .stat-icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.stat-box h3 {
  font-size: 38px;
  font-weight: 800;
  margin: 0;
  color: var(--primary);
  line-height: 1.2;
}
.stat-box p {
  font-size: 13px;
  margin: 6px 0 0;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ===== About + Notice Board ===== */
.about-notice-wrap { background: var(--white); }
.about-home-content { padding-right: 30px; }
.about-home-content .about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }

.welcome-heading { margin-bottom: 4px; }
.welcome-heading .welcome-word {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  vertical-align: middle;
  margin-right: 6px;
}
.welcome-heading .school-name-highlight {
  display: inline-block;
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, #2a4a1a 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .welcome-heading .welcome-word { font-size: 13px; letter-spacing: 2px; display: block; margin-bottom: 2px; }
  .welcome-heading .school-name-highlight { font-size: 22px; }
}

/* Notice Board Widget */
.notice-board-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 20px rgba(26,39,68,0.08);
  border: 1px solid var(--border);
  overflow: hidden;
}
.notice-board-widget .notice-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.notice-board-widget .notice-header i {
  font-size: 22px;
  color: var(--accent);
}
.notice-board-widget .notice-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.notice-board-widget .notice-header .notice-count {
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  min-width: 24px;
  text-align: center;
}
.notice-scroll {
  max-height: 380px;
  overflow-y: auto;
}
.notice-scroll::-webkit-scrollbar { width: 5px; }
.notice-scroll::-webkit-scrollbar-track { background: var(--light); }
.notice-scroll::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
.notice-scroll::-webkit-scrollbar-thumb:hover { background: #bbb; }
.notice-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none !important;
  color: var(--text) !important;
}
.notice-item:hover {
  background: rgba(240,165,0,0.06);
  padding-left: 22px;
}
.notice-item:last-child { border-bottom: none; }
.notice-item .notice-date {
  flex-shrink: 0;
  width: 44px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(240,165,0,0.08);
  padding: 4px 6px;
  border-radius: 6px;
  line-height: 1.3;
  text-transform: uppercase;
}
.notice-item .notice-body { flex: 1; min-width: 0; }
.notice-item .notice-body h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notice-item .notice-arrow {
  color: #ccc;
  font-size: 12px;
  flex-shrink: 0;
  transition: var(--transition);
}
.notice-item:hover .notice-arrow {
  color: var(--accent);
  transform: translateX(3px);
}
.notice-footer-link {
  display: block;
  text-align: center;
  padding: 12px;
  background: var(--light);
  color: var(--primary) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--transition);
  border-top: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.notice-footer-link:hover {
  background: var(--accent);
  color: var(--primary-dark) !important;
}

/* About page notice-scroll override */
.notice-scroll .event-item {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}
.notice-scroll .event-item:hover { background: var(--light); }
.notice-scroll .event-item:last-child { border-bottom: none; }
.notice-scroll .event-item .new-icon { width: 28px; height: 28px; flex-shrink: 0; }
.notice-scroll .event-item p { margin: 0; font-size: 13px; line-height: 1.5; }

/* ===== Principal Card ===== */
.principal-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.principal-card:hover {
  box-shadow: 0 10px 35px rgba(26,39,68,0.12);
  transform: translateY(-5px);
}
.principal-card::after {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 40px;
  color: var(--accent);
  opacity: 0.2;
}
.principal-card img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid var(--primary);
  transition: var(--transition);
}
.principal-card:hover img {
  border-color: var(--accent);
  transform: scale(1.03);
}

/* ===== Home Cards (Facilities) ===== */
.home-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  margin-bottom: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.home-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}
.home-card:hover::before { opacity: 1; }
.home-card:hover {
  box-shadow: 0 10px 35px rgba(26,39,68,0.12);
  transform: translateY(-6px);
}
.home-card .icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, rgba(26,39,68,0.06), rgba(240,165,0,0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.home-card:hover .icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  transform: scale(1.1) rotate(5deg);
}
.home-card i {
  font-size: 30px;
  color: var(--primary);
  transition: var(--transition);
}
.home-card:hover i { color: var(--accent); }
.home-card h4 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.home-card p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ===== Gallery Thumb ===== */
.gallery-thumb {
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
}
.gallery-thumb img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-thumb:hover img { transform: scale(1.12); }
.gallery-thumb .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,39,68,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-thumb:hover .overlay { opacity: 1; }
.gallery-thumb .overlay i {
  color: #fff;
  font-size: 36px;
  transform: scale(0.5);
  transition: transform 0.3s ease;
}
.gallery-thumb:hover .overlay i { transform: scale(1); }

/* ===== Birthday Section ===== */
.birthday-card {
  background: linear-gradient(135deg, #fff5f5, #fff);
  padding: 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px solid #ffe0e0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.birthday-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.birthday-card img {
  border: 3px solid var(--accent) !important;
  box-shadow: 0 4px 15px rgba(240,165,0,0.2);
}

/* ===== Toppers Section ===== */
.topper-slide .item { text-align: center; padding: 15px; }
.topper-slide .item img {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 0 auto 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 3px solid var(--white);
  transition: var(--transition);
}
.topper-slide .item:hover img {
  border-color: var(--accent);
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(240,165,0,0.2);
}
.topper-slide .item h4 { font-size: 16px; margin: 10px 0 0; color: var(--primary); font-weight: 700; }
.topper-slide .item .percentage {
  color: var(--accent);
  font-weight: 800;
  font-size: 20px;
  display: inline-block;
  padding: 2px 10px;
  background: rgba(240,165,0,0.1);
  border-radius: 20px;
}

/* ===== Feature Section (Why Choose Us / Facilities) ===== */
.feature-card {
  text-align: center;
  padding: 25px 15px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  transition: var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-card i {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.feature-card h4 { font-size: 16px; font-weight: 700; color: var(--primary); }
.feature-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ===== Blog Section ===== */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card .blog-body { padding: 18px; }
.blog-card .blog-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.blog-card .blog-body h4 a { color: var(--primary); }
.blog-card .blog-body h4 a:hover { color: var(--accent); }
.blog-card .blog-body p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.blog-card .blog-body .blog-date {
  font-size: 12px;
  color: #999;
  display: block;
  margin-bottom: 8px;
}
.blog-card .blog-body .blog-date i { margin-right: 5px; }

/* ===== About Text ===== */
.about-text p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ===== Footer ===== */
#mt_footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 0;
  border-top: 4px solid var(--accent);
}
.footer-main {
  padding: 50px 0 30px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-main h4 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-main h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}
.footer-main p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.8; }
.footer-main ul li {
  margin-bottom: 10px;
  padding: 0;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.footer-main ul li i { margin-right: 8px; color: var(--accent); width: 14px; }
.footer-main ul li a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-main ul li a:hover { color: var(--accent); padding-left: 4px; }

.footer-bottom {
  padding: 18px 0;
  background: rgba(0,0,0,0.15);
}
.footer-bottom p { margin: 0; color: rgba(255,255,255,0.6); font-size: 13px; }
.footer-bottom .social-icons a {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  line-height: 34px;
  text-align: center;
  margin-left: 6px;
  transition: var(--transition);
}
.footer-bottom .social-icons a:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

@media (max-width: 767px) {
  .footer-main { padding: 30px 0 10px; }
  .footer-main h4 { font-size: 16px; }
  .footer-bottom .social-icons { text-align: center; margin-top: 10px; }
  .footer-bottom .social-icons a { margin: 0 4px; }
}

/* ===== Responsive: Header & Topbar ===== */
@media (max-width: 767px) {
  .topbar-section { font-size: 12px; padding: 6px 0; }
  .topbar-section .topbar-right { text-align: left !important; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.15); }
  .topbar-section .topbar-right a { margin-left: 0; margin-right: 10px; }
  .school-header-main .school-name { font-size: 20px; }
  .school-header-main .school-title { font-size: 13px; }
  .school-header-main .school-address { font-size: 12px; }
  .school-header-main .logo-img { max-width: 80px; }
  .school-header-main .row > div { margin-bottom: 8px; }
  .school-header-main .row > div:last-child { margin-bottom: 0; }
  .nav-wrapper .navbar-nav > li > a { padding: 10px 14px; font-size: 13px; }
  #back-to-top { width: 36px; height: 36px; font-size: 14px; bottom: 70px; right: 12px; }
}

@media (max-width: 480px) {
  .topbar-section .col-xs-12 { text-align: center !important; }
  .topbar-section .topbar-right { text-align: center !important; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.15); }
  .school-header-main { padding: 12px 0; }
  .school-header-main .school-name { font-size: 17px; }
  .school-header-main .school-title { font-size: 11px; }
  .school-header-main .school-address { font-size: 11px; }
  .school-header-main .logo-img { max-width: 65px; }
  .donation-button { min-width: 44px; height: 44px; border-radius: 22px; font-size: 16px; right: 10px; bottom: 120px; padding: 4px 10px; }
  .donation-button span { font-size: 9px; }
  .wp-call-button { width: 42px; height: 42px; right: 10px; bottom: 70px; }
  #back-to-top { bottom: 70px; right: 10px; }
}

/* ===== Responsive: Homepage ===== */
@media (max-width: 991px) {
  .stat-box { padding: 20px 15px; }
  .stat-box h3 { font-size: 28px; }
}
@media (max-width: 767px) {
  .stat-box { margin-bottom: 15px; padding: 16px; }
  .stat-box h3 { font-size: 24px; }
  .home-card { margin-bottom: 15px; }
  .home-card .icon-wrap { width: 50px; height: 50px; font-size: 20px; }
  .gallery-thumb { margin-bottom: 15px; }
  .principal-card { margin-bottom: 20px; }
  .about-text { margin-top: 15px; }
  .about-home-content { padding-right: 0; margin-bottom: 30px; }
  .notice-scroll { max-height: 250px; }
  .feature-card { padding: 18px 12px; }
}

/* ===== Page Content Inner ===== */
.page-inner { padding: 40px 0 60px; }
.page-inner h2 { margin-bottom: 20px; }
.page-inner h3 { margin-bottom: 15px; }
.page-inner ul, .page-inner ol {
  padding-left: 20px;
  margin-bottom: 15px;
}
.page-inner ul li {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  list-style: none;
}
.page-inner ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.page-inner ol li {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
  padding-left: 8px;
  list-style: decimal;
}

/* ===== Admission Process ===== */
.admission-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: var(--transition);
}
.admission-step:hover { box-shadow: var(--shadow-md); }
.admission-step .step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.admission-step .step-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 5px; color: var(--primary); }
.admission-step .step-content p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ===== Contact Page ===== */
.contact-info-card {
  text-align: center;
  padding: 25px 15px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-info-card i {
  font-size: 34px;
  color: var(--accent);
  margin-bottom: 12px;
}
.contact-info-card h4 { font-size: 16px; font-weight: 700; }
.contact-info-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ===== Faculty Card ===== */
.faculty-card {
  text-align: center;
  padding: 25px 15px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: var(--transition);
}
.faculty-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.faculty-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 3px solid var(--primary);
}
.faculty-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.faculty-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ===== Sidebar Card ===== */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}
.sidebar-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li a {
  color: var(--text);
  font-size: 14px;
}
.sidebar-card ul li a:hover { color: var(--accent); padding-left: 4px; }

/* ===== Content Table (Mandatory Disclosure, etc) ===== */
.content-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.content-table th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 15px;
  font-weight: 600;
  text-align: left;
  font-size: 14px;
}
.content-table td {
  padding: 10px 15px;
  border: 1px solid var(--border);
  font-size: 14px;
  vertical-align: top;
}
.content-table tr:nth-child(even) td { background: var(--light); }
.content-table td:first-child { font-weight: 600; color: var(--primary); width: 40%; }

/* ===== Noticeboard / Events ===== */
.notice-item {
  padding: 15px 18px;
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.notice-item:hover { box-shadow: var(--shadow-md); }
.notice-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.notice-item p { font-size: 13px; color: var(--text-muted); margin: 0; }
.notice-item .notice-date {
  font-size: 12px;
  color: #999;
  display: block;
  margin-top: 5px;
}

/* ===== Admission Form ===== */
.admission-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.admission-form-wrapper .form-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}
.admission-form-wrapper .form-section h4 {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--accent);
}

/* ===== Document Checklist ===== */
.docs-checklist {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.docs-checklist h4 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.docs-checklist ul li {
  padding: 5px 0;
  font-size: 13px;
  color: var(--text);
  margin: 0;
}
.docs-checklist ul li i { color: var(--success); margin-right: 8px; width: 16px; }

/* ===== Alert / Important Notes ===== */
.alert-box {
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
}
.alert-box.alert-info { background: #e8f4fd; border: 1px solid #b6d4fe; color: #0c5460; }
.alert-box.alert-success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.alert-box.alert-warning { background: #fff3cd; border: 1px solid #ffeeba; color: #856404; }
.alert-box.alert-danger { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }
.alert-box i { margin-right: 8px; }

/* ===== Staff Table ===== */
.staff-table th, .staff-table td { text-align: left; }
.staff-table td { font-size: 14px; }

/* ===== Gallery Styles (keep from previous) ===== */
.gallery-hero { background:linear-gradient(135deg,#1a1a2e,#16213e,#0f3460); color:#fff; padding:50px 0; text-align:center; }
.gallery-hero h1 { color:#fff; font-size:36px; font-weight:700; margin-bottom:10px; }
.gallery-hero p { color:#a8c8f0; font-size:16px; }
.year-section { margin-bottom:40px; }
.year-title { font-size:28px; font-weight:700; color:#1a1a2e; padding-bottom:10px; margin-bottom:25px; border-bottom:3px solid #0f3460; position:relative; }
.year-title .year-badge { display:inline-block; background:#0f3460; color:#fff; padding:4px 16px; border-radius:20px; font-size:14px; margin-left:10px; }
.album-card { border-radius:12px; overflow:hidden; box-shadow:0 4px 15px rgba(0,0,0,0.1); margin-bottom:25px; transition:transform 0.3s, box-shadow 0.3s; background:#fff; cursor:pointer; height:100%; display:block; color:inherit; text-decoration:none; }
.album-card:hover { transform:translateY(-6px); box-shadow:0 12px 30px rgba(0,0,0,0.18); text-decoration:none; color:inherit; }
.album-card .album-cover { position:relative; height:200px; overflow:hidden; }
.album-card .album-cover img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s; }
.album-card:hover .album-cover img { transform:scale(1.08); }
.album-card .album-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.3); opacity:0; transition:opacity 0.3s; display:flex; align-items:center; justify-content:center; }
.album-card:hover .album-overlay { opacity:1; }
.album-card .album-overlay i { color:#fff; font-size:40px; }
.album-card .album-body { padding:15px; }
.album-card .album-body h4 { font-size:15px; font-weight:600; color:#333; margin:0 0 5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.album-card .album-body p { font-size:12px; color:#888; margin:0; }
.album-card .album-body .photo-count { display:inline-block; background:#f0f4ff; color:#0f3460; padding:2px 10px; border-radius:10px; font-size:11px; margin-top:8px; }
.album-card .album-body .month-label { color:#0f3460; font-weight:600; font-size:13px; }
.back-btn { display:inline-block; margin-bottom:20px; padding:8px 20px; background:#0f3460; color:#fff; border-radius:6px; text-decoration:none; font-size:14px; }
.back-btn:hover { background:#1a1a2e; color:#fff; text-decoration:none; }

.video-box { border-radius:12px; overflow:hidden; box-shadow:0 4px 15px rgba(0,0,0,0.1); margin-bottom:25px; background:#fff; transition:transform 0.3s, box-shadow 0.3s; cursor:pointer; }
.video-box:hover { transform:translateY(-5px); box-shadow:0 10px 25px rgba(0,0,0,0.15); }
.video-box .play-icon { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); font-size:60px; color:rgba(255,255,255,0.9); text-shadow:0 2px 10px rgba(0,0,0,0.5); transition:transform 0.3s; }
.video-box:hover .play-icon { transform:translate(-50%,-50%) scale(1.1); color:#fff; }
.video-box .caption { padding:15px; font-size:14px; font-weight:600; color:#333; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.photo-grid .photo-item { border-radius:8px; overflow:hidden; margin-bottom:20px; box-shadow:0 2px 10px rgba(0,0,0,0.08); transition:transform 0.3s; cursor:pointer; display:block; }
.photo-grid .photo-item:hover { transform:scale(1.03); }
.photo-grid .photo-item img { width:100%; height:220px; object-fit:cover; display:block; }

@media (max-width:767px) {
  .gallery-hero { padding:30px 0; }
  .gallery-hero h1 { font-size:24px; }
  .year-title { font-size:22px; }
  .album-card .album-cover { height:160px; }
  .photo-grid .photo-item img { height:180px; }
  .video-box .play-icon { font-size:40px; }
}
