/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  background: #fff;
  color: #333;
}
h1 {
  font-weight: 36px;
  line-height: 1.2;
}
h2 {
  font-size: 28px;
}
p {
  font-size: 16px;
  color: #555;
}

img,
video {
  max-width: 100%;
  display: block;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* NAVBAR BASE */
.navbar {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo img {
  height: 60px;
}

/* NAV LINKS (hidden by default on mobile) */
.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 5%;
  background: #fff;
  width: 200px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 15px;
}

.nav-links a {
  padding: 10px 0;
  text-decoration: none;
  color: #333;
}

/* HAMBURGER (visible on mobile) */
.hamburger {
  font-size: 24px;
  cursor: pointer;
}
.nav-links.active {
  display: flex;
}
.nav-links a:hover {
  color: #ff7a00;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #ff7a00;
  transition: 0.3s;
}

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

/* HERO */

.hero {
  background: url("../images/sunrise-university.jpg") center/cover no-repeat;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  padding-top: 10px;
}

.hero h1 {
  font-size: 28px;
}

.hero p {
  margin-bottom: 10px;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 12px;
  margin-top: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  background: #ff7a00;
  color: #fff;
  border-radius: 6px;
  text-align: center;
  min-width: 160px;
  text-decoration: none;
  transition: 0.3s;
}
.btn.primary {
  background: #ff7a00;
}
.btn.secondary {
  background: transparent;
  border: 1px solid #ff7a00;
  color: #fff;
}

.btn:hover {
  background: #e66900;
}
/* SECTION */
section {
  padding: 70px 20px;
}
.section-title {
  margin-bottom: 15px;
}
.section-subtext {
  margin-bottom: 35px;
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.carousel img {
  display: none;
  width: 100%;
  height: 500px;
  border-radius: 10px;
}

.carousel .active {
  display: block;
}
/* PROMISE SECTION */
.why-choose {
  padding: 60px 20px;
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.why-card {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  transition: 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);
}

.why-card h3 {
  margin-bottom: 10px;
  color: #ff7a00;
}
.why-card h3::before {
  content: "✔ ";
  color: green;
  font-weight: bold;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
/* Card Titles */
.card h3 {
  margin-bottom: 10px;
  color: #ff8800;
  /* your orange */
}

.card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

/* VIDEO */
.video-section {
  height: 50vh;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.video-section video {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* CONTACT */
.contact-hero {
  background: url("../images/student-study.jpg") center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
}
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #f4f4f4;
  padding: 30px;
  border-radius: 10px;
}
.contact-action {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-action .btn {
  width: fit-content;
  min-width: 180px;
}

.contact-box {
  background: #f4f4f4;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.contact-box a {
  display: block;
  width: 100%;
  margin: 10px 0;
}

/* CONTACT FORM */
.contact-form {
  background: #fff;
  padding: 30px 20px;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form h2 {
  margin-bottom: 20px;
  text-align: center;
}

/* FORM GROUP */
.form-group {
  position: relative;
  margin-bottom: 20px;
}

/* INPUTS */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  font-size: 14px;
  background: transparent;
}

/* LABEL */
.form-group label {
  position: absolute;
  left: 12px;
  top: 14px;
  color: #777;
  font-size: 14px;
  background: #fff;
  padding: 0 5px;
  transition: 0.3s;
}

/* FLOAT EFFECT */
.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -8px;
  font-size: 12px;
  color: #ff7a00;
}

/* BUTTON */
.contact-form button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #ff7a00;
  color: #fff;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #e66b00;
}

/* SOCIALS*/
.social-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 200px;
}
.social-links a {
  font-size: 20px;
  text-align: center;
  cursor: pointer;
  color: #ff6600;
  transition: 0.3s;
}

.social-links a:hover {
  color: #ffcc00;
}

/* PROGRAM HERO */
.program-hero {
  background: url("../images/program-img.jpg") center/cover no-repeat;
  height: 50vh;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  position: relative;
}

.scroll-down {
  margin-top: 20px;
  font-size: 30px;

  opacity: 0.7;
}

/* PROGRAM GRID */
.programs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 40px 0;
}

/* CARD */
.program-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.program-card h3 {
  margin-bottom: 10px;
  color: #ff7a00;
}

.program-card:hover {
  transform: translateY(-5px);
}

/* CTA */
.program-cta {
  text-align: center;
  padding: 40px 0;
}
/* FACILITIES */
.facilities {
  padding: 60px 20px;
  text-align: center;
}

.facility-grid {
  display: grid;
  gap: 15px;
}

.facility-grid img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  transition: transform 0.4s ease;
}
.facility-grid img:hover {
  transform: scale(1.05);
}
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/*TESTIMONIAL*/
.testimonials {
  padding: 60px 20px;
  background: #f8f9fb;
  text-align: center;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #222;
}

.testimonial-wrapper {
  overflow: hidden;
  max-width: 1000px;
  margin: auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 20px;
  box-sizing: border-box;
}

.testimonial-card p {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  font-size: 16px;
  line-height: 1.6;
}

.testimonial-card h4 {
  margin-top: 10px;
  color: #333;
}

/* Desktop: show 2 cards */
@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 50%;
  }
}
/*PROOF*/
.proof {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
  margin-bottom: 20px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

.proof-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
}

.proof-card h3 {
  font-size: 28px;
  color: #ff7a00;
}

/* ANIMATION*/
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.program-card,
.testimonial-card,
.proof-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.program-card:hover,
.testimonial-card:hover,
.proof-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
}

/*PRE-FOOTER*/
.pre-footer {
  background: #222;
  color: #fff;
  padding: 50px 20px;
}

.pre-footer-grid {
  display: grid;
  gap: 20px;
}

.pre-footer a {
  color: #ff7a00;
  text-decoration: none;
  margin: 10px;
}

/* FOOTER */
.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* MAIN DESKTOP RESPONSIVENESS */
@media (min-width: 768px) {
  /* SHOW INLINE NAV */
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    box-shadow: none;
    background: none;
    width: auto;
    padding: 0;
  }

  .nav-links a {
    margin-left: 20px;
  }

  /* HIDE HAMBURGER */
  .hamburger {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }
  .hero-buttons {
    flex-direction: row;
  }

  .about {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .contact-container {
    flex-direction: row;
    text-align: center;
  }
  .contact-info {
    flex: 1;
  }
  .contact-actions {
    flex: 1;
    align-items: flex-start;
  }
  .contact-actions a {
    width: 80%;
    margin: 20px 20px;
    margin-bottom: 10px;
    min-width: 180px;
  }
  .connect-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .social-links {
    grid-template-columns: repeat(8, 1fr);
    max-width: none;
  }

  @media (min-width: 768px) {
    .facility-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pre-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonial-card {
    min-width: 10%;
  }
}

/* DESKTOP */
@media (min-width: 1024px) {
  .video-section {
    height: 85vh;
  }

  .programs {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* DESKTOP */
@media (min-width: 768px) {
  .programs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .programs {
    grid-template-columns: repeat(3, 1fr);
  }
}
