:root {
  --teal: #006d77;
  --teal-700: #035a61;
  --teal-dark: #004f55;
  --teal-darker: #00393d;
  --yellow: #FFD230;
  --bg: #f7fafb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

/* Dark mode variables toggled on html[data-theme="dark"] */
html[data-theme="dark"] {
  --bg: #0b1215;
  --surface: #0f1a1d;
  --text: #e6edf3;
  --muted: #9aa8b0;
  --teal: #12a7b1;
  --teal-700: #0f8e96;
  --teal-dark: #0c747a;
  --teal-darker: #0a5a5f;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Fancy gradient backdrop behind header using :before */
body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 60vh;
  background: radial-gradient(800px 400px at 10% 10%, rgba(255, 210, 48, .45), transparent 60%),
    radial-gradient(700px 300px at 90% 0%, rgba(0, 109, 119, .25), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}

/* Header */
header {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .0) 100%), var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(150%) blur(8px);
}

.logo-title-container {
  display: flex;
  align-items: center;
  gap: 15px
}

.logo img {
  height: 80px
}

.text-block {
  display: flex;
  flex-direction: column;
  justify-content: center
}

.title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.1;
  letter-spacing: .5px
}

.subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  opacity: .95
}

.tagline {
  font-size: 14px;
  color: var(--yellow);
  margin-top: 6px;
  line-height: 1.3
}

nav {
  display: flex;
  gap: 18px;
  align-items: center
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  opacity: .95
}

nav a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer
}

.theme-toggle {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer
}

/* Sections */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 32px
}

.hero h1 {
  font-size: 44px;
  margin: 0 0 10px;
  letter-spacing: .2px
}

.hero p {
  font-size: 18px;
  color: var(--muted)
}

.hero-media {
  position: relative;
  isolation: isolate
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: var(--shadow);
  pointer-events: none;
}

.hero-media img,
.hero-media video {
  width: 100%;
  display: block;
  border-radius: 20px
}

/* Buttons */
.cta {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap
}

.btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: 2px solid var(--teal);
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease
}

.btn.primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #000
}

.btn.ghost {
  background: transparent;
  color: #000;
  border-color: #000
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .12)
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.card {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateY(0);
  transition: transform .25s ease, box-shadow .25s ease
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14)
}

.card img {
  width: 100%;
  display: block
}

.card .content {
  padding: 14px
}

.card .content h3 {
  margin: 0 0 6px
}

.card .content p {
  margin: 0;
  color: var(--muted)
}

/* Feature chips */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.feature {
  background: linear-gradient(to bottom right, rgba(255, 255, 255, .75), rgba(255, 255, 255, .5));
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

html[data-theme="dark"] .feature {
  /* background: linear-gradient(to bottom right, rgba(16, 24, 28, .7), rgba(14, 18, 21, .55)); */
  background: linear-gradient(to bottom right, rgba(255, 255, 255, .75), rgba(255, 255, 255, .5));
  border-color: rgba(255, 255, 255, .76)
}

.testi {
  background: var(--surface);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow)
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.gallery img {
  width: 100%;
  border-radius: 14px
}

/* Footer */
footer {
  background-color: var(--teal-dark);
  color: #fff;
  margin-top: 40px
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px
}

.footer-col {
  flex: 1 1 300px
}

.footer-logo {
  height: 60px;
  margin-bottom: 10px
}

.footer-col h3 {
  margin: 0;
  font-size: 20px;
  color: var(--yellow)
}

.motto {
  margin-top: 8px;
  font-size: 14px;
  color: #f0f0f0;
  line-height: 1.4
}

.footer-col h4 {
  font-size: 16px;
  color: var(--yellow);
  margin-bottom: 10px
}

.footer-links {
  list-style: none;
  padding: 0
}

.footer-links li {
  margin-bottom: 8px
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color .3s ease
}

.footer-links a:hover {
  color: #FFD230
}

.map-link {
  color: #FFD230;
  text-decoration: none
}

.map-link:hover {
  text-decoration: underline
}

.footer-bottom {
  background-color: var(--teal-darker);
  text-align: center;
  padding: 10px;
  font-size: 13px;
  color: #bbb
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

/* Sticky action bar (mobile) */
.mobile-actions {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, .05);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 8px 10px;
  display: none;
  gap: 8px;
  z-index: 30;
  backdrop-filter: blur(8px)
}

.mobile-actions a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(0, 0, 0, .08)
}

.mobile-actions a.primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #000
}

.mobile-actions a.secondary {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal)
}

@media (max-width:768px) {
  .mobile-actions {
    display: flex
  }
}

/* Responsiveness */
@media (max-width: 1100px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .features {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr
  }
}

@media (max-width:640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:460px) {
  .card-grid {
    grid-template-columns: 1fr
  }

  .gallery {
    grid-template-columns: 1fr
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

  .btn,
  .card,
  .reveal {
    transition: none
  }
}

.social-bar {
  position: fixed;
  top: 40%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  background: #006d77;
  /* Teal background */
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  z-index: 1000;
}

.social-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-bar a:hover {
  background: #ffd230;
  /* Highlight yellow */
  color: #000;
  /* Black icons when hovered */
}

/* Slideshow Section */
.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  padding: 0;
}

.slides {
  display: none;
}

.slides img {
  width: 100%;
  height: 700px;
}

/* Next/prev buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 12px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 50%;
  user-select: none;
  background: rgba(0, 0, 0, 0.4);
}

.next {
  right: 10px;
}

.prev {
  left: 10px;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Dots */
.dots-container {
  text-align: center;
  padding: 10px;
  background: transparent;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background 0.6s ease;
}

.active,
.dot:hover {
  background-color: #333;
}

/* Contact page link styles */
.contact-info a {
  text-decoration: none;   /* remove underline */
  color: black !important; /* default for light background */
}

/* Dark mode */
html[data-theme="dark"] .contact-info a {
  color: #ffd230 !important;
}

/* Contact Form Styling */
.contact-section {
  padding: 40px 20px;
  text-align: center;
}

.contact-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #1a3d7c;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg, #fff);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  background: var(--input-bg, #fff);
  color: var(--text-color, #000);
  transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #1a73e8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
}

.contact-form textarea {
  resize: none;
  min-height: 120px;
  grid-column: span 2;
}

.contact-form button {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 8px;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .contact-form .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  nav {
    display: none;
    flex-direction: column;
    background: var(--teal-dark, #006d77);
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 20px;
    gap: 14px;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* keeps button above nav */
  }

  .menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Animate into X when active */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}


.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 60px 20px;
  background: linear-gradient(135deg, #006d77, #009688);
  color: white;
  text-align: center;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card i {
  font-size: 48px;
  margin-bottom: 15px;
  color: #FFD230; /* Yellow accent */
}

.stat-card h2 {
  font-size: 42px;
  margin: 0;
  font-weight: bold;
  color: #FFD230;
}

.stat-card p {
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 500;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.why-choose {
  padding: 70px 20px;
  text-align: center;
  background: #f9f9f9;
}

.why-choose h2 {
  font-size: 32px;
  margin-bottom: 12px;
  color: #006d77;
}

.why-choose .tagline {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature i {
  font-size: 42px;
  margin-bottom: 15px;
  color: #FFD230;
}

.feature h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #006d77;
}

.feature p {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.testimonials {
  padding: 70px 20px;
  background: #f9f9f9;
  text-align: center;
}

.testimonials h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #006d77;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #FFD230;
}

.testimonial-card p {
  font-size: 15px;
  color: #333;
  font-style: italic;
  line-height: 1.6;
  min-height: 80px;
}

.testimonial-card h4 {
  margin-top: 15px;
  font-size: 14px;
  font-weight: bold;
  color: #006d77;
}

/* General Section Styling */
.au-section {
  padding: 60px 20px;
  text-align: center;
}

/* ---------------- Our Philosophy ---------------- */
.au-philosophy .au-icon {
  width: 60px;
  margin-bottom: 15px;
}
.au-philosophy h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--text);
}
.au-philosophy p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--muted);
}

/* ---------------- Our Vision ---------------- */
.au-vision .au-vision-grid {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin: auto;
  text-align: left;
}
.au-vision .au-vision-grid p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
}
.au-vision .au-highlight {
  color: #0077cc;
  font-weight: 600;
}

/* ---------------- Our Mission ---------------- */
.au-mission .au-mission-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.au-mission .au-card {
  background: var(--surface);
  color: var(--text);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-size: 1rem;
  transition: transform 0.2s;
}
.au-mission .au-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.05);
}

/* ---------------- Our Objectives ---------------- */
.au-objectives .au-objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 25px;
}
.au-objectives .au-obj-item {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s, background 0.2s;
}
.au-objectives .au-obj-item:hover {
  transform: translateY(-5px);
  background: #f9fcff;
}
.au-objectives .au-obj-item img {
  width: 50px;
  margin-bottom: 10px;
}
.au-objectives .au-obj-item h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #0077cc;
}
.au-objectives .au-obj-item p {
  font-size: 1rem;
  color: #555;
}

/* ---------------- Our Team ---------------- */
.au-team .au-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.au-team .au-team-card {
  background: #f4f9ff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
}
.au-team .au-team-card:hover {
  background: #eaf3ff;
  transform: translateY(-5px);
}
.au-team .au-team-card img {
  width: 60px;
  margin-bottom: 12px;
}
.au-team .au-team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #222;
}
.au-team .au-team-card p {
  font-size: 1rem;
  color: #555;
}

.au-branch { padding: 20px; background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.06); margin: 20px 0; }
.au-addr { margin: 8px 0 16px; color: #444; }
.au-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.au-btn { display: inline-block; padding: 10px 14px; border-radius: 10px; background: #1976d2; color: #fff; text-decoration: none; font-weight: 600; }
.au-btn.outline { background: transparent; color: #1976d2; border: 2px solid #1976d2; }
.au-map { overflow: hidden; border-radius: 12px; }

.student-success {
  padding: 50px 20px;
  background: #f9f9f9;
}

.student-header {
  text-align: center;
  margin-bottom: 30px;
}

.student-header h2 {
  font-size: 2rem;
  color: #333;
}

.student-header p {
  color: #666;
  max-width: 700px;
  margin: 10px auto;
}

.testimonial-videos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.video-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.caption {
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #444;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonial-videos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testimonial-videos {
    grid-template-columns: 1fr;
  }
}

/* Gallery Section */
.gallery-section {
  padding: 50px 20px;
  background: #f9f9f9;
  text-align: center;
}

.gallery-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Hover Effect */
.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* MOBILE FIX FOR REVEAL */
@media (max-width: 768px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Newspaper Section */

.newspaper-section{
  padding:60px 20px;
  background:#f9f9f9;
  text-align:center;
}

.newspaper-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
  margin-top:30px;
}

.news-card{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 6px 15px rgba(0,0,0,0.1);
  transition:0.3s;
}

.news-card img{
  width:100%;
  height:auto;
  display:block;
}

.news-card p{
  padding:12px;
  font-size:14px;
}

.news-card:hover{
  transform:translateY(-5px);
}




