/* Custom styles for JT Foxx landing page */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&display=swap");

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #e53e3e;
  --accent-color: #f8f9fa;
  --text-dark: #333333;
  --text-light: #666666;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Barlow Condensed", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Separate Header with Black Background */
.separate-header {
  background-color: black;
  width: 100%;
  padding: 20px;
  position: relative;
  z-index: 2;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.separate-header-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 80px;
}

/* Header Background */
.header-bg {
  background-image: url("public/images/header-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
}

.header-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: rgba(0, 0, 0, 0.4);*/
  z-index: 1;
}

/* Main Heading Styles */
.main-heading {
  font-family: "Barlow Condensed", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.275px;
  line-height: 48.95px;
  color: white;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Sub Heading Styles */
.sub-heading {
  font-family: "Barlow Condensed", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 27px;
  text-align: center;
  background-color: rgb(255, 255, 4);
  color: #000000;
  padding: 4px 0;
  margin-top: 10px;
  position: relative;
  z-index: 2;
  display: inline-block;
}

/* Form Section Styles */
.form-section {
  padding: 60px 20px;
  position: relative;
  z-index: 2;
}

.form-heading {
  font-family: "Barlow Condensed", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.36px;
  line-height: 36px;
  color: white;
  text-align: center;
  margin-bottom: 30px;
  height: 72px;
  text-align: center;
  max-width: 100%;
}

/* Form Container with Shadow */
.form-container-wrapper {
  position: relative;
  width: 553.25px;
  max-width: 100%;
  margin: 0 auto;
}

.form-shadow {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 553.25px;
  height: 715.516px;
  background-color: rgb(136, 0, 255);
  background-image: linear-gradient(140deg, rgb(136, 0, 255), rgb(255, 0, 212));
  background-repeat: no-repeat;
  border-radius: 10px;
  z-index: 1;
}

.form-container {
  background-color: #3f3f3f;
  padding: 60px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 553.25px;
  max-width: 100%;
  margin: 0 auto;
  height: 715.516px;
  line-height: 26.72px;
  position: relative;
  z-index: 2;
}

.form-label {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 22.5px;
  color: white;
  display: block;
  margin-bottom: 8px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  width: 431.25px;
  max-width: 100%;
}

.form-input {
  width: 431.25px;
  max-width: 100%;
  height: 40px;
  padding: 7.5px;
  margin-bottom: 20px;
  border: 2px solid #555;
  background-color: white;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 25.05px;
  transition: all 0.3s ease;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.form-input:focus {
  outline: none;
  outline-color: rgb(191, 144, 2);
  border-color: rgb(191, 144, 2);
  box-shadow: 0 0 0 2px rgba(191, 144, 2, 0.2);
}

.form-input::placeholder {
  color: #999;
}

.submit-btn {
  width: 180px;
  height: 64px;
  padding: 20px 40px;
  background-color: rgb(136, 0, 255);
  background-image: linear-gradient(140deg, rgb(136, 0, 255), rgb(255, 0, 212));
  background-repeat: no-repeat;
  color: white;
  border: none;
  border-radius: 40px;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}

.submit-btn:hover {
  transform: translateY(-2px);
  text-decoration: underline;
  text-decoration-color: white;
}

/* Video Container Styles */
.video-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 177.78%; /* 16:9 aspect ratio */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Container for content - Updated to top positioning */
.header-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 0px 20px 20px 20px;
}

/* Additional utility classes */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
}

/* Animation classes */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive heading sizes */
@media (min-width: 1200px) {
  .main-heading {
    font-size: 56px;
    margin: 10px auto;
  }

  .sub-heading {
    font-size: 24px;
    line-height: 27px;
    letter-spacing: 2px;
    padding: 4px 0;
  }

  .form-heading {
    font-size: 36px;
    line-height: 36px;
    height: 72px;
  }

  .form-container-wrapper {
    width: 553.25px;
  }

  .form-shadow {
    width: 553.25px;
    height: 715.516px;
    top: 20px;
    left: 20px;
  }

  .form-container {
    width: 553.25px;
    padding: 60px 10px;
    height: 715.516px;
    line-height: 26.72px;
  }

  .form-input {
    width: 431.25px;
    height: 40px;
    padding: 7.5px;
    line-height: 25.05px;
  }

  .form-label {
    width: 431.25px;
  }

  .submit-btn {
    height: 64px;
    padding: 20px 40px;
    font-size: 16px;
    letter-spacing: 0.4px;
    line-height: 20px;
    margin: 44.8px 125.625px 0 125.625px;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .main-heading {
    font-size: 56px;
    line-height: 52px;
    max-width: 900px;
    margin: 0 auto;
  }

  .sub-heading {
    font-size: 22px;
    line-height: 25px;
    letter-spacing: 1.5px;
    padding: 3px 0;
  }

  .form-heading {
    font-size: 32px;
    line-height: 32px;
    width: 100%;
    height: auto;
  }

  .form-container-wrapper {
    width: 100%;
    max-width: 500px;
  }

  .form-shadow {
    width: 100%;
    max-width: 500px;
    height: 715.516px;
    top: 20px;
    left: 20px;
  }

  .form-container {
    width: 100%;
    max-width: 500px;
    padding: 50px;
    height: 715.516px;
    line-height: 26px;
  }

  .form-input {
    width: 100%;
    max-width: 400px;
    height: 38px;
    padding: 7px;
    line-height: 24px;
  }

  .form-label {
    width: 100%;
    max-width: 400px;
  }

  .submit-btn {
    height: 58px;
    padding: 18px 35px;
    font-size: 15px;
    letter-spacing: 0.3px;
    line-height: 19px;
    margin: 25px 100px 0 100px;
  }
}

@media (max-width: 767px) and (min-width: 480px) {
  .main-heading {
    font-size: 56px;
    line-height: 42px;
    max-width: 100%;
    padding: 0 20px;
  }

  .sub-heading {
    font-size: 20px;
    line-height: 23px;
    letter-spacing: 1px;
    padding: 2px 0;
    margin-top: 10px;
  }

  .form-heading {
    font-size: 28px;
    line-height: 28px;
    width: 100%;
    height: auto;
  }

  .form-section {
    padding: 40px 15px;
  }

  .form-container-wrapper {
    width: 100%;
    max-width: 450px;
  }

  .form-shadow {
    width: 100%;
    max-width: 450px;
    height: 715.516px;
    top: 20px;
    left: 20px;
  }

  .form-container {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    height: 715.516px;
    line-height: 25px;
  }

  .form-input {
    width: 100%;
    max-width: 350px;
    height: 36px;
    padding: 6px;
    line-height: 24px;
  }

  .form-label {
    width: 100%;
    max-width: 350px;
  }

  .submit-btn {
    height: 52px;
    padding: 16px 30px;
    font-size: 14px;
    letter-spacing: 0.3px;
    line-height: 18px;
    margin: 20px auto 0 auto;
    display: block;
  }
}

@media (max-width: 479px) {
  .main-heading {
    font-size: 28px;
    line-height: 36px;
    max-width: 100%;
    padding: 0 15px;
  }

  .sub-heading {
    font-size: 18px;
    line-height: 21px;
    letter-spacing: 0.8px;
    padding: 2px 0;
    margin-top: 10px;
  }

  .form-heading {
    font-size: 24px;
    line-height: 24px;
    width: 100%;
    height: auto;
  }

  .form-section {
    padding: 30px 10px;
  }

  .form-container-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .form-shadow {
    width: 100%;
    max-width: 100%;
    height: 715.516px;
    top: 20px;
    left: 20px;
  }

  .form-container {
    width: 100%;
    max-width: 100%;
    padding: 30px 20px;
    height: 715.516px;
    line-height: 24px;
  }

  .form-input {
    width: 100%;
    max-width: 100%;
    height: 34px;
    padding: 5px;
    line-height: 24px;
  }

  .form-label {
    width: 100%;
    max-width: 100%;
  }

  .submit-btn {
    height: 48px;
    padding: 14px 25px;
    font-size: 13px;
    letter-spacing: 0.2px;
    line-height: 17px;
    margin: 15px auto 0 auto;
    display: block;
  }
}

/* AS SEEN ON Section */
.as-seen-on-section {
  background-color: black;
  width: 100%;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.as-seen-on-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.as-seen-on-heading {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24px;
  line-height: 36px;
  color: white;
  text-align: center;
  margin-bottom: 20px;
}

.as-seen-on-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.as-seen-on-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* JT Stage Section */
.jt-stage-section {
  background-image: url("public/images/jt-stage-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.jt-stage-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: rgba(0, 0, 0, 0.4);*/
  z-index: 1;
}

.jt-stage-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 60px 20px;
  text-align: center;
  margin-top: 30px;
}

.jt-stage-heading {
  font-family: "Barlow Condensed", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.275px;
  line-height: 48.95px;
  color: white;
  text-align: center;
  position: relative;
  z-index: 2;
}

.jt-stage-subheading {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 21px;
  font-weight: 300;
  line-height: 34px;
  color: white;
  text-align: center;
  margin-top: 24px;
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.jt-stage-h3 {
  font-family: Barlow, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.64px;
  line-height: 36px;
  color: white;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

.jt-stage-columns {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
  width: 1138.5px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  align-items: center;
}

.jt-stage-column {
  display: flex;
  flex-direction: column;
  gap: 70px;
  width: 50%;
}

.jt-stage-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.27px;
  line-height: 30px;
  color: white;
  text-align: left;
  height: 30px;
  min-height: 30px;
}

.jt-stage-icon {
  flex-shrink: 0;
  margin-top: 5px;
}

.jt-stage-final-subheading {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 21px;
  font-weight: 300;
  line-height: 34px;
  letter-spacing: normal;
  color: white;
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 2;
  height: 34px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive styles for AS SEEN ON section */
@media (min-width: 1200px) {
  .as-seen-on-section {
    padding: 20px;
  }

  .as-seen-on-heading {
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0.24px;
    margin-bottom: 20px;
  }

  .as-seen-on-image {
    max-width: 1138.5px;
  }

  .jt-stage-heading {
    font-size: 50px;
    width: 1138.5px;
    height: auto;
    margin: 0 auto;
  }

  .jt-stage-subheading {
    font-size: 21px;
    line-height: 34px;
    width: 1138.5px;
    height: 101.97px;
    margin-top: 24px;
  }

  .jt-stage-h3 {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: 0.64px;
    margin-top: 40px;
  }

  .jt-stage-columns {
    gap: 60px;
    margin-top: 40px;
    width: 1138.5px;
    align-items: center;
  }

  .jt-stage-column {
    width: 50%;
    gap: 70px;
  }

  .jt-stage-item {
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0.27px;
    height: 30px;
    min-height: 30px;
    width: auto;
  }

  .jt-stage-final-subheading {
    font-size: 21px;
    line-height: 34px;
    height: 34px;
    margin-top: 60px;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .as-seen-on-section {
    padding: 20px;
  }

  .as-seen-on-heading {
    font-size: 22px;
    line-height: 33px;
    letter-spacing: 0.22px;
    margin-bottom: 40px;
  }

  .as-seen-on-image {
    max-width: 600px;
  }

  .jt-stage-heading {
    font-size: 50px;
    line-height: 52px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10px;
  }

  .jt-stage-subheading {
    font-size: 20px;
    line-height: 32px;
    max-width: 900px;
    height: auto;
    margin-top: 24px;
    padding: 0 10px;
  }

  .jt-stage-h3 {
    font-size: 30px;
    line-height: 34px;
    letter-spacing: 0.6px;
    margin-top: 40px;
    padding: 0 10px;
  }

  .jt-stage-columns {
    gap: 40px;
    margin-top: 40px;
    padding: 0 20px;
    width: auto;
    max-width: 900px;
    align-items: center;
  }

  .jt-stage-column {
    width: 50%;
    gap: 60px;
  }

  .jt-stage-item {
    font-size: 17px;
    line-height: 28px;
    letter-spacing: 0.25px;
    height: 30px;
    min-height: 28px;
    width: auto;
    max-width: 100%;
  }

  .jt-stage-final-subheading {
    font-size: 20px;
    line-height: 32px;
    height: auto;
    margin-top: 60px;
    padding: 0 20px;
  }
}

@media (max-width: 767px) and (min-width: 480px) {
  .as-seen-on-section {
    padding: 20px;
  }

  .as-seen-on-heading {
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.2px;
    margin-bottom: 35px;
  }

  .as-seen-on-image {
    max-width: 100%;
  }

  .jt-stage-heading {
    font-size: 50px;
    line-height: 42px;
    max-width: 100%;
    padding: 0 10px;
  }

  .jt-stage-subheading {
    font-size: 19px;
    line-height: 32px;
    max-width: 100%;
    height: auto;
    margin-top: 24px;
    padding: 0 10px;
  }

  .jt-stage-h3 {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: 0.56px;
    margin-top: 40px;
    padding: 0 10px;
  }

  .jt-stage-columns {
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
    width: auto;
    max-width: 100%;
    align-items: center;
  }

  .jt-stage-column {
    width: 100%;
    gap: 60px;
  }

  .jt-stage-item {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.24px;
    height: 30px;
    min-height: 26px;
    width: auto;
    max-width: 100%;
  }

  .jt-stage-final-subheading {
    font-size: 19px;
    line-height: 30px;
    height: auto;
    margin-top: 60px;
    padding: 0 20px;
  }
}

@media (max-width: 479px) {
  .as-seen-on-section {
    padding: 20px;
  }

  .as-seen-on-heading {
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0.18px;
    margin-bottom: 30px;
  }

  .as-seen-on-image {
    max-width: 100%;
  }

  .jt-stage-heading {
    font-size: 50px;
    line-height: 36px;
    max-width: 100%;
    padding: 0 25px;
  }

  .jt-stage-subheading {
    font-size: 18px;
    line-height: 30px;
    max-width: 100%;
    height: auto;
    margin-top: 24px;
    padding: 0 10px;
  }

  .jt-stage-h3 {
    font-size: 26px;
    line-height: 30px;
    letter-spacing: 0.52px;
    margin-top: 40px;
    padding: 0 10px;
  }

  .jt-stage-columns {
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
    padding: 0 15px;
    width: auto;
    max-width: 100%;
  }

  .jt-stage-column {
    width: 100%;
    gap: 50px;
  }

  .jt-stage-item {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.22px;
    height: 30px;
    min-height: 24px;
    width: auto;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .jt-stage-final-subheading {
    font-size: 18px;
    line-height: 28px;
    height: auto;
    margin-top: 60px;
    padding: 0 15px;
  }
}

/* About JT Foxx Section */
.about-jt-section {
  background-color: black;
  width: 100%;
  padding: 80px 20px;
  position: relative;
  z-index: 2;
}

.about-jt-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-jt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-jt-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-jt-subtitle {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 3px;
  text-align: left;
  color: white;
  text-transform: uppercase;
  margin: 0;
}

.about-jt-heading {
  font-family: "Barlow Condensed", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 90px;
  font-weight: 700;
  line-height: 80.1px;
  text-transform: uppercase;
  color: white;
  margin: 0;
}

.about-jt-text {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26.72px;
  color: white;
}

.about-jt-text p {
  margin: 0;
}

.about-jt-right {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Video Modal Button */
.video-modal-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease;
  display: block;
  width: 100%;
  max-width: 400px;
  margin-top: 40px;
}

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

.video-thumbnail {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  transition: background-color 0.3s ease;
}

.video-modal-btn:hover .video-play-overlay {
  background-color: rgba(0, 0, 0, 0.6);
}

.video-play-icon {
  width: 64px;
  height: 64px;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 12px;
  transition: background-color 0.3s ease;
}

.video-modal-btn:hover .video-play-icon {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-modal.show {
  opacity: 1;
  visibility: visible;
}

.video-modal.hidden {
  opacity: 0;
  visibility: hidden;
}

.video-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  background: none;
  border: none;
  color: white;
  font-size: 48px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s ease;
}

.video-modal-close:hover {
  color: #ccc;
}

.video-modal-iframe-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-iframe {
  width: 100%;
  height: 100%;
  max-width: 1200px;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Responsive styles for About JT Foxx section */
@media (min-width: 1200px) {
  .about-jt-section {
    padding: 100px 40px;
  }

  .about-jt-grid {
    gap: 80px;
    align-items: center;
  }

  .about-jt-heading {
    font-size: 90px;
    line-height: 80.1px;
  }

  .about-jt-subtitle {
    font-size: 15px;
    letter-spacing: 3px;
  }

  .about-jt-text {
    font-size: 16px;
    line-height: 26.72px;
  }

  .video-modal-btn {
    max-width: 450px;
    margin-top: 0;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .about-jt-section {
    padding: 80px 30px;
  }

  .about-jt-grid {
    gap: 50px;
    align-items: center;
  }

  .about-jt-heading {
    font-size: 70px;
    line-height: 65px;
  }

  .about-jt-subtitle {
    font-size: 15px;
    letter-spacing: 2.5px;
  }

  .about-jt-text {
    font-size: 15px;
    line-height: 25px;
  }

  .video-modal-btn {
    max-width: 400px;
    margin-top: 0;
  }

  .video-play-icon {
    width: 56px;
    height: 56px;
    padding: 10px;
  }
}

@media (max-width: 767px) and (min-width: 480px) {
  .about-jt-section {
    padding: 60px 20px;
  }

  .about-jt-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }

  .about-jt-heading {
    font-size: 60px;
    line-height: 55px;
  }

  .about-jt-subtitle {
    font-size: 15px;
    letter-spacing: 2px;
  }

  .about-jt-text {
    font-size: 15px;
    line-height: 24px;
  }

  .about-jt-right {
    padding-top: 0;
    order: -1;
    height: auto;
  }

  .video-modal-btn {
    max-width: 350px;
    margin-top: 0;
  }

  .video-play-icon {
    width: 48px;
    height: 48px;
    padding: 8px;
  }

  .video-modal-close {
    top: 15px;
    right: 20px;
    font-size: 36px;
  }
}

@media (max-width: 479px) {
  .about-jt-section {
    padding: 40px 15px;
  }

  .about-jt-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  .about-jt-heading {
    font-size: 40px;
    line-height: 40px;
  }

  .about-jt-subtitle {
    font-size: 14px;
    letter-spacing: 1.5px;
  }

  .about-jt-text {
    font-size: 14px;
    line-height: 22px;
  }

  .about-jt-left {
    gap: 20px;
  }

  .about-jt-right {
    padding-top: 0;
    order: -1;
    height: auto;
  }

  .video-modal-btn {
    max-width: 300px;
    margin-top: 0;
  }

  .video-play-icon {
    width: 40px;
    height: 40px;
    padding: 6px;
  }

  .video-modal-close {
    top: 10px;
    right: 15px;
    font-size: 32px;
  }

  .video-modal-content {
    padding: 10px;
  }
}

/* Testimonials Section Styles */
.testimonials-section {
  background: linear-gradient(rgb(20, 20, 20), rgb(20, 20, 20));
  padding: 60px 20px;
  width: 100%;
}

.testimonials-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.testimonials-heading {
  font-family: "Barlow Condensed", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 50px;
  font-weight: 700;
  height: 50px;
  letter-spacing: 0.5px;
  line-height: 50px;
  text-align: left;
  text-transform: uppercase;
  color: white;
  margin: 0 auto 30px auto;
  padding-left: 20px;
}

.testimonials-divider {
  width: 1138.5px;
  height: 1px;
  background-color: white;
  margin: 0px auto 40px auto;
}

/* Responsive styles for testimonials section */
@media (min-width: 1200px) {
  .testimonials-section {
    padding: 80px 40px;
  }

  .testimonials-heading {
    font-size: 50px;
    line-height: 50px;
    height: 50px;
  }

  .testimonials-divider {
    width: 1138.5px;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .testimonials-section {
    padding: 60px 30px;
  }

  .testimonials-heading {
    font-size: 42px;
    line-height: 42px;
    height: 42px;
  }

  .testimonials-divider {
    width: 100%;
    max-width: 800px;
  }
}

@media (max-width: 767px) and (min-width: 480px) {
  .testimonials-section {
    padding: 50px 20px;
  }

  .testimonials-heading {
    font-size: 36px;
    line-height: 36px;
    height: 36px;
    text-align: center;
  }

  .testimonials-divider {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 40px auto;
  }
}

@media (max-width: 479px) {
  .testimonials-section {
    padding: 40px 15px;
  }

  .testimonials-heading {
    font-size: 28px;
    line-height: 28px;
    height: auto;
    text-align: center;
    letter-spacing: 0.3px;
  }

  .testimonials-divider {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px auto;
  }
}

/* Testimonials Video Grid Styles */
.testimonials-video-grid {
  width: 1138.5px;
  max-width: 100%;
  margin: 0 auto;
}

.video-row {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  width: 100%;
}

.video-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-item.large {
  flex: 2.5;
  width: 554px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.video-item .video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Remove border radius from row 1 and row 3 videos */
.video-row:nth-child(1) .video-item .video-container,
.video-row:nth-child(3) .video-item .video-container {
  border-radius: 0;
}

.video-item .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.testimonial-name {
  font-family: Barlow, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 900;
  height: 36px;
  line-height: 36px;
  letter-spacing: 0.64px;
  width: 358px;
  text-transform: uppercase;
  color: white;
  text-align: center;
  margin: 0;
  white-space: nowrap;
  overflow: visible;
}

.video-item.large .testimonial-name {
  font-size: 24px;
  line-height: 28px;
  height: 28px;
  letter-spacing: 0.4px;
  text-align: center;
  width: 100%;
  max-width: 554px;
}

/* Responsive styles for video grid */
@media (min-width: 1200px) {
  .testimonials-video-grid {
    width: 1138.5px;
    max-width: 1138.5px;
  }

  .video-row {
    gap: 30px;
    margin-bottom: 50px;
  }

  .testimonial-name {
    font-size: 32px;
    line-height: 36px;
    height: 36px;
    width: 358px;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .testimonials-video-grid {
    width: 100%;
    max-width: 900px;
  }

  .video-row {
    gap: 20px;
    margin-bottom: 40px;
  }

  .video-item .video-container {
    border-radius: 0; /* Remove border radius on tablets */
  }

  .testimonial-name {
    font-size: 28px;
    line-height: 32px;
    height: 32px;
    width: 300px;
    white-space: normal; /* Allow text to wrap on tablets */
    overflow: visible;
  }

  .video-item.large .testimonial-name {
    font-size: 22px;
    line-height: 26px;
    height: auto;
    max-width: 100%;
    white-space: normal;
  }
}

@media (max-width: 767px) and (min-width: 480px) {
  .testimonials-video-grid {
    width: 100%;
    max-width: 100%;
  }

  .video-row {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }

  .video-item {
    width: 100%;
  }

  .video-item.large {
    flex: 1;
    width: 100%;
  }

  .video-item .video-container {
    border-radius: 0; /* Remove border radius on mobile */
    margin-bottom: 15px;
  }

  .testimonial-name {
    font-size: 24px;
    line-height: 28px;
    height: auto;
    width: 100%;
    max-width: 100%;
    white-space: normal; /* Allow text to wrap on mobile */
    overflow: visible;
    padding: 0 10px;
  }

  .video-item.large .testimonial-name {
    font-size: 20px;
    line-height: 24px;
    height: auto;
    max-width: 100%;
    white-space: normal;
    padding: 0 10px;
  }
}

@media (max-width: 479px) {
  .testimonials-video-grid {
    width: 100%;
    max-width: 100%;
  }

  .video-row {
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
  }

  .video-item {
    width: 100%;
  }

  .video-item.large {
    flex: 1;
    width: 100%;
  }

  .video-item .video-container {
    border-radius: 0; /* Remove border radius on small mobile */
    margin-bottom: 12px;
  }

  .testimonial-name {
    font-size: 20px;
    line-height: 24px;
    height: auto;
    width: 100%;
    max-width: 100%;
    letter-spacing: 0.4px;
    white-space: normal; /* Allow text to wrap on small mobile */
    overflow: visible;
    padding: 0 8px;
  }

  .video-item.large .testimonial-name {
    font-size: 18px;
    line-height: 22px;
    height: auto;
    max-width: 100%;
    white-space: normal;
    padding: 0 8px;
  }
}
