/* Reset some defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.logo img {
  height: 50px;    /* change as you like */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0d47a1;
    padding: 15px 20px; /* reduced side padding for phones */
    flex-wrap: nowrap;
}

/* make nav wrap on small screens and make links flow cleanly */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 16px !important;
    flex-wrap: wrap !important;
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
    gap: 8px;
    padding: 0;
  }

  .nav-links li {
    margin: 6px 8px;
  }
}

.logo {
    font-size: 1.5em;
    color: white;
    font-weight: bold;
}
.nav-links {
    list-style: none;
    display: flex;
}
.nav-links li {
    margin-left: 20px;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}
.nav-links a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
  width: 100%;
  background: url('../images/hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;      /* comfortable default */
  min-height: 60vh;
  box-sizing: border-box;
  background-position: center;
  background-size: cover;
}

/* inner wrapper to limit text width */
.hero .hero-inner {
  width: 100%;
  max-width: 1000px;
  padding: 0 16px;
  margin: 0 auto;
}

/* main heading and lead */
.hero h1 {
  font-size: 3.2rem; /* desktop */
  line-height: 1.05;
  margin: 0 0 12px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

.hero p.lead {
  margin: 0 0 18px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.95);
}

/* responsive adjustments */
@media (max-width: 900px) {
  .hero {
    padding: 56px 16px;
    min-height: 48vh;
  }
  .hero h1 {
    font-size: 2.4rem;
    line-height: 1.08;
    word-break: break-word;
  }
  .hero p.lead {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .hero {
    padding: 40px 14px;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: #ff9800;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}
.btn:hover {
    background: #e68900;
}

/* About and Courses */
section {
    padding: 60px 20px;
    text-align: center;
}
.courses-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.course-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}



/* About Page */
.about-description {
    max-width: 1000px;
    margin: 0px auto;
    text-align: center;
    line-height: 1.6;
}

.about-description h1 {
    color: #ffffff;
    margin-bottom: 20px;
}

.about-description h2 {
    color: #ff9800;
    margin-top: 30px;
    margin-bottom: 15px;

}

.about-description ul {
    list-style-type: disc;
    display: inline-block;    
  text-align: left;           
  padding-left: 20px;          
  margin: 0;
}

.about-img {
    margin-top: 30px;
    width: 100%;
    max-width: 700px;
    border-radius: 10px;
}
.about-preview p {
    line-height: 2;
  }

  .about-preview h2 {
    margin-bottom: 40px; /* or any px/em value you prefer */
    font-size: 29px;
  }

  .about-preview a {
      margin-top: 40px;
  }

  .about-preview p {
        font-size: 27px;
        font-family: 'Times New Roman', Times, serif;
        font-style: italic;
        color: gray;
   }
 
  .about-preview p:nth-of-type(2) {
     font-weight: bold;
     font-style: normal;
  }

  .courses-preview h2 {
      margin-bottom: 30px;
      margin-top: 30px;
  }

  .courses-preview p {
      text-align: left;
      line-height: 30px;
  }

  .courses-preview h3:nth-of-type(1) {
      margin-bottom: 25px;
    }

/* ================== FOOTER ================== */
.footer {
  background-color: #0b4cab;
  color: #fff;
  padding: 24px 20px;       /* mobile-first padding */
  font-family: sans-serif;
}

/* links */
.footer a {
  color: #fff;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* top area: contact + queries */
.footer-top {
  display: flex;
  flex-direction: column;   /* stack on mobile */
  gap: 16px;
  margin-bottom: 18px;
}

/* text spacing */
.footer-left p,
.footer-right p {
  margin: 4px 0;
}

/* headings */
.footer-left h3,
.footer-right h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

/* bottom line (© text) */
.footer-bottom {
  text-align: center;
  font-size: 14px;
}

/* horizontal line */
.footer hr {
  border: 0;
  border-top: 1px solid #ffffff80;
  margin: 0 0 12px 0;
}

/* ========== DESKTOP / TABLET VIEW ========== */
@media (min-width: 768px) {
  .footer {
    padding: 40px 80px;     /* bigger padding on larger screens */
  }

  .footer-top {
    flex-direction: row;    /* side-by-side columns */
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 25px;
  }
}

.about-img {
  max-width: 400px;
  width: 100%;
  border-radius: 8px;
}

/* About Section */
.about-page {
    background: url('../images/abt.png') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 220px 40px;
}
.about-content h1 {
    font-size: 2.5em;
}
.about-content p {
    margin-top: 10px;
    font-size: 1.2em;
}

/* Contact Section */

body {
  font-family: Arial, sans-serif;
  margin: 0;
}

.contact-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background: #ffffff;          /* purple background */
  color: #fff;
  gap: 60px;
}

/* left side */
.contact-left {
  max-width: 320px;
}

.contact-left h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #454d4e;
}

.contact-left p {
  line-height: 1.5;
  margin-bottom: 20px;
  color: #454d4e;
}

.contact-info p {
  margin: 6px 0;
  color: #454d4e;
}

/* right side card */
.contact-right {
  background: #0b4cab;
  color: #333;
  border-radius: 18px;
  padding: 30px 32px 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-right h3 {
  margin-top: 0;
  margin-bottom: 18px;
  color: #ffffff;
}

/* form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row input {
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  margin-top: 6px;
  padding: 10px 22px;
  background: #c35004;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #4a2f74;
}

/* small screens */
@media (max-width: 900px) {
  .contact-section {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-right {
    max-width: 100%;
  }
}
/* End of contact page CSS */

/* Gallery Section */
.gallery {
  text-align: center;
  padding: 60px 20px 80px;
  background: #f7f8fc;
}

.gallery-label {
  letter-spacing: 2px;
  font-size: 12px;
  color: #7c7c9b;
  margin-bottom: 6px;
}

.gallery-title {
  font-size: 32px;
  margin-bottom: 32px;
  color: #222;
}

/* slideshow container */
/* ====== Gallery slideshow (keep JS auto-advance working) ====== */
.gallery-slideshow {
  position: relative;            /* required so .slide absolute positions work */
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;              /* clip slides (important) */
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
  height: 520px;                 /* desktop default height */
}

/* slides stacked on top of each other */
.gallery-slideshow .slide {
  position: absolute;
  inset: 0;                      /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.6s ease;
  z-index: 1;
  pointer-events: none;          /* prevents clicks on hidden slides */
  transform: translateX(0);      /* keep transform predictable for JS */
}

/* visible slide */
.gallery-slideshow .slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
  transform: translateX(0);
}

/* Nav buttons (keep on top) */
.gallery-slideshow .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

/* left / right */
.gallery-slideshow .nav-btn.prev { left: 12px; }
.gallery-slideshow .nav-btn.next { right: 12px; }

/* responsive: reduce height on phones but keep stacking & clipping */
@media (max-width: 768px) {
  .gallery-slideshow {
    height: 260px !important;
  }
}

.nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  cursor: pointer;
  font-size: 20px;
}

/* small screens */
@media (max-width: 900px) {
  .gallery-track {
    width: 100%;
  }

  .gallery-item,
  .gallery-item.active {
    width: 70vw;
    height: auto;
  }
}

/* ===== Courses Hero ===== */

.courses-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 80px 8%;
  background: radial-gradient(circle at top left, #3a7bd5, #0b265a);
  color: #fff;
}

.courses-hero-text h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.courses-hero-text p {
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  background: #ffb23f;
  color: #1b1b1b;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.courses-hero-card {
  background: rgba(255,255,255,0.96);
  color: #222;
  padding: 24px 28px;
  border-radius: 18px;
  max-width: 320px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.courses-hero-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.courses-hero-card ul {
  padding-left: 18px;
  margin: 0;
}

.courses-hero-card li {
  margin-bottom: 6px;
}

/* ===== Course Cards Grid ===== */

.course-grid {
  padding: 60px 8% 80px;
  background: #f6f7fb;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.course-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px 24px 28px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background: radial-gradient(circle at top left, #ffb23f, transparent 60%);
  pointer-events: none;
}

.course-card h2 {
  margin: 6px 0 10px;
  font-size: 22px;
}

.course-card p {
  line-height: 1.5;
  margin-bottom: 10px;
}

.course-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,178,63,0.1);
  color: #b26a00;
}

.course-points {
  padding-left: 18px;
  margin: 8px 0 14px;
}

.course-points li {
  margin-bottom: 4px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #555;
  margin-bottom: 14px;
}

.btn-outline {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #0b265a;
  color: #0b265a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

/* subtle color accents per course */
.course-neet { border-top: 4px solid #ff5b6a; }
.course-jee { border-top: 4px solid #ffb23f; }
.course-foundation { border-top: 4px solid #40c4ff; }
.course-school { border-top: 4px solid #7b61ff; }

/* ===== Highlights Section ===== */

.courses-highlight {
  padding: 50px 8% 80px;
  background: #ffffff;
  text-align: center;
}

.courses-highlight h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.highlight-item {
  background: #f6f7fb;
  border-radius: 16px;
  padding: 20px 18px 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.highlight-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .courses-hero {
    flex-direction: column;
    text-align: center;
  }

  .courses-hero-card {
    max-width: 100%;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .courses-hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .courses-highlight {
    padding-bottom: 60px;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Admissions Banner ===== */

.adm-banner {
  position: relative;
  height: 360px;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
}

.adm-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7);
}

.adm-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5,20,60,0.9), rgba(5,20,60,0.1));
}

.adm-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* vertical center */
  align-items: center;      /* horizontal center */
  max-width: 520px;         /* optional, can remove if you want full width */
  margin: 0 auto;           /* keep it centered if max-width used */
  color: #fff;
  text-align: center;
  padding-left: 0;          /* remove old left padding */
}


.adm-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  margin-bottom: 6px;
  opacity: 0.9;
}

.adm-banner-content h1 {
  font-size: 38px;
  margin: 0 0 10px;
}

.adm-banner-content p {
  margin: 0 0 18px;
  line-height: 1.5;
}

/* Reuse primary button style if already defined */
.btn-primary {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  background: #ffb23f;
  color: #1b1b1b;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  border: none;
  cursor: pointer;
}

/* ===== Highlights ===== */

.adm-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 18px 8% 32px;
  background: #f5f6fb;
}

.adm-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dde0f0;
  font-size: 13px;
}

/* ===== Course Cards ===== */

.adm-courses {
  padding: 40px 8% 60px;
  background: #f5f6fb;
}

.adm-courses h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 28px;
}

.adm-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.adm-course-card {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 22px 24px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  overflow: hidden;
}

.adm-course-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.adm-course-card p {
  margin: 0 0 10px;
  line-height: 1.4;
}

.adm-course-card ul {
  margin: 0 0 6px;
  padding-left: 18px;
  font-size: 14px;
}

.adm-course-card li {
  margin-bottom: 4px;
}

.adm-badge {
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0,0,0,0.06);
}

/* subtle colored accent lines */
.adm-neet { border-top: 4px solid #ff5b6a; }
.adm-jee { border-top: 4px solid #ffb23f; }
.adm-foundation { border-top: 4px solid #40c4ff; }
.adm-school { border-top: 4px solid #7b61ff; }

/* ===== Admission Form ===== */

.adm-form-section {
  padding: 50px 8% 80px;
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: flex-start;
}

.adm-form-text h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.adm-form-text p {
  margin-bottom: 14px;
  line-height: 1.5;
}

.adm-form-text ul {
  padding-left: 18px;
  margin: 0;
}

.adm-form-text li {
  margin-bottom: 6px;
}

.adm-form {
  background: #f5f6fb;
  border-radius: 18px;
  padding: 22px 22px 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adm-row {
  display: flex;
  gap: 12px;
}

.adm-row input,
.adm-row select {
  width: 100%;
}

.adm-form input,
.adm-form select,
.adm-form textarea {
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid #ccd0e5;
  font-size: 14px;
  font-family: inherit;
}

.adm-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .adm-banner {
    height: 280px;
  }

  .adm-banner-content {
    padding: 0 6%;
    max-width: 100%;
  }

  .adm-banner-content h1 {
    font-size: 28px;
  }

  .adm-course-grid {
    grid-template-columns: 1fr;
  }

  .adm-form-section {
    grid-template-columns: 1fr;
  }
}
/* End of Admissions CSS */

/* ===== About Hero ===== */

.about-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 70px 8% 60px;
  background: radial-gradient(circle at top left, #3a7bd5, #0b265a);
  color: #fff;
}

.about-hero-text {
  max-width: 540px;
}

.about-label {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 11px;
  opacity: 0.85;
  margin-bottom: 6px;
}

.about-hero-text h1 {
  font-size: 38px;
  margin: 0 0 12px;
}

.about-hero-text p {
  line-height: 1.6;
  margin: 0;
}

.about-hero-card {
  background: rgba(255,255,255,0.96);
  color: #222;
  padding: 22px 24px;
  border-radius: 18px;
  max-width: 320px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  text-align: center;
}

.about-hero-card h3 {
  margin: 0 0 10px;
}

.about-hero-card ul {
  list-style-type: disc;
  margin: 0;
  padding-left: 22px;    /* distance between dot and text */
  text-align: left;      /* bullets & lines neatly aligned */
  display: inline-block; /* keeps list centered under heading */
}

.about-hero-card li {
  margin-bottom: 6px;
}

/* ===== Story Section ===== */

.about-story {
  padding: 60px 8%;
  display: flex;
  align-items: center;
  gap: 40px;
  background: #f7f8fc;
}

.about-image img {
  width: 100%;
  max-width: 380px; /* desktop cap */
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
  object-fit: cover;
}

.about-text h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 28px;
}

.about-text p {
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ===== Mission & Approach ===== */

.about-mission {
  padding: 40px 8% 60px;
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mission-card {
  background: #f2f4ff;
  border-radius: 16px;
  padding: 20px 20px 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.mission-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.mission-card ul {
  margin: 0;
  padding-left: 18px;
}

.mission-card li {
  margin-bottom: 6px;
}

/* ===== Programs Grid ===== */

.about-programs {
  padding: 40px 8% 70px;
  background: #f7f8fc;
  text-align: center;
}

.about-programs h2 {
  font-size: 28px;
  margin-bottom: 26px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}

.program-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 22px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.07);
}

.program-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.program-card p {
  margin: 0 0 8px;
  line-height: 1.5;
}

.program-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}

.program-card li {
  margin-bottom: 4px;
}

/* color accents */
.p-neet { border-top: 4px solid #ff5b6a; }
.p-jee { border-top: 4px solid #ffb23f; }
.p-foundation { border-top: 4px solid #40c4ff; }
.p-school { border-top: 4px solid #7b61ff; }

/* ===== CTA ===== */

.about-cta {
  padding: 50px 8% 70px;
  text-align: center;
  background: linear-gradient(135deg, #0b265a, #3a7bd5);
  color: #fff;
}

.about-cta h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.about-cta p {
  margin: 0 0 18px;
}

/* reuse your primary button style */
.btn-primary {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  background: #ffb23f;
  color: #1b1b1b;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  border: none;
  cursor: pointer;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .about-hero {
    flex-direction: column;
    text-align: center;
  }

  .about-hero-card {
    max-width: 100%;
  }

  .about-story {
    flex-direction: column;
  }

  .about-mission {
    grid-template-columns: 1fr;
  }

  .program-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .program-grid {
    grid-template-columns: 1fr;
  }
}
/* End of About CSS */
/* basic box sizing and no horizontal overflow */
html, body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* prevents that white strip on the right */
}

/* container that centers content and keeps it responsive */
.container, .site-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* button */
.btn-cta {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  background: #f7a21b;
  color: #fff;
}

/* NAVBAR: make it full width and responsive */
.site-header, .navbar {
  width: 100%;
  left: 0;
  right: 0;
  box-sizing: border-box;
  z-index: 50;
}

/* responsive nav list - allow horizontal scroll on small screens */
.navbar .nav-list {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  overflow-x: auto;
  padding: 8px 12px;
  -webkit-overflow-scrolling: touch;
}

/* ===== HAMBURGER NAV STYLES ===== */

.nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle .hamburger {
  width: 28px;
  height: 20px;
  position: relative;
  display: inline-block;
}

.nav-toggle .hamburger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: transform .25s ease, opacity .2s ease;
}

.nav-toggle .hamburger span:nth-child(1) { top: 0; }
.nav-toggle .hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle .hamburger span:nth-child(3) { bottom: 0; }

/* desktop */
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* mobile */
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d47a1;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform .22s cubic-bezier(.2,.9,.2,1);
    z-index: 60;
    flex-direction: column;
    gap: 0;
    padding: 10px 16px;
  }

  .nav-links.open { transform: scaleY(1); }

  .nav-links li {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 12px 10px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
  }

  .navbar {
    position: relative;
    padding: 12px 16px;
  }

  /* hamburger -> X */
  .nav-toggle.open .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle.open .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-toggle.open .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
/* End of Navbar CSS */

