@import url('https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&family=Poppins:wght@500;600&display=swap');
@import url('https://db.onlinewebfonts.com/c/527ea5851ca62a9a758a44dc39437eae?family=Old+English+Text+MT+V2');
@font-face {
    font-family: "Old English Text MT V2";
    src: url("https://db.onlinewebfonts.com/t/527ea5851ca62a9a758a44dc39437eae.eot");
    src: url("https://db.onlinewebfonts.com/t/527ea5851ca62a9a758a44dc39437eae.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/527ea5851ca62a9a758a44dc39437eae.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/527ea5851ca62a9a758a44dc39437eae.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/527ea5851ca62a9a758a44dc39437eae.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/527ea5851ca62a9a758a44dc39437eae.svg#Old English Text MT V2")format("svg");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #111;
  overflow-x: hidden;
}

body.no-scroll-modal,
body.no-scroll-nav {
  overflow: hidden;
}

section {
  scroll-margin-top: 90px;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-image: linear-gradient(to left, #000000, #D91A1A);
  background-color: #000000;
  padding: 10px 0;
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-text-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.logo-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand-old {
  font-family: "Old English Text MT V2";
  font-size: 56px;
  color: #ffffff;
  letter-spacing: 1px;
}

.brand-agency {
  font-family: 'Agency FB', 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #ffd700;
  text-transform: uppercase;
  margin-top: 20px;
}

.nav-menu {
  display: flex;
  align-items: center;
  margin-left: 76px;
}

.nav-menu a {
  color: #fff;
  margin-left: 22px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.nav-menu i {
  margin-left: 26px;
}

/* HAMBURGER */
.menu-toggle {
  width: 30px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: all .35s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background: #000;
  padding-top: 72px; /* space for fixed header */
}

.hero-slider {
  width: 100%;
  position: relative;
}

/* Slides */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 0s linear 1.2s;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
  position: relative;
  z-index: 1;
}

/* Images */
.hero-slide img {
  width: 100%;
  /* height: auto; */
  max-height: 90vh;
  object-fit: cover;
  object-position: center;
  /* object-fit: contain; */
  display: block;
}


/* arrows a bit lower than pure center */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  color: #fff;
  cursor: pointer;
  opacity: .8;
  z-index: 10;
}

.slider-arrow.left  { left: 20px; }
.slider-arrow.right { right: 20px; }



.slider-arrow:hover {
  opacity: 1;
}


/* Bottom CTA */
.hero-bottom {
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
  z-index: 6;
}

.cta-btn {
  display: inline-block;
  padding: 14px 38px;
  border-radius: 30px;
  background: linear-gradient(90deg, #ff0000, #003cff);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  border: none;
  cursor: pointer;
}

/* Dots */
.slider-dots {
  margin-top: 18px;
}
.slider-dots span {
  display: inline-block;
  width: 28px;
  height: 3px;
  background: #666;
  margin: 0 4px;
  cursor: pointer;
}
.slider-dots .active {
  background: #fff;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
}

.modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

/* KEY FIX: popup size & scroll */
.modal-content {
  position: relative;
  max-width: 420px;
  width: 90%;
  background: #111;
  margin: 6vh auto;
  padding: 24px;
  border-radius: 16px;
  z-index: 1;
  text-align: left;
  color: #fff;
  max-height: 88vh;
  overflow-y: auto;
}

.modal-content h2 {
  margin-bottom: 10px;
}

.modal-content p {
  color: #ccc;
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
}

/* Registration form layout (modal) */
.register-form {
  margin-top: 10px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}

.form-group.full {
  flex: 1 1 100%;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: #f5f5f5;
  margin-bottom: 6px;
}

/* Inputs */
.register-form input {
  width: 100%;
  padding: 11px 16px;
  border-radius: 24px;
  border: 1px solid #333;
  background: #222;
  color: #f5f5f5;
  font-size: 13px;
}

.register-form input::placeholder {
  color: #777;
}

/* Sections */
.form-section {
  margin: 18px 0;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Button grids */
.btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pill-btn {
  background: transparent;
  border-radius: 6px;
  border: 1px solid #888;
  color: #f5f5f5;
  padding: 10px 8px;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  transition: all .2s ease;
}

.pill-btn.active {
  background: #ffffff;
  color: #000;
  border-color: #fff;
}

/* Submit button */
.primary-btn {
  width: 100%;
  margin-top: 12px;
  padding: 12px 0;
  border-radius: 24px;
  border: none;
  background: #ffffff;
  color: #000;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

/* SECTION HEADING */
.about-section,
.chairman-section,
.features-section,
.courses-section,
.testimonials-section,
.contact-section {
  padding: 100px 0;
  background: #fff;
  text-align: justify;
}

.section-heading {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 70px;
  position: relative;
}
.section-heading span {
  color: #000;
}
.heading-line {
  display: block;
  width: 70px;
  height: 3px;
  background: #e11d48;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 18px;
  text-align: justify;
}
.about-image img {
  max-width: 100%; 
  height: auto; 
  width: auto;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

/* CHAIRMAN */
.chairman-section {
  background: #fff;
}
.chairman-grid {
  align-items: center;
}
.chairman-image img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.section-heading.left {
  text-align: left;
  margin-bottom: 30px;
}
.section-heading.left .heading-line {
  margin: 12px 0 0;
}
.chairman-content p {
  font-size: 18px;
  line-height: 1.85;
  color: #333;
  margin-bottom: 16px;
  text-align: justify;
}
.signature {
  margin-top: 30px;
  font-size: 15px;
  color: #000;
}

/* FEATURES */
.features-section {
  background: #f5f6f8;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}
.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
.feature-icon {
  font-size: 40px;
  color: #7b1fa2;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #000;
}
.feature-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #555;
}

/* COURSES */
.courses-grid {
  display: grid;
  gap: 30px;
}
.courses-grid.two-cards {
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
}
.course-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
.course-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.course-content {
  padding: 26px;
}
.course-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.course-content p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 18px;
}
.course-btn {
  padding: 10px 22px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(90deg,#ff0000,#1e3a8a);
}

/* TESTIMONIALS */
.testimonials-section {
    background-image: linear-gradient(to left, #000000, #D91A1A);
  background-color: #000000;
  color: #fff;
  overflow: hidden;
}
.section-heading.light {
  color: #fff;
}
.section-heading.light .heading-line {
  background: #fff;
}
.testimonial-slider {
  overflow: hidden;
  margin-top: 50px;
}
.testimonial-track {
  display: flex;
  gap: 30px;
  transition: transform .6s ease;
}
.testimonial-card {
  min-width: calc(33.333% - 20px);
  background: rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.testimonial-card p {
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-size: 13px;
  opacity: .85;
}
.testimonial-controls {
  margin-top: 30px;
  text-align: center;
}
.testimonial-controls button {
  background: none;
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  font-size: 20px;
  padding: 8px 14px;
  margin: 0 6px;
  border-radius: 50%;
  cursor: pointer;
}

/* CONTACT */
.contact-card {
   width: 70%;
  max-width: 70%;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  overflow: hidden;
}
.contact-form {
  padding: 30px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}
.contact-form textarea {
  resize: none;
}
.contact-btn {
  width: 100%;
  border: none;
  padding: 12px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg,#ff0000,#1e3a8a);
}
.contact-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  padding-bottom: 14px;
}
.contact-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  background: #1e3a8a;
}
.contact-map iframe {
  width: 100%;
  /* height: 260px */
  border: 0;
  margin-top: 10px;
}

/* FOOTER */
.site-footer {
    background-image: linear-gradient(to left, #000000, #D91A1A);
  background-color: #000000;
  color: #fff;
  padding-top: 70px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
}
.footer-col h4 {
  font-size: 17px;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col p {
  font-size: 14.5px;
  line-height: 1.7;
  opacity: .95;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #fff;
  font-size: 14.5px;
  opacity: .95;
  text-decoration: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}
.footer-policy a {
  margin-left: 14px;
  color: #fff;
  font-size: 13.5px;
  opacity: .95;
}

/* TABLET */
@media (max-width: 1024px) {
  .about-grid,
  .chairman-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .features-grid {
    grid-template-columns: repeat(2,1fr);
    padding: 0 8px;
    gap: 40px;
  }

  .courses-grid.two-cards {
    grid-template-columns: repeat(2,1fr);
    gap: 40px;
  }

  .testimonial-card {
    min-width: calc(50% - 20px);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 40px 24px 50px;
  }
}

/* MOBILE NAV + GENERAL */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
    max-width: calc(100% - 32px);
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-slide img {
    max-height: 70vh;
  }

  .slider-arrow {
    top: 50%;
    transform: translateY(-50%);
    font-size: 34px;
  }

  .slider-arrow.left  { left: 16px; }
  .slider-arrow.right { right: 16px; }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    flex-direction: column;
    background: #000;
    display: none;
    padding: 0 24px;
    /* ADD THESE NEW LINES */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
  }
 .nav-menu.active {
    display: flex;
    /* ADD THESE NEW LINES */
    max-height: 500px;
    opacity: 1;
    align-items: start;
    margin-top: 20px;
    gap: 8px;
  }av-menu a {
    margin: 0;
    padding: 16px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
  }
  .nav-menu a:hover {
    opacity: 0.85;
  }

  .logo {
    max-width: 85%;
  }
  .logo-text-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    white-space: normal;
  }
  .brand-old {
    font-size: 25px;
    line-height: 1.1;
  }
  .brand-agency {
    font-size: 16px;
    line-height: 1.1;
    margin-left: 8.5vh;
    margin-top: 0;
  }

  .hero-bottom {
    bottom: 40px;
    padding: 0 32px;
  }
  .cta-btn {
    font-size: 16px;
    padding: 14px 36px;
  }

  /* modal size tweak for mobile */
  .modal-content {
    margin: 4vh 5%;
    padding: 20px;
    max-width: 92%;
    max-height: 92vh;
  }

  .section-heading {
    font-size: 26px;
    margin-bottom: 50px;
    padding: 0 12px;
  }

  .about-section,
  .chairman-section,
  .courses-section,
  .features-section,
  .contact-section,
  .testimonials-section {
    padding: 80px 0;
  }

  .about-grid,
  .chairman-grid {
    gap: 50px;
    padding: 0 12px;
  }

  .chairman-content p,
  .about-content p {
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 22px;
    padding: 0 8px;
  }

  .courses-grid.two-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .course-card {
    width: 100%;
  }

  .course-card img {
    height: 210px; /* slightly reduced height for mobile */
  }

  .course-btn {
    display: inline-block;
    margin: 0;
  }

  .testimonial-slider {
    padding: 0 16px;
  }

  .testimonial-card {
    min-width: 100%;
    padding: 36px 32px;
    margin-bottom: 24px;
  }

  .contact-form {
    padding: 36px 10px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 16px 20px;
    margin-bottom: 18px;
  }

  .contact-social {
    padding: 0 16px;
  }

  .footer-top {
    gap: 45px;
    padding: 0 24px 60px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px 28px;
  }
}

/* SMALL MOBILE */
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .about-section,
  .chairman-section,
  .courses-section,
  .features-section,
  .contact-section,
  .testimonials-section {
    padding: 70px 0;
  }

  .form-row.two-col .form-group {
    flex: 1 1 100%;
  }

  .btn-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 35px;
  }
  .feature-card {
    padding: 40px 24px;
  }

  .courses-grid.two-cards {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 0 20px;
  }

  .slider-arrow.left {
    left: 16px;
  }
  .slider-arrow.right {
    right: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px 50px;
  }

  .courses-grid,
  .features-grid {
    gap: 35px;
    padding: 0 24px;
  }

  .contact-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}
