/* Add this to ensure main content starts after the fixed header */
main {
  margin-top: 80px; /* Adjust this value if your header height changes */
}

/* Video Banner Section */
.header-iframe {
    height: 72px; /* Adjust height as needed */
    border: none;
    width: 100%;
}
.video-banner-section {
  position: relative;
  width: 100%;
  min-height: 340px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #111;
}

.video-banner-container {
  position: relative;
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.video-banner-overlay {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 32px 16px;
  background: rgba(34, 34, 34, 0.45);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.video-banner-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ff6600;
  letter-spacing: 1px;
}

.video-banner-body {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
}
.hero-section {
  display: flex;
  /* align-items: center; */
  justify-content: center;
  min-height: 200px;
  background: #fff;
  text-align: center;
  /* padding: 32px 12px 24px 12px; */
}

.hero-content {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ff6600;
  margin-bottom: 16px;
  letter-spacing: 1px;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.hero-section p {
  font-size: 1.18rem;
  color: #222;
  font-weight: 400;
  margin: 0 auto;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.hero-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 32px;
  font-size: 1rem;
  font-weight: 500;
  color: #ff6600;
  background: transparent;
  border: 2px solid #ff6600;
  border-radius: 32px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.hero-btn:hover,
.hero-btn:focus {
  background: #ff6600;
  color: #fff;
  border-color: #ff6600;
  outline: none;
}

.lnr {
    font-family: 'Linearicons-Free';
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.elementor-button span {
    text-decoration: inherit;
}
.elementor-button-icon {
    align-items: center;
    display: flex
;
}
.elementor *, .elementor :after, .elementor :before {
    box-sizing: border-box;
}


@media (max-width: 700px) {
  .video-banner-container {
    height: 220px;
  }
  .video-banner-heading {
    font-size: 1.2rem;
  }
  .video-banner-body {
    font-size: 0.98rem;
  }
  .hero-section h1 {
    font-size: 1.5rem;
  }
  .hero-section p {
    font-size: 1rem;
  }
}

/* About Highlight Section: Image and Text Side by Side */
.about-highlight-section {
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 0 48px 0;
}

.about-highlight-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  width: 100%;
  gap: 48px;
  padding: 0 24px;
  flex-wrap: wrap;
}

.about-highlight-image {
  flex: 1 1 340px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.about-highlight-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  object-fit: cover;
}

.about-highlight-content {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-highlight-content p {
  font-size: 1.15rem;
  color: #222;
  margin-bottom: 28px;
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
  font-weight: 400;
}

.about-highlight-content .hero-btn {
  margin-top: 0;
}

@media (max-width: 900px) {
  .about-highlight-container {
    flex-direction: column;
    gap: 28px;
    padding: 0 8px;
  }
  .about-highlight-image img {
    max-width: 320px;
  }
}

/* Our Services Section */
.our-services-section {
  background: #f3f7fa;
  padding: 56px 0 48px 0;
  width: 100%;
}

.our-services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.our-services-heading-row {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.our-services-vertical-line {
  display: inline-block;
  width: 4px;
  height: 36px;
  background: #ff6600;
  margin-right: 16px;
  border-radius: 2px;
}

.our-services-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin: 0;
  letter-spacing: 1px;
}

.our-services-description {
  font-size: 1.13rem;
  color: #222;
  margin-bottom: 36px;
  max-width: 800px;
  line-height: 1.7;
}

.our-services-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
}

.service-image-card {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  background: #fff;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.service-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.2s;
}

.service-image-card:hover img,
.service-image-card:focus img {
  filter: blur(2px) brightness(0.7);
}

.service-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(34,34,34,0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
  pointer-events: none;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-image-card:hover .service-image-overlay,
.service-image-card:focus .service-image-overlay {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1000px) {
  .our-services-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .our-services-heading {
    font-size: 1.3rem;
  }
  .our-services-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .service-image-card {
    max-width: 98vw;
  }
}
/* Why Finnext Section - with YouTube embed */
.why-finnext-section {
  position: relative;
  width: 100%;
  min-height: 340px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #111;
}

.why-finnext-container {
  position: relative;
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .why-finnext-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
    object-fit: cover;

} */

.why-finnext-video {
  width: 100%;
  height: 100%;
  min-height: 340px;
  min-width: 100%;
  /* aspect-ratio: 16/9; */
  z-index: 1;
  border: 0;
  top: 0;
  left: 0;
  object-fit: cover;
  display: block;
  filter: brightness(0.65);
  pointer-events: none;
  position: absolute;
}

.why-finnext-overlay {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 32px 16px;
  background: rgba(34, 34, 34, 0.45);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.why-finnext-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ff6600;
  letter-spacing: 1px;
}

.why-finnext-body {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
}

@media (max-width: 700px) {
  .why-finnext-container {
    height: 220px;
  }
  .why-finnext-video {
    min-height: 220px;
  }
  .why-finnext-heading {
    font-size: 1.2rem;
  }
  .why-finnext-body {
    font-size: 0.98rem;
  }
}

/* Our Business Transformation Stories Section */
.transformation-stories-section {
  background: #fff;
  padding: 56px 0 56px 0;
}

.transformation-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.transformation-heading-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 10px;
}

.transformation-accent-bar {
  display: inline-block;
  width: 6px;
  height: 56px;
  background: #ff6600;
  border-radius: 3px;
  margin-top: 4px;
  flex-shrink: 0;
}

.transformation-heading {
  font-size: 2.3rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 6px 0;
  letter-spacing: 1px;
}

.transformation-subheading {
  font-size: 1.18rem;
  color: #555;
  font-weight: 500;
  margin: 0 0 0 2px;
}

.transformation-intro {
  font-size: 1.13rem;
  color: #222;
  margin: 18px 0 38px 0;
  max-width: 900px;
  line-height: 1.7;
}

.transformation-case-study {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.case-study-text {
  flex: 1 1 340px;
  min-width: 260px;
  max-width: 540px;
}

.case-study-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
  margin-top: 0;
}

.case-study-description {
  font-size: 1.08rem;
  color: #333;
  line-height: 1.7;
  margin: 0;
}

.case-study-video-wrapper {
  flex: 1 1 340px;
  min-width: 260px;
  max-width: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  background: #000;
  min-height: 220px;
  max-width: 540px;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 900px) {
  .transformation-case-study {
    flex-direction: column;
    gap: 24px;
  }
  .case-study-video-wrapper,
  .case-study-text {
    max-width: 100%;
  }
  .case-study-video {
    min-height: 180px;
  }
}

@media (max-width: 600px) {
  .transformation-heading {
    font-size: 1.3rem;
  }
  .transformation-accent-bar {
    height: 36px;
    width: 4px;
  }
  .case-study-video {
    min-height: 140px;
  }
}

/* Careers & Contact Us Section */
.careers-contact-section {
  background: #181b22;
  padding: 56px 0;
  width: 100%;
}

.careers-contact-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  background: transparent;
}

.careers-contact-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px 40px 32px;
  background: transparent;
  color: #fff;
  text-align: center;
  min-width: 260px;
}

.careers-contact-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
  letter-spacing: 1px;
}

.careers-contact-divider {
  border: none;
  border-top: 2px solid #fff;
  width: 48px;
  margin: 0 auto 18px auto;
  opacity: 0.4;
}

.careers-contact-subtitle {
  font-size: 1.08rem;
  color: #fff;
  opacity: 0.85;
  margin-bottom: 32px;
  margin-top: 0;
  font-weight: 400;
}

.careers-contact-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid #fff;
  border-radius: 32px;
  background: transparent;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.careers-contact-btn:hover,
.careers-contact-btn:focus {
  background: #fff;
  color: #181b22;
  border-color: #fff;
  outline: none;
}

.careers-contact-vertical-divider {
  width: 2px;
  background: linear-gradient(to bottom, #fff 0%, #fff2 100%);
  opacity: 0.18;
  margin: 32px 0;
  border-radius: 2px;
}

@media (max-width: 800px) {
  .careers-contact-container {
    flex-direction: column;
    align-items: stretch;
  }
  .careers-contact-vertical-divider {
    display: none;
  }
  .careers-contact-card {
    padding: 36px 16px 28px 16px;
  }
}
