/* ===== SCHOOL WEBSITE - CUSTOM STYLES ===== */

/* ---------- Global ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  padding-top: 70px; /* offset for fixed navbar */
}

a {
  color: #1a6bb5;
}

a:hover {
  color: #0e4a82;
}

section {
  padding: 70px 0;
}

section:nth-child(even) {
  background-color: #f5f8fc;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #f0a500;
  border-radius: 2px;
}

.section-title p {
  color: #666;
  font-size: 16px;
  max-width: 600px;
  margin: 15px auto 0;
}

/* ---------- Navbar ---------- */
.navbar-school {
  background: linear-gradient(135deg, #1a3a5c 0%, #2563a8 100%);
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.navbar-school .navbar-brand {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
}

.navbar-school .navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: #f0a500;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 18px;
  font-weight: 900;
  color: #1a3a5c;
  vertical-align: middle;
}

.navbar-school .navbar-nav > li > a {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 22px 14px;
  transition: color 0.2s, background 0.2s;
}

.navbar-school .navbar-nav > li > a:hover,
.navbar-school .navbar-nav > li > a:focus {
  color: #f0a500 !important;
  background: transparent !important;
}

.navbar-school .navbar-nav > li.active > a {
  color: #f0a500 !important;
  background: transparent !important;
}

.navbar-school .navbar-toggle {
  border-color: rgba(255,255,255,0.3);
}

.navbar-school .navbar-toggle .icon-bar {
  background-color: #fff;
}

/* ---------- Login Button in Navbar ---------- */
.nav-login-item {
  padding: 12px 6px 12px 10px;
}

.btn-nav-login {
  background: #f0a500 !important;
  color: #1a3a5c !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 8px 18px !important;
  border-radius: 4px !important;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s !important;
  display: inline-block;
  margin-top: 8px;
}

.btn-nav-login:hover {
  background: #d4910a !important;
  color: #1a3a5c !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* ---------- Hero Section — Carousel Slider ---------- */
#home {
  padding: 0;
  position: relative;
  min-height: 92vh;
  overflow: hidden;
}

/* Carousel fills the full section */
.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-carousel .carousel-inner,
.hero-carousel .item {
  height: 100%;
}

/* Each slide = full-bleed background image */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 92vh;
}

/* Dark overlay on each slide for text legibility */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 37, 64, 0.82) 0%,
    rgba(26, 58, 92, 0.65) 50%,
    rgba(37, 99, 168, 0.50) 100%
  );
}

/* Slide caption label (bottom-right corner) */
.hero-slide-label {
  bottom: 36px;
  right: 30px;
  left: auto;
  text-align: right;
  text-shadow: none;
}

.slide-tag {
  background: rgba(240, 165, 0, 0.85);
  color: #1a3a5c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
}

/* Custom slide indicators */
.hero-indicators {
  bottom: 28px;
}

.hero-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.6);
  margin: 0 4px;
  transition: background 0.3s, transform 0.3s;
}

.hero-indicators li.active {
  background: #f0a500;
  border-color: #f0a500;
  transform: scale(1.3);
}

/* Prev / Next arrow controls */
.hero-control {
  background: transparent !important;
  width: 50px;
  opacity: 1;
}

.hero-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.35);
  font-size: 26px;
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1;
}

.hero-control:hover .hero-ctrl-btn {
  background: rgba(240,165,0,0.7);
  border-color: #f0a500;
  color: #1a3a5c;
}

/* Hero content overlaid above the carousel */
.hero-content-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 10;
  pointer-events: none; /* let carousel clicks through in empty areas */
}

.hero-content-overlay .container {
  pointer-events: auto;
}

.hero-content {
  position: relative;
  color: #fff;
  padding: 80px 0;
  max-width: 620px;
}

.hero-content .school-tag {
  display: inline-block;
  background: rgba(240,165,0,0.2);
  border: 1px solid rgba(240,165,0,0.4);
  color: #f0a500;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-content h1 span {
  color: #f0a500;
}

.hero-content .motto {
  font-size: 20px;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 35px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: #f0a500;
  line-height: 1;
}

.hero-stat .lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  display: block;
}

.btn-hero-primary {
  background: #f0a500;
  color: #1a3a5c;
  border: none;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}

.btn-hero-primary:hover {
  background: #d4910a;
  color: #1a3a5c;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-hero-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin-left: 12px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-hero-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}

/* ---------- Login Modal ---------- */
.login-modal-dialog {
  width: 380px;
  margin: 60px auto;
}

.login-modal-content {
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.login-modal-header {
  background: linear-gradient(135deg, #1a3a5c, #2563a8);
  border: none;
  text-align: center;
  padding: 36px 30px 24px;
}

.login-close {
  color: rgba(255,255,255,0.7) !important;
  opacity: 1 !important;
  font-size: 22px;
  text-shadow: none !important;
  position: absolute;
  top: 14px;
  right: 18px;
}

.login-close:hover {
  color: #fff !important;
}

.login-modal-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.login-modal-header .modal-title {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 4px;
}

.login-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin: 0;
}

/* Portal tabs */
.login-tabs {
  display: flex;
  background: #f0f4fa;
  padding: 0;
}

.login-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: #777;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border-bottom: 3px solid transparent;
}

.login-tab:hover {
  color: #1a3a5c;
  background: #e4ecf8;
}

.login-tab.active {
  color: #1a3a5c;
  background: #fff;
  border-bottom-color: #f0a500;
}

/* Form body */
.login-modal-body {
  padding: 28px 30px 20px;
}

.login-role-badge {
  background: #eef4ff;
  color: #2563a8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
}

.login-form-group label {
  font-weight: 600;
  font-size: 13px;
  color: #444;
  margin-bottom: 5px;
  display: block;
}

.login-input {
  border: 1.5px solid #dde4ef !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  height: auto !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.login-input:focus {
  border-color: #2563a8 !important;
  box-shadow: 0 0 0 3px rgba(37,99,168,0.12) !important;
  outline: none !important;
}

.login-password-wrap {
  position: relative;
}

.login-toggle-pw {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #888;
  padding: 0;
  line-height: 1;
}

.login-toggle-pw:hover {
  color: #1a3a5c;
}

.login-remember-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 14px 0 20px;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  font-weight: normal;
  margin: 0;
}

.login-forgot {
  font-size: 13px;
  color: #2563a8;
  text-decoration: none;
}

.login-forgot:hover {
  text-decoration: underline;
  color: #1a3a5c;
}

.btn-login-submit {
  width: 100%;
  background: linear-gradient(135deg, #1a3a5c, #2563a8);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-login-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-login-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.login-field-error {
  color: #e74c3c;
  font-size: 12px;
  display: none;
  margin-top: 3px;
}

.login-field-error.visible {
  display: block;
}

.login-success-msg {
  background: #eafaf1;
  border: 1px solid #27ae60;
  border-radius: 8px;
  padding: 12px 16px;
  color: #1e8449;
  font-size: 13px;
  margin-top: 14px;
  text-align: center;
}

.login-error-msg {
  background: #fdf0ee;
  border: 1px solid #e74c3c;
  border-radius: 8px;
  padding: 12px 16px;
  color: #c0392b;
  font-size: 13px;
  margin-top: 14px;
  text-align: center;
}

.login-modal-footer {
  background: #f8fafd;
  border-top: 1px solid #e8eef8;
  text-align: center;
  padding: 14px 20px;
}

.login-modal-footer p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

.login-modal-footer a {
  color: #2563a8;
  font-weight: 600;
}



/* ---------- About Section ---------- */
#about {
  padding: 80px 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1a3a5c, #2563a8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 20px;
}

.about-feature-text h4 {
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 4px;
  font-size: 16px;
}

.about-feature-text p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.about-stats-box {
  background: linear-gradient(135deg, #1a3a5c, #2563a8);
  border-radius: 16px;
  padding: 40px;
  color: white;
  text-align: center;
}

.about-stats-box .stat-item {
  padding: 15px 0;
}

.about-stats-box .stat-number {
  font-size: 42px;
  font-weight: 800;
  color: #f0a500;
  line-height: 1;
  display: block;
}

.about-stats-box .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
  display: block;
}

.about-stats-box .divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 5px 0;
}

/* ---------- Departments Section ---------- */
#departments {
  padding: 80px 0;
}

.dept-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
  border-top: 4px solid transparent;
  margin-bottom: 28px;
}

.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.dept-card.math { border-top-color: #e74c3c; }
.dept-card.science { border-top-color: #27ae60; }
.dept-card.languages { border-top-color: #2980b9; }
.dept-card.arts { border-top-color: #9b59b6; }
.dept-card.pe { border-top-color: #e67e22; }
.dept-card.music { border-top-color: #1abc9c; }

.dept-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 18px;
}

.dept-card.math .dept-icon { background: rgba(231,76,60,0.1); }
.dept-card.science .dept-icon { background: rgba(39,174,96,0.1); }
.dept-card.languages .dept-icon { background: rgba(41,128,185,0.1); }
.dept-card.arts .dept-icon { background: rgba(155,89,182,0.1); }
.dept-card.pe .dept-icon { background: rgba(230,126,34,0.1); }
.dept-card.music .dept-icon { background: rgba(26,188,156,0.1); }

.dept-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 10px;
}

.dept-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.dept-card .grade-badge {
  display: inline-block;
  background: #f0f4fa;
  color: #2563a8;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ---------- Events Section ---------- */
#events {
  padding: 80px 0;
}

.events-filter {
  text-align: center;
  margin-bottom: 30px;
}

.filter-btn {
  background: #f0f4fa;
  color: #555;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin: 4px;
  transition: background 0.2s, color 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: #1a3a5c;
  color: #fff;
}

#events-container {
  min-height: 200px;
}

.event-card {
  background: #fff;
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.event-date-box {
  background: linear-gradient(135deg, #1a3a5c, #2563a8);
  color: white;
  border-radius: 10px;
  min-width: 62px;
  text-align: center;
  padding: 10px 8px;
  flex-shrink: 0;
}

.event-date-box .ev-day {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.event-date-box .ev-month {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
  display: block;
  margin-top: 2px;
}

.event-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 6px;
}

.event-body p {
  font-size: 13px;
  color: #666;
  margin: 0 0 8px;
  line-height: 1.6;
}

.event-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.event-meta span {
  font-size: 12px;
  color: #888;
}

.event-meta .ev-cat {
  background: #eef4ff;
  color: #2563a8;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.event-meta .ev-loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.events-loading {
  text-align: center;
  padding: 60px 0;
}

.events-loading .spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid #e0e8f5;
  border-top-color: #2563a8;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Gallery Section ---------- */
#gallery {
  padding: 80px 0;
}

.gallery-filter {
  text-align: center;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 767px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: #e8eef7;
  cursor: pointer;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

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

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8aa4c8;
  font-size: 14px;
  gap: 8px;
}

.gallery-placeholder .gp-icon {
  font-size: 40px;
  opacity: 0.5;
}

.gallery-placeholder .gp-label {
  font-weight: 600;
  font-size: 13px;
}

.gallery-placeholder .gp-sub {
  font-size: 11px;
  opacity: 0.7;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 92, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-overlay span {
  color: white;
  font-size: 30px;
}

/* ---------- Contact Section ---------- */
#contact {
  padding: 80px 0;
}

.contact-info-card {
  background: linear-gradient(135deg, #1a3a5c, #2563a8);
  border-radius: 16px;
  padding: 40px 35px;
  color: white;
  height: 100%;
}

.contact-info-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.contact-info-card p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 1.7;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item-text h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #f0a500;
  margin: 0 0 3px;
}

.contact-item-text p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 35px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.08);
}

.contact-form-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 25px;
}

.form-group label {
  font-weight: 600;
  color: #444;
  font-size: 14px;
}

.form-group .form-control {
  border: 1.5px solid #dde4ef;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  height: auto;
}

.form-group .form-control:focus {
  border-color: #2563a8;
  box-shadow: 0 0 0 3px rgba(37,99,168,0.12);
  outline: none;
}

.form-group .form-control.is-error {
  border-color: #e74c3c;
}

.form-error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.form-error.visible {
  display: block;
}

.btn-submit {
  background: linear-gradient(135deg, #1a3a5c, #2563a8);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  width: 100%;
  transition: opacity 0.2s, transform 0.15s;
  cursor: pointer;
}

.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-success-msg {
  display: none;
  background: #eafaf1;
  border: 1px solid #27ae60;
  border-radius: 8px;
  padding: 16px 20px;
  color: #1e8449;
  font-size: 14px;
  margin-top: 16px;
  text-align: center;
}

/* ---------- Footer ---------- */
footer {
  background: #0e2540;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

footer h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0a500;
  display: inline-block;
}

footer p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

footer ul li a:hover {
  color: #f0a500;
}

.footer-bottom {
  background: rgba(0,0,0,0.2);
  text-align: center;
  padding: 16px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 40px;
}

/* ---------- Scroll-to-top Button ---------- */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #f0a500;
  color: #1a3a5c;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 999;
  transition: background 0.2s;
  line-height: 44px;
  text-align: center;
}

#scrollTopBtn:hover {
  background: #d4910a;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 38px; }
  .hero-stats { gap: 24px; }
  #home { min-height: 80vh; }
  .hero-slide { height: 80vh; }
  .hero-content { padding: 60px 0; }
  .login-modal-dialog { width: 92%; margin: 60px auto; }
}

@media (max-width: 767px) {
  body { padding-top: 50px; }
  section { padding: 50px 0; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 15px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  #home { min-height: 70vh; }
  .hero-slide { height: 70vh; }
  .about-stats-box { margin-top: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-card { margin-bottom: 24px; }
  .hero-control { display: none; }
  .btn-nav-login { margin-top: 0 !important; }
  .nav-login-item { padding: 8px 15px; }
}

