/* 
=========================================
  CENTURIA SCHOOL & COLLEGE SYSTEM
  Custom Style Sheet - Rich Aesthetics
=========================================
*/

/* Google Fonts Integration */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Curated Premium Color Palette */
  --primary-deep: #002855;      /* Majestic Deep Navy */
  --primary-light: #07478d;     /* Deep Steel Blue */
  --accent-gold: #c5a059;       /* Rich Gold */
  --accent-gold-hover: #b08d48; /* Darker Gold for Hover */
  --crimson-red: #e11d48;       /* Dynamic Highlight Red */
  --bg-slate: #f8fafc;          /* Smooth Slate White */
  --text-dark: #0f172a;         /* High-contrast Charcoal */
  --text-muted: #64748b;        /* Elegant Muted Grey */
  --glass-white: rgba(255, 255, 255, 0.85);
  
  /* Fonts & Shadows */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --card-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --hover-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
  --gold-glow: 0 0 15px rgba(197, 160, 89, 0.4);
  
  /* Transition curve */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Base Reset & Typography */
body {
  font-family: var(--font-body);
  background-color: var(--bg-slate);
  color: var(--text-dark);
  overflow-x: hidden;
  font-size: 0.95rem;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Gold Gradient Text Utility */
.gold-gradient-text {
  background: linear-gradient(135deg, #ffe08a 0%, #c5a059 50%, #8a6824 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Premium Top Bar (Contacts) */
.top-contact-bar {
  background-color: #001c3d;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.top-contact-bar a {
  color: #f8fafc;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.top-contact-bar a:hover {
  color: var(--accent-gold);
}

/* Glassmorphic Sticky Header */
.premium-navbar {
  background: var(--glass-white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--accent-gold);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  padding: 0.75rem 0;
}

.premium-navbar.scrolled {
  padding: 0.4rem 0;
  background: rgba(0, 40, 85, 0.95);
}
.premium-navbar.scrolled .nav-link {
  color: #f8fafc !important;
}
.premium-navbar.scrolled .nav-link:hover,
.premium-navbar.scrolled .nav-link.active {
  color: var(--accent-gold) !important;
}
.premium-navbar.scrolled .navbar-brand span {
  color: #ffffff !important;
}

.navbar-brand span.title-main {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--primary-deep);
  line-height: 1;
}

.navbar-brand span.title-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-deep) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold) !important;
  background: rgba(197, 160, 89, 0.08);
}

/* Premium Buttons */
.btn-gold {
  background-color: var(--accent-gold);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--accent-gold);
  box-shadow: var(--gold-glow);
  transition: var(--transition-smooth);
}
.btn-gold:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.5);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition-smooth);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Dynamic Announcement Circular Ticker */
.notice-ticker-bar {
  background-color: #fffbeb;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  padding: 0.5rem 0;
  font-size: 0.8rem;
}
.ticker-badge {
  background-color: var(--crimson-red);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ticker-marquee {
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.ticker-marquee-inner {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 30s linear infinite;
  font-weight: 600;
  color: #334155;
}

.ticker-marquee-inner:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-block;
  margin-right: 3.5rem;
}
.ticker-item strong {
  color: var(--primary-deep);
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Hero Section Styling */
.hero-slider-section {
  background-color: var(--primary-deep);
  min-h: 550px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 5rem 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('../campus_front.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 40, 85, 0.95) 40%, rgba(0, 40, 85, 0.7) 70%, transparent 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
}

.hero-tag {
  background: rgba(197, 160, 89, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: #e2e8f0;
  margin-bottom: 2.2rem;
  max-w: 600px;
  line-height: 1.7;
}

/* Bento Cards / Statistics Styling */
.hero-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
}
.hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
}
.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.2rem;
}
.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Section Common Styling */
.section-padding {
  padding: 6.5rem 0;
}
.section-tag {
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
  display: block;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-deep);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-w: 650px;
  margin: 0 auto 3.5rem auto;
}

/* Premium Card Layout (Academics & Spotlight) */
.premium-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  padding: 2.2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(197, 160, 89, 0.25);
}

.card-icon-box {
  width: 54px;
  height: 54px;
  background-color: rgba(0, 40, 85, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-deep);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}
.premium-card:hover .card-icon-box {
  background-color: var(--primary-deep);
  color: #ffffff;
}

/* CEO & Staff Spotlight Profile Cards */
.profile-card {
  background: #ffffff;
  border-radius: 30px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}
.profile-card:hover {
  box-shadow: var(--hover-shadow);
  transform: translateY(-5px);
}
.profile-img-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.1;
  background-color: #f1f5f9;
}
.profile-img-box img {
  width: 100%;
  height: 100%;
  object-cover: cover;
  transition: var(--transition-smooth);
}
.profile-card:hover .profile-img-box img {
  transform: scale(1.04);
}
.profile-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background-color: var(--accent-gold);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.profile-details {
  padding: 2rem;
}
.profile-name {
  font-size: 1.3rem;
  font-weight: 8500;
  color: var(--primary-deep);
  margin-bottom: 0.2rem;
}
.profile-role {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}
.profile-quote {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 2px solid var(--accent-gold);
  padding-left: 1rem;
  margin-bottom: 1.2rem;
}

/* Dynamic Facility Items */
.facility-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
  transition: var(--transition-smooth);
  height: 100%;
}
.facility-pill:hover {
  background: rgba(7, 71, 141, 0.03);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}
.facility-icon {
  color: var(--primary-light);
  font-size: 1.3rem;
  background: rgba(7, 71, 141, 0.08);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  shrink: 0;
}

/* Beautiful Registration & Inquiry Forms */
.form-card {
  background: #ffffff;
  border-radius: 30px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--card-shadow);
  padding: 3rem;
}
.form-title-box {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1.5rem;
  margin-bottom: 2.2rem;
}
.form-card .form-control,
.form-card .form-select {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}
.form-card .form-control:focus,
.form-card .form-select:focus {
  background-color: #ffffff;
  border-color: var(--primary-light);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(7, 71, 141, 0.1);
}
.form-card label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #475569;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* Submissions Success View */
.success-card {
  text-align: center;
  padding: 3rem 1.5rem;
}
.success-icon {
  width: 72px;
  height: 72px;
  background: #ecfdf5;
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2rem;
}

/* Professional Campus Footer */
.premium-footer {
  background-color: #0f172a;
  color: #94a3b8;
  font-size: 0.85rem;
  border-top: 4px solid var(--accent-gold);
}

.footer-top {
  padding: 5rem 0 3.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo-title {
  color: #f8fafc;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.footer-logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.25em;
}

.footer-heading {
  color: #f8fafc;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.footer-contact-icon {
  color: var(--accent-gold);
  font-size: 1rem;
  shrink: 0;
}

.footer-bottom {
  padding: 2rem 0;
  font-size: 0.75rem;
  color: #64748b;
}

/* Mobile Responsiveness Rules */
@media (max-width: 991.98px) {
  .hero-slider-section {
    padding: 4rem 0;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .section-padding {
    padding: 4.5rem 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
}

/* ========================================================
   FLOATING WHATSAPP BUTTON (PULSING CTA)
   ======================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #ffffff !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ========================================================
   PORTALS LOGIN & INTERACTIVE DASHBOARDS
   ======================================================== */
.portal-card {
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  background: #ffffff;
}

.portal-header-banner {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-light) 100%);
  color: #ffffff;
  padding: 2.5rem 2rem;
  position: relative;
}

.portal-nav-tabs .nav-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #cbd5e1 !important;
  border: none;
  background: transparent;
  padding: 0.75rem 1.25rem;
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
  border-radius: 0;
}

.portal-nav-tabs .nav-link.active {
  color: var(--accent-gold) !important;
  border-bottom: 2px solid var(--accent-gold);
  background: transparent;
}

.dashboard-stats-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
  transition: var(--transition-smooth);
}

.dashboard-stats-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
  border-color: rgba(197, 160, 89, 0.15);
}

.stats-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  shrink: 0;
}

.stats-card-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.1;
}

.stats-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Badge States */
.status-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

.status-badge.status-cleared {
  background-color: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.status-badge.status-pending {
  background-color: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.status-badge.status-submitted {
  background-color: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.status-badge.status-graded {
  background-color: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

.status-badge.status-approved {
  background-color: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* Custom Table Styles */
.custom-table-container {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.custom-table {
  width: 100%;
  margin: 0;
  font-size: 0.85rem;
}

.custom-table th {
  background-color: #f8fafc;
  color: var(--primary-deep);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.custom-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover td {
  background-color: #f8fafc;
}

/* Admin Tabs Panel */
.admin-tab-nav {
  display: flex;
  background: #f1f5f9;
  padding: 0.4rem;
  border-radius: 16px;
  gap: 0.25rem;
  margin-bottom: 2rem;
  list-style: none;
}

.admin-tab-nav .nav-link {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 7500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted) !important;
  border: none;
  background: transparent;
  padding: 0.75rem 1rem !important;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.admin-tab-nav .nav-link.active {
  background: #ffffff !important;
  color: var(--primary-deep) !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

/* Portal Gateway Switcher Buttons Styling */
.btn-portal-gateway {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--primary-deep);
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.btn-portal-gateway:hover {
  background: #f8fafc;
  border-color: var(--accent-gold);
  color: var(--accent-gold) !important;
}

.btn-portal-gateway.active {
  background: var(--primary-deep) !important;
  color: #ffffff !important;
  border-color: var(--primary-deep) !important;
  box-shadow: 0 4px 15px rgba(0, 40, 85, 0.25) !important;
}

