/* BismillahirRahmanirRahim */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Nunito:wght@400;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --color-primary: #89CFF0;
  --color-primary-dark: #6BB8E0;
  --color-secondary: #FF6B6B;
  --color-accent: #4ECDC4;
  --color-accent-2: #FFE66D;
  --color-orange: #FF8C42;
  --color-green: #2ECC71;
  --color-purple: #A855F7;
  --color-bg-main: #F0F8FF;
  --color-bg-card: #FFFFFF;
  --color-text-dark: #1E293B;
  --color-text-muted: #64748B;
  --color-hero: #89cff078;
  --color-hero-dark: #6BB8E0;
  --gradient-hero: linear-gradient(135deg, #89CFF0 0%, #6BB8E0 100%);
  --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-fresh: linear-gradient(135deg, #4ECDC4 0%, #44B09E 100%);
  --gradient-sunset: linear-gradient(135deg, #FF8C42 0%, #FF6B6B 100%);
  --gradient-ocean: linear-gradient(135deg, #89CFF0 0%, #4ECDC4 100%);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg-main);
  color: var(--color-text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #F0F8FF;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(107, 184, 224, 0.3);
  transition: var(--transition);
}

.navbar.scrolled {
  background: #F0F8FF;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-hero);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

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

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(30, 41, 59, 0.7);
  position: relative;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #1E293B;
  background: rgba(255, 255, 255, 0.4);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: #1E293B;
  border-radius: 2px;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #1E293B;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-hero);
  opacity: 1;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatShape 20s ease-in-out infinite;
}

.hero-bg-shapes .shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: #fff;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-bg-shapes .shape:nth-child(2) {
  width: 350px;
  height: 350px;
  background: #6BB8E0;
  bottom: -50px;
  left: -80px;
  animation-delay: -5s;
}

.hero-bg-shapes .shape:nth-child(3) {
  width: 200px;
  height: 200px;
  background: #fff;
  top: 40%;
  left: 20%;
  animation-delay: -10s;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(30px, -30px) rotate(5deg);
  }

  50% {
    transform: translate(-20px, 20px) rotate(-3deg);
  }

  75% {
    transform: translate(15px, 10px) rotate(2deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #1E293B;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  margin-bottom: 1.5rem;
  color: #1E293B;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(30, 41, 59, 0.75);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s both;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: #1E293B;
  color: #fff;
  box-shadow: 0 4px 20px rgba(30, 41, 59, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30, 41, 59, 0.35);
  background: #334155;
}

.btn-outline {
  background: transparent;
  color: #1E293B;
  border: 2px solid rgba(30, 41, 59, 0.25);
}

.btn-outline:hover {
  background: rgba(30, 41, 59, 0.05);
  border-color: rgba(30, 41, 59, 0.5);
  transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.section {
  padding: 6rem 2rem;
}

main>.section:first-child {
  padding-top: 9rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .tag {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-hero-dark);
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

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

/* ---------- Cards ---------- */
.card {
  background: var(--color-bg-card);
  border: 1px solid rgba(137, 207, 240, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(137, 207, 240, 0.4);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

/* ---------- Stats Section ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 3rem;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(137, 207, 240, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: 'Nunito', sans-serif;
  color: var(--color-hero-dark);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ---------- Page Hero ---------- */
.page-hero {
  padding: 8rem 5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-hero);
  opacity: 1;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
  color: #1E293B;
}

.page-hero p {
  position: relative;
  z-index: 1;
  color: rgba(30, 41, 59, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- About Page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gradient-ocean);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.value-card .value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ---------- Education Model ---------- */
.model-steps {
  position: relative;
}

.model-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  color: #fff;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Approach Cards */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.approach-card {
  padding: 2rem;
  text-align: center;
}

.approach-card .approach-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ---------- Schools Page ---------- */
.school-card {
  overflow: hidden;
}

.school-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: -2rem -2rem 1.5rem;
  padding: 2rem;
}

.school-card h3 {
  margin-bottom: 0.5rem;
}

.school-card .school-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.school-card .school-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.school-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(137, 207, 240, 0.15);
  color: var(--color-hero-dark);
  border: 1px solid rgba(137, 207, 240, 0.35);
}

/* ---------- Announcements ---------- */
.announcement-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.announcement-date {
  text-align: center;
  padding: 1rem;
  background: rgba(137, 207, 240, 0.15);
  border-radius: 12px;
  min-width: 80px;
}

.announcement-date .day {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  font-family: 'Nunito', sans-serif;
  color: var(--color-hero-dark);
  line-height: 1;
}

.announcement-date .month {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.announcement-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.announcement-body p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.announcement-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-new {
  background: rgba(78, 205, 196, 0.1);
  color: #2BA89E;
  border: 1px solid rgba(78, 205, 196, 0.3);
}

.badge-event {
  background: rgba(255, 107, 107, 0.1);
  color: #E04545;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.badge-general {
  background: rgba(168, 85, 247, 0.1);
  color: #8B3DD9;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.announcements-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---------- Careers Page ---------- */
.career-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.career-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.career-info p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.career-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.career-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.benefit-card .benefit-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  background: var(--color-bg-main);
  border: 1px solid rgba(137, 207, 240, 0.3);
  border-radius: 12px;
  color: var(--color-text-dark);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-hero-dark);
  box-shadow: 0 0 0 3px rgba(137, 207, 240, 0.2);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-card .info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Map */
.map-container {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(137, 207, 240, 0.2);
  height: 350px;
  background: var(--color-bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* ---------- Footer ---------- */
.footer {
  background: #6082B6;
  border-top: 1px solid rgba(137, 207, 240, 0.15);
  padding: 2.5rem 2rem 1.5rem;
  color: #E2E8F0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 1.5rem;
}

.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-brand p {
  color: #e3e7ed;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: #fff;
}

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

.footer-column ul li {
  margin-bottom: 0.6rem;
  color: #e3e7ed;
}

.footer-column ul a {
  color: #e3e7ed;
  font-size: 0.9rem;
}

.footer-column ul a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #bccce1;
  font-size: 0.85rem;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Gradient backgrounds for icons ---------- */
.bg-gradient-1 {
  background: var(--gradient-hero);
}

.bg-gradient-2 {
  background: var(--gradient-warm);
}

.bg-gradient-3 {
  background: var(--gradient-fresh);
}

.bg-gradient-4 {
  background: var(--gradient-sunset);
}

.bg-gradient-5 {
  background: var(--gradient-ocean);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.98);
    z-index: 1000;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    font-size: 1.35rem;
    font-weight: 600;
    padding: 0.8rem 2rem;
    width: 100%;
    text-align: center;
    border-radius: 16px;
    color: var(--color-text-dark);
    letter-spacing: 0.5px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(137, 207, 240, 0.15);
    color: var(--color-hero-dark);
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 8rem 1.5rem 3rem;
    min-height: auto;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  main>.section:first-child {
    padding-top: 7.5rem;
  }

  .page-hero {
    padding: 8rem 1.5rem 3rem;
  }

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

  .announcement-card {
    grid-template-columns: auto 1fr;
  }

  .announcement-badge {
    display: none;
  }

  .career-card {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
  }

  .model-step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    /* Make it a 2x2 grid */
    gap: 1rem;
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
    /* Scale down text to be less overwhelming */
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- Navbar Dynamic Background Animation ---------- */
.nav-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
}

.nav-bg-animation span {
  position: absolute;
  display: block;
  bottom: -40px;
  animation: floatNav linear infinite;
  user-select: none;
}

@keyframes floatNav {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    transform: translateY(-130px) rotate(360deg);
    opacity: 0;
  }
}

.nav-bg-animation span:nth-child(1) {
  left: 5%;
  animation-duration: 8s;
  animation-delay: 0s;
  font-size: 1.2rem;
}

.nav-bg-animation span:nth-child(2) {
  left: 15%;
  animation-duration: 12s;
  animation-delay: 2s;
  font-size: 1.4rem;
}

.nav-bg-animation span:nth-child(3) {
  left: 25%;
  animation-duration: 7s;
  animation-delay: 4s;
  font-size: 1.1rem;
}

.nav-bg-animation span:nth-child(4) {
  left: 35%;
  animation-duration: 10s;
  animation-delay: 1s;
  font-size: 1.7rem;
}

.nav-bg-animation span:nth-child(5) {
  left: 50%;
  animation-duration: 14s;
  animation-delay: 3s;
  font-size: 1.4rem;
}

.nav-bg-animation span:nth-child(6) {
  left: 65%;
  animation-duration: 9s;
  animation-delay: 5s;
  font-size: 1.1rem;
}

.nav-bg-animation span:nth-child(7) {
  left: 75%;
  animation-duration: 11s;
  animation-delay: 0.5s;
  font-size: 1.6rem;
}

.nav-bg-animation span:nth-child(8) {
  left: 85%;
  animation-duration: 8s;
  animation-delay: 2.5s;
  font-size: 1.1rem;
}

.nav-bg-animation span:nth-child(9) {
  left: 92%;
  animation-duration: 13s;
  animation-delay: 6s;
  font-size: 1.4rem;
}

.nav-bg-animation span:nth-child(10) {
  left: 42%;
  animation-duration: 10s;
  animation-delay: 4.5s;
  font-size: 1.2rem;
}

/* ---------- Brands Section (Extracted from index.html) ---------- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.brand-card {
  text-align: center;
  padding: 2rem 1.5rem;
  display: block;
  text-decoration: none;
  color: inherit;
}

.brand-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
}

.brand-title {
  font-size: 1rem;
}

@media (max-width: 992px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .brand-card {
    padding: 1.5rem 1rem !important;
  }

  .brand-img {
    width: 90px !important;
    height: 90px !important;
  }

  .brand-title {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 480px) {
  .brands-grid {
    gap: 0.75rem;
  }

  .brand-card {
    padding: 1rem 0.5rem !important;
  }

  .brand-img {
    width: 70px !important;
    height: 70px !important;
    margin-bottom: 0.5rem !important;
  }

  .brand-title {
    font-size: 0.85rem !important;
  }
}

/* ---------- School Detail Section (Extracted from school_detail.html) ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-panel {
  background: linear-gradient(135deg, rgba(94, 203, 222, 0.96) 0%, rgba(78, 205, 196, 0.12) 100%);
  border-radius: 1rem;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid rgba(137, 207, 240, 0.3);
}

.info-panel img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.gallery-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .gallery-panel {
    grid-template-columns: 1fr 1fr;
  }
}

/* school_detail.html sayfası için özel arkaplanlar */
.bg-gradient-video {
  background: linear-gradient(135deg, rgba(94, 203, 222, 0.784) 0%, rgba(78, 205, 196, 0.12) 100%);
}

.bg-gradient-map {
  background: linear-gradient(135deg, rgba(94, 203, 222, 0.96) 0%, rgba(78, 205, 196, 0.12) 100%);
}

.bg-gradient-gallery {
  background: linear-gradient(135deg, rgba(94, 203, 222, 0.96) 0%, rgba(78, 205, 196, 0.12) 100%);
}