/* Section styling */
.ia-youtube {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: none;
  overflow: hidden;
  padding: 20px 0;
}

/* Responsive video wrapper */
.u-video-wrapper {
  width: 90%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  /* keeps proper video ratio */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

/* Make iframe fill wrapper */
.u-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Experience Section styling */
.ia-experience {
  background-image: url("images/t4.webp");
  background-position: 50% 0;
  background-repeat: no-repeat;
}

.ia-experience .ia-sheet-1 {
  min-height: 100px;
  padding: 40px;
}

/* Headings and paragraphs */
.ia-experience .u-text-1 {
  font-size: 3.25rem;
  margin: 0 30px 30px 0;
  /* Removed large right margin */
}

.ia-experience .u-text-2 {
  font-size: 1.5rem;
  line-height: 1.8;
  margin: 15px 0 0 0;
  /* Reduced gap between paragraphs */
  color: #000;
  /* optional: make text black */
}

/* Layout wrap for lists */
.ia-experience .u-layout-wrap-1 {
  margin-top: 20px;
  /* reduced from 30px */
  margin-bottom: 0;
  display: flex;
  gap: 20px;
  /* gap between left/right list columns */
  flex-wrap: wrap;
}

/* Left and Right list containers */
.ia-experience .u-layout-cell-1,
.ia-experience .u-layout-cell-2 {
  min-height: auto;
  flex: 1 1 45%;
  /* responsive 2-column layout */
  padding: 0 10px;
}

/* List items */
.ia-experience .u-list-1,
.ia-experience .u-list-2 {
  margin: 0;
}

.ia-experience .u-repeater-1,
.ia-experience .u-repeater-2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* reduced gap between items */
}

.ia-experience .u-text-3,
.ia-experience .u-text-5,
.ia-experience .u-text-9,
.ia-experience .u-text-11 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 5px 0;
  /* reduced bottom margin for closer spacing */
}

.ia-experience .u-text-4,
.ia-experience .u-text-6,
.ia-experience .u-text-10,
.ia-experience .u-text-12 {
  margin: 0 0 15px 0;
  /* spacing between heading and description */
}

/* "What You'll Discover" section */
.ia-experience .discovery {
  margin-top: 10px;
  /* reduced gap */
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .ia-experience .u-layout-wrap-1 {
    flex-direction: column;
  }

  .ia-experience .u-layout-cell-1,
  .ia-experience .u-layout-cell-2 {
    flex: 1 1 100%;
    padding: 0;
    min-height: auto;
  }
}

@media (max-width: 575px) {
  .ia-experience .u-text-1 {
    font-size: 1.875rem;
  }

  .ia-experience .u-text-2 {
    font-size: 1rem;
  }

  .ia-experience .u-text-3,
  .ia-experience .u-text-5,
  .ia-experience .u-text-9,
  .ia-experience .u-text-11 {
    font-size: 1.125rem;
  }
}

/* 1. The Main Section - Remove the background from here */
.ia-easybook {
  min-height: 500px;
  display: flex;
  background-color: #f4f4f4; /* Fallback background */
  padding: 0 !important; /* Ensure no padding breaks the split */
}

/* 2. The Row - Forces the side-by-side layout */
.ia-easybook .u-layout-row {
  display: flex;
  flex-wrap: wrap; /* Allows stacking on mobile */
  width: 100%;
}

/* 3. Left content (Text Side) */
.ia-easybook .u-layout-cell-1 {
  flex: 1;
  min-width: 350px; /* Snaps to full-width on mobile */
  min-height: 572px;
  display: flex;
  align-items: center;
  background-color: #8a8a8a; /* Gray background from your reference image */
  padding: 60px !important;
  color: #ffffff;
}

/* 4. Right content (Image Side) */
.ia-easybook .u-image-3 {
  flex: 1;
  min-width: 350px;
  min-height: 400px;
  /* Move your background image here */
  background: url("images/image_0d3490.jpg") no-repeat center center;
  background-size: cover;
}

/* 5. Typography Adjustments */
.ia-easybook .u-text-1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #ffffff;
}

.ia-easybook .u-text-3 {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ffffff;
}

/* 6. CTA Button - Matched to your yellow button in the image */
.ia-easybook .u-cta-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #ffc107; /* Bright yellow/gold */
  color: #ffffff;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.ia-easybook .u-cta-button:hover {
  transform: translateY(-2px);
}

/* Mobile Responsive Fix */
@media (max-width: 768px) {
  .ia-easybook .u-layout-row {
    flex-direction: column;
  }
  .ia-easybook .u-layout-cell-1 {
    min-height: auto;
    padding: 40px 20px !important;
  }
}

/* Pulse animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 196, 18, 0.7);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 196, 18, 0.7);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 196, 18, 0.7);
  }
}

.ia-easybook .u-cta-button:hover {
  background-color: #fff;
  color: #ffc412;
}

/* Right image (unchanged) */
.ia-easybook .u-image-3 {
  min-height: 572px;
  background-image: url("images/book.webp");
  background-size: cover;
  background-position: center;
}

/* ===================== */
/* RESPONSIVE DESIGN */
/* ===================== */

@media (max-width: 991px) {
  .ia-easybook {
    min-height: auto;
    padding: 40px 20px;
  }

  .ia-easybook .u-layout-row {
    display: flex;
    flex-direction: column;
  }

  .ia-easybook .u-layout-cell-1,
  .ia-easybook .u-image-3 {
    width: 100%;
    min-height: auto;
  }

  .ia-easybook .u-image-3 {
    height: 300px;
    margin-top: 20px;
  }

  .ia-easybook .u-text-1 {
    font-size: 2.2rem;
  }

  .ia-easybook .u-text-3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 575px) {
  .ia-easybook .u-container-layout-1 {
    padding: 20px;
  }

  .ia-easybook .u-text-1 {
    font-size: 1.8rem;
  }

  .ia-easybook .u-text-3 {
    font-size: 1rem;
  }

  .ia-easybook .u-cta-button {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .ia-easybook .u-image-3 {
    height: 220px;
  }
}

.u-section-8 {
  background-image: none;
}

.u-section-8 .ia-sheet-1 {
  min-height: 494px;
}

.u-section-8 .u-layout-wrap-1 {
  margin-top: 60px;
  margin-bottom: 60px;
}

.u-section-8 .u-layout-cell-1 {
  min-height: 374px;
  --animation-custom_in-translate_x: 0px;
  --animation-custom_in-translate_y: 300px;
  --animation-custom_in-opacity: 0;
  --animation-custom_in-rotate: 0deg;
  --animation-custom_in-scale: 0.3;
}

.u-section-8 .u-container-layout-1 {
  padding: 30px 30px 30px;
}

.u-section-8 .u-text-1 {
  font-weight: 700;
  margin: 20px 0 0;
}

.u-section-8 .u-text-2 {
  font-size: 1.125rem;
  margin: 20px 0 0;
}

.u-section-8 .u-form-1 {
  height: 103px;
  width: 305px;
  margin: 21px auto 0;
}

.u-section-8 .u-input-1 {
  height: 62px;
}

.u-section-8 .ia-btn-1 {
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-image: none;
  font-weight: 700;
  margin: 30px auto 0;
  padding: 18px 0;
}

.u-section-8 .u-layout-cell-2 {
  min-height: 374px;
  --animation-custom_in-translate_x: 0px;
  --animation-custom_in-translate_y: 300px;
  --animation-custom_in-opacity: 0;
  --animation-custom_in-rotate: 0deg;
  --animation-custom_in-scale: 0.3;
}

.u-section-8 .u-container-layout-2 {
  padding: 30px;
}

.u-section-8 .u-icon-1 {
  width: 64px;
  height: 64px;
  margin: 0 auto;
}

.u-section-8 .u-text-3 {
  font-weight: 700;
  margin: 20px 0 0;
}

.u-section-8 .u-text-4 {
  font-size: 1.125rem;
  margin: 20px 0 0;
}

.u-section-8 .ia-btn-2 {
  text-transform: uppercase;
  letter-spacing: 1px;
  background-image: none;
  font-weight: 700;
  margin: 30px auto 0;
  padding: 17px 49px 17px 47px;
}

.u-section-8 .u-layout-cell-3 {
  min-height: 374px;
  --animation-custom_in-translate_x: 0px;
  --animation-custom_in-translate_y: 300px;
  --animation-custom_in-opacity: 0;
  --animation-custom_in-rotate: 0deg;
  --animation-custom_in-scale: 0.3;
}

.u-section-8 .u-container-layout-3 {
  padding: 30px;
}

.u-section-8 .u-icon-2 {
  width: 64px;
  height: 64px;
  margin: 0 auto;
}

.u-section-8 .u-icon-3 {
  width: 64px;
  height: 64px;
  margin: 0 auto;
}

.u-section-8 .u-text-5 {
  font-weight: 700;
  margin: 20px 0 0;
}

.u-section-8 .u-text-6 {
  font-size: 1.125rem;
  margin: 20px 0 0;
}

.u-section-8 .ia-btn-3 {
  text-transform: uppercase;
  letter-spacing: 1px;
  background-image: none;
  font-weight: 700;
  margin: 30px auto 0;
  padding: 17px 49px 17px 47px;
}

@media (max-width: 1199px) {
  .u-section-8 .ia-sheet-1 {
    min-height: 428px;
  }

  .u-section-8 .u-layout-cell-1 {
    min-height: 308px;
  }

  .u-section-8 .u-layout-cell-2 {
    min-height: 308px;
  }

  .u-section-8 .u-layout-cell-3 {
    min-height: 308px;
  }
}

@media (max-width: 991px) {
  .u-section-8 .ia-sheet-1 {
    min-height: 220px;
  }

  .u-section-8 .u-layout-cell-1 {
    min-height: 343px;
  }

  .u-section-8 .u-container-layout-1 {
    padding-top: 30px;
  }

  .u-section-8 .u-text-1 {
    width: auto;
  }

  .u-section-8 .u-text-2 {
    width: auto;
  }

  .u-section-8 .u-layout-cell-2 {
    min-height: 100px;
  }

  .u-section-8 .u-layout-cell-3 {
    min-height: 314px;
  }

  .u-section-8 .u-text-5 {
    width: auto;
  }

  .u-section-8 .u-text-6 {
    width: auto;
  }
}

@media (max-width: 767px) {
  .u-section-8 .ia-sheet-1 {
    min-height: 320px;
  }

  .u-section-8 .u-layout-cell-1 {
    min-height: 294px;
  }

  .u-section-8 .u-layout-cell-2 {
    min-height: 314px;
  }

  .u-section-8 .u-text-4 {
    width: auto;
  }

  .u-section-8 .u-layout-cell-3 {
    min-height: 100px;
  }

  .u-section-8 .u-container-layout-3 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 575px) {
  .u-section-8 .u-layout-cell-1 {
    min-height: 100px;
  }

  .u-section-8 .u-container-layout-1 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .u-section-8 .u-layout-cell-2 {
    min-height: 100px;
  }

  .u-section-8 .u-container-layout-2 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Center the whole wrapper */
.u-text-18 {
  width: 100%;
  text-align: center !important;
  display: block;
}

/* Make sure the link behaves like a centered button */
.u-text-18 a.ia-btn-1 {
  display: inline-block;
  margin: 20px auto 0;
  text-align: center;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .u-text-18 {
    text-align: center !important;
    padding: 10px 0;
  }

  .u-text-18 a.ia-btn-1 {
    width: auto;
    display: inline-block;
    font-size: 14px;
    padding: 10px 18px;
  }
}

@keyframes premium-pulse {
  0% {
    transform: scale(0.98);
    box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(212, 160, 23, 0);
  }

  100% {
    transform: scale(0.98);
    box-shadow: 0 0 0 0 rgba(212, 160, 23, 0);
  }
}

/* Responsive iframe container */
.form-container-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 550px; /* Match JotForm height */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Standard Modal Styling to match about.html */
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8); /* Dark overlay */
    overflow-y: auto; /* Allows background to scroll if modal is taller than screen */
}

.modal-content {
    background-color: #fff;
    margin: 7% auto;
    padding: 15px;
    width: 95%;
    max-width: 800px;
    height: auto;
    min-height: auto; /* Takes up 80% of the screen height */
    max-height: 95vh; /* Prevents going off screen */
    border-radius: 10px; /* Rounded corners */
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.modal-close-x {
    position: absolute;
    right: 35px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    z-index: 100001;
}

/* Ensure the iframe inside the modal fills the container */
#u-email-form-container iframe {
    width: 100%;
    border-radius: 8px;
}

