/* ********************************** Section - 1 ****************************************** */

/* Homepage Specific Styles - Video Hero Design */

/* Top Banner */
/* .top-banner {
    font-size: 14px;
    background: linear-gradient(90deg, #185EBC 0%, #3A77C8 55%, #BBD4F6 100%);
    color: #FFF;
    font-family: Poppins;
    font-size: 24.92px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
} */
/* === Carousel Dot Navigation === */
html,
body {
  overflow-x: hidden !important;
  width: 100% !important;

  padding: 0;
  margin: 0;
  overflow-x: hidden;

}

* {
  box-sizing: border-box;
}
.top-banner {
  background: linear-gradient(90deg, #185ebc 0%, #3a77c8 55%, #bbd4f6 100%);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* Center the main content */

  /* Flexbox for content alignment */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  /* Ensure good contrast */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);

  /* Smooth transitions */
  transition: all 0.3s ease;

  position: relative;
  z-index: 1001; /* Highest - always on top */
  min-height: 60px;
}

/* Show dropdown on hover for large screens */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Mega dropdown styling */
.dropdown-mega {
  width: 100%;
  left: 0;
  right: 0;
  border: none;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.dropdown-mega .dropdown-item {
  padding: 0.5rem 1rem;
  white-space: normal;
}

.dropdown-mega .dropdown-header {
  font-weight: 600;
  padding-bottom: 0.5rem;
}

.navbar .nav-link::after {
  display: none !important; /* Remove default Bootstrap arrow */
}

.top-banner .d-inline-flex {
  /* This centers the text and button */
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex: 1; /* Take available space */
  text-align: center;
  font-weight: 200;
  font-size: 20px;
}
.dropdown-menu .dropdown-item {
  font-size: 16px;
  color: #1558a6;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

.dropdown-menu .dropdown-item:hover {
  color: #609ae9;
  box-shadow: none !important;
  text-decoration: underline !important;
  background: none !important;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
  border-top: 1px solid transparent;
}
/* NAVBAR - FULLY TRANSPARENT OVERLAY */
.navbar {
  position: absolute !important; /* Fixed positioning to overlay hero */
  left: 0;
  width: 100%;
  background: transparent !important; /* Completely transparent */
  backdrop-filter: none; /* No blur initially */
  padding: clamp(1rem, 2vw, 2.5rem) 0;
  transition: all 0.3s ease;
  z-index: 9999 !important;
  border: none;
  box-shadow: none;
}



/* Navbar scrolled state - add background when scrolling */
.navbar.navbar-scrolled {
  background: #fff !important;
  backdrop-filter: blur(20px);
  color: #185ebc;
  position: fixed !important;
  top: 0 !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  padding: clamp(0.5rem, 1vw, 1.5rem) 0;
}
.navbar-brand {
  z-index: 9999;
}
.navbar.navbar-scrolled .navbar-brand {
  position: absolute;
  bottom: -50%;
  z-index: 99999;
  transform: translateY(25%);
}
.navbar.navbar-scrolled .navbar-nav .nav-link {
  color: #185ebc !important;
  display: flex;
  align-items: center !important;
  font-size: 20px;
  padding: 1rem clamp(0.5rem, 2vw, 1.5rem) !important;
}
.navbar.navbar-scrolled .navbar-nav .nav-link:hover {
  color: #609ae9 !important;
  display: flex;
  align-items: center;
}
.navbar.navbar-scrolled .navbar-nav .login_btn {
  font-family: 'poppins', sans-serif !important;
  font-weight: bold !important;
  color: #fff !important;
  background-color: #1558a6 !important;
  margin-bottom: 0.5rem;
  padding-top: 0.3rem;
}

/* Ensure no spacing issues */
body {
  margin: 0;
  padding: 0;
}

/* CAROUSEL DOTS - PROPERLY POSITIONED */
.carousel-dots {
  position: absolute;
  top: 50%;
  right: clamp(15px, 3vw, 25px);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 10px);
  z-index: 1002; /* Above navbar */
}

/* NAVBAR CONTENT - ENHANCED FOR TRANSPARENCY */
.navbar-nav .nav-link {
  color: #fff !important;
  font-family: "Poppins", sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 300 !important;
  line-height: normal;
  text-transform: lowercase;
  padding: 0.5rem clamp(1rem, 2.5vw, 3rem) !important;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;

  /* color: #60a5fa !important; */
  color: #ffffff;
  /* Enhanced text shadow for visibility over video */

  backdrop-filter: blur(2px);
}

.navbar-nav .login_btn {
  font-family: A'poppins', sans-serif !important;
  font-weight: bold !important;
}

.navbar-nav .nav-link:hover {
  color: #609ae9 !important;
  transform: translateY(-2px);
  text-decoration: underline !important;

}

.navbar-nav .nav-link.active {
  color: #175ebc !important;
  font-weight: 500;
}

.top-banner .badge {
  font-size: 12px;
  padding: 8px 24px;
  border-radius: 0.75rem;
  width: 98.65px;
  height: 32.21px;
}

/* Navbar Scroll States */
.navbar.navbar-dark {
  background: transparent !important;
  transition: all 0.3s ease;
}

.navbar.navbar-dark.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: clamp(0.25rem, 0.75vw, 1rem) 0;
}

.navbar.navbar-dark.navbar-scrolled .navbar-nav .nav-link {
  color: #374151 !important;
}

.navbar.navbar-dark.navbar-scrolled .navbar-nav .nav-link:hover {
  color: #2563eb !important;
}

.navbar.navbar-dark.navbar-scrolled .navbar-nav .nav-link::after {
  background: #2563eb !important;
}

.navbar.navbar-dark.navbar-scrolled .login-btn {
  background: #2563eb !important;
  color: white !important;
}

.navbar.navbar-dark.navbar-scrolled .login-btn:hover {
  background: #1d4ed8 !important;
}

.form-control {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: 600;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
}

/* ********************************** Section - 2 ****************************************** */

/* Find Your Advisor Section */
.find-advisor-section {
  background-color: #f8fafc;
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.advisor-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  margin-top: 5rem;
}

.advisor-title {
  margin-bottom: 40px;
  line-height: 0.85;
}

.advs-text-1 {
  color: #1c61be;
  font-family: "Poppins", sans-serif;
  font-size: 11rem;
  font-style: normal;
  font-weight: 400;
  line-height: 0.8;
  display: block;
}

.advs-text-2 {
  color: #609ae9;
  font-family: "Poppins", sans-serif;
  font-size: 11rem;
  font-style: normal;
  font-weight: 400;
  line-height: 0.8;
  display: block;
}

.advs-text-3 {
  color: #2e2e2e;
  font-family: "Poppins", sans-serif;
  font-size: 11rem;
  font-style: normal;
  font-weight: 400;
  line-height: 0.8;
  display: block;
}

/* Find Your Advisor CTA */
.advisor-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 6rem !important;
}

.advisor-btn {
  background: #1b61be !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 20px 40px !important;
  font-family: 'poppins', sans-serif !important;
  font-weight: bold !important;
  font-size: clamp(24px, 3vw, 24px) !important;
  color: white !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
  min-width: 200px !important;
  white-space: nowrap !important;
}

.advisor-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.phone-number {
  font-family: poppins;
  font-size: 25px;
  font-weight: 400;
  color: #195ebc;
  white-space: nowrap;
}

/* Image Container */
.advisor-image-container {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.advisor-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  /* border-radius: 15px; */
}

/* ********************************** Section - 3 ****************************************** */
.carousel-container {
  width: 100%;
  padding: 0 40px;
  /* height: 600px; */
  overflow-x: hidden;
  position: relative;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.carousel {
  display: flex;
  gap: 1rem;
  /* height: 100%; */
  transition: all 0.3s ease-in-out;
  overflow-x: hidden;
}

.card {
  flex-shrink: 0;
  height: 500px !important;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border-radius: 20px;
  background: #000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: var(--collapsed-width);
}

.card img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  filter: brightness(0.6);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.card-header {
  position: absolute;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  pointer-events: none;
  padding: 15px 10px !important;
}

.card-header .title {
  color: white;
  font-size: 28px;
  font-weight: 300;
  writing-mode: vertical-rl;
  text-align: center;
}

.card-header .icon {
  font-size: 36px;
  color: white;
  display: block;
}

.card.expanded {
  width: var(--expanded-width);
}

.card.expanded .card-header {
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 15px 10px;
}

.card.expanded .title {
  font-size: 28px;
  text-align: right;
  margin: 0;
}

.card.expanded .icon {
  display: none;
}

/* ******************************************** Section 4 **********************************/

.card-deck-container {
  margin: auto;
  display: flex;
  gap: 0;
}

.content-area {
  flex: 3;
  order: 1;
  margin-bottom: 30px;
}

.ff-heading h2 {
  font-size: 85px;
  color: #1650a0;
  font-weight: 400;
}

.card-deck {
  display: flex;
  flex-direction: column;
  gap: 15px;
  order: 2;
  flex: 2;
  width: auto;
  min-width: 300px;
  align-items: flex-end;
  margin-bottom: 30px;
}
.card-deck-active {
  padding: 0 0 40px 0;
  position: relative;
}
.card-deck-active::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  display: block;
  background-color: #1c61be;
  border-bottom-right-radius: 15px;
}
.tab-card {
  background: #1650a0;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 55px;
  width: 100%;
}

.tab-card.inactive {
  background: #ffffff;
}
.tab-card.white-state {
  background: #ffffff;
}

.tab-card.active {
  background: #1c61be;
  min-height: 80px;
}

.tab-card .tab-card-title {
  color: white;
  font-family: 'poppins', sans-serif;
  font-weight: 400 !important;
  font-size: 2rem;
  margin: 0;
  position: relative;
  flex: 1;
  text-align: left;
  transition: color 0.3s ease;
}

.tab-card.inactive .tab-card-title {
  color: #333333;
}
.tab-card.white-state .tab-card-title {
  color: #4B89D9;
}

.tab-card.active .tab-card-title {
  color: white;
}

.tab-icon {
  font-size: 45px;
  /* font-weight: bold; */
  transition: transform 0.10s ease;
  margin-left: 50px !important;
  color: white;
}

.tab-card.inactive .tab-icon {
  color: #1c61be;
}
.tab-card.white-state .tab-icon {
  color: #4B89D9;
}

.tab-card.active .tab-icon {
  /* transform: rotate(45deg); */
  color: white;
}

.tab-content {
  background: #ffffff;
  padding: 0px 30px 0 0;
  height: 100%;
  min-height: 100%;
  /* min-height: 400px; */
  transition: all 0.3s ease;
  border-radius: 15px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.content-section {
  display: none;
}
.content-section.active {
  display: block;
}
#tabContent {
  display: block; /* keep it visible always */
}

.tab-content.active-content {
  background: #1c61be;
  color: white;
  padding-left: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.default-tab {
  font-family: "poppins";
  font-size: 1.35rem;
  text-align: left;
  color: #2e2e2e;
}

.default-tab h3 {
  color: #4b89d9;
  margin-bottom: 20px;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.content-section h4 {
  margin-bottom: 20px;
  font-weight: 600;
}

.tab-content.active-content .content-section h4 {
  color: white;
}

.content-section p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-list li:last-child {
  border-bottom: none;
}

.tab-content.active-content .feature-list li {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.tab-content:not(.active-content) .feature-list li {
  border-bottom-color: rgba(75, 137, 217, 0.2);
}

.view-all-btn {
  background-color: #609ae9;
  color: white;
  border: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 70px;
  padding: 5px 55px;
  position: relative;
  z-index: 9;
}
.view-all-title {
  color: white;
  font-weight: regular;
  font-size: 24px;
  margin: 0;
  flex: 1;
  text-align: left;
  transition: color 0.3sease;
}

.arrow-icon {
  width: 30px;
  padding-left: 5px;
}

/* *******************************************Section 5 ********************************* */

.svg-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.svg-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-top: -40px !important;
  max-width: 100vw;
}

/* ******************************* Human Connection Section *****************************  */

/* Human Connection Section */

.human-connection-section {
  background-color: #ffffff;
  padding: 0;
  position: relative;
  z-index: 9;
}
.human-connection-section::before {
  position: absolute;
  top: 50%;
  right: 0;
  content: "";
  transform: translateY(-50%);
  background-image: url("../../images/pages/home/human-con-image.svg");
  width: 100%;
  height: 70%;
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  z-index: -1;
}

/* First Row - Heading and Text */
.heading-content h2 {
  font-size: 85px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0;
  color: #1c61be;
  padding-left: 3rem;
}

.section-description {
  font-family: 'poppins', sans-serif;
  font-size: 34px;
  line-height: 1.1;
  color: #2e2e2e;
  margin-bottom: 0;
}

/* Team Slider Styles */
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-nav .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #a5b3c5;
  transition: all 0.3s ease;
  cursor: pointer;
}
.carousel-nav .dot.active {
  background-color: #1c61be; /* your theme color */
}

.team-slider-container {
  display: flex !important;
  justify-content: center !important;
  height: 480px;
  width: 100%;
  padding: 2rem 0 0 0;
}

.team-radio {
  display: none;
}

.team-content {
  background: transparent;
  /* background-size: cover; */
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 1rem;
  cursor: pointer;
  flex: 2;
  margin-right: 0.8rem;
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.05, 0.6, 0.39, 0.94);
}

.team-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(135deg, rgba(28, 97, 190, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%); */
  z-index: 0;
}

.team-content > * {
  position: relative;
  z-index: 1;
}

/* Placeholder backgrounds for team members */
.team-content:nth-of-type(1) {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  background-image: url(/assets/images/pages/home/jake.png);
  /* background-position: center top; */
  background-position: 45% 0%;
}

.team-content:nth-of-type(2) {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  background-image: url(/assets/images/pages/home/josh.png);
  /* background-position: center top; */
  background-position: 50% 15%;
}

.team-content:nth-of-type(3) {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  background-image: url(/assets/images/pages/home/tanner.png);
  background-position: 50% 10%;
}

.team-content:nth-of-type(4) {
  /* background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); */
  background-image: url(/assets/images/pages/home/renee.png);
  background-position: 45% 10%;
}

.team-content:nth-of-type(5) {
  /* background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); */
  background-image: url(/assets/images/pages/home/zody.png);
  background-position: 50% 0%;
}

.team-content:nth-of-type(8) {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.team-content:nth-of-type(10) {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.team-details {
  bottom: 1.2rem;
  color: white;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  left: 1.5rem;
  line-height: 1.1;
  opacity: 0;
  position: absolute;
  transform: translateX(2rem);
  transition: 290ms cubic-bezier(0.05, 0.62, 0.4, 0.95) 300ms;
  transition-property: opacity, transform;
  user-select: none;
  white-space: nowrap;
}

.team-title-main {
  top: 2rem;
  color: white;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  left: 1.5rem;
  line-height: 1.1;
  opacity: 0;
  position: absolute;
  transform: translateX(2rem);
  transition: 290ms cubic-bezier(0.05, 0.6, 0.42, 0.94) 300ms;
  transition-property: opacity, transform;
  user-select: none;
  white-space: nowrap;
}

.team-role {
  font-size: 1rem;
  opacity: 0.9;
}

.team-subtitle {
  font-size: 0.85rem;
  opacity: 0.8;
}

.team-name-main {
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 4rem;
}

.team-radio:checked + .team-content {
  border-radius: 1rem;
  /* box-shadow: 0.3rem 0.3rem 0.4rem rgba(0, 0, 0, 0.3); */
  flex: 9;
  /* border: 3px solid #1C61BE; */
}

.team-radio:checked .team-content > .team-details {
  opacity: 1;
  transform: translateX(0);
}

.team-radio:checked .team-content > .team-title-main {
  opacity: 1;
  transform: translateX(0);
}

/* Right Image Area */
.team-image-container {
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* margin-top: 60px; */
}

.team-main-image {
  width: 100%;
  height: 80%;
  object-position: right;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Third Row - Team Details */
.team-details-container {
  padding: 20px 0;
  text-align: left;
  width: max-content;
  margin: 0 auto;
}

.team-member-info {
  margin: 0;
}

.member-name {
  font-family: 'poppins', sans-serif;
  font-size: 56px;
  font-weight: 500;
  color: #185ebc;
  margin-bottom: 8px;
}

.member-role {
  font-family: 'poppins', sans-serif;
  font-size: 24px;
  color: #2e2e2e;
  margin-bottom: 0;
  font-weight: 400;
}

.member-company {
  font-size: 24px;
  color: #2e2e2e;
  margin-bottom: 0;
  font-weight: 400;
}

/* Meet the Team Button */
.team-button-wrapper {
  display: flex;
  height: 150px;
  justify-content: start;
}

.meet-team-btn {
  background: #609ae9 !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 30px !important;
  font-family: 'poppins', sans-serif;
  font-weight: 400 !important;
  font-size: 30px !important;
  height: 75px;
  color: white !important;
  transition: all 0.3s ease !important;
}

.meet-team-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 97, 190, 0.3);
}

/* ********************************** Last Section **********************************  */

.legacy-section {
  padding-top: 80px;
  background-color: #ffffff;
}

.legacy-content {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0 auto;
  justify-content: center;
}

.legacy-title {
  color: #1a61be;
  font-size: 88px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 40px;
}

.legacy-cta {
  background: linear-gradient(to right, #1a61be, #5c96e6);
  color: white;
  padding: 12px 32px;
  border: none;
  border-radius: 16px;
  font-family: 'poppins', sans-serif;
  font-size: 28px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer !important;
  display: block;
  margin: 0 auto;
  height: 70px;
}

.legacy-cta:hover {
  background: linear-gradient(to right, #1558a6, #5289d6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.legacy-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Base styles for 1920px screens */

.overlay-section .left_box {
  position: relative;
  z-index: 9;
  background-color: #fff;
}
.overlay-section .left_box::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  display: block;
  background-color: #609ae9;
  height: 75%;
  content: "";
}
.overlay-section .left_box .overlay-image {
  width: 100%;
}
.overlay-section .right_box {
  position: relative;
  z-index: 9;
  height: 100%;
  background-color: #fff;
}
.overlay-section .right_box::before {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  display: block;
  background-color: #1b61be;
  height: 25%;
  content: "";
}

/* <!-- ********************************** Footer ********************************** --> */

ul {
  margin: 0px;
  padding: 0px;
}
.footer-section {
  background: #2e2e2e;
  position: relative;
}
.footer-section::before {
  content: "";
  position: absolute;
  top: -40px;
  right: calc(0% + 40px);
  display: block;
  width: 120px;
  height: 120px;
  background-image: url("../../images/pages/home/cube-white.png");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 9;
}
.footer_para {
  font-size: 16px;
}
.footer-cta {
  /* border-bottom: 1px solid #373636; */
}
.single-cta {
  margin-bottom: 16px;
}
.single-cta i {
  color: #ff5e14;
  font-size: 30px;
  float: left;
  margin-top: 8px;
}
.cta-text {
  /* padding-left: 15px; */
  display: inline-block;
}
.cta-text h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}
.cta-text span {
  font-family: 'poppins', sans-serif;
  color: #ffffff;
  font-size: 1.2rem;
}
.footer-content {
  position: relative;
  z-index: 2;
}
.footer-pattern img {
  position: absolute;
  top: 0;
  left: 0;
  height: 330px;
  background-size: cover;
  background-position: 100% 100%;
}
.footer-logo a {
  width: 100%;
  height: 100%;
  display: block;
}
.flex-x {
  align-items: center;
}
.footer-content {
  font-family: 'poppins', sans-serif;
  font-size: 1.2rem;
  color: #ffffff !important;
  line-height: 28px;
  padding: 40px 70px 20px 70px;
}

.footer-text p {
  margin-bottom: 5px;
  font-size: 32px;
  color: #ffffff;
  line-height: 1;
}

.footer-social-icon {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Adjust spacing between rows */
  margin-left: 3rem;
  /* margin-top: 3rem; */
}
.d-itemsc {
  justify-content: flex-end;
}
.footer-text p {
  text-align: end;
}
.footer-social-icon img {
  width: 45px;
  height: 45px;
}

.footer-social-icon span {
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
}
.footer-social-icon a {
  color: #fff;
  font-size: 16px;
  margin-right: 15px;
  display: block;
}
.footer-social-icon i {
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
}
.footer-widget-heading h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}
.footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: #ff5e14;
}
.footer-widget ul li {
  display: inline-block;
  float: left;
  width: 50%;
  margin-bottom: 12px;
}
.footer-widget ul li a:hover {
  color: #ff5e14;
}
.footer-widget ul li a {
  color: #878787;
  text-transform: capitalize;
}

.legacy-cta-footer {
  background: linear-gradient(to right, #1a61be, #5c96e6) !important;
  color: white !important;
  padding: 12px 20px !important;
  border: none;
  border-radius: 16px !important;
  font-size: 1.2rem !important;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  font-family: "Poppins", sans-serif;
  /* margin-left: 1rem; */
}

.legacy-cta-footer:hover {
  background: linear-gradient(to right, #1558a6, #5289d6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.subscribe-form {
  position: relative;
  overflow: hidden;
  width: 40%;
}
.subscribe-form input {
  width: 100%;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid #ffffff;
  color: #fff !important;
  margin-top: 0.5rem;
  font-family: "Poppins", sans-serif;
  transition: background-color 100000s ease-in-out 0s;
}

.subscribe-form input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  -webkit-text-fill-color: #fff !important;
  transition: background-color 100000s ease-in-out 0s;
  caret-color: #fff;
}

.subscribe-form input:-moz-autofill {
  box-shadow: 0 0 0px 1000px transparent inset !important;
  -moz-text-fill-color: #fff !important;
}

.subscribe-form input::placeholder {
  color: #ffff;
}
/* .subscribe-form button {
    position: relative;
    right: 0;
    background: linear-gradient(to right, #1a61be, #5c96e6);
    padding: 6px 70px;
/    top: 0;
    margin-left: 0 !important;
} */
.subscribe-form button i {
  color: #fff;
  font-size: 22px;
  transform: rotate(-6deg);
}
.copyright-area {
  background: #202020;
  padding: 25px 0;
}
.copyright-text p {
  margin: 0;
  font-size: 1.125rem;
  color: #ffffff;
}
.copyright-text p a {
  color: #fff;
  text-decoration: none;
}

.footer-menu {
  margin-left: 2rem;
  margin-top: 30px;
}

.footer-menu li {
  display: inline-block;
  margin-left: 20px;
  margin-bottom: 0.8rem !important;
}
.footer-menu li:hover a {
  color: #ff5e14;
}
.footer-menu li a {
  font-family: 'poppins', sans-serif;
  font-size: 1.5rem;
  color: #ffffff !important;
  text-decoration: none !important;
  text-transform: none !important;
}

.img-fluid {
  width: 100% !important;
  /* height: 200px !important; */
}

.v2-card.v2-expanded {
  width: 60vw;
  height: auto;
  writing-mode: vertical-rl;

}

.v2-card.v2-expanded .v2-plus-btn {
  opacity: 0;
  pointer-events: none;
}

.v2-card.v2-collapsed {
  width: 9vw;
  height: auto;
  writing-mode: vertical-lr !important;
  text-orientation: mixed;
}

.v2-card.v2-collapsed:hover {
  transform: none !important;
  box-shadow: none !important;
  background: inherit !important;
}

.v2-person-info {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem !important;
  padding: 0 2rem;
  gap: 3rem;
  margin-left: 10rem;
}

.v2-person-details {
  flex: 1;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.v2-person-details.v2-active {
  opacity: 1;
  transform: translateY(0);
}

.v2-person-name {
  font-size: 2rem;
  font-weight: 600;
  color: #175ebc;
  margin-bottom: 0.5rem;
}

.v2-person-text {
  font-size: 1.3rem;
  color: #525252;
  line-height: 1.6;
}

.v2-carousel-nav {
  display: flex;
  justify-content: start;
  gap: 10px;
  align-items: start;
  margin-left: 10rem;
  margin-bottom: 10px;
}

.v2-nav-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #a5b3c5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.v2-nav-dot.v2-active {
  background-color: #1c61be;
}



.class-flex {
  display: flex;
  align-items: center;
}
.future__section {
  padding-left: 7%;
  margin-right: auto;
  width: calc(100% - 2.8%);
}

@media (max-width: 1900px) {
  .tab-card .tab-card-title {
    font-size: 1.8rem;
  }
  .default-tab {
    font-size: 1.25rem;
  }
}

@media (max-width: 1600px) {
  .advisor-content {
    margin-top: 2rem;
  }
  .advs-text-1,
  .advs-text-2,
  .advs-text-3 {
    font-size: 110px;
  }
  .tab-card .tab-card-title {
    font-size: 1.3rem;
  }
  .default-tab {
    font-size: 1.2rem;
  }
}
@media (max-width: 1360px) {
  .advs-text-1,
  .advs-text-2,
  .advs-text-3 {
    font-size: 120px;
  }
  .advisor-cta {
    margin-top: 2rem !important;
  }
  .heading-content h2 {
    font-size: 65px;
    padding-left: 2rem;
  }
  .section-description {
    font-size: 28px;
  }
  .navbar-nav .nav-link {
    font-size: 22px;
    padding: 0.5rem clamp(1rem, 1.5vw, 3rem) !important;
  }
  .tab-card .tab-card-title {
    font-size: 1.2rem;
  }
  .default-tab {
    font-size: 1.1rem;
  }
}
@media (max-width: 1240px) {
  .copyright-text p {
    font-size: 20px;
  }
  .footer-text p {
    font-size: 26px;
  }
  .navbar-nav .nav-link {
    font-size: 20px;
    padding: 0.5rem clamp(1rem, 1.5vw, 3rem) !important;
  }
  .tab-card .tab-card-title {
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {
  .navbar-nav .nav-link {
    font-size: 15px;
    padding: 0.5rem clamp(1rem, 1.5vw, 3rem) !important;
  }
  .advs-text-1,
  .advs-text-2,
  .advs-text-3 {
    font-size: 100px;
  }
  .content-section p {
    font-size: 18px;
  }
  .tab-card .tab-card-title {
    font-size: 0.9rem;
  }
  .tab-card {
    min-height: 70px;
  }
  .human-connection-section::before {
    height: 50%;
  }
  .member-name {
    font-size: 42px;
  }
  .legacy-title {
    font-size: 68px;
  }
  .footer-social-icon {
    margin-left: 2rem;
  }
  .footer-social-icon img {
    width: 30px;
    height: 30px;
  }
  .footer-menu {
    margin-left: 1.5rem;
  }
  .footer-menu li a {
    font-size: 1.2rem;
  }
  /* .img-fluid {
    object-fit: cover;
  } */
  .footer-text p {
    font-size: 20px;
  }
  .subscribe-form {
    width: 49%;
  }
  .footer-content {
    padding: 40px 40px 20px 40px;
  }
  .copyright-text p {
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .future__section{
    width: calc(100% - 5%);
    margin: 0 auto !important;
    padding-left: 0 !important;
  }
  .dropdown-mega {
    position: static !important;
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
  }

  .dropdown-mega .container {
    padding: 0;
  }

  .dropdown-mega .row {
    flex-direction: column;
  }

  .dropdown-mega .col-lg-4 {
    width: 100%;
  }
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }
  .nav-item.dropdown {
    box-shadow: unset !important;
  }
  .navbar.navbar-scrolled .navbar-brand {
    position: absolute;
    bottom: -60%;
    z-index: 99999;
    transform: translateY(0%);
    height: 80px;
    width: 80px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    left: 40px;
  }
  .navbar.navbar-scrolled {
    height: 60px;
  }
  nav.navbar.navbar-expand-lg.navbar-light.bg-white.sticky-top.p-0.navbar-scrolled {
    height: 60px;
  }
  button.navbar-toggler.me-4 {
    position: fixed;
    right: 0;
    top: 10px;
  }
  .navbar-collapse {
    margin-top: 80px;
    overflow: overlay;
    background-color: #fff;
    max-height: calc(100vh - 100px);
  }
  #headerLogo {
    height: 70px !important;
  }
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    margin-top: -40px !important;
  }
  .dropdown-menu .dropdown-item {
    position: relative;
  }
  .dropdown-menu .dropdown-item::before {
    position: absolute;
    top: 50%;
    left: -10px;
    width: 5px;
    height: 5px;
    content: "";
    border-radius: 50%;
    display: block;
    background-color: #1558a6;
    transform: translateY(-50%);
  }
  .advs-text-1,
  .advs-text-2,
  .advs-text-3 {
    text-align: center;
  }
  .advisor-cta {
    margin-top: 0 !important;
    margin-bottom: 2rem;
  }
  .advisor-btn {
    min-width: 320px !important;
  }
  .advisor-image-container {
    display: flex;
    justify-content: center;
  }
  .advisor-image-container .img-fluid {
    width: 700px !important;
    object-fit: cover;
    height: 100% !important;
  }
  .ff-heading h2 {
    font-size: 65px;
    text-align: center;
  }

  .card-deck-container {
    flex-flow: wrap;
  }
  .card-deck {
    order: 1;
    display: flex;
    flex-direction: row; /* This is the key change */
    gap: 15px;
    overflow-x: overlay;
    margin-bottom: 20px;
    margin-top: 10px;
  }
  .content-area {
    order: 2;
    flex: unset;
  }
  .tab-card .tab-card-title {
    width: fit-content;
  }
  .view-all-title {
    width: max-content;
  }
  .card-deck-active::before {
    background-color: #fff;
  }
  .tab-content {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
  }
  .svg-container {
    margin-top: 20px;
  }
  .heading-content h2 {
    padding-left: 0;
    text-align: center;
  }
  .section-description {
    text-align: center;
  }
  .human-connection-section::before {
    content: unset;
  }
  .team-button-wrapper {
    justify-content: center;
  }
  .legacy-section {
    padding-top: 0;
    margin-bottom: 80px;
  }
  .legacy-title {
    font-size: 108px;
    text-align: center;
  }
  .legacy-cta {
    margin-bottom: 30px;
  }
  .legacy-image-wrapper {
    display: flex;
    justify-content: center;
  }
  .legacy-image-placeholder {
    width: 60%;
    height: 60%;
  }
  .d-itemsc {
    margin-top: 30px;
    justify-content: center;
  }
  .subscribe-form {
    width: 65%;
  }
  .footer-text p {
    font-size: 28px;
  }
  .v2-card-title {
    font-size: 2.2vw;
    right: 1.2rem;
  }
  .v2-plus-btn {
    right: 1.2rem;
  }
}

@media (max-width: 768px) {
  .subscribe-form {
    width: 50%;
  }
  .v2-carousel-nav {
    margin-left: 0;
  }
  .ff-heading h2 {
    margin-top: 25px;
  }
  .v2-card {
    height: 400px !important;
  }
  .heading-content h2 {
    font-size: 55px;
  }
  .section-description {
    font-size: 24px;
    padding: 0 50px;
  }
  .v2-card-title {
    font-size: 2.5vw;
  }
}

@media (max-width: 640px) {
  .legacy-title {
    font-size: 88px;
  }
  .legacy-image-placeholder {
    width: 70%;
  }
  .footer-text p {
    font-size: 22px;
  }
  .video-controls {
    left: 80px !important;
  }
  .section-description {
    padding: 0;
  }
}

@media (max-width: 560px) {
  .advs-text-1,
  .advs-text-2,
  .advs-text-3 {
    font-size: 80px;
  }
  .advisor-btn {
    min-width: 260px !important;
  }
  .v2-card-title {
    font-size: 2.7vw;
  }
  .v2-carousel-nav {
    margin-left: -90px;
  }
  .class-flex {
    align-items: flex-start;
    flex-flow: wrap;
  }
  .img-fluid {
    width: 100% !important;
  }
  .footer-social-icon {
    margin-left: 0;
  }
  .d-itemsc {
    margin-top: 30px;
    justify-content: flex-start;
    flex-flow: wrap;
    width: 100%;
  }
  .footer-text p {
    font-size: 26px;
    text-align: left;
    margin-left: -15px;
  }
  .subscribe-form {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .advisor-btn {
    font-size: clamp(18px, 3vw, 24px) !important;
    min-width: 210px !important;
  }
  .legacy-title {
    font-size: 58px;
  }
}

@media (max-width: 415px) {
  .v2-card {
    height: 350px !important;
  }
  .v2-card-title {
    font-size: 3.5vw;
    right: 0.5rem;
  }
  .v2-plus-btn {
    right: 0.5rem;
  }
  .v2-carousel-nav {
    margin-left: -130px;
  }
}


/* ================ V2 CARD STYLES ================ */

/* Base card styles */
/* .v2-card {
  position: relative;
  color: white;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: all 0.3s ease;
  flex: 0 0 auto;
  cursor: pointer;
  z-index: 1;
} */
.v2-card {
    background: #000;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0.875rem;
    cursor: pointer;
    flex: 2;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.05, 0.6, 0.39, 0.94);
    width: auto;
    height: 100%;
    z-index: 1;
}

/* Allow clicks on the card */
.v2-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  cursor: pointer;
  pointer-events: none; /* Disable by default */
}

/* Enable click overlay only for collapsed cards */
/* ================ V2 CARD STYLES - FIXED ================ */





 .v2-carousel {
            background: transparent;
            padding: 40px 5rem;
            overflow: hidden;

            
        }

        .v2-carousel-track {
            display: flex;
            height: 75vh; /* Fixed height like team slider */
            min-height: 45rem; /* Fixed height like team slider */
            width: 100%;
            padding: 0rem 0;
            gap: 0.8rem; /* Same gap as team slider */
        }

        /* Base card styles - similar to team-content */
        .v2-card {
            background: #000;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            border-radius: 0.875rem;
            cursor: pointer;
            flex: 2; /* Start with flex: 2 like team slider */
            overflow: hidden;
            position: relative;
            transition: all 0.5s cubic-bezier(0.05, 0.6, 0.39, 0.94);
            /* Remove width/height - let flex handle it */
            width: auto;
            height: 100%;
        }

        /* Expanded state - like radio:checked */
        .v2-card.v2-expanded {
            border-radius: 0.875rem;
            flex: 16; /* Same as team slider */
            z-index: 2;
        }


        /* Collapsed state */
        .v2-card.v2-collapsed {
            flex: 1;
            filter: brightness(0.7);
        }

        /* Video wrapper maintains aspect ratio */
        .video-wrapper {
            /* position: absolute; */
            position: relative;
            /* top: 0;
            left: 0; */
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        /* Center video content */
        .js-player,
        .plyr,
        .video-wrapper iframe {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100% !important;
            height: 100% !important;
            min-width: 100%;
            min-height: 100%;
            border: none;
            /* Smooth transition for iframe scaling */
            transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                        height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }






        /* Scale video for better framing */
        .v2-card.v2-expanded .video-wrapper iframe {
            width: 130%;
            height: 130%;
        }

        .v2-card.v2-collapsed .video-wrapper iframe {
            width: 200%;
            height: 200%;
            pointer-events: none;
        }

        /* Custom thumbnail */
        .custom-thumbnail {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            z-index: 10;
            cursor: pointer;
            transition: opacity 0.3s ease;
        }

        .custom-thumbnail.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .thumbnail-play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            opacity: 0;
        }

        .v2-card.v2-expanded .thumbnail-play-button {
            opacity: 1;
        }

        .thumbnail-play-button:hover {
            transform: translate(-50%, -50%) scale(1.1);
            background: rgba(255, 255, 255, 1);
        }

        .thumbnail-play-button i {
            font-size: 30px;
            color: #333;
            margin-left: 5px;
        }

        /* Card title - similar to team-title-main */
        .v2-card-title {
            position: absolute;
            color: #fff;
            font-size: 1.5vw;
            /* top: 3.5rem;
            right: 2.5rem; */
            top: 2rem;
            right: 1rem;
            width: auto;
            text-align: center;
            pointer-events: none;
            z-index: 15;
            /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); */
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            transform-origin: top right;
        }

        /* Show title only on expanded cards */
        .v2-card.v2-expanded .v2-card-title {
            opacity: 1;
            transform: translateX(0);
        }

        /* Plus button - similar to team-name-main */
        .v2-plus-btn {
            position: absolute;
            bottom: 2.5rem;
            right: 10%;
            font-size: 2.5vw;
            pointer-events: none;
            cursor: pointer;
            transition: opacity 0.3s ease;
            z-index: 15;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
            transform: scale(1);
        }

        /* Hide plus on expanded */
        .v2-card.v2-expanded .v2-plus-btn {
            opacity: 0;
            transform: translateX(2rem);
        }

        /* Video controls */
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 15;
        }

        .video-controls {
            position: absolute;
            bottom: 2rem;
            right: 1.5rem;
            display: flex;
            gap: 10px;
            opacity: 0;
            transform: translateY(2rem);
            transition: 290ms cubic-bezier(0.05, 0.62, 0.4, 0.95) 300ms;
            transition-property: opacity, transform;
            pointer-events: all;
        }
        .hero-video-controls{
            position: absolute;
            bottom: 2rem;
            left: 1.5rem;
            z-index: 10;
            opacity: 1;
            visibility: visible;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            gap: 10px;
            display: flex;
          }

        .v2-card.v2-expanded .video-controls {
            opacity: 1;
            transform: translateY(0);
        }

        .control-btn {
            width: 40px;
            height: 40px;
            background: rgba(0, 0, 0, 0.8);
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            color: white;
        }

        .control-btn:hover {
            background: rgba(0, 0, 0, 0.9);
            border-color: rgba(255, 255, 255, 0.6);
            transform: scale(1.1);
        }

        .control-btn i {
            font-size: 16px;
        }

        /* Navigation dots */
        .carousel-nav {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 20px;
        }

        .nav-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .nav-dot.active {
            background: #1C61BE;
            transform: scale(1.2);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .v2-carousel-track {
                height: 400px;
            }
            
            .v2-card.v2-expanded {
                flex: 8;
            }
            
            .v2-card.v2-collapsed {
                flex: 1;
            }
        }

        @media (max-width: 415px) {
            .v2-carousel-track {
                height: 350px;
            }
            
            .v2-card-title {
                font-size: 1rem;
            }
            
            .v2-plus-btn {
                font-size: 3rem;
            }
        }



  

        v2-card {
    position: relative;
    z-index: 1;
}

/* Video wrapper should be behind controls */
.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* Add z-index */
}

/* Video overlay should be above video wrapper */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20; /* Increase z-index */
}

/* Ensure controls are above everything */
.video-controls {
    position: absolute;
    bottom: 2rem;
    right: 1.5rem;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(2rem);
    transition: 290ms cubic-bezier(0.05, 0.62, 0.4, 0.95) 300ms;
    transition-property: opacity, transform;
    pointer-events: all;
    z-index: 25; /* Higher than video overlay */
}

/* Custom thumbnail should also be above video */
.custom-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 15; /* Above video wrapper */
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* Card title z-index */
.v2-card-title {
    position: absolute;
    color: #fff;
    font-family: 'poppins', sans-serif;
    font-size: 1.5vw;
    top: 2rem;
    right: 1rem;
    width: auto;
    text-align: center;
    pointer-events: none;
    z-index: 25; /* Same as controls */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top right;
}

/* Plus button z-index */
.v2-plus-btn {
    position: absolute;
    bottom: 2.5rem;
    right: 10%;
    font-size: 2.5vw;
    pointer-events: all; /* Change from none to all */
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 25; /* Same as controls */
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transform: scale(1);
}




/* Mobile specific elements - hidden on desktop */
        .mobile-main-video,
        .mobile-thumbnail-gallery {
            display: none;
        }

        /* Mobile Styles */
        @media (max-width: 768px) {
            /* Hide desktop carousel on mobile */
            .v2-carousel {
                display: none;
            }

            /* Show mobile elements */
            .mobile-main-video,
            .mobile-thumbnail-gallery {
                display: block;
            }

            /* Main video container */
            .mobile-main-video {
                position: relative;
                width: 100%;
                height: 60vh;
                max-height: 400px;
                background: #000;
                overflow: hidden;
                margin-bottom: 20px;
            }

            .mobile-main-video .video-wrapper {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
            }

            .mobile-main-video .custom-thumbnail {
                z-index: 10;
            }

            .mobile-main-video .thumbnail-play-button {
                opacity: 1;
                width: 60px;
                height: 60px;
            }

            .mobile-main-video .thumbnail-play-button i {
                font-size: 24px;
            }

            .mobile-main-video .v2-card-title {
                font-size: 18px;
                top: 1rem;
                right: 1rem;
                opacity: 1;
                transform: none;
            }

            .mobile-main-video .video-controls {
                opacity: 1;
                transform: none;
                bottom: 1rem;
                right: 1rem;
            }

            .mobile-main-video .control-btn {
                width: 35px;
                height: 35px;
            }

            .mobile-main-video .control-btn i {
                font-size: 14px;
            }

            /* Thumbnail gallery */
            .mobile-thumbnail-gallery {
                position: relative;
                width: 100%;
                padding: 0 15px;
                overflow: hidden;
            }

            .mobile-thumbnail-scroll {
                display: flex;
                gap: 10px;
                overflow-x: auto;
                scroll-behavior: smooth;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                -ms-overflow-style: none;
                padding-bottom: 10px;
            }

            .mobile-thumbnail-scroll::-webkit-scrollbar {
                display: none;
            }

            .mobile-thumbnail-item {
                flex: 0 0 120px;
                height: 90px;
                position: relative;
                border-radius: 8px;
                overflow: hidden;
                cursor: pointer;
                transition: all 0.3s ease;
                border: 2px solid transparent;
            }

            .mobile-thumbnail-item.active {
                border-color: #1C61BE;
                transform: scale(1.05);
            }

            .mobile-thumbnail-item img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .mobile-thumbnail-item .thumbnail-title {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
                color: white;
                padding: 5px 8px;
                font-size: 11px;
                text-align: center;
            }

            /* Navigation dots for mobile */
            .v2-carousel-nav {
                margin-top: 15px;
                padding: 0 15px;
            }

            .v2-nav-dot {
                width: 8px;
                height: 8px;
            }
        }

        @media (max-width: 415px) {
            .mobile-main-video {
                height: 50vh;
                max-height: 300px;
            }

            .mobile-thumbnail-item {
                flex: 0 0 100px;
                height: 75px;
            }

            .mobile-thumbnail-item .thumbnail-title {
                font-size: 10px;
                padding: 3px 5px;
            }
        }



  

        