/*--------------------------------------------------------------
# Imports: Colors & Typography Variables
--------------------------------------------------------------*/
@import '_colors.css';
@import '_typography.css';

/*--------------------------------------------------------------
# General Typography
--------------------------------------------------------------*/
body {
  font-family: var(--font-default);
  color: var(--color-default);
  background-color: var(--color-background);
  font-size: var(--p-size);
  line-height: var(--p-line-height);
}

h1 { font-size: var(--h1-size); line-height: var(--h1-line-height); font-family: var(--font-heading); }
h2 { font-size: var(--h2-size); line-height: var(--h2-line-height); font-family: var(--font-heading);}
h3 { font-size: var(--h3-size); line-height: var(--h3-line-height); font-family: var(--font-heading);}
h4 { font-size: var(--h4-size); line-height: var(--h4-line-height); font-family: var(--font-heading);}
h5 { font-size: var(--h5-size); line-height: var(--h5-line-height); font-family: var(--font-heading);}
h6 { font-size: var(--h6-size); line-height: var(--h6-line-height); font-family: var(--font-heading);}

p {
  font-size: var(--p-size);
  line-height: var(--p-line-height);
}

a {
  color: var(--color-link);
  text-decoration: none;
}

.small, small {
  font-size: var(--small-size);
  line-height: var(--small-line-height);
}

.caption {
  font-size: var(--caption-size);
  line-height: var(--caption-line-height);
}

.lead {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 400;
}

blockquote, .special-text {
  font-size: var(--p-size);
  line-height: var(--p-line-height);
}

.bi {
  color: var(--color-default);
}

/*--------------------------------------------------------------
# Containers 
--------------------------------------------------------------*/
.container-xl {
  max-width: 1420px;
}

/*--------------------------------------------------------------
# Buttons & CTA
--------------------------------------------------------------*/
.form-check-label {
    color: #000!important; /* Make sure text is visible */
}

.btn {
  font-family: var(--font-heading);
  font-weight: 300;
  border-radius: 0;
  padding: 0.4rem 1rem;
  font-size: var(--p-size);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-accent);
  border: 2px solid var(--color-accent);
  color: var(--color-heading);
}

.btn-primary:hover {
  background-color: color-mix(in srgb, var(--color-accent), transparent 15%);
  border-color: color-mix(in srgb, var(--color-accent), transparent 15%);
  transform: translateY(-2px);
}

.btn-secondary-black {
  background-color: var(--color-default);
  border: 2px solid var(--color-default);
  color: var(--color-surface);
}

.btn-secondary-black:hover {
  background-color: color-mix(in srgb, var(--color-default), transparent 15%);
  border-color: color-mix(in srgb, var(--color-default), transparent 15%);
  transform: translateY(-2px);
}

.btn-secondary-accent {
  background-color: var(--color-accent);
  border: 2px solid var(--color-accent);
  color: var(--color-surface);
}

.btn-secondary-accent:hover {
  background-color: color-mix(in srgb, var(--color-default), transparent 15%);
  border-color: color-mix(in srgb, var(--color-default), transparent 15%);
  transform: translateY(-2px);
}

.btn-secondary-outline {
  background-color: transparent;
  border: 2px solid var(--color-contrast);
  color: var(--color-contrast);
}

.btn-secondary-outline:hover {
  background-color: var(--color-contrast);
  border: 2px solid var(--color-surface);
  color: var(--color-surface);
}

.btn-secondary-thumb {
  background-color: transparent;
  border: none;
  padding: 0;
  color: var(--color-contrast);
}

@media (max-width: 576px) {
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Disable AOS animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  text-align: center;
  padding: 20px 0;
}

.page-title .breadcrumbs {
  margin-bottom: 1.5rem;
}

.page-title .breadcrumbs .breadcrumb {
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--color-default), transparent 30%);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item.active {
  color: var(--color-accent);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a:hover {
  color: var(--color-accent);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a i {
  font-size: 0.9rem;
  margin-right: 0.2rem;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: color-mix(in srgb, var(--color-default), transparent 50%);
}

.page-title .title-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.page-title .title-wrapper h1 {
  font-size: var(--h1-size);
  line-height: var(--h1-line-height);
  font-weight: 700;
  color: var(--color-heading);
}

.page-title .title-wrapper p {
  font-size: var(--p-size);
  line-height: var(--p-line-height);
  color: color-mix(in srgb, var(--color-default), transparent 20%);
}

@media (max-width: 768px) {
  .page-title .title-wrapper h1 {
    font-size: var(--h2-size);
  }

  .page-title .title-wrapper p {
    font-size: var(--p-size);
  }
}

@media (max-width: 576px) {
  .page-title .title-wrapper h1 {
    font-size: var(--h3-size);
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--color-default);
  background-color: var(--color-background);
  padding: 15px 0;
  scroll-margin-top: 90px;
}

.light-background {
  color: var(--color-default);
  background-color: var(--color-background);
}


@media (min-width: 1200px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

@media (min-width: 780px) {
  section,
  .section {
    padding: 30px 0;
  }
}

.page-heading {
  color: var(--color-heading);
  margin-bottom: 1.5rem;
  font-size: var(--h1-size);
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1em;
  display: block;
  max-width: 500px;
  padding-bottom: 1px;
  font-family: var(--heading-font);
}

.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: var(--h2-size);
  font-weight: 700;
  margin-bottom: 10px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--color-heading);
  background-clip: text;
  position: relative;
}

.section-title .title-shape {
  width: 200px;
  height: 20px;
  margin: 0 auto;
  color: var(--color-accent);
  opacity: 0.5;
}

.section-title .title-shape svg {
  width: 100%;
  height: 100%;
}

.calendly-inline-widget {
  height: 700px;
  max-height: 90vh; /* never taller than viewport */
  min-height: 400px; /* ensures it’s usable on small devices */
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: var(--h3-size);
  }

  .section-title .subtitle-wrapper .subtitle {
    font-size: var(--small-size);
  }
}

/*--------------------------------------------------------------
# Global Spacing
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .gap-xs-2 {
    gap: 1.5rem;
  }
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Header / Navigation
--------------------------------------------------------------*/

/* Sticky header with scroll hide */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  padding: 10px 0;
  background-color: var(--color-nav-mobile-bg);
  transition: top 0.3s ease-in-out, background 0.3s ease-in-out;
}

.header.hidden {
  top: -120px; /* hide on scroll down */
}

.navbar-toggler {
  border: none!important;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: none!important;
    box-shadow: none!important; 
}

/* Desktop Navigation */
@media (min-width: 1200px) {

  /* CTA Buttons container */
  .header-cta {
    display: flex;
    gap: 15px;
    align-items: center;
  }

  /* Ensure nav is flex on desktop */
  #navmenu ul.navbar-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #navmenu li.nav-item {
    margin-left: 15px;
    position: relative;
  }

  .navbar-nav a.nav-link {
    display: flex;
    align-items: center;
    padding: 18px 15px;
    font-size: var(--p-size);
    font-family: var(--font-default);
    font-weight: 400;
    color: var(--nav-color);
    transition: color 0.3s;
  }

  #navmenu a.nav-link i {
    margin-left: 5px;
    font-size: 12px;
    transition: 0.3s;
  }

  /* Dropdown hover behavior 
.navbar .dropdown:hover > .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
  }
*/

.navbar .dropdown-menu .card {
  overflow: hidden;
  border: none;
  border-radius: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar .dropdown-menu .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.navbar .dropdown-menu .card-img {
  object-fit: cover;
  height: 200px; /* adjust for consistent height */
}


}

/* Mobile Navigation */
@media (max-width: 1199px) {

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--nav-color);
    cursor: pointer;
    transition: 0.3s;
  }

  #navmenu {
    display: none; /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    background: var(--nav-mobile-background-color);
    padding: 60px 20px 20px;
    z-index: 9998;
    flex-direction: column;
  }

  #navmenu ul.navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
  }

  #navmenu li.nav-item {
    width: 100%;
  }


  .navbar-nav a.nav-link {
    padding: 12px 20px;
    font-size: var(--p-size);
    font-family: var(--font-default);
    font-weight: 400;
    color: var(--nav-color);
  }

  #navmenu .dropdown .dropdown-menu {
    position: static;
    display: none;
    padding-left: 20px;
  }

  #navmenu .dropdown .dropdown-active {
    display: block;
  }

  .mobile-nav-active #navmenu {
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,0.8);
  }

  /* Hide CTA buttons on mobile if desired */
  .header-cta {
    display: none;
  }
}



/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* Use .btn-primary and .btn-secondary-black instead of hard-coded hero button styles */
.hero {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero .container span, #page-banner .container span {
  color: var(--color-heading);
  margin-bottom: 1.5rem;
  font-size: var(--h1-size);
  text-transform: uppercase;
  font-weight: 700;
  line-height: var(--h1-line-height);
  display: block;
  padding-bottom: 15px;
  font-family: var( --font-heading);
}

@media (min-width: 768px) {

  .hero .container span {
    max-width: 530px;
  }

  #page-banner .container span  {
    max-width: 780px;
  }
  .hero .container .lead {
  margin-bottom: 2rem;
  color: var(--color-default);
  max-width: 600px;
}
}

.hero .container .lead, #page-banner .container .lead {
  margin-bottom: 2rem;
  color: var(--color-default);
  max-width: 600px;
}

/* Hero stats */
.hero .hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.hero .hero-stats .stat-number {
  display: block;
  font-size: var(--h2-size);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1;
}

.hero .hero-stats .stat-label {
  font-size: var(--small-size);
  color: color-mix(in srgb, var(--color-default), transparent 30%);
  margin-top: 0.5rem;
  display: block;
}

/* Hero image & shapes */
.hero .hero-image {
  position: relative;
  padding: 2rem;
}

.hero .hero-image img {
  position: relative;
  z-index: 2;
}

.hero .hero-image .shape-1,
.hero .hero-image .shape-2 {
  position: absolute;
  border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
  z-index: 1;
}

.hero .hero-image .shape-1 {
  width: 300px;
  height: 300px;
  background-color: color-mix(in srgb, var(--color-accent), transparent 85%);
  top: -20px;
  right: -20px;
  animation: morphShape 15s linear infinite;
}

.hero .hero-image .shape-2 {
  width: 200px;
  height: 200px;
  background-color: color-mix(in srgb, var(--color-heading), transparent 90%);
  bottom: -20px;
  left: -20px;
  animation: morphShape 20s linear infinite reverse;
}

.hero.bg-hero-image {
  background: url('../../assets/img/hero/herotest.png') no-repeat center center/cover;
  min-height: 70vh;
  position: relative;
}

#page-banner.contactus-hero{
  background: url('../../assets/img/hero/contacthero.png') no-repeat center center/cover;
  min-height: 50vh;
  position: relative;
}

@media (max-width: 760px) {
  .hero .container {
    text-align: center;
  }

  .hero.bg-hero-image {
  background: url('../../assets/img/hero/hero-mobile.png') no-repeat center center/cover;
}
}


@keyframes morphShape {
  0% { border-radius: 30% 70% 70% 30%/30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25%/76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67%/55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42%/63% 68% 32% 37%; }
  100% { border-radius: 30% 70% 70% 30%/30% 30% 70% 70%; }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
/* About section layout uses .btn-about-outline for its button */
.about .about-image { position: relative; }

.about .about-image img { box-shadow: 0 0 30px rgba(0,0,0,0.1); }

.about .about-content { padding-left: 2rem; }

@media (max-width: 991.98px) {
  .about .about-content { padding-left: 0; margin-top: 3rem; }
}

.about .about-content .subtitle {
  font-size: var(--small-size);
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}

.about .about-content h2 { font-size: var(--h2-size); font-weight: 700; margin-bottom: 1.5rem; }

.about .about-content .lead { font-size: var(--p-size); color: color-mix(in srgb, var(--color-default), transparent 25%); }

.about .personal-info { margin-top: 2rem; padding: 2rem; background-color: var(--color-surface); border-radius: 1rem; box-shadow: 0 0 30px rgba(0,0,0,0.05); }

.about .personal-info .info-item { display: flex; flex-direction: column; gap: 0.5rem; }
.about .personal-info .info-item .label { font-size: var(--small-size); color: color-mix(in srgb, var(--color-default), transparent 40%); }
.about .personal-info .info-item .value { font-weight: 600; color: var(--color-heading); }

.about .signature { display: flex; align-items: center; gap: 1.5rem; }
.about .signature .signature-image { max-width: 150px; }
.about .signature .signature-info h4 { font-size: var(--p-size); margin-bottom: 0.25rem; }
.about .signature .signature-info p { font-size: var(--small-size); color: color-mix(in srgb, var(--color-default), transparent 40%); margin: 0; }

.video-wrapper { cursor: pointer; }
.play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: none; background: transparent; z-index: 2; transition: transform 0.2s ease; }
.play-button:hover { transform: translate(-50%, -50%) scale(1.1); }
.circle-background { fill: #fc0; }
.triangle-play { fill: #000; }

.section.about-me { padding: 100px 0; }
.section.about-me h1 { font-weight: 600; font-size: 2.3rem; }
.section .img-absolute-left-top { 
  width: 100%;
  height: auto; 
  max-width: 70%; 
  box-shadow: rgba(0,0,0,0.15) 2.4px 2.4px 3.2px; 
  border-radius: 50%; 
  border: 3px solid var(--color-default);
  z-index: 2; 
}

.section .spacer { min-height: 130px; }

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters-container {
  margin-bottom: 40px;
}

.portfolio .portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.portfolio .portfolio-filters li {
  font-size: 15px;
  font-weight: 500;
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 30px;
  background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
  color: var(--default-color);
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.portfolio .portfolio-filters li.filter-active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.portfolio .portfolio-card {
  background-color: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.1);
}

.portfolio .portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  visibility: visible;
}

.portfolio .portfolio-card:hover .portfolio-overlay .portfolio-actions {
  transform: translateY(0);
}

.portfolio .portfolio-card .portfolio-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.portfolio .portfolio-card .portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-in-out;
}

.portfolio .portfolio-card .portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-in-out;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.portfolio .portfolio-card .portfolio-overlay .portfolio-actions {
  display: flex;
  gap: 15px;
  transform: translateY(20px);
  transition: all 0.4s ease-in-out;
}

.portfolio .portfolio-card .portfolio-overlay .portfolio-actions a {
  width: 45px;
  height: 45px;
  background-color: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.portfolio .portfolio-card .portfolio-overlay .portfolio-actions a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

.portfolio .portfolio-card .portfolio-content {
  padding: 25px;
}

.portfolio .portfolio-card .portfolio-content .category {
  font-size: 14px;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 10px;
  display: block;
}

.portfolio .portfolio-card .portfolio-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 15px;
  transition: color 0.3s ease;
}

.portfolio .portfolio-card .portfolio-content h3:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-card .portfolio-content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    padding: 6px 15px;
  }

  .portfolio .portfolio-card .portfolio-content {
    padding: 20px;
  }

  .portfolio .portfolio-card .portfolio-content h3 {
    font-size: 18px;
  }

  .portfolio .portfolio-card .portfolio-content p {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Investment Tools
--------------------------------------------------------------*/
.investment-tools {
  padding-bottom: 250px;
}

.investment-tools .testimonials-slider {
  width: 100%;
  position: relative;
  padding-bottom: 60px;
}

.investment-tools .btn-primary {
  background-color: var(--default-color);
  border: 2px solid var(--default-color);
  color: var(--surface-color);
  padding: 10px 30px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.investment-tools .tool-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 344px;
  gap: 10px; 
}

.investment-tools .tool-item h3 {
  font-weight: 600;
}

.investment-tools .swiper-wrapper {
  height: auto;
}

.investment-tools .testimonial-item {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 20px;
}

@media (max-width: 575px) {
  .investment-tools .testimonial-item {
    padding: 20px;
  }
}

.investment-tools .testimonial-item h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.investment-tools .testimonial-item p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  font-style: italic;
}

.testimonials .swiper-navigation,
.guides .swiper-navigation {
  position: absolute;
  bottom: 0;
  gap: 80px;
}

.investment-tools .swiper-button-prev,
.investment-tools .swiper-button-next,
.guides .swiper-button-prev,
.guides .swiper-button-next {
  width: 44px;
  height: 44px;
  background-color: var(--color-surface);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color) 10%, transparent);
  transition: 0.3s;
}

.investment-tools .swiper-button-prev::after,
.investment-tools .swiper-button-next::after,
.guides .swiper-button-prev::after,
.guides .swiper-button-next::after {
  font-size: var(--h4-size);
  color: var(--color-default);
  font-weight: 600;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none; /* hide default Swiper arrow */
}

.testimonials .swiper-button-prev:hover,
.testimonials .swiper-button-next:hover,
.guides .swiper-button-prev:hover,
.guides .swiper-button-next:hover {
  background-color: var(--color-surface);
  border-color: var(--color-surface);
}

.investment-tools .swiper-button-prev:hover::after,
.investment-tools.swiper-button-next:hover::after,
.guides .swiper-button-prev:hover::after,
.guides .swiper-button-next:hover::after {
  color: var(--color-default);
}

/* Make arrows overlay slider and partially outside */
.services-swiper {
  position: relative;
}


.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  color: #000; /* arrow color */
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

/* Push arrows outside edges */
.swiper-button-prev {
  left: 5px; /* adjust for padding */
}

.swiper-button-next {
  right: 5px; /* adjust for padding */
}

/* Hover effect: scale and increase opacity */
.swiper-button-prev:hover,
.swiper-button-next:hover {
  transform: translateY(-50%) scale(1.2);
  opacity: 1;
}

/* Optional: bigger touch area on mobile */
.swiper-button-prev i,
.swiper-button-next i {
  pointer-events: none; /* ensure parent div handles click */
}


/* Video Card */
.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fc0;
  padding: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-card .play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: none;
  border-radius: 0.75rem;
}

.video-card.playing img,
.video-card.playing .play-btn {
  display: none;
}

.video-card.playing iframe {
  display: block;
}


.guide-wrapper {
    display: flex;
    gap: 10px;
    margin: 0 auto;
    padding: 20px;
}

.guide-content a {
  color: #005d99;
  text-decoration: underline;
}

.guide-sidebar {
    flex: 0 0 250px;
    position: sticky;
    top: 20px;
    background: var(--color-background);
    border: 0px solid var(--color-default);
    padding: 15px;
    border-radius: 0px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.guide-sidebar h3 {
    margin-top: 0;
    color: #005d99;
    
}

.guide-sidebar ul {
    list-style: none;
    padding-left: 0;
}

.guide-sidebar li {
    margin-bottom: 8px;
}

.guide-sidebar a {
    text-decoration: none;
    color: var(--color--default);
}

.guide-sidebar a.active {
    font-weight: bold;
    text-decoration: underline;
    color: #005d99;
}

.guide-content {
    flex: 1;
}

/* Responsive: sidebar below 768px */
@media (max-width: 768px) {
    .guide-wrapper {
        flex-direction: column;
    }

    .guide-sidebar {
        position: relative;
        max-height: none;
        margin-bottom: 20px;
    }
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  padding: 80px 0;
}

.services .container {
  margin-top: -280px;
  position: relative;
  z-index: 2;
}

.services .row > * {
  margin-top: 0;
}

.services .card {
  border: 2px solid #000;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.services .card:hover {
  transform: scale(1.02);
}

.services .card-title {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  color: var(--heading-color);
}

.services .btn-primary {
  padding: 10px 30px;
  border-radius: 0;
  font-weight: 500;
  transition: all 0.3s ease;
}

.services .btn-secondary-black,
.service-details .btn-secondary-black {
  border-radius: 0;
  width: 100%;
  transition: all 0.3s ease;
}

.services .btn-outline-primary {
  color: var(--heading-color);
  border-color: var(--accent-color);
  padding: 10px 30px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.services .btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: var(--heading-color);
}

.services .service-item {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.services .service-item:hover {
  transform: scale(1.05);
}

.services .service-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
  display: inline-block;
  margin-bottom: 15px;
}

.services .service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.services .service-item h3 a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.services .service-item h3 a:hover {
  color: var(--accent-color);
}

.services .service-item p {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.service-page .application-form {
  background: var(--background-color);
  color: var(--default-color);
  border: none;
  border-radius: 10px;
  padding: 20px;
}

.service-page .application-form label {
  font-size: 0.95rem;
  font-weight: 400;
}

.service-page .application-form .btn-primary {
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 991px) {
  .services h2 {
    font-size: 2rem;
  }
}

/*-------------------------------------------------------------- 
# Guides Section
--------------------------------------------------------------*/
.guides .btn-primary {
  color: var(--heading-color);
  border: none;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.guides .btn-primary:hover {
  color: var(--accent-color);
}

.divider {
  height: 0.1rem;
  width: 100%;
  background-color: #000; /* Adjust as needed */
  border: none;
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 10px;
  border-top: 1px solid var(--default-color);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
}

.faq .faq-container .faq-item:last-child {
  border-bottom: 1px solid var(--default-color);
}

.faq .faq-container .faq-item h3 {
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
  font-family: var(--font-default);
  font-size: var(--h6-size);
}

.faq .faq-container .faq-item h3:hover {
  color: var(--color-accent);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: var(--h6-size);
  line-height: 0;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--color-accent);
}

.faq .faq-container .faq-active {
  background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.faq .faq-container .faq-active h3 {
  color: var(--color-default);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--color--default);
}

/*--------------------------------------------------------------
# Contact Page & Sections
--------------------------------------------------------------*/
.contact .section-category {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact .content h2 {
  line-height: var(--h2-line-height);
}

.contact .content .lead {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.contact .contact-info .info-item {
  font-size: 1.1rem;
}

.contact .contact-info .info-item i {
  color: var(--accent-color);
  font-size: 1.4rem;
}

.contact .contact-info .map-link {
  color: var(--heading-color);
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.contact .contact-info .map-link i {
  transition: transform 0.3s ease;
}

.contact .contact-info .map-link:hover {
  color: var(--accent-color);
}

.contact .contact-info .map-link:hover i {
  transform: translateX(5px);
}

.contact .contact-form {
  background-color: var(--surface-color);
  border: none;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

.contact .contact-form .form-control,
.contact .contact-form .form-select {
  padding: 0.75rem 1.25rem;
  border-color: var(--color-surface);
  border-radius: 0;
  font-size: 1rem;
  color: var(--color-surface);
}

.contact .contact-form .form-control:focus,
.contact .contact-form .form-select:focus {
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 5%);
}

.contact .contact-form .form-control::placeholder,
.contact .contact-form .form-select::placeholder {
  color: #000 !important;
}

.contact .contact-form .btn-primary {
  background-color: var(--accent-color);
  color: #000 !important;
  border-color: var(--accent-color);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 0;
  transition: all 0.3s ease;
}

.contact .contact-form .btn-submit:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-1px);
}

.contact .contact-form .btn-submit:active {
  transform: translateY(0);
}

#page-banner .sub-heading {
  font-size: 1.25rem;
  font-weight: 500;
}

#contact-guides .contact-form h2 {
  color: var(--default-color);
  font-weight: 600;
}

#contact-guides .popular-guides h3 {
  color: var(--default-color);
  font-weight: 500;
  text-align: center;
  padding: 0.5rem;
}

#contact-guides .contact-form input,
#contact-guides .contact-form textarea {
  color: var(--color-default);
  border-radius: 0px;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--color-default);
  font-size: var(--p-size);
  font-weight: var(--font-default);
}

#contact-guides .contact-form input::placeholder,
#contact-guides .contact-form textarea::placeholder {
  color: var(--color--default);
}


#contact-guides .form-check {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

#contact-guides .form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: var(--default-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem var(--accent-color);
}

#contact-guides .popular-guides {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card Overlay Styling */
.guide-card .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
  color: #fff;
  transition: background 0.3s ease;
}

/* Hover Effects */
.guide-card img {
  transition: transform 0.4s ease;
}

.guide-card:hover img {
  transform: scale(1.05);
}

.guide-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000; /* optional: adds black background before video loads */
    border-radius: 12px; /* optional: rounded corners */
  }

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




/*--------------------------------------------------------------
# Cookie Bar
--------------------------------------------------------------*/

.cookie-banner {
  background-color: var(--color-background);
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 15px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  flex-wrap: wrap;
  color: var(--color-contrast)
}

.cookie-banner p {
  margin-bottom: 10;
}


.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.cookie-modal.hidden {
  display: none;
}

.cookie-modal-content {
  background: var(--color-background);
  padding: 30px;
  border-radius: 0px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.cookie-modal .cookie-title {
  gap: 10px;
  align-items: baseline;
}

.cookie-modal .cookie-title .bi {
  color: var(--color--default);
  font-size: 2rem;
}

.form-switch {
  margin-bottom: 1em;
}

.form-switch label {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 50px;
  cursor: pointer;
  font-size: 1rem;
}

.form-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}

.form-switch .slider {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 20px;
  background-color: #dd2626;
  border-radius: 20px;
  transition: 0.4s;
}

.form-switch .slider:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 2px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

.form-switch input:checked + .slider {
  background-color: var(--color-default);
}

.form-switch input:checked + .slider:before {
  transform: translateX(20px);
}







