/* ==========================================================================
   International Sai Shankar Public School (ISS Public School)
   Custom Stylesheet - Modern, Responsive & Elegant
   Theme Colors based on Official School Logo: Saffron / Warm Orange & Deep Navy
   ========================================================================== */

:root {
  --primary-color: #ea5b18;       /* School Logo Saffron/Orange */
  --primary-hover: #d24b0b;
  --primary-light: #fff2eb;
  --secondary-color: #12233f;     /* Deep Royal Navy Blue */
  --secondary-light: #1f3760;
  --accent-gold: #ffaa17;         /* Warm Gold Accent */
  --text-dark: #222933;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: -0.02em;
}

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

/* Top Header Bar */
.top-header {
  background-color: var(--secondary-color);
  color: #e2e8f0;
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--primary-color);
}

.top-header a {
  color: #cbd5e1;
}

.top-header a:hover {
  color: var(--accent-gold);
}

.top-header-badge {
  background: rgba(234, 91, 24, 0.25);
  color: #ff9e6d;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(234, 91, 24, 0.4);
}

/* Main Navbar */
.main-navbar {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
  transition: var(--transition);
}

.main-navbar.sticky-top {
  top: 0;
  z-index: 1020;
}

.school-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.school-logo {
  height: 64px;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(234, 91, 24, 0.25);
  border: 2px solid var(--primary-color);
  background: #000;
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 1px;
}

.brand-motto {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--secondary-color) !important;
  padding: 10px 16px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
  background-color: var(--primary-light);
}

.btn-theme-primary {
  background: linear-gradient(135deg, var(--primary-color), #f77e38);
  color: var(--white) !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 14px rgba(234, 91, 24, 0.35);
  transition: var(--transition);
}

.btn-theme-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 91, 24, 0.45);
}

.btn-theme-secondary {
  background: var(--secondary-color);
  color: var(--white) !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 14px rgba(18, 35, 63, 0.25);
  transition: var(--transition);
}

.btn-theme-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 35, 63, 0.35);
}

.btn-theme-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color) !important;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  transition: var(--transition);
  background: transparent;
}

.btn-theme-outline:hover {
  background: var(--primary-color);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* Announcement Bar */
.announcement-bar {
  background-color: #fff4ec;
  border-bottom: 1px solid #fed7aa;
  padding: 8px 0;
}

.ticker-title {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(rgba(18, 35, 63, 0.88), rgba(18, 35, 63, 0.92)), url('../images/annual_function.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 90px 0 100px;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(234, 91, 24, 0.25);
  border: 1px solid rgba(234, 91, 24, 0.7);
  color: #ffaa7d;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.hero-title {
  color: #ffffff;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero-title span {
  color: #f79051;
  background: linear-gradient(120deg, #ff9452, #ffbc85);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 680px;
  margin-bottom: 30px;
}

.hero-stats-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--white);
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #ff9f68;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* Page Banners */
.page-banner {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1c355e 100%);
  position: relative;
  padding: 60px 0;
  color: var(--white);
  border-bottom: 4px solid var(--primary-color);
}

.page-banner-title {
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.breadcrumb-item a {
  color: #fdba74;
}

.breadcrumb-item.active {
  color: #e2e8f0;
}

/* Section Headers */
.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  display: inline-block;
  margin-bottom: 8px;
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: 30px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Feature & Highlight Cards */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(234, 91, 24, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.08);
}

/* Principal Message Card */
.principal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.principal-badge {
  background: linear-gradient(135deg, var(--primary-color), #ff8d47);
  color: var(--white);
  display: inline-block;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.principal-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: #334155;
  border-left: 4px solid var(--primary-color);
  padding-left: 18px;
  margin: 18px 0;
}

/* Documents & Mandatory Disclosure Cards */
.document-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: var(--transition);
}

.document-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.doc-status-badge {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.badge-verified {
  background: #dcfce7;
  color: #166534;
}

.badge-official {
  background: #ffedd5;
  color: #9a3412;
}

.doc-icon {
  font-size: 2.2rem;
  color: var(--primary-color);
}

/* Gallery Items */
.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: #000;
  height: 280px;
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 35, 63, 0.95) 0%, rgba(18, 35, 63, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.gallery-overlay span {
  color: #fdba74;
  font-size: 0.84rem;
}

.gallery-btn-filter.active {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border-color: var(--primary-color) !important;
}

/* Contact Cards */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.contact-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.contact-form-box {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

/* Footer */
.site-footer {
  background-color: var(--secondary-color);
  color: #cbd5e1;
  padding-top: 60px;
  border-top: 4px solid var(--primary-color);
}

.site-footer h5 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.site-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #ff9d66;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 4px;
}

.footer-bottom {
  background-color: #0b172a;
  padding: 18px 0;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 45px;
}

/* Table Custom */
.table-custom {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.table-custom thead {
  background-color: var(--secondary-color);
  color: var(--white);
}

.table-custom th {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.92rem;
}

.table-custom td {
  padding: 12px 16px;
  vertical-align: middle;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .brand-title {
    font-size: 1.05rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .contact-form-box {
    padding: 22px 16px;
  }
}

/* ==========================================================================
   Principal Desk & Mission Document Styles (As per Official Notice)
   ========================================================================== */
.principal-desk-banner {
  background-color: var(--secondary-color);
  color: var(--white);
  border-left: 5px solid var(--primary-color);
  padding: 22px 25px;
  border-radius: var(--radius-sm);
}

.principal-desk-banner h3 {
  color: var(--white);
  font-size: 1.55rem;
  letter-spacing: 0.5px;
  font-weight: 800;
}

.principal-desk-banner .sub-tag {
  color: var(--accent-gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.education-purpose-tagline {
  color: var(--secondary-color);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.inspiring-futures-quote {
  font-family: 'Outfit', sans-serif;
  color: #c2410c;
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
}

/* Core Commitments Table */
.commitments-table {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid #cbd5e1;
}

.commitments-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.commit-num-badge {
  background-color: var(--secondary-color);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  width: 55px;
  text-align: center;
}

.commit-title {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1rem;
  width: 220px;
  background-color: #f8fafc;
}

.commit-desc {
  color: #334155;
  font-size: 0.95rem;
}

/* Gold Message Box */
.principal-gold-box {
  background-color: #fffdfa;
  border: 2px solid #eab308;
  border-radius: var(--radius-sm);
  padding: 28px 30px;
  position: relative;
}

.principal-gold-title {
  color: #a16207;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.principal-gold-text {
  font-size: 1.15rem;
  font-style: italic;
  color: #1e293b;
  line-height: 1.7;
}

.principal-gold-sign {
  text-align: right;
  font-weight: 700;
  color: #334155;
  font-size: 1rem;
  margin-top: 15px;
}

