@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #1A365D; /* Deep Navy Blue */
  --primary-dark: #0F2545;
  --secondary: #F9A826; /* Playful Sunny Yellow */
  --secondary-hover: #E09015;
  --accent: #E2E8F0; /* Soft Gray */
  --bg-light: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 30px -5px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; }
p { font-size: 1.05rem; color: var(--text-muted); }

/* Layout & Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5.5rem 0;
  overflow: hidden;
}

/* Top Announcement & Portal Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: #94A3B8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-contact {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #CBD5E1;
  white-space: nowrap;
}

.top-bar-logins {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-logins span {
  color: #64748B;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.2rem;
}

.login-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.login-chip-student {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.login-chip-student:hover {
  background: #3B82F6;
  color: var(--white);
}

.login-chip-parent {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.login-chip-parent:hover {
  background: #10B981;
  color: var(--white);
}

.login-chip-admin {
  background: rgba(249, 168, 38, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.login-chip-admin:hover {
  background: var(--secondary);
  color: var(--primary-dark);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.95rem 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo span {
  white-space: nowrap;
  display: inline;
}

.logo-icon-bg {
  background: linear-gradient(135deg, var(--secondary) 0%, #F59E0B 100%);
  color: var(--white);
  padding: 0.45rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(249, 168, 38, 0.3);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2.5px;
  bottom: -6px;
  left: 0;
  background-color: var(--secondary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.75rem;
  width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--accent);
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.dropdown-menu li a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.dropdown-menu li a::after {
  display: none;
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--accent);
  padding: 0.5rem;
  border-radius: 10px;
  color: var(--primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--primary-dark);
  box-shadow: 0 4px 14px 0 rgba(249, 168, 38, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 168, 38, 0.55);
  background-color: var(--secondary-hover);
  color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

.apply-nav-btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.925rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 3.5rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F8FAFC 0%, #E0E7FF 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249,168,38,0.15) 0%, rgba(249,168,38,0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26, 54, 93, 0.08);
  color: var(--primary);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-title {
  color: var(--primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--secondary);
  display: inline-block;
  animation: float 4s ease-in-out infinite;
}

.hero-subtitle {
  margin-bottom: 2.25rem;
  font-size: 1.2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
  transition: transform 0.5s ease;
  border: 4px solid var(--white);
}

.hero-image-wrapper:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.floating-badge {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  animation: float 5s ease-in-out infinite;
  border: 1px solid var(--glass-border);
  z-index: 2;
}

.badge-1 {
  top: -15px;
  left: -35px;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 30px;
  right: -25px;
  animation-delay: 2s;
}

.badge-icon {
  background: var(--primary);
  color: var(--secondary);
  padding: 0.65rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1.2;
}

.badge-sub {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Section Header */
.section-header {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-tag {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Quick Portals Section */
.portals-section {
  background: var(--white);
  border-bottom: 1px solid var(--accent);
}

.portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portal-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--accent);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
}

.portal-card-student::before { background: #3B82F6; }
.portal-card-parent::before { background: #10B981; }
.portal-card-admin::before { background: var(--secondary); }

.portal-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.portal-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.portal-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.portal-card-student .portal-icon { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.portal-card-parent .portal-icon { background: linear-gradient(135deg, #10B981, #047857); }
.portal-card-admin .portal-icon { background: linear-gradient(135deg, #F9A826, #D97706); }

.portal-title {
  color: var(--primary);
  font-size: 1.35rem;
}

.portal-desc {
  margin-bottom: 2rem;
  font-size: 0.975rem;
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
}

.portal-btn-student {
  background: rgba(59, 130, 246, 0.1);
  color: #2563EB;
}
.portal-btn-student:hover {
  background: #2563EB;
  color: var(--white);
}

.portal-btn-parent {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}
.portal-btn-parent:hover {
  background: #059669;
  color: var(--white);
}

.portal-btn-admin {
  background: rgba(249, 168, 38, 0.15);
  color: #D97706;
}
.portal-btn-admin:hover {
  background: var(--secondary);
  color: var(--primary-dark);
}

/* Feature Split Section */
.feature-split {
  background: var(--bg-light);
  padding: 6rem 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.split-image {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.split-image-wrapper:hover .split-image {
  transform: scale(1.04);
}

.feature-list {
  list-style: none;
  margin-top: 1.75rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.feature-icon-badge {
  background: rgba(249, 168, 38, 0.2);
  color: var(--primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

/* Campus Gallery Section */
.gallery-section {
  background: var(--white);
  padding: 6rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 280px;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 37, 69, 0.88) 0%, rgba(15, 37, 69, 0.1) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: var(--white);
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

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

.gallery-tag {
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  align-self: flex-start;
  margin-bottom: 0.5rem;
}

.gallery-overlay h3 {
  color: var(--white);
  font-size: 1.25rem;
}

/* Leadership Spotlight */
.leadership-section {
  background: linear-gradient(135deg, #1A365D 0%, #0F2545 100%);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.leadership-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.principal-card-visual {
  position: relative;
}

.principal-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
}

.principal-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.principal-badge-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 37, 69, 0.92);
  backdrop-filter: blur(12px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.principal-name {
  color: var(--secondary);
  font-size: 1.15rem;
  font-weight: 800;
}

.principal-role {
  color: #CBD5E1;
  font-size: 0.875rem;
}

.leadership-content blockquote {
  font-size: 1.35rem;
  line-height: 1.6;
  font-style: italic;
  color: #F1F5F9;
  margin-bottom: 2rem;
  position: relative;
}

.leadership-content blockquote::before {
  content: '"';
  font-size: 5rem;
  color: var(--secondary);
  opacity: 0.3;
  position: absolute;
  top: -30px;
  left: -20px;
  font-family: Georgia, serif;
}

.leadership-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.highlight-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.highlight-icon {
  background: rgba(249, 168, 38, 0.15);
  color: var(--secondary);
  padding: 0.6rem;
  border-radius: 12px;
  display: flex;
}

.highlight-box h4 {
  font-size: 1rem;
  color: var(--white);
}

.highlight-box p {
  font-size: 0.85rem;
  color: #94A3B8;
}

/* FAQ Accordion Section */
.faq-section {
  background: var(--bg-light);
  padding: 6rem 0;
}

.faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--secondary);
}

.faq-question {
  padding: 1.35rem 1.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-toggle-icon {
  color: var(--secondary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.75rem 1.5rem 1.75rem;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Redesigned CTA & Inquiry Grid */
.cta-redesigned {
  background: linear-gradient(135deg, var(--bg-light) 0%, #E2E8F0 100%);
  padding: 6rem 0;
}

.cta-box-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-box-grid::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(249,168,38,0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-left h2 {
  color: var(--white);
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.cta-left p {
  color: #CBD5E1;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-features-check {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.cta-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #E2E8F0;
  font-weight: 500;
  font-size: 0.975rem;
}

.cta-check-item i {
  color: var(--secondary);
}

.cta-actions-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Inquiry Form Card on Right */
.inquiry-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.25rem;
  border-radius: var(--radius-md);
}

.inquiry-card h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.inquiry-card p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input::placeholder {
  color: #94A3B8;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.18);
}

.form-group select option {
  background: var(--primary-dark);
  color: var(--white);
}

.submit-inquiry-btn {
  background: var(--secondary);
  color: var(--primary-dark);
  border: none;
  padding: 0.9rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.submit-inquiry-btn:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(249, 168, 38, 0.4);
}

/* Stats Section */
.stats {
  background: var(--primary);
  color: var(--white);
  padding: 4.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Programs Section */
.programs {
  background-color: var(--bg-light);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.program-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--accent);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-icon-wrapper {
  background: #E0E7FF;
  color: var(--primary);
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.program-card:hover .program-icon-wrapper {
  transform: rotate(8deg) scale(1.1);
  background: var(--primary);
  color: var(--white);
}

.program-title {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: gap 0.3s ease;
}

.program-link:hover {
  gap: 0.85rem;
  color: var(--secondary);
}

/* Campus Life & Facilities Section */
.campus-life {
  background: var(--white);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.facility-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--accent);
  transition: all 0.3s ease;
  text-align: center;
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.facility-icon {
  width: 70px;
  height: 70px;
  background: var(--white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--accent);
}

.facility-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* Upcoming Events Section */
.events-section {
  background: var(--bg-light);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--accent);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.event-date {
  background: var(--primary);
  color: var(--white);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 75px;
}

.event-day {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--secondary);
}

.event-month {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.event-details h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.event-info {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.event-info span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s ease;
  border: 1px solid var(--accent);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.quote-icon {
  color: #CBD5E1;
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  opacity: 0.4;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.95rem;
}

.author-info h4 {
  color: var(--primary);
  margin-bottom: 0.15rem;
  font-size: 1.05rem;
}

.author-info p {
  font-size: 0.85rem;
  margin: 0;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: #94A3B8;
  margin-bottom: 1.5rem;
  font-size: 0.975rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
}

.social-links a:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  font-size: 0.875rem;
}

/* ==========================================
   FULL RESPONSIVE MEDIA QUERIES (MOBILE FIXES)
   ========================================== */

@media (max-width: 1024px) {
  .nav-links {
    gap: 0.8rem;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
}

/* Mobile & Tablet Breakdown */
@media (max-width: 900px) {
  /* Top Announcement Bar */
  .top-bar-contact span:nth-child(3) {
    display: none; /* Hide long street address on small screens to prevent overflow */
  }

  .top-bar-container {
    justify-content: center;
    gap: 0.5rem;
  }

  .top-bar-logins {
    justify-content: center;
  }

  /* Hamburger Menu Toggle */
  .mobile-menu-btn {
    display: flex;
  }

  /* Mobile Slide-down Navigation Drawer */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--secondary);
    align-items: flex-start;
  }

  .nav-links.mobile-active {
    display: flex;
    animation: fadeInDown 0.3s ease-out forwards;
  }

  .nav-links a {
    font-size: 1.1rem;
    width: 100%;
    padding: 0.4rem 0;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    width: 100%;
    padding-left: 1rem;
  }

  /* Layout Grids to Single Column */
  .hero-container, 
  .split-grid, 
  .leadership-grid, 
  .cta-box-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0 4rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions, .cta-actions-row {
    justify-content: center;
  }

  .hero-image {
    height: 340px;
  }

  .badge-1, .badge-2 {
    display: none; /* Hide floating badges on mobile to prevent overflow */
  }

  .leadership-highlights {
    grid-template-columns: 1fr;
  }

  .cta-box-grid {
    padding: 2rem 1.25rem;
  }

  .cta-left h2 {
    font-size: 1.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .top-bar-contact {
    justify-content: center;
    font-size: 0.78rem;
  }

  .top-bar-logins span {
    display: none;
  }

  .login-chip {
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  .apply-nav-btn {
    display: none !important;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    width: 100%;
  }
}
