/* =========================
   RESET & GLOBAL STYLES
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f8fafc;
  color: #1f2937;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

section {
  padding: 80px 20px;
}

/* =========================
   HEADER / NAVBAR
========================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 10px;
  background: white;
  padding: 4px;
}

.brand-text h1 {
  font-size: 1.3rem;
  color: #ffffff;
}

.brand-text span {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* NAV */
nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  font-weight: 600;
  position: relative;
  transition: 0.3s ease;
}

nav a:hover,
nav a.active-link {
  color: #facc15;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #facc15;
  transition: 0.3s ease;
}

nav a:hover::after,
nav a.active-link::after {
  width: 100%;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 10px;
  transition: 0.3s ease;
}

/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Background Slider */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.55)
  );
  z-index: 2;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 900px;
  padding: 20px;
}

.hero-content h2 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 18px;
  text-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 28px;
  color: #e5e7eb;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   BUTTONS
========================= */
.btn,
button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.primary-btn {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #0f172a;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
}

.secondary-btn {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.35);
}

.secondary-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

/* =========================
   CONTENT WRAPPERS
========================= */
.intro-section,
.stats-section,
.highlights-section,
.why-section,
.testimonials-section,
.partners-section,
.cta-section {
  max-width: 1200px;
  margin: auto;
}

/* INTRO BOX */
.intro-box {
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.intro-box h2,
.highlights-section h2,
.why-section h2,
.testimonials-section h2,
.partners-section h2,
.cta-section h2 {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 15px;
  text-align: center;
}

.intro-box p,
.cta-section p,
.partners-text {
  max-width: 800px;
  margin: auto;
  color: #475569;
  text-align: center;
}

/* =========================
   STATS SECTION
========================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: white;
  padding: 35px 20px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
}

.stat-card h3 {
  font-size: 2.5rem;
  color: #1d4ed8;
  margin-bottom: 10px;
}

/* =========================
   HIGHLIGHTS / WHY / TESTIMONIALS
========================= */
.highlights-grid,
.why-grid,
.testimonials-grid,
.partners-grid {
  display: grid;
  gap: 24px;
  margin-top: 35px;
}

.highlights-grid,
.why-grid,
.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

.highlight-card,
.why-card,
.testimonial-card,
.partner-box {
  background: white;
  padding: 30px 25px;
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: 0.3s ease;
}

.highlight-card:hover,
.why-card:hover,
.testimonial-card:hover,
.partner-box:hover {
  transform: translateY(-8px);
}

.highlight-card h3,
.why-card h3 {
  color: #1d4ed8;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
  color: #475569;
}

.testimonial-card h4 {
  color: #0f172a;
}

/* =========================
   PARTNERS
========================= */
.partners-grid {
  grid-template-columns: repeat(4, 1fr);
}

.partner-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  font-weight: bold;
  color: #64748b;
  text-align: center;
  border: 2px dashed #cbd5e1;
}

/* =========================
   CTA SECTION
========================= */
.cta-section {
  text-align: center;
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: white;
  font-size: 1.6rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 1001;
  transition: 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* =========================
   FOOTER
========================= */
footer {
  background: #0f172a;
  color: #cbd5e1;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

footer a {
  color: #facc15;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================
   SCROLL REVEAL
========================= */
/* =========================
   SCROLL REVEAL (SAFE VERSION)
========================= */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.reveal.hidden-reveal {
  opacity: 0;
  transform: translateY(35px);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 992px) {
  .hero-content h2 {
    font-size: 2.4rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlights-grid,
  .why-grid,
  .testimonials-grid,
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    padding: 14px 20px;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 85px;
    right: 20px;
    background: rgba(10, 25, 47, 0.98);
    flex-direction: column;
    width: 220px;
    padding: 20px;
    border-radius: 18px;
    display: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  }

  nav.active {
    display: flex;
  }

  .hero {
    height: 85vh;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .stats-grid,
  .highlights-grid,
  .why-grid,
  .testimonials-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .intro-box {
    padding: 28px 20px;
  }

  .logo {
    width: 48px;
    height: 48px;
  }
}
/* =========================
   PAGE HERO (ABOUT / PROGRAMS)
========================= */
.page-hero {
  position: relative;
  height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}


.about-hero {
  background-image: url('../images/2buildind.png');
}

.programs-hero {
  background-image: url('../images/4students.png');
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.55)
  );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 20px;
}

.page-hero-content h2 {
  font-size: 2.7rem;
  margin-bottom: 14px;
  text-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.page-hero-content p {
  font-size: 1.1rem;
  color: #e5e7eb;
}

/* =========================
   ABOUT PAGE
========================= */
.about-main-section,
.mission-vision-section,
.difference-section,
.programs-intro-section,
.programs-main-section,
.why-programs-section {
  max-width: 1200px;
  margin: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-text-card,
.about-image-card,
.mv-card,
.difference-card,
.premium-card {
  background: white;
  padding: 35px 28px;
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: 0.3s ease;
}

.about-text-card:hover,
.about-image-card:hover,
.mv-card:hover,
.difference-card:hover,
.premium-card:hover {
  transform: translateY(-8px);
}

.about-text-card h2 {
  margin-bottom: 16px;
  color: #0f172a;
}

.about-text-card p {
  color: #475569;
  margin-bottom: 14px;
}

.about-image-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 18px;
}

.mission-vision-grid,
.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 35px;
}

.difference-section h2,
.why-programs-section h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #0f172a;
}

.mv-card h3,
.difference-card h3 {
  color: #1d4ed8;
  margin-bottom: 12px;
}

/* =========================
   PROGRAMS PAGE
========================= */
.premium-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 35px;
}

.program-tag {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.program-list {
  margin: 18px 0 24px;
  padding-left: 18px;
  color: #475569;
}

.program-list li {
  margin-bottom: 10px;
}

/* =========================
   RESPONSIVE EXTRA
========================= */
@media (max-width: 992px) {
  .about-grid,
  .mission-vision-grid,
  .difference-grid,
  .premium-programs-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-content h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-hero {
    height: 45vh;
  }

  .page-hero-content h2 {
    font-size: 1.9rem;
  }

  .page-hero-content p {
    font-size: 1rem;
  }

  .about-image-card img {
    min-height: 250px;
  }
}
/* =========================
   CONTACT PAGE HERO
========================= */
.contact-hero {
  background-image: url('../images/exhibition.png');
}

/* =========================
   CONTACT PAGE LAYOUT
========================= */
.contact-main-section,
.contact-info-section,
.contact-form-section,
.faq-section {
  max-width: 1200px;
  margin: auto;
}

.contact-info-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 35px;
}

.contact-info-card,
.faq-card,
.contact-form-card,
.contact-form-text {
  background: white;
  padding: 35px 28px;
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: 0.3s ease;
}

.contact-info-card:hover,
.faq-card:hover,
.contact-form-card:hover,
.contact-form-text:hover {
  transform: translateY(-8px);
}

.contact-info-card h3,
.faq-card h3,
.contact-form-text h2 {
  color: #1d4ed8;
  margin-bottom: 12px;
}

.contact-info-card p,
.faq-card p,
.contact-form-text p,
.contact-form-text li {
  color: #475569;
}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contact-form-text ul {
  margin-top: 18px;
  padding-left: 18px;
}

.contact-form-text li {
  margin-bottom: 10px;
}

/* Contact form tweaks */
.contact-form-card .contact-form {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

/* =========================
   RESPONSIVE CONTACT
========================= */
@media (max-width: 992px) {
  .contact-info-grid,
  .faq-grid,
  .contact-form-wrapper {
    grid-template-columns: 1fr;
  }
}
/* =========================
   GALLERY PAGE HERO
========================= */
.gallery-hero {
  background-image: url('../images/circuit.jpg');
}

/* =========================
   GALLERY PAGE LAYOUT
========================= */
.gallery-main-section,
.gallery-showcase-section,
.gallery-message-section {
  max-width: 1200px;
  margin: auto;
}

.premium-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 35px;
}

.gallery-item {
  background: white;
  padding: 10px;
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  transition: 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-message-card {
  background: white;
  padding: 40px 30px;
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.gallery-message-card h2 {
  color: #0f172a;
  margin-bottom: 14px;
}

.gallery-message-card p {
  color: #475569;
  max-width: 800px;
  margin: auto;
}

/* =========================
   RESPONSIVE GALLERY
========================= */
@media (max-width: 992px) {
  .premium-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .premium-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 240px;
  }
}

/* New contact style */
.contact-hero {
  background: url('../images/exhibition.png') center/cover no-repeat;
  background-attachment: fixed;
  color: #fff;
}

.contact-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px;
}

.contact-option-card {
  padding: 25px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  text-decoration: none;
  color: #000;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.contact-option-card:hover {
  transform: translateY(-5px);
}
.contact-video-section {
  position: relative;
  height: 800px;
  overflow: hidden;
}

.contact-video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  background: rgba(0,0,0,0.4);
  padding: 20px 30px;
  border-radius: 10px;
}
.premium-form {
  max-width: 700px;
  margin: auto;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

.contact-form textarea {
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  margin-top: 15px;
}

.icon-circle {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.icon-circle img {
  width: 60px;
  height: 60px;
}

.contact-option-card {
  text-align: center;
  padding: 25px;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: #000;
  transition: 0.3s;
}

.contact-option-card:hover {
  transform: translateY(-6px);
}

.contact-option-card h3 {
  margin-bottom: 10px;
}

/* SECTION BACKGROUND */
.contact-form-section {
  background: linear-gradient(135deg, #f5f7fa, #e4ecf7);
  padding: 60px 20px;
}

/* FORM CONTAINER */
.contact-form-container {
  max-width: 800px;
  margin: auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #e0e6ed;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* HEADER */
.contact-form-header {
  text-align: center;
  margin-bottom: 25px;
}

/* ROW */
.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

/* INPUTS */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccd6e0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

/* FOCUS EFFECT */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
  outline: none;
}

/* TEXTAREA */
.contact-form textarea {
  min-height: 130px;
}

/* BUTTON */
.submit-btn {
  width: 100%;
  padding: 14px;
  margin-top: 15px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* HOVER EFFECT */
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,123,255,0.3);
}

/* CLICK EFFECT */
.submit-btn:active {
  transform: scale(0.98);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}

.form-message {
  margin-top: 15px;
  font-size: 0.9rem;
  text-align: center;
}

.form-message.error {
  color: #d9534f;
}

.form-message.success {
  color: #28a745;
}

.form-message.loading {
  color: #007bff;
}
