/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a1f2e;
  --secondary-color: #2c3e50;
  --accent-color: #001E61;
  --accent-hover: #001E61;
  --gold-color: #d7d2cb;
  --sea-color: #6BBBAE;
  --text-light: #ffffff;
  --text-dark: #333333;
  --text-muted: #666666;
  --background-light: #f8f9fa;
  --background-dark: #1a1f2e;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --font-heading: 'Noto Serif', serif;
  --font-body: 'Helvetica Neue', sans-serif;
  --transition-fast: all 0.3s ease;
  --transition-medium: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-clip: clip-path 1.5s cubic-bezier(.25, 1, .30, 1);
  --transition-transform: transform 0.6s, filter 0.6s ease-in-out;
  --transition-opacity: opacity 0.3s ease;
  --transition-color: color 0.3s ease;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--text-light);
}

body, html{
  overflow-x: hidden;
}

img{
  width: 100%;
}

/* Update heading styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

a{
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Button Styles */
.cta-button {
  padding: 10px 25px;
  border: 1px solid var(--accent-color);
  border-radius: 0;
  font-size: 0.9em;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all .5s ease;
  background: transparent;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  clip-path: circle(0%);
  transition: clip-path 1.5s cubic-bezier(.25, 1, .30, 1);
  z-index: -1;
}

.cta-button:hover::before {
  clip-path: circle(125%);
}

.cta-button.primary {
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.cta-button.primary:hover {
  border-color: var(--accent-color);
  color: var(--gold-color) !important;
}

.cta-button.secondary {
  color: var(--text-light);
  border: 1px solid var(--text-light);
}

.cta-button.secondary:hover {
  border-color: var(--accent-color) !important;
  color: var(--gold-color);
}



/* Header Styles */
.header {
  background: transparent;
  color: var(--text-light);
  padding: 40px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: transform 0.3s ease, background-color 0.3s ease;
  transform: translateY(0);
}

.header.hidden {
  transform: translateY(-100%);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 100%;
  padding: 0 3em;
}

/* Hide header elements when menu is active */
body.menu-active .header .logo,
body.menu-active .header .header-right {
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-opacity), visibility 0.3s ease;
}

/* Remove this conflicting style */
/* Keep nav-toggle visible */
body.menu-active .header .nav-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-20px);
  transition: var(--transition-medium);
}

/* Navigation Styles */
.nav-toggle,
.nav-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10000;
  transition: var(--transition-medium);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header-left{
  position: fixed;
  top: 40px;
  left: 50px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 2em;
}

.nav-toggle {
  
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 45px;
  height: 34px;
  opacity: 1;
  visibility: visible;
}

.hamburger-line {
  display: block;
  height: 2px;
  background-color: var(--text-light);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle .hamburger-line:nth-child(1) { width: 100%; }
.nav-toggle .hamburger-line:nth-child(2) { width: 70%; }
.nav-toggle .hamburger-line:nth-child(3) { width: 35%; }

.nav-toggle:hover .hamburger-line {
  width: 100%;
  background: var(--sea-color) !important;
}

/* Hide hamburger when menu is active */
.header-left.active,
.header-right.active {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-20px);
}

/* X button styles */
.nav-close {
  position: fixed;
  top: 40px;
  left: 50px;
  z-index: 10000;
  width: 40px;
  height: 40px;
  border: 1px solid var(--text-light);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
}

.nav-close.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-close::before,
.nav-close::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 1.5px;
  background-color: var(--text-light);
  transition: var(--transition-medium);
}

.nav-close::before {
  transform: rotate(45deg);
}

.nav-close::after {
  transform: rotate(-45deg);
}

.nav-close:hover {
  transform: scale3d(2, 2, 1);
  transform-style: preserve-3d;
  background: rgba(255, 255, 255, 0.5) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.nav-close:hover::before,
.nav-close:hover::after {
  background-color: var(--primary-color);
}

/* Fullscreen Navigation */
.fullscreen-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--primary-color);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s ease, 
              visibility 0.3s ease;
  overflow: hidden;
}

.fullscreen-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0d2727b2;
  mix-blend-mode: multiply;
  z-index: 1;
}

.fullscreen-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-split {
  display: flex;
  height: 100%;
  position: relative;
}

/* Main Navigation */
.main-nav {
  position: relative;
  z-index: 2;
  flex: 0 0 50%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 8em;
  padding-top: 10em;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.nav-parent {
  display: flex;
  align-items: center;
  gap: 2em;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1em;
  position: relative;
}

.nav-parent.has-children > a.parent::after,
.main-nav ul li a.parent::after {
  content: '>';
  margin-left: 10px;
  opacity: 0.7;
  font-size: 0.8em;
  vertical-align: middle;
}

.main-nav ul li a {
  color: var(--text-light);
  text-decoration: none;
  display: inline-block;
  transition: all .5s ease;
  position: relative;
  font-style: italic;
  min-width: 200px;
  letter-spacing: normal;
  cursor: pointer;
}

.main-nav ul li a:hover,
.main-nav ul li a.parent.active {
  letter-spacing: 0.06em;
  color: var(--sea-color);
}

.main-nav ul li a.parent.active::after {
  opacity: 1;
}

.logo {
  position: fixed;
  z-index: 10000;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  height: 60px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.logo-img,
.logo a{
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-color);
}

.logo span {
  font-size: 0.8rem;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Hide elements when scrolling */
body.scrolled .logo {
  transform: translateX(-50%) translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Hide elements when menu is active */
body.menu-active .logo,
body.menu-active .header-right {
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-opacity), visibility 0.3s ease;
}

/* Keep nav-toggle visible */
body.menu-active .nav-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-20px);
  transition: var(--transition-medium);
}

.header-right {
  position: fixed;
  top: 40px;
  right: 50px;
  z-index: 10000;
  display: flex;
  gap: 2em;
}

.login-search {
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(5px);
  /* background: rgba(255, 255, 255, 0.2); */
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.4), rgba(91, 120, 132, 0.8));
  box-shadow: var(--card-shadow);
  padding: 8px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.external{
  display: flex;
  backdrop-filter: blur(5px);
  /* background: rgba(255, 255, 255, 0.2); */
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.4), rgba(91, 120, 132, 0.8));
  box-shadow: var(--card-shadow);
  border-radius: 20px;
  padding: 8px 20px;
}

.header-left a,
.header-right a,
.member-link,
.search-toggle {
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 5px 10px;
  border-radius: 15px;
  background: none;
  border: none;
  cursor: pointer;
}

.divider {
  color: var(--accent-color);
  opacity: 1;
  transition: var(--transition-medium);
}

.scrolled .header-left,
.scrolled .header-left a,
.scrolled .header-right a,
.scrolled .member-link,
.scrolled .search-toggle,
.scrolled .divider{
  color: var(--accent-color) !important;
}

.scrolled .header-left .hamburger-line{
  background: var(--accent-color);
}

.member-link:hover,
.search-toggle:hover,
.header-left a:hover,
.header-right a:hover,
.scrolled .header-left a:hover,
.scrolled .header-right a:hover,
.scrolled .member-link:hover,
.scrolled .search-toggle:hover,
.scrolled .divider:hover{
  color: var(--sea-color) !important;
}


/* .member-link:hover ~ .header-right,
.search-toggle:hover ~ .header-right,
.header-right:hover .member-link:hover,
.header-right:hover .search-toggle:hover {
  background: rgba(0, 0, 0, 0.7);
} */

.search-toggle:hover {
  color: var(--gold-color) !important;
}

.search-toggle i {
  font-size: 14px;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-medium);
  position: relative;
}

.nav a:hover {
  color: var(--accent-color);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition-medium);
}

.nav a:hover::after {
  width: 100%;
}

/* Banner Styles */
.banner {
  height: 100vh;
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  z-index: 1;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}



/* Ensure all section backgrounds are visible */
.services-section,
.events-section,
.features-section,
.footer {
  position: relative;
  z-index: 3;
}

.banner-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide.prev {
  opacity: 0;
}

.banner-content {
  position: relative;
  text-align: left;
  color: var(--text-light);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 15em;
}

.banner-text {
  position: relative;
  max-width: 600px;
  padding: 0;
  top: 20px;
  z-index: 2;
}

.banner-text p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: .6rem;
  line-height: 1.1;
}

.banner-text h1 {
  font-size: 3rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.1;
  left: -5px;
  position: relative;
}

@keyframes circle-in-center {
  from {
    clip-path: circle(0%);
  }
  to {
    clip-path: circle(125%);
  }
}

/* Text Section Styles */
.text-section {
  padding: 100px 0;
}

.text-section-1 {
  background: #fff;
  margin-top: -10px;
  position: relative;
  z-index: 4;
}

.text-section-1 .section-title{
  margin: 1.5em auto 0.5em;
}

.text-section-2 .section-title{
  margin: 0 auto 1em;
}

.text-section-1 h4{
  text-align: center;
}

/* Section Title Animation */
.section-title {
  font-size: 2.5rem;
  font-style: italic;
  color: var(--accent-color);
  font-weight: 500;
  line-height: 1.3;
  width: 60%;
  margin: 0 auto;
  text-align: center;
  transition: var(--transition-color);
}


/* Add hover effect for section titles */
.section-title:hover {
  animation-play-state: paused;
  color: var(--accent-hover);
}

.text-section h4{
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--primary-color);
}

.text-section.dark {
  background: var(--primary-color);
  color: var(--text-light);
}

.text-section .content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

p.section-body{
  font-size: 1rem;
  line-height: 1.8;
  width: 610px;
  margin: 0 auto;
  color: var(--primary-color);
}

.text-section .content-wrapper a.cta-button {
  margin-top: 2em;
  display: inline-block;
}

/* Services Section */
.services-section {
  padding: 50px 0 200px;
  background: var(--text-light);
  overflow: hidden;
}

.services-section .container {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 100px;
}

/* Splide Carousel Styles */
.services-splide {
  margin-top: 40px;
}

.services-splide .splide__track {
  overflow: visible;
}

.services-splide .splide__slide {
  height: auto;
  display: flex;
}

.services-splide .splide__list {
  display: flex;
  align-items: stretch;
}

.services-splide .splide__slide.is-active {
  opacity: 1;
  transform: none;
}

.services-splide .splide__slide.is-prev,
.services-splide .splide__slide.is-next,
.promotions-section .splide__slide.is-prev,
.promotions-section .splide__slide.is-next {
  opacity: 1;
  transform: none;
}

.splide__arrows {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 3em;
}

.services-splide .splide__arrow,
.promotions-section .splide__arrow {
  position: relative;
  background: none;
  width: 50px;
  height: 50px;
  opacity: 1;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
}

.services-splide .splide__arrow svg,
.promotions-section .splide__arrow svg {
  fill: var(--accent-color);
  width: 12px;
  height: 12px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-splide .splide__arrow--prev,
.promotions-section .splide__arrow--prev {
  right: auto;
  left: auto;
}

.services-splide .splide__arrow--next,
.promotions-section .splide__arrow--next {
  right: auto;
}

/* Remove pagination styles */
.services-splide .splide__pagination,
.promotions-section .splide__pagination {
  display: none;
}

/* Service Card Styles */
.service-card {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  transition: var(--transition-transform);
}

.service-card:hover {
  transform: none;
}

.service-image {
  width: 100%;
  height: 450px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 20px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--accent-color);
  font-style: italic;
}

.service-content p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.service-content .cta-button {
  width: 60%;
  text-align: center;
  margin-top: auto;
}

@media (max-width: 1600px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-section .container {
    padding: 0 60px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-splide .splide__arrow {
    width: 35px;
    height: 35px;
  }
  
  .services-splide .splide__arrow svg {
    width: 10px;
    height: 10px;
  }
  
  .services-splide .splide__arrow--prev {
    right: 70px;
  }
  
  .services-splide .splide__arrow--next {
    right: 20px;
  }

  .service-image {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .services-section .container {
    padding: 0 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .services-splide .splide__arrow {
    width: 30px;
    height: 30px;
  }
  
  .services-splide .splide__arrow svg {
    width: 8px;
    height: 8px;
  }
  
  .services-splide .splide__arrow--prev {
    right: 60px;
  }
  
  .services-splide .splide__arrow--next {
    right: 20px;
  }

  .service-image {
    height: 300px;
  }
}

/* Event Cards */
.events-section {
  padding: 100px 0 50px;
  background: url('/tac/images/home/stay-in-the-know-bg.webp') no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.events-section .container {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.card-nav{
  display: flex;
  gap: 2em;
  margin: 4em 0 0;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border: 1px solid var(--text-light);
  background: transparent;
  color: var(--text-light);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn:hover,
.services-splide .splide__arrow:hover,
.promotions-section .splide__arrow:hover {
  background: var(--accent-color);
  transform: scale3d(1.5, 1.5, 1);
  transform-style: preserve-3d;
  border: var(--accent-color);
  color: var(--gold-color);
}

.services-splide .splide__arrow:hover svg,
.promotions-section .splide__arrow:hover svg{
  fill: var(--gold-color);
}

.nav-btn i {
  font-size: 1rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.nav-btn:disabled:hover {
  background: transparent;
  color: var(--text-light);
  transform: none;
}

.events-content {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: 75%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.events-content .section-title {
  text-align: left;
  margin: 0;
  color: var(--text-light);
}

.events-content .section-body{
  color: var(--text-light);
  margin: 1em 0 2em;
  width: unset;
}

.events-content .cta-button {
  text-align: center;
  font-size: 0.9rem;
}


.events-wrapper{
  display: grid;
  grid-template-columns: 30% 70%;
  min-height: 100vh;
  gap: 4rem;
}

.stack{
  position: relative;
}

.card {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  width: 700px;
  height: 500px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0 , 0.25),    
  0 15px 20px 0 rgba(0, 0, 0, 0.125);
  transition: var(--transition-transform);
  user-select: none;
  display: flex;
  background: var(--text-light);
  overflow: hidden;
}

.events-image {
  width: 65%;
  height: 100%;
  overflow: hidden;
}

.events-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  display: block;
}

.events-info {
  width: 35%;
  padding: 2em;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.events-info img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1em;
  display: block;
}

.events-info h3 {
  margin: 0 0 1em;
  color: var(--accent-color);
  font-family: var(--font-body);
  font-size: 0.9em;
  text-transform: uppercase;
}

.event-time {
  color: var(--accent-color);
  margin: 0 0 1em;
  font-size: 0.8em;
}

.events-info p {
  color: var(--accent-color);
  margin: 0 0 1em;
  font-size: 0.8em;
  line-height: 1.6;
}

.events-info .cta-button {
  font-size: 0.8em;
  padding: 8px 25px;
  align-self: flex-start;
}

.card:nth-last-child(n+3) {
  --x: calc(-50% + 90px);
  transform: translate(var(--x), -52%);
  filter: brightness(0.5);
  z-index: 1;
  transition: var(--transition-transform);
  pointer-events: none;
}

.card:nth-last-child(2) {
  --x: calc(-50%);
  transform: translate(var(--x), -57%);
  filter: brightness(0.5);
  z-index: 2;
  transition: var(--transition-transform);
  pointer-events: none;
}

.card:nth-last-child(1) {
  --x: calc(-50% - 90px);
  transform: translate(var(--x), -62%);
  filter: brightness(1);
  z-index: 3;
  transition: var(--transition-transform);
}

.swap-next {
  animation: swap-next 1s ease-in-out forwards;
  filter: brightness(1);
  transition: none;
}

.swap-prev {
  animation: swap-prev 1.2s ease-in-out forwards;
  filter: brightness(1);
  transition: none;
}

@keyframes swap-next {
  0% {
    transform: translate(var(--x), -62%);
    opacity: 1;
    z-index: 3;
  }
  100% {
    transform: translate(calc(var(--x) - 150px), -62%);
    opacity: 0;
    z-index: -1;
  }
}

@keyframes swap-prev {
  0% {
    transform: translate(calc(var(--x) - 300px), -62%);
    opacity: 0;
    z-index: 4;
  }
  100% {
    transform: translate(calc(-50% - 90px), -62%);
    opacity: 1;
    z-index: 5;
  }
}

/* Mobile Events Carousel */
.mobile-events-carousel {
  display: none;
  overflow: hidden;
  position: relative;
  margin-top: 2em;
}

.mobile-events-carousel .carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.mobile-events-carousel .carousel-slide {
  min-width: 100%;
  background: var(--text-light);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-events-carousel .events-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.mobile-events-carousel .events-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}

.mobile-events-carousel .events-info {
  width: 100%;
  padding: 1.5em;
  display: flex;
  flex-direction: column;
  height: auto;
  gap: 0.5em;
}

.mobile-events-carousel .events-info img {
  width: 150px;
  max-height: 80px;
  object-fit: contain;
  margin: 0 auto 0 auto;
}

.mobile-events-carousel .events-info h3 {
  font-size: 1rem;
  margin-bottom: 0.5em;
}

.mobile-events-carousel .event-time {
  font-size: 0.8rem;
  margin-bottom: 0.8em;
}

.mobile-events-carousel .events-info p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5em;
}

.mobile-events-carousel .events-info .cta-button {
  align-self: flex-start;
  font-size: 0.8rem;
  padding: 8px 20px;
}

.mobile-events-carousel .carousel-nav {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin-top: 2em;
}

.mobile-events-carousel .carousel-dots {
  display: none;
}

.mobile-events-carousel .carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-events-carousel .carousel-dot.active {
  background: var(--text-light);
  transform: scale(1.2);
}

@media (max-width: 1200px) {
  @keyframes swap-prev {
    0% {
      transform: translate(calc(var(--x) - 300px), -62%);
      opacity: 0;
      z-index: 4;
    }
    100% {
      transform: translate(calc(-50% - 90px), -62%);
      opacity: 1;
      z-index: 5;
    }
  }
}

@media (max-width: 1050px) {
  @keyframes swap-prev {
    0% {
      transform: translate(calc(var(--x) - 200px), -62%);
      opacity: 0;
      z-index: 4;
    }
    100% {
      transform: translate(calc(-50% - 90px), -62%);
      opacity: 1;
      z-index: 5;
    }
  }
}

/* Features Section */
.features-section .container{
  max-width: 100%;
  padding: 0;
}


.features-grid {
  display: flex;
}

.feature-card {
  width: 33.33%;
  min-height: 90vh;
  display: flex;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover !important;
  background-position: 0 50% !important;
  object-fit: cover !important;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: 1;
  clip-path: circle(0%);
  transition: background 1s cubic-bezier(0.4, 0, 0.2, 1), clip-path 2s cubic-bezier(.25, 1, .30, 1);
}

.feature-card:hover .feature-content .section-title,
.feature-card:hover .feature-content .section-body{
  color: var(--gold-color);
  transition: color 3.5s cubic-bezier(0.4, 0, 0.2, 1);
}


.feature-card .cta-button::before{
  background: var(--accent-color);
}

.feature-card:hover::before {
  background: var(--gold-color);
  clip-path: circle(125%);
  transition: clip-path 2.5s cubic-bezier(.25, 1, .30, 1);
}

.feature-card.why-members {
  background: url('/tac/images/home/features/why-members.png') no-repeat;
}

.feature-card.business-office { 
  background: url('/tac/images/home/features/business-office-spaces.png') no-repeat;
}

.feature-card.home-family {
  background: url('/tac/images/home/features/home-family.png') no-repeat;
}

.feature-content {
  text-align: left;
  padding: 4rem;
  z-index: 2;
  position: relative;
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.feature-content .section-title {
  color: var(--text-light);
  font-size: 1.5rem;
  text-align: left;
  width: 100%;
  margin-bottom: 1em;
  flex-shrink: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.feature-content .section-body {
  color: var(--text-light);
  width: 100%;
  font-size: 1rem;
  text-align: left;
  margin: 0 0 2em;
  flex-grow: 1;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  opacity: 1;
}

.feature-content .cta-button {
  flex-shrink: 0;
  margin: 0;
  width: 50%;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .cta-button{
  background: var(--accent-color);
  color: var(--text-light);
  border-color: var(--accent-color);
}

.feature-content:hover .cta-button:hover{
  color: var(--gold-color);
}

@media (max-width: 1200px) {
  .feature-card.business-office {
    background-position: center center;
  }
  
  .feature-content {
    padding: 3rem;
    height: auto;
    min-height: 400px;
  }
  
  .feature-content .cta-button {
    width: 70%;
  }
}

@media (max-width: 768px) {
  .feature-card.business-office {
    background-position: center center;
  }
  
  .feature-content {
    padding: 2rem;
    min-height: 350px;
  }
  
  .feature-content .cta-button {
    width: 100%;
    margin-top: auto;
  }
  
  .feature-content .section-title {
    font-size: 1.3rem;
  }
  
  .feature-content .section-body {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .feature-content {
    padding: 1.5rem;
    min-height: 300px;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 calc(50% - 1rem); /* Show 2 items on medium screens */
    min-width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 100%; /* Show 1 item on mobile */
    min-width: 100%;
  }
  
  .carousel {
    gap: 1rem;
  }

  .nav ul {
    display: none;
  }



  .banner-text h1 {
    font-size: 2.5rem;
  }

  .banner-text p {
    font-size: 1.1rem;
  }

  .content-wrapper h2 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
    width: 80%;
  }

  .service-card,
  .event-card {
    margin: 0;
  }

  .event-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .logo {
    top: 20px;
    height: 50px;
  }
  
  .logo span {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .banner-text h1 {
    font-size: 2rem;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .logo {
    top: 15px;
    height: 40px;
  }
  
  .logo span {
    font-size: 0.6rem;
  }
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: var(--primary-color);
  z-index: 999;
  transition: var(--transition-medium);
  padding-top: 80px;
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav nav ul li {
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav nav ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.2rem;
  display: block;
  transition: var(--transition-medium);
}

.mobile-nav nav ul li a:hover {
  color: var(--accent-color);
  padding-left: 10px;
}

/* Navigation Contact */
.nav-contact {
  flex: 0 0 33.3333%;
  background-color: var(--gold-color);
  height: 100vh;
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  margin-left: auto;
  transform-origin: right;
}

.nav-contact:hover {
  transform: scaleX(1.05);
}

.contact-content {
  color: var(--text-light);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 4rem 0;
  width: 100%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-content .logo-img {
  width: 140px;
  height: auto;
  margin-bottom: 0;
  filter: brightness(0) saturate(100%) invert(12%) sepia(59%) saturate(2804%) hue-rotate(210deg) brightness(89%) contrast(112%);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-content h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0;
  font-weight: 500;
  color: var(--accent-color);
  font-style: italic;
}

.contact-content .address,
.contact-info {
  color: var(--accent-color);
  font-size: 1.1rem;
  line-height: normal;
  margin-bottom: 0;
  opacity: 0.9;
}

.contact-info p {
  margin-bottom: 0.5rem;
}



.social-links a {
  color: var(--accent-color);
  font-size: 1.5rem;
  transition: var(--transition-medium);
}

.social-links a:hover {
  opacity: 1;
  transform: translateY(-3px);
}

/* Navigation Children */
.nav-children {
  position: absolute;
  z-index: 2;
  flex: 0 0 50%;
  left: 50%;
  top: 0;
  margin-left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10em 2em;
  min-width: auto;
  box-shadow: none;
}

.nav-children.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-children .main-child {
  font-size: 1.4rem;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
  gap: 2em;
  color: var(--text-light);
  font-family: var(--font-heading);
  position: relative;
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition-medium);
}

.nav-children .main-child:hover {
  color: var(--sea-color);
}

.nav-children .main-child i {
  font-size: 0.5em;
  opacity: 1;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--text-light);
}

.nav-children .main-child:hover i {
  opacity: 1;
  background: rgba(255, 255, 255, 0.5);
  color: var(--primary-color);
  transform: scale3d(2, 2, 1);
  transform-style: preserve-3d;
  border: rgba(255, 255, 255, 0.5);
}

.sub-children a {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5em;
  opacity: 0.8;
  transition: all 0.2s ease;
  color: var(--text-light);
  text-decoration: none;
}

.sub-children:hover a {
  opacity: 0.3;
}

.sub-children a:hover {
  opacity: 1;
  color: var(--sea-color);
}

.roman-num {
  width: 2em;
  text-align: center;
  font-style: normal;
  font-size: 1.2rem !important;
}

/* Scroll Down Button */
.scroll-down-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: 1px solid var(--text-light);
  color: var(--text-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.scroll-down-btn i {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

.scroll-down-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--primary-color);
  transform: translate3d(-50%, 0, 0) scale3d(2, 2, 1);
  transform-style: preserve-3d;
  border: rgba(255, 255, 255, 0.5);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Overlay Menu */
.overlay-menu-left {
  flex: 0 0 66.6667%;
  position: relative;
  display: flex;
  background-image: url('/tac/images/overlay-menu-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.overlay-menu-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0d2727;
  opacity: 0.8;
  mix-blend-mode: multiply;
  z-index: 1;
}

.feature-card:hover .feature-content .section-title {
  color: var(--accent-color);
  transform: translateY(-10px);
  transition: color .5s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(.25, 1, .30, 1);
}

.feature-card:hover .feature-content .section-body {
  color: var(--accent-color);
  transform: translateY(-5px);
  opacity: 0.9;
  transition: color .5s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(.25, 1, .30, 1);
}



/* Login Page */
body.login {
  background-size: cover;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

.login-section {  
  background: url('/tac/images/login/login-bg.webp') no-repeat center center;
}

.login-section .container{
  padding: 10em 0;
  max-width: 100%;
  width: 500px;
  margin: 0 auto;
}

.login-content {
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.1);
  padding: 4rem 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  margin: 0 auto;
  border-radius: 10px;
}

.login-section .section-title{
  text-align: left;
  color: var(--text-light);
  font-size: 1.8em;
  width: 100%;
  margin-bottom: 2rem;
}

form label{
  text-transform: uppercase;
  color: var(--text-light);
  font-size: 0.9rem;
  letter-spacing: 1.5px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

input{
  padding: 0.5em 0;
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid #ddd;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
  color: var(--text-light);
}

input:focus{
  border-color: var(--accent-color);
  outline: none;
}

.form-links {
  margin-top: 0.8rem;
  font-size: 0.7em;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
}

.form-links:hover {
  color: var(--gold-color);
}

.login-form .cta-button {
  width: 50%;
  margin-top: 2.5rem;
}

.form-links.create-account{
  margin-top: 0;
}


/* Membership Page */
.membership .text-section-1 .section-title{
  margin: 0 auto 1em;
}

.club {
  background: url('/tac/images/membership/highlights/reciprocal.png') no-repeat;
}

.supplementary {
  background: url('/tac/images/membership/highlights/supplementary.png');
}

.niche {
  background: url('/tac/images/membership/highlights/niche.png');
}

.refer {
  background: url('/tac/images/membership/highlights/refer.png');
}

.membership .features-section{
    width: 80%;
    margin: 0 auto;
    padding: 0 0 15em;
}

.membership .features-section .features-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.membership .features-section .feature-card{
    width: 100%;
}

.membership .feature-card.niche,
.membership .feature-card.refer{
    transform: translateY(50px);
}

.banner-normal {
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  background-size: cover;
}

.banner-normal#tour{
  background: url('/tac/images/membership/virtual-club-tour-bg.webp') no-repeat;
}

.banner-normal .banner-content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: var(--text-light);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 15em;
  min-height: inherit;
}

.banner-normal .banner-text{
  top: unset;
}

.banner-normal#tour .section-body{
  color: var(--text-light);
  font-size: 1rem;
  text-transform: unset;
  letter-spacing: normal;
  margin: 0 0 2rem;
  line-height: 1.5;
  width: 50%;
}

/* Joining Fees Banner Specific Styles */
section.banner-normal#joining-fees {
  min-height: 50vh !important;
}

section.banner-normal#joining-fees .banner-content {
  justify-content: center;
  padding: 0;
  text-align: center;
}

section.banner-normal#joining-fees .banner-text {
  color: var(--accent-color);
  top: unset;
}

section.banner-normal#joining-fees .banner-text p.section-body {
  font-size: 1rem;
  text-transform: unset;
  letter-spacing: normal;
  margin: 0 0 2rem;
  line-height: 1.5;
  width: 100%;
  color: var(--primary-color);
}

/* Banner Buttons */
.banner-buttons {
  display: flex;
  gap: 1em;
  justify-content: center;
}

.banner-buttons a {
  width: 50%;
}

/* Wine & Dine Page */
.poster-section{
  min-height: 100vh;
  padding: 100px 0 50px;
}

.poster-section .content-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  margin-bottom: 4em;
}

.poster-section .content-wrapper .poster-content {
  flex: 1;
  padding:  4em;
  display: flex;
  max-width: 35%;
}

.poster-section .content-wrapper .poster-text.dark {
  color: var(--accent-color);
}

.poster-section .content-wrapper .poster-text.white {
  color: var(--text-light);
}


.poster-section .content-wrapper .poster-text img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 2em;
  display: block;
}

.poster-section .content-wrapper .poster-text p {
  margin-bottom: 2em;
  font-size: 14px;
  line-height: 1.8;
}

.poster-section .content-wrapper .poster-text h3 {
  font-size: 16px;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-bottom: 4em;
  letter-spacing: 1.8px;
  width: 90%;
}

.poster-section .content-wrapper .poster-text {
  display: flex;
  flex-direction: column;
}

.poster-section .content-wrapper .poster-text .cta-button {
  text-align: center;
  margin: 0 auto;
}

.poster-section .content-wrapper .poster-image {
  flex: 1;
}

.poster-section .content-wrapper .poster-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
  display: block;
}

.poster-section .content-wrapper.right .poster-image img {
  object-position: left;
}

.poster-section .content-wrapper.central .poster-content{
  background: #f4cd58;
}

.poster-section .content-wrapper.grillhouse .poster-content{
  background: #923432;
  position: relative;
}

.poster-section .content-wrapper.the2ndfloor .poster-text .cta-button {
  border-color: var(--gold-color);
  color: var(--gold-color);
}

.poster-section .content-wrapper.grillhouse .poster-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: url('/tac/images/wine-and-dine/grillhouse-checkered.png');
  background-size: cover;
  background-position: bottom;
}

.poster-section .content-wrapper.tradewinds .poster-content {
  background: #8dc4c1;
  position: relative;
  overflow: hidden;
}

.poster-section .content-wrapper.tradewinds .poster-content::after {
  content: '';
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('/tac/images/wine-and-dine/tradewinds-waves.png');
  background-size: 100% 100%;
  background-position: bottom;
  background-repeat: no-repeat;
}

.poster-section .content-wrapper.the2ndfloor .poster-content{
  background: var(--text-dark);
  position: relative;
}

.poster-section .content-wrapper.the2ndfloor .poster-content::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 3px solid #c7b36d;
  pointer-events: none;
}

.poster-section .content-wrapper.thegourmetpantry .poster-content{
  background: #a1aa73;
}

.wine-and-dine .text-section{
  padding: 20px 0 100px;
}

.wine-and-dine .text-section .section-body{
  width: 530px;
}

.feature-card.catering {
  background: url(/tac/images/wine-and-dine/catering.png) no-repeat;
}

.feature-card.bottles2go {
  background: url(/tac/images/wine-and-dine/bottles2go.png) no-repeat;
}

.feature-card.tac2go {
  background: url(/tac/images/wine-and-dine/tac2go.png) no-repeat;
}

/* Tradewinds Page */
.tradewinds .banner-content{
  justify-content: flex-end;
  padding-left: 0;
  padding-right: 27em;
  margin-left: auto;
}

.tradewinds.scrolled .scroll-down-btn{
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.tradewinds.scrolled .scroll-down-btn:hover{
  border: rgba(255, 255, 255, 0.5);
}

.tradewinds .text-section-1{
  background: #8dc4c1;
}

.tradewinds .text-section-1 .brand-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.tradewinds .text-section-1 .section-title{
  width: 100%;
  color: var(--text-dark);
  display: inline-block;
  white-space: nowrap;
  animation: none;
  padding: 1.5em 0 0.5em 0;
  margin: 0;
}

.text-section .section-title span {
  display: inline-block;
  animation: waveTitle 3s infinite ease-in-out;
  animation-delay: calc(var(--letter-index, 0) * 0.1s);
  overflow: visible;
}

@keyframes waveTitle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}


.tradewinds .text-section-1 .details-wrapper {
  padding-top: 5em;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

/* Individual column styles */
.tradewinds .text-section-1 .text-column {
  flex: 1;
  min-width: 280px;
}

/* Decorative top line */
.tradewinds .text-section-1 .decorative-line {
  width: 80%;
  height: 1px;
  background: #001e45;
  position: relative;
  margin-bottom: 20px;
}

.tradewinds .text-section-1 .decorative-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -1px;
  width: 30px;
  height: 7px;
  background-color: #001e45;
}

.tradewinds .text-section-1 .operating-hours-wrapper{
  display: flex;
  gap: 3em;
}

.tradewinds .text-section-1 .operating-hours{
  display: flex;
  width: 50%;
}

.tradewinds .text-section-1 .text-column h4 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin: 3em 0 1em;
  text-align: left;
  color: var(--text-dark);
}

.tradewinds .text-column p{
  text-transform: uppercase;
  color: var(--text-dark);
  letter-spacing: 1.5px;
}

/* Paragraphs */
.text-column p {
margin-bottom: 18px;
font-size: 0.95rem;
line-height: 1.6;
}

.tradewinds .text-section-2 p{
  margin: 1.5em auto;
  width: 550px;
}

.gallery-section .container{
  max-width: 100%;
  padding: 0;
}

.gallery-section .gallery-wrapper{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10em;
}

.gallery-section .gallery-buttons{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5em;
  margin: 6em 0 2em;
}

.gallery-section .gallery-buttons .cta-button{
  color: var(--primary-color);
  min-width: 250px;
  text-align: center;
}

.gallery-section .gallery-buttons .cta-button:hover{
  color: var(--text-light) !important;
  border: #8dc4c1;
}

.gallery-section .gallery-buttons .cta-button::before{
  background: #8dc4c1;
}

.bottom-bg-section .container{
  max-width: 100%;
  background: url(/tac/images/tradewinds/tradewinds-bottom-bg.webp);
  min-height: 30em;    
  background-position: bottom;
  background-repeat: no-repeat;
}

.promotions-section{
  padding: 0 0 15em;
  background: var(--bg-color);
}

.promotion-card {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.promotion-image {
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.promotion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  object-position: right top;
}

.promotion-card:hover .promotion-image img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .promotion-image {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .promotion-image {
    height: 300px;
  }
}


/* Event Page */
  .event .banner-content{
    justify-content: flex-end;
    padding-left: 0;
    padding-right: 27em;
    margin-left: auto;
  }

.event .text-section-1 .brand-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.event .text-section-1 .content-wrapper{
  margin-top: 3em;
}

.event .text-section-1 .content-wrapper p{
  margin-bottom: 20px;
}

/* Decorative top line */
.event .text-section-1 .decorative-line {
  width: 80%;
  height: 1px;
  background: #001e45;
  position: relative;
  margin: 5em 0 3em;
}

.event .text-section-1 .decorative-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -1px;
  width: 30px;
  height: 7px;
  background-color: #001e45;
}

.event .text-section-1 .details-wrapper{
    width: 40%;
    margin: 0 auto;
}

.event .text-section-1 .operating-hours-wrapper{
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.event .text-section-1 .decorative-line{
    width: 100%;
}

.event .text-section-1 .operating-hours{
    width: 100%;
}

.event .text-section-1 .text-column h4 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 1em;
  text-align: left;
  color: var(--accent-color);
}

.event .text-column p{
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 2px;
}

.event .event-featured{
    display: flex;
    gap: 4em;
    padding: 0 10em;
    margin-bottom: 10em;
}

.event .event-featured-item{
    width: 33.33%;
}


/* Event Calendar Page */
.event-calendar-section{
    width: 50%;
    margin: 0 auto 5em;
}

.event-calendar-header{
    display: flex;
    justify-content: space-between;
    margin-bottom: 5em;
    align-items: center;
}

.event-calendar-header #current-month-label{
    font-style: italic;
    color: var(--accent-color);
    font-size: 2em;
    width: 60%;
}

.event-calendar-header .calendar-filter{
  width: 40%;
}

.event-calendar-section #month-filter,
.event-calendar-section #year-filter{
  width: 50%;
}

.event-calendar-section #month-filter,
.event-calendar-section #category-filter,
.event-calendar-section #year-filter,
.event-calendar-section #month-filter option,
.event-calendar-section #category-filter option,
.event-calendar-section #year-filter option{
    padding: 7px 30px 7px 10px;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 2px !important;
    font-family: var(--font-body);
    color: var(--accent-color);
}


.calendar-filter{
    display: flex;
    flex-direction: column;
    gap: .5em;
}

.calendar-filter-row{
    display: flex;
    gap: .5em;
}

.select2-container{
    width: 100% !important;
}

.select2-selection--multiple {
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  padding-right: 10px;
}

.select2-selection__rendered {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  align-items: center;
  gap: 5px;
  padding: 5px 0;
}

.select2-results__option{
    color: var(--accent-color) !important;
}

.select2-selection__choice__remove{
    position: unset !important;
    border: none !important;
    color: var(--accent-color) !important;
}

.select2-selection__choice__remove:hover{
  background-color: var(--sea-color) !important;
  border-radius: 0 !important;
}

.select2-selection__choice{
    padding: 0 !important;
    background-color: transparent !important;
    border: 1px solid var(--accent-color) !important;
}

/* Optional: prevent selected items from shrinking */
.select2-selection__choice {
  flex-shrink: 0;
  white-space: nowrap;
}

.select2-selection{
    border: 1px solid #767676 !important;
    border-radius: 2px !important;
}

.select2-selection textarea{
    font-family: var(--font-body) !important;
    color: var(--accent-color) !important;
    font-size: 1em !important;
    text-transform: uppercase;
    letter-spacing: 2px !important;
    padding-left: 7px !important;
}

.select2-search__field::placeholder{
  color: var(--accent-color) !important;
}

.event-list {
  position: relative;
  padding-left: 3rem;
  border-left: 2px dashed #0c2d5d;
  padding-bottom: 1em;
}

.event-date-wrapper {
    position: relative;
    display: flex;
    margin-bottom: 1rem;
    left: -2rem;
}

.event-date-label {
  position: relative;
  margin-bottom: 2.5rem;
  font-weight: bold;
  color: var(--accent-color);
  font-size: 1.3em;
  line-height: 0.8;
}

.event-day-label {
  color: #6bbbae;
}

.event-date-label {
    font-weight: bold;
    /* Keep your desired styling */
}

.event-dot {
    width: 15px;
    height: 15px;
    background-color: #0c2d5d;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
    left: -1.5rem;
    position: relative;
}


.event-calendar-section .event-card{
  display: flex;
  background: #4c505b;
  padding: 2em 2.5em;
  border-radius: 30px;
  color: var(--text-light) !important;
  font-family: var(--font-body);
  gap: 1em;
  margin-bottom: 2.5em;
}

.event-calendar-section .event-card .event-details{
  width: 70%;
}

.event-calendar-section .event-card .event-image{
  width: 30%;
  border-radius: 10px;
}

.event-calendar-section .event-title{
  margin-bottom: .5em;
  font-size: 1.5em;
  font-weight: 600;
}

.event-calendar-section .event-time{
  font-size: 1em;
  color: var(--text-light);
  font-weight: 600;
}

.event-calendar-section .event-location{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.event-calendar-section .event-location img{
  width: 12px;
  height: 18px;
}







/* Footer */
.footer {
  background: url('/tac/images/footer-bg.webp') no-repeat;
  background-size: cover;
  color: var(--text-light);
  padding: 80px 0 60px;
}

.footer .container{
  max-width: 90%;
}

.footer-content-wrapper.footer-row-1 {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-direction: row;
}

.footer-content.footer-left {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-content.footer-right {
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
}

.footer-content.footer-right img {
  width: 180px;
  margin-bottom: 3em;
  
}

.footer-content.footer-right p {
  margin-bottom: 0.5rem;
  font-size: 0.8em;
  text-align: center;
  width: 100%;
}

.footer-content.footer-right p:first-of-type {
  width: 50%;
  margin-bottom: 2em;
}


.footer-section h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9em;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.footer-section ul{
  list-style: none;
}

.footer-section a {
  line-height: 1.6;
  font-size: 0.8em;
  color: var(--text-light);
  transition: var(--transition-opacity);
}

.footer-section:hover a {
  opacity: 0.3;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--sea-color);
}

.footer-row-2 {
  display: flex;
  align-items: center;
  padding-top: 5em;
  width: 50%;
  gap: 1em;
  margin: 0 0 3em;
}

.footer-row-2 p{
  width: 50%;
  letter-spacing: 1px;
}

.footer-row-3 {
  margin: 0 0 3em;
}

.footer-row-3 .social-links{
  display: flex;
  justify-content: unset;
  gap: 4em;
}

.footer-row-3 .social-links a{
  color: var(--text-light);
}

.footer-row-4 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8em;
  display: flex;
  gap: 5em;
}

.footer-row-4-right {
  display: flex;
  gap: 2em;
}

.footer-row-4-right a {
  color: var(--text-light);
  transition: var(--transition-opacity);
}

.footer-row-4-right:hover a {
  opacity: 0.3;
}

.footer-row-4-right a:hover {
  opacity: 1;
  color: #c0aa7e;
}


/* Mobile Footer Accordion */
.footer-section-mobile {
  display: none;
}

@media (max-width: 767px) {
  .header-left{
    top: 20px;
    left: 10px;
    gap: 1em;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    z-index: 10000;
  }

  .nav-toggle {
    top: unset;
    left: unset;
  }

  .header-right{
    top: 20px;
    right: 10px;
    flex-direction: column-reverse;
    gap: 5px;
    align-items: flex-end;
    position: fixed;
    z-index: 10000;
  }

  .login-search{
    flex-direction: column;
    gap: 5px;
    padding: 2px 10px;
    height: auto;
    background: none;
    backdrop-filter: unset;
    padding: 0;
  }

  .external{
    background: unset;
    display: unset;
    padding: unset;
    box-shadow: unset;
    backdrop-filter: unset;
  }

  .login-search .divider{
    display: none;
  }

  .header-left a, .header-right a,
  .member-link, .search-toggle{
    padding: 0;
  }

  /* Menu Overlay */
  .nav-close{
    top: 20px;
    left: 30px;
  }

  .nav-close:hover{
    transform: unset;
  }

  /* Mobile header scroll animations */
  .header-left,
  .header-right {
    transition: all 0.3s ease;
  }
  
  .header-left.header-hidden,
  .header-right.header-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    pointer-events: none;
  }
  
  .header-left:not(.header-hidden),
  .header-right:not(.header-hidden) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-split{
    flex-direction: column;
    overflow-y: scroll;
  }

  .overlay-menu-left{
    width: 100%;
    display: unset;
    padding-top: 5em;
    flex: 0 0 50%;
  }

  .main-nav{
    padding: 0;
    display: unset;
  }

  .main-nav ul{
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 2em;
  }

  .main-nav ul li.nav-parent{
    flex: 0 0 auto;
    margin-bottom: 10px;
  }

  .main-nav ul li.nav-parent:first-child{
    padding-left: 1em;
  }

  .main-nav ul li.nav-parent:last-child{
    padding-right: 1em;
  }

  .main-nav ul li.nav-parent a{
    min-width: auto;
    font-style: normal;
    font-size: 1.5rem;
  }

  .roman-num,
  .nav-parent.has-children > a.parent::after, .main-nav ul li a.parent::after{
    display: none;
  }

  .nav-children{
    display: block;
    left: unset;
    top: unset;
    padding: 2em 0 0 3.5em;
  }

  .nav-children .main-child{
    gap: 1em;
    font-size: 1.2rem;
  }

  .nav-children .main-child i{
    width: 30px;
    height: 30px;
  }

  .sub-children a{
    font-size: 1rem;
  }

  .nav-contact{
    margin: 0;
    padding: 2rem;
  }

  .nav-contact:hover{
    transform: unset;
  }

  .contact-content{
    gap: 1em;
    padding: 2rem 0;
  }

  .contact-content .social-links{
    display: flex;
    gap: 1em;
  }

  /* .banner{
    height: 90vh;
  } */

  .scroll-down-btn{
    bottom: 100px;
  }

  .banner-content{
    padding-left: 2em;
  }

  .text-section{
    padding: 50px 0;
  }

  .home .text-section-1,
  .tradewinds .text-section-1{
    margin-top: -100px;
  }

  p.section-body{
    width: 100%;
  }

  .services-section{
    padding: 50px 0 150px;
  }

  .service-content .cta-button{
    width: 100%;
  }

  .services-splide .splide__arrow--prev,
  .services-splide .splide__arrow--next{
    right: unset;
  }

  .splide__arrows{
    bottom: -60px;
    transform: translateX(-50%);
    gap: 2em;
  }

  .services-splide .splide__arrow{
    width: 50px;
    height: 50px;
  }

  .section-title {
    font-size: 1.7rem;
    width: 100%;
  }

  /* Mobile Events Section */
  .events-wrapper {
    display: block;
    grid-template-columns: unset;
    min-height: auto;
    gap: unset;
  }

  .events-content {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .events-content .section-title {
    text-align: center;
    margin-bottom: 1em;
  }

  .events-content .section-body {
    text-align: center;
    margin-bottom: 2em;
  }

  .card-nav {
    display: none;
  }

  .stack {
    display: none;
  }

  .mobile-events-carousel {
    display: block;
  }

  .events-section{
    padding: 100px 0;
  }

  .features-grid{
    flex-direction: column;
  }

  .feature-card{
    width: 100%;
    min-height: 50vh;
  }

  /* Video Modal */
  .video-modal-content {
    width: 95%;
    max-height: 70vh;
  }
  
  .video-play-btn {
    width: 60px;
    height: 60px;
  }
  
  .video-play-btn i {
    font-size: 18px;
  }
  
  .video-modal-close {
    top: -35px;
    font-size: 20px;
  }

  /* Login Page */
  .login-section .container{
    max-width: 90%;
    padding: 10em 0 8em;
  }

  .login-content{
    padding: 3em 1.5em;
  }

  .login-content .section-title{
    margin-bottom: 1em;
  }

  /* Membership Page */
  .membership .features-section{
    padding: 0 0 8em;
  }
  .membership .features-section .features-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .membership .feature-card.niche, .membership .feature-card.refer{
    transform: unset;
  }


  .banner-normal#tour{
    min-height: 60vh;
    background-position: center;
  }

  .banner-normal#joining-fees{
    padding: 0 2em;
  }

  .banner-normal .banner-content{
    padding-left: 2em;
  }

  .banner-normal#joining-fees .banner-buttons{
    flex-direction: column;
  }

  .banner-normal#joining-fees .banner-buttons a{
    width: 100%;
  }


  /* Tradewinds Page */
  .tradewinds .banner-content{
    padding-left: 2em;
    padding-right: 0;
    justify-content: flex-start;
  }

  .tradewinds .text-section-2 p{
    width: 100%;
  }

  .gallery-splide .splide__slide.is-active{
    transform: unset;
  }

  .gallery-section .gallery-buttons{
    flex-direction: column;
    gap: 2em;
    margin: 4em 0 2em;
  }

  .promotions-section .splide__arrows{
    bottom: -90px;
  }


  /* Event Page */
  .event .banner-content {
      padding-left: 2em;
      padding-right: 0;
      justify-content: flex-start;
  }

  .event .text-section-1 .brand-logo {
      max-width: 200px;
  }


  .event .text-section-1 .details-wrapper{
    width: 100%;
  }

  .event .event-featured{
    flex-direction: column;
    gap: 0;
    padding: 0;
    align-items: center;
    margin-bottom: 3em;
  }

  .event .event-featured-item{
    width: 100%;
    padding: 1em;
  }

  /* Event Calendar Page */
  .event-calendar-section{
    width: 90%;
  }

  .event-calendar-header{
    flex-direction: column-reverse;
    gap: 1em;
    margin-bottom: 3em;
  }

  .event-calendar-header .calendar-filter{
    width: 100%;
  }

  .event-list{
      padding-left: 2em;
  }

  .event-date-label::before{
      left: -2.55rem;
  }

  .event-dot{
    left: -.5em;
  }

  .event-calendar-section .event-card{
      flex-direction: column-reverse;
      padding: 2em;
  }

  .event-calendar-section .event-card .event-image{
      width: 100%;
  }

  .event-calendar-section .event-title{
      font-size: 1.3em;
  }

  .event-calendar-section .event-card .event-details{
      width: 100%;
      text-align: left;
  }





  /* Mobile Footer */
  .footer{
    padding: 50px 0;
  }

  .footer .container{
    max-width: 100%;
  }

  /* Hide desktop footer sections */
  .footer-content.footer-left {
    display: none;
  }

  /* Show mobile accordion footer */
  .footer-section-mobile {
    display: block;
    width: 100%;
  }

  .footer-content.footer-right{
    width: 100%;
    align-items: flex-start;
    margin-left: 0;
    margin-bottom: 0.5em;
  }

  .footer-content.footer-right img{
    width: 150px;
    margin-bottom: 1.5em;
  }

  .footer-content.footer-right p{
    text-align: left;
    width: 100% !important;
    font-size: 1em;
  }

  .footer-row-2{
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 2em;
    margin-bottom: 1.5em;
  }

  .footer-row-2 p{
    width: 100%;
    font-size: 0.9em;
  }

  .footer-row-2 a{
    font-size: 0.9em;
  }

  .footer-row-3{
    margin-bottom: 2em;
  }

  .footer-row-3 .social-links{
    gap: 2em;
  }

  .footer-row-4{
    gap: 3em;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-row-4-right{
    flex-wrap: wrap;
    gap: 1em;
  }

  .footer-content-wrapper.footer-row-1 {
    flex-direction: column-reverse;
    gap: 0;
  }
  
  .footer-section-mobile .footer-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .footer-section-mobile .footer-section-header h4 {
    margin: 0;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text-light);
  }
  
  .footer-section-mobile .footer-section-header .accordion-icon {
    width: 13px;
    height: 13px;
    position: relative;
    transition: transform 0.3s ease;
  }
  
  .footer-section-mobile .footer-section-header .accordion-icon::before,
  .footer-section-mobile .footer-section-header .accordion-icon::after {
    content: '';
    position: absolute;
    background: var(--text-light);
    transition: all 0.3s ease;
  }
  
  .footer-section-mobile .footer-section-header .accordion-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
  
  .footer-section-mobile .footer-section-header .accordion-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }
  
  .footer-section-mobile .footer-section-header.active .accordion-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
  }

  .footer-section-mobile .footer-section-header.active h4{
    color: var(--gold-color);
  }    

  .footer-section-mobile .footer-section-header.active .accordion-icon::before,
  .footer-section-mobile .footer-section-header.active .accordion-icon::after {
    background: var(--gold-color);
  }
  
  .footer-section-mobile .footer-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .footer-section-mobile .footer-section-content ul {
    padding: 1rem 0;
  }
  
  .footer-section-mobile .footer-section-content li {
    margin-bottom: 0.5rem;
  }
  
  .footer-section-mobile .footer-section-content a {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-light);
    opacity: 0.8;
    transition: all 0.3s ease;
  }
}

/* Hide specific links when menu is active */
body.menu-active .header-left a:not(.nav-toggle),
body.menu-active .header-right a:not(.member-link):not(.search-toggle) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition-opacity), visibility 0.3s ease;
}

/* Gallery Carousel Styles */
.gallery-splide {
  margin-bottom: 2rem;
}

.gallery-splide .splide__track {
  overflow: visible;
}

.gallery-splide .splide__slide {
  transition: transform 0.3s ease;
}

.gallery-splide .splide__slide.is-active {
  transform: scale(1.18);
}

.gallery-splide .splide__slide.is-prev,
.gallery-splide .splide__slide.is-next {
  transform: scale(0.95);
  opacity: 0.8;
}

.gallery-splide .gallery-image {
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-splide .gallery-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-splide .splide__slide:hover .gallery-image img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery-splide .gallery-image img {
    height: 250px;
  }
}

/* Video Slide Styles */
.banner-slide.video-slide {
  position: relative;
}

.banner-slide.video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.banner-slide.video-slide:hover .video-overlay {
  opacity: 1;
}

.video-play-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.video-play-btn i {
  font-size: 24px;
  color: var(--accent-color);
  margin-left: 4px; /* Offset for play icon */
  transition: all 0.3s ease;
}

.video-play-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.video-play-btn:hover i {
  color: var(--gold-color);
}

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

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

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  max-height: 80vh;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-content video {
  width: 100%;
  height: 100%;
  display: block;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
  z-index: 10002;
}

.video-modal-close:hover {
  color: var(--gold-color);
  transform: scale(1.1);
}

/* Video Banner Styles */
.video-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: url('/tac/images/home/banner/home-hero-01.webp') no-repeat center center;
  background-size: cover;
}

.video-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.video-banner:hover .video-overlay {
  opacity: 1;
}

.video-play-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.video-play-btn i {
  font-size: 24px;
  color: var(--accent-color);
  margin-left: 4px; /* Offset for play icon */
  transition: all 0.3s ease;
}

.video-play-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.video-play-btn:hover i {
  color: var(--gold-color);
}


.overlay-animation {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 20%,
    rgba(255, 255, 255, 0.8) 40%,
    rgba(255, 255, 255, 0.6) 60%,
    rgba(255, 255, 255, 0.3) 80%,
    rgba(255, 255, 255, 0.1) 90%,
    rgba(255, 255, 255, 0) 100%,
    rgba(255, 255, 255, 0) 120%
  );
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.overlay-animation.tradewinds {
  background: linear-gradient(to top,
    #8dc4c1 0%,
    #8dc4c1 20%,
    rgba(141, 196, 193, 0.8) 40%,
    rgba(141, 196, 193, 0.6) 60%,
    rgba(141, 196, 193, 0.3) 80%,
    rgba(141, 196, 193, 0.1) 90%,
    rgba(141, 196, 193, 0) 100%,
    rgba(141, 196, 193, 0) 120%
  );
}

.overlay-mask {
  position: absolute;
  opacity: 0.05;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 1;
  transform: rotate(180deg);
}