/* ===============================================
   EDU NOVA — MAIN STYLESHEET
   Order: Reset → Variables → Base → Components → Sections → Modal → Responsive
   Responsive only changes layout/spacing — design (colors, radius, shadows) stays same
   =============================================== */

/* ========== 1. RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* Stop horizontal page shift / blank side scroll */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

img, video, iframe, svg {
  max-width: 100%;
}

/* ========== 2. VARIABLES ========== */
:root {
  --navbar: #5DADE2;
  --bg: #F8FBFF;
  --mint: #7ED6A5;
  --mint-hover: #66c491;
  --hover-blue: #4A90E2;
  --text: #2C3E50;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(44, 62, 80, 0.08);
}

/* ========== 3. BASE ========== */
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.section-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ========== 4. BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--mint);
  color: var(--text);
}

.btn-primary:hover {
  background: var(--mint-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--white);
  border-color: var(--navbar);
  color: var(--navbar);
}

.btn-outline:hover {
  background: var(--navbar);
  color: var(--white);
}

/* ========== 5. NAVBAR ========== */
.navbar {
  background: var(--navbar);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(93, 173, 226, 0.25);
  border-radius: 25px 25px 0 0;
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  white-space: nowrap;
}

.logo-icon {
  font-size: 1.7rem;
  color: var(--white);
}

.logo-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: #EAF5FF;
}

.nav-links {
  display: flex;
  gap: 33px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--mint);
  color: var(--text);
  transform: scale(1.09);
}

.navbar .btn-primary {
  flex-shrink: 0;
}

/* ========== 6. HERO ========== */
.hero {
  padding: 60px 40px 0;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  color: var(--navbar);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 18px;
}

.hero-text h1 span {
  color: var(--navbar);
  display: block;
}

.hero-desc {
  font-size: 1.05rem;
  color: #5A6B7B;
  max-width: 480px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== 7. STATS BAR ========== */
.stats-bar {
  max-width: 1180px;
  margin: 55px auto 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 24px;
  transform: translateY(40px);
  position: relative;
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  font-size: 1.8rem;
  color: var(--navbar);
  background: var(--bg);
  border: 1px solid #E2EEFB;
  padding: 12px;
  border-radius: 12px;
}

.stat h3 {
  font-size: 1.5rem;
  color: var(--navbar);
  font-weight: 700;
}

.stat p {
  font-size: 0.85rem;
  color: #6B7C8C;
}

/* ========== 8. MISSION & VISION ========== */
.mission-vision {
  max-width: 1280px;
  margin: 130px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mv-image {
  position: relative;
}

.mv-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 90%;
  height: 380px;
  object-fit: cover;
}

.mv-badge {
  position: absolute;
  bottom: -24px;
  left: 24px;
  background: var(--white);
  border: 2px solid var(--mint);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}

.mv-badge-icon {
  background: var(--bg);
  color: var(--navbar);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 1.2rem;
}

.mv-badge strong {
  font-size: 0.9rem;
  display: block;
}

.mv-badge p {
  font-size: 0.8rem;
  color: #6B7C8C;
}

.mv-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mv-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text);
}

.mv-card .icon {
  background: var(--mint);
  color: var(--white);
  padding: 8px;
  border-radius: 10px;
  font-size: 1.1rem;
}

.mv-card p {
  color: #5A6B7B;
  margin-bottom: 10px;
  max-width: 480px;
}

.link-arrow {
  color: var(--navbar);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.link-arrow:hover {
  color: var(--hover-blue);
}

/* ========== 9. PROGRAMS ========== */
.programs {
  max-width: 1280px;
  margin: 110px auto 90px;
  padding: 50px 40px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.programs h2 {
  font-size: 2.1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.section-sub {
  color: #6B7C8C;
  max-width: 560px;
  margin: 0 auto 40px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.program-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg);
  transition: transform 0.25s ease;
}

.program-card:hover {
  transform: translateY(-10px);
}

.program-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.program-card p {
  padding: 14px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ========== 10. PRINCIPAL'S DESK ========== */
.principle-desk {
  max-width: 1280px;
  margin: 0 auto 80px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pd-content h3 {
  font-size: 2.1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.pd-content p {
  color: #6B7C8C;
  margin-bottom: 10px;
  max-width: 480px;
}

/* ========== 11. NEWS ========== */
.news {
  max-width: 1300px;
  margin: 110px auto 80px;
  padding: 50px 40px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.news h2 {
  font-size: 2.1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.news p.section-sub {
  color: #6B7C8C;
  margin-bottom: 40px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  height: 300px;
  text-align: left;
}

.news-card-front {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--radius);
  border: var(--mint) 4px solid;
  box-shadow: var(--shadow);
}

.news-card-front h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 10px;
}

.news-card-front p {
  font-size: 0.9rem;
  color: #6B7C8C;
  margin-bottom: 14px;
}

.news-card-back {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.news-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== 12. AWARDS ========== */
.awards {
  max-width: 1300px;
  margin: 110px auto 80px;
  padding: 50px 40px;
  text-align: center;
}

.awards h2 {
  font-size: 2.1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.awards p.section-sub {
  color: #6B7C8C;
  margin-bottom: 40px;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.award-card {
  height: 320px;
  text-align: left;
}

.award-card-front {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius);
  border: var(--mint) 4px solid;
  box-shadow: var(--shadow);
}

.award-card-front h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 10px;
}

.award-card-front p {
  font-size: 0.9rem;
  color: #6B7C8C;
  margin-bottom: 14px;
}

.award-card-back {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.award-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== 13. PHOTO GALLERY ========== */
.photo-gallery {
  max-width: 1280px;
  margin: 110px auto 90px;
  padding: 50px 40px;
  text-align: center;
}

.photo-gallery h2 {
  font-size: 2.1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 40px;
}

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 6px;
  background: var(--white);
  border-radius: var(--radius);
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 260px;
  scroll-snap-align: start;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--navbar);
  box-shadow: var(--shadow);
  font-size: 1rem;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, color 0.2s ease;
}

.gallery-arrow:hover {
  background: var(--navbar);
  color: var(--white);
}

.arrow-left { margin-right: 16px; }
.arrow-right { margin-left: 16px; }

.view-btn {
  margin-top: 36px;
}

/* ========== 14. TESTIMONIALS ========== */
.testimonials {
  max-width: 1280px;
  margin: 110px auto 90px;
  padding: 50px 40px;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.testimonials p.section-sub {
  color: #6B7C8C;
  margin-bottom: 40px;
}

.testimonial-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 6px;
  background: var(--white);
  border-radius: var(--radius);
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  text-align: left;
  box-shadow: var(--shadow);
}

.stars {
  color: #FFC107;
  font-size: 1rem;
  margin-bottom: 16px;
}

.stars i {
  margin-right: 3px;
}

.testimonial-text {
  color: #5A6B7B;
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-person img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
}

.testimonial-person span {
  color: #6B7C8C;
  font-size: 0.82rem;
}

.testimonial-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--navbar);
  box-shadow: var(--shadow);
  font-size: 1rem;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, color 0.2s ease;
}

.testimonial-arrow:hover {
  background: var(--navbar);
  color: var(--white);
}

.testimonial-arrow.arrow-left { margin-right: 16px; }
.testimonial-arrow.arrow-right { margin-left: 16px; }

/* ========== 15. FOOTER ========== */
.site-footer {
  background: var(--bg);
}

.footer-main {
  padding: 60px 40px 40px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1.5fr;
  gap: 30px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-brand .logo-icon {
  font-size: 1.6rem;
  color: var(--navbar);
}

.footer-brand .logo-text small {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: #6B7C8C;
}

.footer-tagline {
  color: var(--navbar);
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-desc {
  color: #6B7C8C;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-features {
  list-style: none;
}

.footer-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.feature-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
}

.icon-blue { background: var(--navbar); }
.icon-green { background: var(--mint); }

.footer-links h4 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background: var(--mint);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5A6B7B;
  font-size: 0.88rem;
  transition: color 0.2s ease, gap 0.2s ease;
}

.footer-links a i {
  color: var(--navbar);
  font-size: 0.7rem;
}

.footer-links a:hover {
  color: var(--navbar);
  gap: 12px;
}

.footer-newsletter h4 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 10px;
}

.footer-newsletter h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background: var(--mint);
  border-radius: 2px;
}

.footer-newsletter p {
  color: #6B7C8C;
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  margin-bottom: 14px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid #D8E4F0;
  border-radius: 8px 0 0 8px;
  font-size: 0.88rem;
  outline: none;
}

.newsletter-form button {
  background: var(--navbar);
  color: var(--white);
  border: none;
  padding: 0 18px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

.subscribe-btn {
  width: 100%;
  background: var(--mint);
  color: var(--text);
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.subscribe-btn:hover {
  background: var(--mint-hover);
}

.footer-illustration img {
  margin-top: 20px;
  width: 100%;
  border-radius: 12px;
}

.footer-contact-strip {
  background: var(--white);
  border-top: 1px solid #E2EEFB;
  padding: 24px 40px;
}

.contact-strip-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-strip-item strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-strip-item p {
  color: #6B7C8C;
  font-size: 0.82rem;
}

.strip-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}

.social-icons-footer {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-icons-footer a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
}

.social-fb { background: #3b5998; }
.social-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-yt { background: #ff0000; }
.social-li { background: #0077b5; }

.footer-bottom {
  background: var(--text);
  color: var(--white);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-radius: 0 0 25px 25px;
}

.footer-bottom p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.footer-bottom p i {
  color: var(--mint);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.footer-bottom-links a {
  color: var(--white);
  opacity: 0.85;
}

.footer-bottom-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom-links span {
  opacity: 0.4;
}

/* ========== BACK TO TOP (shared — only define here) ========== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 16px;
  width: 52px;
  height: 52px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top i {
  position: relative;
  z-index: 2;
  color: var(--navbar);
  font-size: 1.1rem;
  line-height: 1;
}

.back-to-top:hover i {
  color: var(--mint-hover);
}

/* SVG fills the button so ring sits on the circle */
.back-to-top .progress-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.back-to-top .progress-ring-bg {
  fill: none;
  stroke: #E2EEFB;
  stroke-width: 3;
}

.back-to-top .progress-ring-fill {
  fill: none;
  stroke: var(--navbar);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 138.2;
  stroke-dashoffset: 138.2;
}

.back-to-top:active {
  transform: scale(0.92);
}



/* ========== 17. CAMPUS TOUR MODAL ========== */
.tour-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 62, 80, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.tour-modal-overlay.show,
.tour-modal-overlay.active {
  display: flex;
}

.tour-modal-box {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}

.tour-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  color: #6B7C8C;
  font-size: 1rem;
  cursor: pointer;
}

.tour-modal-close:hover {
  background: #FDEDEC;
  color: #E74C3C;
}

.tour-modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.tour-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navbar), var(--mint-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
}

.tour-modal-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 6px;
}

.tour-modal-header p {
  color: #6B7C8C;
  font-size: 0.9rem;
}

.tour-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tour-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tour-form-field label,
.tour-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.field-hint-light {
  font-weight: 400;
  color: #A0AEC0;
  font-size: 0.78rem;
}

.tour-form-field input,
.tour-form-field select,
.tour-form-field textarea,
.tour-form-group input,
.tour-form-group select,
.tour-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #E2EEFB;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tour-form-field input:focus,
.tour-form-field select:focus,
.tour-form-field textarea:focus,
.tour-form-group input:focus,
.tour-form-group select:focus,
.tour-form-group textarea:focus {
  border-color: var(--navbar);
  box-shadow: 0 0 0 3px rgba(93, 173, 226, 0.15);
}

.tour-form-group.error input,
.tour-form-group.error select,
.tour-form-group.error textarea,
.tour-form-field.error input,
.input-invalid {
  border-color: #E74C3C !important;
  background: #fff5f5 !important;
}

.field-error {
  display: block;
  color: #E74C3C;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 5px;
}

.tour-form-field textarea,
.tour-form-group textarea {
  resize: vertical;
}

.tour-form-error {
  display: none;
  background: #FDEDEC;
  color: #E74C3C;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.tour-form-error.show {
  display: block;
}

.tour-submit-btn {
  width: 100%;
  background: var(--mint);
  color: var(--text);
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.25s ease, transform 0.2s ease;
}

.tour-submit-btn:hover {
  background: var(--mint-hover);
  transform: translateY(-2px);
}

.tour-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.tour-success-message {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.tour-success-message.show,
.tour-success-message.active {
  display: block;
}

.tour-success-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.tour-success-message h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 10px;
}

.tour-success-message p {
  color: #6B7C8C;
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ===============================================
   18. RESPONSIVE
   =============================================== */

@media (max-width: 1200px) {
  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-container {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .nav-container {
    padding: 14px 24px;
    gap: 20px;
  }

  .nav-links {
    gap: 18px;
  }

  .hero-container,
  .mission-vision,
  .principle-desk {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2.6rem;
  }

  .mv-image img {
    width: 100%;
    height: 320px;
  }

  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-grid,
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    flex: 0 0 320px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-container {
    padding: 12px 16px;
  }

  .hero {
    padding: 40px 20px 0;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  /* Hero buttons stay in one row */
  .hero-buttons {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero-buttons .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 12px 10px;
    font-size: 0.88rem;
  }

  .stats-bar {
    transform: none;
    margin-top: 28px;
    padding: 24px 16px;
  }

  .mission-vision,
  .principle-desk,
  .programs,
  .news,
  .awards,
  .photo-gallery,
  .testimonials {
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .mission-vision {
    margin-top: 60px;
    gap: 36px;
  }

  .programs,
  .news,
  .awards,
  .photo-gallery,
  .testimonials {
    padding-top: 36px;
    padding-bottom: 36px;
    margin-top: 60px;
    margin-bottom: 50px;
  }

  .programs h2,
  .news h2,
  .awards h2,
  .photo-gallery h2,
  .testimonials h2,
  .pd-content h3 {
    font-size: 1.7rem;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    flex: 0 0 220px;
  }

  .gallery-item img {
    height: 180px;
  }

  .testimonial-card {
    flex: 0 0 280px;
    padding: 22px;
  }

  .footer-main {
    padding: 40px 20px 30px;
  }

  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-brand,
  .footer-newsletter {
    grid-column: 1 / -1;
  }

  .footer-links h4 {
    font-size: 0.95rem;
  }

  .footer-links ul li a {
    font-size: 0.85rem;
  }

  .footer-contact-strip {
    padding: 20px;
  }

  .contact-strip-container {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
  }

  .tour-form-row {
    grid-template-columns: 1fr;
  }

  .tour-modal-box {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.15rem;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  /* Watch Video + Explore More still one row */
  .hero-buttons {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .hero-buttons .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 11px 8px;
    font-size: 0.8rem;
  }

  .stat {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .programs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-arrow,
  .testimonial-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .arrow-left,
  .testimonial-arrow.arrow-left {
    margin-right: 8px;
  }

  .arrow-right,
  .testimonial-arrow.arrow-right {
    margin-left: 8px;
  }

  .gallery-item {
    flex: 0 0 200px;
  }

  .testimonial-card {
    flex: 0 0 260px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 24px 14px;
  }

  .footer-brand,
  .footer-newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 360px) {
  .nav-container {
    padding: 10px 12px;
  }

  .hero {
    padding: 28px 14px 0;
  }

  .hero-text h1 {
    font-size: 1.55rem;
  }

  .btn {
    padding: 11px 18px;
    font-size: 0.88rem;
  }

  .hero-buttons .btn {
    padding: 10px 6px;
    font-size: 0.75rem;
  }
}
