/* DoROAD Website - Enhanced with Responsive Design & Dark/Light Mode */

:root {
  /* Light Mode Colors (Default) */
  --color-primary: #1312AE;
  --color-secondary: #ffcb03;
  --color-tertiary: #007C2E;
  --color-primary-darker: #0b0b7a;
  --color-secondary-darker: #dea403;
  --color-tertiary-darker: #016b28;
  --color-primary-opacity: #5ec5763a;
  --color-secondary-opacity: #ffcd0331;
  --color-tertiary-opacity: #ff58602d;
  --gradient-primary: linear-gradient(135deg, #1312ae 10%, #6552e2 40%, #ffcb03 90%);
  --gradient-secondary: linear-gradient(to top left, #ffb003, #ffcb03);
  
  /* Base Colors - Light Mode */
  --color-bg-primary: #f3f3f3;
  --color-bg-secondary: #fff;
  --color-text-primary: #444;
  --color-text-secondary: #666;
  --color-border: #ddd;
  --color-card-bg: #fff;
  --color-card-shadow: rgba(0, 0, 0, 0.1);
  --color-footer-bg: #37383d;
  --color-footer-text: #eee;
  --color-modal-bg: #f3f3f3;
  
  /** * typography */

   --ff-abril-fatface: 'Abril Fatface', cursive;
   --ff-comforter-brush: 'Comforter Brush', cursive;
   --ff-heebo: 'Heebo', sans-serif;
 
   --fs-1: 3.4rem;
   --fs-2: 3.2rem;
   --fs-3: 3rem;
   --fs-4: 2.4rem;
   --fs-5: 1.8rem;
   --fs-6: 1.7rem;
   --fs-7: 1.4rem;
   --fs-8: 1.2rem;
 
   --fw-400: 400;
   --fw-500: 500;
   --fw-600: 600;
   --fw-700: 700;

  /* Responsive Breakpoints */
  --bp-small: 37.5em;    /* 600px */
  --bp-medium: 56.25em;  /* 900px */
  --bp-large: 75em;      /* 1200px */
  --bp-xlarge: 112.5em;  /* 1800px */
}

/* Dark Mode Colors */
[data-theme='dark'] {
  --color-primary: #6552e2;         /* Keeping as in your original dark mode */
  --color-secondary: #ffcb03;       /* Remains the same */
  --color-tertiary: #00b337;         /* Updated from pink to a bright green based on #007C2E */
  --color-primary-darker: #4a3cb4;  /* Adjusted to be a deeper version of the dark primary */
  --color-secondary-darker: #dea403;/* Matching the light mode secondary-darker for consistency */
  --color-tertiary-darker: #015d22;   /* A darker green to complement --color-tertiary */
  --color-primary-opacity: #6552e24d;
  --color-secondary-opacity: #ffcd0331;
  --color-tertiary-opacity: #00b3374d; /* Derived from the new tertiary with similar opacity */
  
  /* Base Colors - Dark Mode */
  --color-bg-primary: #121212;
  --color-bg-secondary: #1e1e1e;
  --color-text-primary: #e0e0e0;
  --color-text-secondary: #b0b0b0;
  --color-border: #333;
  --color-card-bg: #1e1e1e;
  --color-card-shadow: rgba(0, 0, 0, 0.3);
  --color-footer-bg: #0a0a0a;
  --color-footer-text: #bbb;
  --color-modal-bg: #1e1e1e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%; /* 10px = 1rem */
  box-sizing: border-box;
  scroll-behavior: smooth;
  
  /* Responsive Font Sizing */
  @media only screen and (max-width: 75em) { /* 1200px */
    font-size: 56.25%; /* 9px = 0.9rem */
  }
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    font-size: 50%; /* 8px = 0.8rem */
  }
  
  @media only screen and (min-width: 112.5em) { /* 1800px */
    font-size: 75%; /* 12px = 1.2rem */
  }
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: var(--color-text-primary);
  line-height: 1.9;
  background-color: var(--color-bg-primary);
  transition: background-color 0.3s, color 0.3s;
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--color-card-bg);
  box-shadow: 0 0.5rem 1rem var(--color-card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.theme-toggle svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: var(--color-primary);
}

/* Show/hide based on current theme */
.theme-toggle .moon-icon {
  display: block;
}

.theme-toggle .sun-icon {
  display: none;
}

[data-theme='dark'] .theme-toggle .moon-icon {
  display: none;
}

[data-theme='dark'] .theme-toggle .sun-icon {
  display: block;
  fill: var(--color-secondary);
}

/* GENERAL ELEMENTS */
.section {
  padding: 15rem 3rem;
  border-top: 1px solid var(--color-border);
  transition: transform 1s, opacity 1s, background-color 0.3s, color 0.3s;
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    padding: 10rem 3rem;
  }
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    padding: 7rem 2rem;
  }
}

.section--hidden {
  opacity: 0;
  transform: translateY(8rem);
}

.section__title {
  max-width: 80rem;
  margin: 0 auto 8rem auto;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    margin-bottom: 5rem;
  }
}

.section__description {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section__header {
  font-size: 4rem;
  line-height: 1.3;
  font-weight: 500;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    font-size: 3rem;
  }
}

.btn {
  display: inline-block;
  background-color: var(--color-primary);
  font-size: 1.6rem;
  font-family: inherit;
  font-weight: 500;
  border: none;
  padding: 1.25rem 4.5rem;
  border-radius: 10rem;
  cursor: pointer;
  transition: all 0.3s;
  color: white;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    padding: 1rem 3rem;
    font-size: 1.4rem;
  }
}

.btn:hover {
  background-color: var(--color-primary-darker);
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn--text {
  display: inline-block;
  background: none;
  font-size: 1.7rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--color-primary);
  border: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn--text:hover {
  color: var(--color-primary-darker);
  transform: translateY(-2px);
}

p {
  color: var(--color-text-secondary);
}

button:focus {
  outline: none;
}

img {
  transition: filter 0.5s;
}

.lazy-img {
  filter: blur(20px);
}

/* NAVIGATION */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 9rem;
  width: 100%;
  padding: 0 6rem;
  z-index: 100;
  position: absolute;
  top: 0;
  left: 0;
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    padding: 0 3rem;
  }
}

/* Mobile nav button */
.nav__btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    display: block;
    z-index: 2000;
  }
}

.nav__btn span {
  display: block;
  width: 3rem;
  height: 2px;
  margin: 6px 0;
  position: relative;
  background-color: #fff;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

.nav.sticky .nav__btn span {
  background-color: var(--color-text-primary);
}

.nav.open .nav__btn span:first-child {
  transform: rotate(45deg) translate(1px, -1px);
}

.nav.open .nav__btn span:nth-child(2) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

.nav.open .nav__btn span:last-child {
  transform: rotate(-45deg) translate(0, -1px);
}

/* nav and sticky class at the same time */
.nav.sticky {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

[data-theme='dark'] .nav.sticky {
  background-color: rgba(30, 30, 30, 0.95);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
}

.nav.sticky .nav__link:link,
.nav.sticky .nav__link:visited {
  color: var(--color-text-primary);
}

.nav__logo {
  height: 4.5rem;
  transition: all 0.3s;
}

[data-theme='dark'] .nav__logo {
  filter: brightness(0) invert(1);
}

.nav__links {
  display: flex;
  align-items: center;
  list-style: none;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 0;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.97);
    overflow: hidden;
    transition: width 0.3s ease-in-out;
    z-index: 1500;
  }
  
  [data-theme='dark'] & {
    @media only screen and (max-width: 37.5em) { /* 600px */
      background-color: rgba(30, 30, 30, 0.97);
    }
  }
}

.nav.open .nav__links {
  @media only screen and (max-width: 37.5em) { /* 600px */
    width: 70vw;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
  }
}

.nav__item {
  margin-left: 4rem;
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    margin-left: 2rem;
  }
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    margin: 1.5rem 0;
  }
}

.nav__link:link,
.nav__link:visited {
  font-size: 1.7rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  display: block;
  transition: all 0.3s;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    color: var(--color-text-primary);
    font-size: 2rem;
  }
}

.nav__link:hover {
  color: var(--color-secondary);
}

.nav__link--btn:link,
.nav__link--btn:visited {
  padding: 0.8rem 2.5rem;
  border-radius: 3rem;
  background-color: var(--color-secondary);
  color: #222;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    margin-top: 1.5rem;
  }
}

.nav__link--btn:hover,
.nav__link--btn:active {
  color: inherit;
  background-color: var(--color-secondary-darker);
  color: #333;
}

/* HEADER - Hero Background 
.header {
  height: 100vh;
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/vcsb.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
*/
/* Uncomment this block if you want to use a video background instead */
.header {
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

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


.header__title {
  text-align: center;
  max-width: 115rem;
  padding: 0 3rem;
  margin-top: 9rem; /* To account for the navigation height */
  z-index: 1;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    margin-top: 0;
    padding: 0 2rem;
  }
}

.header__title h1,
.header__title h4 {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h1 {
  font-size: 7rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    font-size: 5.5rem;
  }
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    font-size: 4rem;
  }
}

h4 {
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 4rem;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    font-size: 2rem;
    margin-bottom: 3rem;
  }
}

.header__img {
  display: none; /* Hide the image as we're using a background instead */
}

.btn--scroll-to {
  color: #fff;
  border-color: #fff;
  margin-top: 2rem;
}

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  display: block;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  opacity: 0.7;
  transform: scale(1.07, 1.05) skewX(-15deg);
  background-image: var(--gradient-primary);
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin: 0 12rem;
  
  @media only screen and (max-width: 75em) { /* 1200px */
    margin: 0 6rem;
  }
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    grid-template-columns: 1fr;
    margin: 0 3rem;
  }
}

.features__img {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 2rem 5rem var(--color-card-shadow);
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    max-width: 50rem;
    margin: 0 auto;
  }
}

.features__feature {
  align-self: center;
  justify-self: center;
  width: 70%;
  font-size: 1.5rem;
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    width: 100%;
    max-width: 50rem;
    margin: 0 auto;
  }
}

.features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-opacity);
  height: 5.5rem;
  width: 5.5rem;
  border-radius: 50%;
  margin-bottom: 2rem;
}

.features__icon svg {
  height: 2.5rem;
  width: 2.5rem;
  fill: var(--color-primary);
}

.features__header {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

/* OPERATIONS */
.operations {
  max-width: 100rem;
  margin: 12rem auto 0 auto;
  background-color: var(--color-bg-secondary);
  border-radius: 1rem;
  box-shadow: 0 2rem 5rem var(--color-card-shadow);
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    margin-top: 8rem;
    max-width: 85%;
  }
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    margin-top: 5rem;
    max-width: 95%;
  }
}

.operations__tab-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    flex-direction: column;
    align-items: center;
  }
}

.operations__tab {
  margin-right: 2.5rem;
  transform: translateY(-50%);
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    margin-right: 0;
    margin-bottom: 1rem;
    transform: translateY(-30%);
  }
}

.operations__tab span {
  margin-right: 1rem;
  font-weight: 600;
  display: inline-block;
}

.operations__tab--1 {
  background-color: #1312AE;
}

.operations__tab--1:hover {
  background-color: var(--color-secondary-darker);
}

.operations__tab--2 {
  background-color: #FCD022;
}

.operations__tab--1:hover {
  background-color: var(--color-secondary-darker);
}

.operations__tab--3 {
  background-color: #007C2E;
  margin: 0;
}

.operations__tab--3:hover {
  background-color: var(--color-secondary-darker);
}

.operations__tab--active {
  transform: translateY(-66%);
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    transform: translateY(-40%);
  }
}

.operations__content {
  display: none;
  font-size: 1.7rem;
  padding: 2.5rem 7rem 6.5rem 7rem;
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    padding: 2.5rem 3.5rem 5rem 3.5rem;
  }
}

.operations__content--active {
  display: grid;
  grid-template-columns: 7rem 1fr;
  column-gap: 3rem;
  row-gap: 0.5rem;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.operations__header {
  font-size: 2.25rem;
  font-weight: 500;
  align-self: center;
  color: var(--color-text-primary);
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    margin-top: 2rem;
  }
}

.operations__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    margin: 0 auto;
  }
}

.operations__icon svg {
  height: 2.75rem;
  width: 2.75rem;
}

.operations__content p {
  grid-column: 2;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    grid-column: 1;
  }
}

.operations__icon--1 {
  background-color: var(--color-secondary-opacity);
}
.operations__icon--2 {
  background-color: var(--color-primary-opacity);
}
.operations__icon--3 {
  background-color: var(--color-tertiary-opacity);
}
.operations__icon--1 svg {
  fill: var(--color-secondary-darker);
}
.operations__icon--2 svg {
  fill: var(--color-primary);
}
.operations__icon--3 svg {
  fill: var(--color-tertiary);
}

/* SLIDER */
.slider {
  max-width: 100rem;
  height: 50rem;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    height: 55rem;
  }
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    height: 65rem;
  }
}

.slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s;
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    height: 55rem;
  }
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    height: 65rem;
  }
}

.slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  color: #333;
  border-radius: 50%;
  height: 5.5rem;
  width: 5.5rem;
  font-size: 3.25rem;
  cursor: pointer;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    height: 4.5rem;
    width: 4.5rem;
    font-size: 2.5rem;
  }
}

[data-theme='dark'] .slider__btn {
  background: rgba(30, 30, 30, 0.7);
  color: #fff;
}

.slider__btn--left {
  left: 6%;
  transform: translate(-50%, -50%);
}

.slider__btn--right {
  right: 6%;
  transform: translate(50%, -50%);
}

.dots {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dots__dot {
  border: none;
  background-color: #b9b9b9;
  opacity: 0.7;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  margin-right: 1.75rem;
  cursor: pointer;
  transition: all 0.5s;
}

.dots__dot:last-child {
  margin: 0;
}

.dots__dot--active {
  background-color: #888;
  opacity: 1;
}

/* TESTIMONIALS */
.testimonial {
  width: 65%;
  position: relative;
  background-color: var(--color-bg-secondary);
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 1.5rem 4rem var(--color-card-shadow);
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    width: 75%;
  }
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    width: 85%;
    padding: 2rem;
  }
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: -5.7rem;
  left: -6.8rem;
  line-height: 1;
  font-size: 20rem;
  font-family: inherit;
  color: var(--color-primary);
  z-index: -1;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    font-size: 15rem;
    top: -4.5rem;
    left: -3rem;
  }
}

.testimonial__header {
  font-size: 2.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--color-text-primary);
}

.testimonial__text {
  font-size: 1.7rem;
  margin-bottom: 3.5rem;
  color: var(--color-text-secondary);
}

.testimonial__author {
  margin-left: 3rem;
  font-style: normal;
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  column-gap: 2rem;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    margin-left: 1rem;
    column-gap: 1.5rem;
  }
}

.testimonial__photo {
  grid-row: 1 / span 2;
  width: 6.5rem;
  border-radius: 50%;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    width: 5.5rem;
  }
}

.testimonial__name {
  font-size: 1.7rem;
  font-weight: 500;
  align-self: end;
  margin: 0;
  color: var(--color-text-primary);
}

.testimonial__location {
  font-size: 1.5rem;
}

.section__title--testimonials {
  margin-bottom: 4rem;
}

/* SIGNUP */
.section--sign-up {
  background-color: var(--color-footer-bg);
  border-top: none;
  border-bottom: 1px solid #444;
  text-align: center;
  padding: 10rem 3rem;
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    padding: 8rem 3rem;
  }
}

.section--sign-up .section__header {
  color: #fff;
  text-align: center;
}

.section--sign-up .section__title {
  margin-bottom: 6rem;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    margin-bottom: 4rem;
  }
}

.section--sign-up .btn {
  font-size: 1.9rem;
  padding: 2rem 5rem;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    font-size: 1.6rem;
    padding: 1.5rem 4rem;
  }
}

/* FOOTER */
.footer {
  padding: 3rem 3rem;
  background-color: var(--color-footer-bg);
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    padding: 8rem 3rem;
  }
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    padding: 6rem 2rem;
  }
}

.footer__nav {
  list-style: none;
  display: flex;
  justify-content: center;
  margin-bottom: 5rem;
  flex-wrap: wrap;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
  }
}

.footer__item {
  margin-right: 4rem;
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    margin-right: 3rem;
    margin-bottom: 1rem;
  }
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

.footer__link {
  font-size: 1.6rem;
  color: var(--color-footer-text);
  text-decoration: none;
  transition: all 0.3s;
}

.footer__link:hover {
  color: var(--color-secondary);
  transform: scale(1.05);
}

.footer__logo {
  height: 5rem;
  display: block;
  margin: 0 auto;
  margin-bottom: 5rem;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    height: 4rem;
    margin-bottom: 3rem;
  }
}

.footer__copyright {
  font-size: 1.4rem;
  color: #aaa;
  text-align: center;
}

.footer__copyright .footer__link {
  font-size: 1.4rem;
}

/* MODAL WINDOW */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 60rem;
  width: 90%;
  background-color: var(--color-modal-bg);
  padding: 5rem 6rem;
  box-shadow: 0 4rem 6rem rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.5s;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    padding: 4rem 3rem;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  transition: all 0.5s;
}

.modal__header {
  font-size: 3.25rem;
  margin-bottom: 4.5rem;
  line-height: 1.5;
  color: var(--color-text-primary);
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }
}

.modal__form {
  margin: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 2.5rem;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    margin: 0;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.modal__form label {
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.modal__form input, 
.modal__form select {
  font-size: 1.7rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  width: 100%;
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    font-size: 1.5rem;
    padding: 0.8rem 1.2rem;
  }
}

.modal__form button {
  grid-column: 1 / span 2;
  justify-self: center;
  margin-top: 2rem;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    grid-column: 1;
    margin-top: 1.5rem;
  }
}

.btn--close-modal {
  font-family: inherit;
  color: var(--color-text-primary);
  position: absolute;
  top: 0.5rem;
  right: 2rem;
  font-size: 4rem;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.2s;
}

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

.hidden {
  visibility: hidden;
  opacity: 0;
}

/* COOKIE MESSAGE */
.cookie-message {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  background-color: var(--color-bg-secondary);
  color: var(--color-text-secondary);
  font-size: 1.5rem;
  font-weight: 400;
  padding: 1.5rem;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    text-align: center;
  }
}

/* Tailwind Sections - Fixed */
.tailwind-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

.tailwind-section img {
  object-fit: cover;
}

/* Islands Map Section - New Styling */
.islands-map-section {
  padding: 8rem 3rem;
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    padding: 6rem 2rem;
  }
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    padding: 5rem 1.5rem;
  }
}

.islands-map-section .elementor-container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    padding: 0 1rem;
  }
}

.islands-map-section .elementor-widget-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.islands-map-section h6.elementor-heading-title {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.islands-map-section h2.elementor-heading-title {
  font-size: 4rem;
  line-height: 1.3;
  font-weight: 500;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text-primary);
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    font-size: 3.5rem;
  }
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    font-size: 2.8rem;
    margin-bottom: 2rem;
  }
}

.islands-map-section p {
  font-size: 1.7rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  text-align: center;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    font-size: 1.5rem;
  }
}

.islands-map-container {
  width: 100%;
  max-width: 60rem;
  margin: 4rem auto;
  position: relative;
  
  @media only screen and (max-width: 56.25em) { /* 900px */
    margin: 3rem auto;
  }
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    margin: 2rem auto;
  }
}

/* UAEL Hotspot Styling - Fixed */
.uael-hotspot {
  position: relative;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.uael-hotspot img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0.5rem;
  box-shadow: 0 1rem 3rem var(--color-card-shadow);
}

.uael-hotspot-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.uael-tooltip {
  position: absolute;
  display: inline-block;
  z-index: 99;
}

.uael-hotspot-main-a7778c9 {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    width: 20px;
    height: 20px;
  }
}

.uael-hotspot-main-a7778c9:hover,
.uael-hotspot-main-a7778c9:focus {
  transform: scale(1.2);
  z-index: 100;
}

.uael-hotspot-main-a7778c9.uael-hotspot-anim::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  background-color: rgba(19, 18, 174, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s infinite;
  z-index: -1;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    width: 40px;
    height: 40px;
  }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.uael-hotspot-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  
  @media only screen and (max-width: 37.5em) { /* 600px */
    font-size: 0.8rem;
  }
}

/* Fix conflicts between Tailwind and custom styling */
.tailwind-section h2, 
.tailwind-section h3, 
.tailwind-section p {
  font-family: 'Poppins', sans-serif;
}

.tailwind-section .mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.tailwind-section .text-3xl {
  font-size: 1.875rem !important;
}

.tailwind-section .font-bold {
  font-weight: 700 !important;
}

.tailwind-section .mb-8 {
  margin-bottom: 2rem !important;
}

/* Responsive improvements for tailwind sections */
@media (max-width: 768px) {
  .tailwind-section .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
  
  .tailwind-section .text-4xl {
    font-size: 2.5rem !important;
  }
}

/* Dark Mode Specific Adjustments */
[data-theme='dark'] {
  /* Adjust card backgrounds in dark mode */
  .operations, .testimonial {
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.3);
  }
  
  /* Improve visibility of elements in dark mode */
  .section__description {
    color: var(--color-secondary);
  }
  
  /* Better text contrast in dark mode */
  .testimonial__text, p {
    color: #b0b0b0;
  }
  
  /* Tailwind adjustments for dark mode */
  .tailwind-section .text-gray-900 {
    color: #e0e0e0 !important;
  }
  
  .tailwind-section .text-gray-600, 
  .tailwind-section .text-gray-500 {
    color: #b0b0b0 !important;
  }
  
  .tailwind-section .bg-gray-100,
  .tailwind-section .bg-white {
    background-color: var(--color-bg-secondary) !important;
  }
}

/* Additional Animation Effects */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Accessibility Improvements */
:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Print Styles */
@media print {
  .nav, .footer, .slider__btn, .btn--scroll-to, .theme-toggle {
    display: none !important;
  }
  
  .header {
    height: auto;
    min-height: 50vh;
  }
  
  .section {
    padding: 2cm 1cm;
    page-break-inside: avoid;
  }
  
  body {
    font-size: 11pt;
    color: #000;
    background-color: #fff;
  }
}

/* DoROAD Destination & Popular Tours Sections - Custom CSS */

/* Container & Layout */
.doroad-container {
  padding-inline: 15px;
  max-width: 1150px;
  margin-inline: auto;
}

/* Section Heading Styles */
.doroad-section-subtitle {
  font-family: var(--ff-comforter-brush);
  color: var(--color-secondary);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 10px;
}


.doroad-section-title {
  font-size: 4rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 50px;
  color: var(--color-text-primary);
}

.doroad-h3 {
  font-size: 2.4rem;
  font-weight: 400;
}

/* Common Image Styles */
.doroad-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Destination Section Styles */
.doroad-destination-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
}

.doroad-destination-list > li {
  width: calc(33.33% - 20px);
}

.doroad-destination-list .doroad-w-50 {
  width: calc(50% - 20px);
}

.doroad-destination-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
}

.doroad-destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(hsla(222, 46%, 17%, 0), hsla(222, 46%, 17%, 0.7));
}

.doroad-destination-card img {
  transition: 0.35s ease;
}

.doroad-destination-card:is(:hover, :focus) img {
  transform: scale(1.1);
}

.doroad-destination-card .doroad-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 1;
}

.doroad-destination-card .doroad-card-subtitle {
  color: var(--color-secondary);
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
}

.doroad-destination-card .doroad-card-title {
  color: var(--white-1);
  font-family: 'Poppins', sans-serif;
}

/* Popular Tours Section Styles */
.doroad-popular-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;
}

.doroad-popular-card {
  box-shadow: 0 10px 30px hsla(0, 0%, 0%, 0.1);
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--color-bg-secondary);
}

.doroad-card-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Use padding-top to create a consistent aspect ratio container */
  padding-top: 75%; /* 4:3 aspect ratio */
}

.doroad-card-banner .doroad-img-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Adjustments for specific card types */
.doroad-w-50 .doroad-card-banner {
  padding-top: 70%; /* Slightly different ratio for larger cards */
}

/* For the popular cards section */
.doroad-popular-card .doroad-card-banner {
  padding-top: 66.67%; /* 3:2 aspect ratio for tour cards */
}

.doroad-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-secondary);
  color: var(--white-1);
  padding: 14px 10px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.doroad-card-badge ion-icon {
  font-size: 20px;
  margin-inline: auto;
}

.doroad-card-badge time {
  font-weight: 700;
}

.doroad-popular-card .doroad-card-content {
  padding: 30px;
}

.doroad-card-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.doroad-popular-card .doroad-card-price {
  color: var(--color-secondary);
  font-size: 1.4rem;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--color-tertiary);
}

.doroad-popular-card .doroad-card-rating {
  background: var(--color-secondary);
  color: var(--white-1);
  font-size: 1.4rem;
  padding: 5px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.doroad-popular-card .doroad-card-rating ion-icon {
  font-size: 17px;
}

.doroad-popular-card .doroad-card-rating data {
  margin-left: 4px;
}

.doroad-popular-card .doroad-card-title {
  color: var(--color-text-secondary);
  font-size: 1.8rem;
  margin-block: 20px;
}

.doroad-popular-card .doroad-card-title > a {
  color: inherit;
  text-decoration: none;
}

.doroad-popular-card .doroad-card-title > a:is(:hover, :focus) {
  color: var(--color-secondary);
}

.doroad-popular-card .doroad-card-location {
  color: var(--color-text-secondary);
  font-style: normal;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .doroad-popular-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .doroad-section-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .doroad-destination-list > li {
    width: calc(50% - 15px);
  }
  
  .doroad-destination-list .doroad-w-50 {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .doroad-popular-list {
    grid-template-columns: 1fr;
  }
  
  .doroad-destination-list > li {
    width: 100%;
  }
  
  .doroad-section-title {
    font-size: 3rem;
  }
  
  .doroad-section-subtitle {
    font-size: 2.4rem;
  }
}

/* Ensure consistent content areas */
.doroad-popular-card .doroad-card-content {
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.doroad-popular-card .doroad-card-title {
  flex-grow: 1;
}

/* Make sure titles don't overflow and have consistent height */
.doroad-destination-card .doroad-card-title,
.doroad-popular-card .doroad-card-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Additional styles for blog section */
.doroad-author-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.doroad-author-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

.doroad-author-name {
  color: var(--color-text-primary);
  font-size: 1.4rem;
  font-weight: 500;
}

.doroad-read-more {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-primary);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.doroad-read-more:hover {
  color: var(--color-primary-darker);
}

.doroad-read-more ion-icon {
  font-size: 1.6rem;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--text-dark);
  max-width: calc(var(--max-width) / 2);
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
}

.story > span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.gallary__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.image__gallary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallary__col {
  display: grid;
  place-content: center;
  gap: 1rem;
}

.gallary__col img {
  border-radius: 1rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.gallary__content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.gallary__content > div {
  max-width: 400px;
}

.gallary__content .section__subtitle {
  margin-bottom: 2rem;
}

@media (width < 600px) {
  .destination__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trip__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .gallary__container {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown__toggle {
  display: flex !important;
  align-items: center;
  gap: 5px;
}

.dropdown__icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown__icon {
  transform: rotate(180deg);
}

.dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: var(--color-bg-secondary);
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown:hover .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__item {
  display: block;
  margin: 0;
}

.dropdown__item a {
  color: var(--color-text-primary);
  font-size: 1.5rem;
  padding: 10px 20px;
  display: block;
  transition: all 0.2s ease;
  text-decoration: none;
}

.dropdown__item a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--color-primary);
}

/* Additional styles for when nav becomes sticky */
.nav.sticky .dropdown__menu {
  background-color: var(--color-bg-secondary);
}

/* Dark mode adjustments */
[data-theme='dark'] .dropdown__menu {
  background-color: var(--color-bg-secondary);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

[data-theme='dark'] .dropdown__item a {
  color: var(--color-text-primary);
}

[data-theme='dark'] .dropdown__item a:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Responsive styling for dropdown */
@media only screen and (max-width: 37.5em) { /* 600px */
  .dropdown__menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background-color: transparent;
    padding-left: 20px;
    min-width: 100%;
  }

  .dropdown.active .dropdown__menu {
    display: block;
  }

  .dropdown__toggle {
    justify-content: space-between;
    width: 100%;
  }

  .dropdown__item a {
    padding: 8px 15px;
    font-size: 1.7rem;
  }
}

.ferry-schedules {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.ferry-schedule-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ferry-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.ferry-tab {
  padding: 1rem 2rem;
  border: none;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ferry-tab.active {
  background: #37383d;
  color: #fff;
}

.ferry-content {
  display: none;
}

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

.schedule-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.schedule-card h4 {
  color: #37383d;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.schedule-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.schedule-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.schedule-note {
  color: #666;
  font-style: italic;
  margin-top: 1rem;
}

.daily-schedule {
  text-align: center;
}

@media (max-width: 768px) {
  .ferry-tab {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .schedule-card {
    padding: 1.5rem;
  }
}

/* Language Switcher Styles */
.language-switcher {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  font-family: 'Poppins', sans-serif;
}

.language-switcher button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary, #1312AE);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.language-switcher button:hover {
  transform: translateY(-3px);
  background-color: var(--color-primary-darker, #0e0e8a);
}

.language-switcher .fa-globe {
  font-size: 1.2rem;
}

.language-switcher span {
  margin: 0 0.3rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  width: 10rem;
  z-index: 1001;
  transition: all 0.3s ease;
  opacity: 1;
  transform-origin: top right;
  transform: scale(1);
  list-style: none;
}

.language-menu.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.language-menu li {
  padding: 0;
  margin: 0;
}

.language-menu a {
  display: block;
  padding: 0.7rem 1rem;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.language-menu a:hover {
  background-color: rgba(19, 18, 174, 0.1);
  color: var(--color-primary, #1312AE);
}

/* When scrolled and nav is sticky, move language switcher */
.nav.sticky + .language-switcher {
  position: fixed;
  top: 1rem;
}

/* Adjust for theme switcher positioning */
.theme-toggle {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  z-index: 1000;
}

/* Responsive adjustments */
@media only screen and (max-width: 600px) {
  .language-switcher {
    top: 1rem;
    right: 1rem;
  }
  
  .language-switcher button {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .theme-toggle {
    top: 4rem;
    right: 1rem;
  }
}

/* For screens that can fit both horizontally, place them side by side */
@media only screen and (min-width: 768px) {
  .theme-toggle {
    top: 1.5rem;
    right: 5rem;
  }
}

/* Dark mode support */
[data-theme="dark"] .language-menu {
  background-color: #333;
}

[data-theme="dark"] .language-menu a {
  color: #fff;
}

[data-theme="dark"] .language-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Improved Mobile Navigation */
@media only screen and (max-width: 37.5em) { /* 600px */
  /* Align the nav items for mobile */
  .nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 0 1.5rem;
  }
  
  /* Left-align the mobile menu button */
  .nav__btn {
    grid-column: 1;
    justify-self: start;
    margin-right: auto;
  }
  
  /* Center the logo */
  .nav__logo {
    grid-column: 2;
    justify-self: center;
  }
  
  /* Place links in a separate row that spans all columns */
  .nav__links {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  
  /* Make controls smaller and adjust position for mobile */
  .site-controls {
    top: 1.5rem;
    right: 1.5rem;
    gap: 0.8rem;
  }
  
  .language-switcher button,
  .theme-toggle {
    width: 3.5rem;
    height: 3.5rem;
  }
  
  /* When navbar is open on mobile */
  body.nav-open .site-controls {
    z-index: 2001; /* Ensure controls stay above the open nav menu */
  }
}

/* St. Vincent DoROAD Search Styling */
.doroad-search-section {
  background-color: #f9f9f9;
  padding: 10rem 3rem;
  width: 100%;
  }
  
  .svg-island-search {
  max-width: 1000px;
  margin: 0 auto;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  }
  
  .svg-search-container {
  padding: 2rem;
  display: none;
  }
  
  .svg-search-container.active {
  display: block;
  }
  
  /* Experience Tabs (Form/Chat Toggle) */
  .svg-search-tabs-wrapper {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #f5f5f5;
  }
  
  .svg-experience-tabs {
  display: flex;
  justify-content: center;
  padding: 1rem;
  gap: 1rem;
  }
  
  .svg-experience-tab {
  background: none;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  color: #666;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  }
  
  .svg-experience-tab.active {
  background-color: white;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .svg-experience-tab:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.6);
  }
  
  .svg-experience-tab i {
  font-size: 1.8rem;
  }
  
  /* Form Mode Styling */
  .svg-search-tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
  }
  
  .svg-search-tab {
  flex: 1;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 1.6rem;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
  }
  
  .svg-search-tab::after {
  content: attr(data-info);
  position: absolute;
  top: 0;
  right: 5px;
  font-size: 1.1rem;
  color: #999;
  background-color: #f0f0f0;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  }
  
  .svg-search-tab.active {
  color: var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
  }
  
  .svg-search-tab:hover:not(.active) {
  color: var(--color-primary-darker);
  background-color: rgba(19, 18, 174, 0.03);
  }
  
  .svg-tooltip {
  position: relative;
  display: inline-block;
  margin-left: 5px;
  }
  
  .svg-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: #ddd;
  color: #666;
  border-radius: 50%;
  font-size: 1.2rem;
  font-style: italic;
  cursor: help;
  font-weight: bold;
  }
  
  .svg-tooltiptext {
  visibility: hidden;
  width: 180px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 1.2rem;
  font-weight: normal;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .svg-tooltip:hover .svg-tooltiptext {
  visibility: visible;
  opacity: 1;
  }
  
  .svg-tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
  }
  
  .svg-search-content {
  display: none;
  }
  
  .svg-search-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  }
  
  @media (max-width: 768px) {
  .svg-search-content.active {
  grid-template-columns: 1fr;
  }
  
  .svg-search-tabs {
  flex-direction: column;
  }
  
  .svg-search-tab {
  padding: 1rem;
  }
  }
  
  .svg-search-item {
  margin-bottom: 15px;
  }
  
  .svg-search-item label {
  display: block;
  margin-bottom: 5px;
  font-size: 1.4rem;
  color: #444;
  }
  
  .svg-search-item input,
  .svg-search-item select {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1.5rem;
  color: #444;
  background-color: #f9f9f9;
  transition: all 0.3s;
  }
  
  .svg-search-item input:focus,
  .svg-search-item select:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 18, 174, 0.1);
  }
  
  .svg-search-item input::placeholder {
  color: #999;
  }
  
  .svg-search-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  }
  
  .svg-search-button {
  flex: 1;
  padding: 1.5rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(19, 18, 174, 0.2);
  }
  
  .svg-search-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(19, 18, 174, 0.25);
  }
  
  .svg-surprise-button {
  padding: 1.5rem;
  background-color: white;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  }
  
  .svg-surprise-button:hover {
  background-color: rgba(19, 18, 174, 0.05);
  transform: translateY(-3px);
  }
  
  /* Chat Mode Styling */
  .svg-chat-header {
  text-align: center;
  margin-bottom: 2rem;
  }
  
  .svg-chat-info h4 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  }
  
  .svg-chat-info p {
  font-size: 1.4rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  }
  
  .svg-chat-container {
  display: flex;
  flex-direction: column;
  height: 400px;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
  }
  
  .svg-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  }
  
  .svg-message {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 80%;
  }
  
  .svg-message-user {
  align-self: flex-end;
  flex-direction: row-reverse;
  }
  
  .svg-message-ai {
  align-self: flex-start;
  }
  
  .svg-message-bubble {
  background-color: white;
  padding: 1.2rem 1.5rem;
  border-radius: 18px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 1.4rem;
  color: #333;
  }
  
  .svg-message-user .svg-message-bubble {
  background-color: var(--color-primary);
  color: white;
  border-top-right-radius: 4px;
  }
  
  .svg-message-ai .svg-message-bubble {
  background-color: white;
  border-top-left-radius: 4px;
  }
  
  .svg-message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  }
  
  .svg-message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  }
  
  .svg-chat-input {
  padding: 1.5rem;
  background-color: white;
  border-top: 1px solid #eaeaea;
  }
  
  .svg-chat-quick-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  }
  
  .svg-quick-option {
    background-color: #f0f0f0;
    color: #444;
    border: none;
    border-radius: 20px;
    padding: 0.8rem 1.2rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
  }
  
  .svg-quick-option:hover {
    background-color: #e0e0e0;
  }
  
  .svg-chat-actions {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
  }
  
  .svg-chat-actions textarea {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1.2rem;
    font-size: 1.4rem;
    resize: none;
    background-color: #f9f9f9;
    transition: all 0.3s;
  }
  
  .svg-chat-actions textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(19, 18, 174, 0.1);
  }
  
  .svg-chat-send {
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .svg-chat-send:hover {
    background-color: var(--color-primary-darker);
    transform: scale(1.05);
  }
  
  .svg-chat-send i {
    font-size: 1.8rem;
  }
  
  .svg-chat-guidance {
    font-size: 1.2rem;
    color: #999;
    margin-top: 0.8rem;
    text-align: center;
  }
  
  .svg-chat-loading {
    display: none;
    margin: 1rem 0;
    justify-content: center;
  }
  
  .svg-typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .svg-typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
    animation: typing 1.4s infinite ease-in-out both;
  }
  
  .svg-typing-indicator span:nth-child(1) {
    animation-delay: 0s;
  }
  
  .svg-typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .svg-typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  @keyframes typing {
    0%, 80%, 100% {
      transform: scale(0.6);
      opacity: 0.4;
    }
    
    40% {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  .htmx-request .svg-chat-loading {
    display: flex;
  }
  
  /* Structured Data Preview */
  .svg-structured-data-preview {
    background-color: #f5f7fa;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
  }
  
  .svg-structured-header {
    margin-bottom: 1.5rem;
  }
  
  .svg-structured-header h5 {
    font-size: 1.7rem;
    color: #333;
    margin-bottom: 0.5rem;
  }
  
  .svg-structured-header p {
    font-size: 1.3rem;
    color: #666;
  }
  
  .svg-structured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
    
    @media (max-width: 768px) {
      grid-template-columns: 1fr;
    }
  }
  
  .svg-structured-item {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .svg-structured-label {
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 0.3rem;
  }
  
  .svg-structured-value {
    font-size: 1.4rem;
    color: #333;
    font-weight: 500;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .doroad-search-section {
      padding: 6rem 2rem;
    }
    
    .svg-experience-tabs {
      flex-direction: column;
      padding: 1rem 0;
    }
    
    .svg-chat-container {
      height: 350px;
    }
    
    .svg-message {
      max-width: 90%;
    }
    
    .svg-chat-quick-options {
      gap: 0.5rem;
      margin-bottom: 1rem;
    }
    
    .svg-quick-option {
      padding: 0.6rem 1rem;
      font-size: 1.1rem;
    }
    
    .svg-chat-send {
      width: 4rem;
      height: 4rem;
    }
  }
  
  /* Dark Mode Adjustments */
  [data-theme='dark'] .doroad-search-section {
    background-color: #212121;
  }
  
  [data-theme='dark'] .svg-island-search {
    background-color: #2a2a2a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  [data-theme='dark'] .svg-search-tabs-wrapper {
    background-color: #1e1e1e;
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  
  [data-theme='dark'] .svg-experience-tab {
    color: #bbb;
  }
  
  [data-theme='dark'] .svg-experience-tab.active {
    background-color: #333;
    color: var(--color-secondary);
  }
  
  [data-theme='dark'] .svg-experience-tab:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  [data-theme='dark'] .svg-search-tab {
    color: #bbb;
  }
  
  [data-theme='dark'] .svg-search-tab::after {
    background-color: #333;
    color: #aaa;
  }
  
  [data-theme='dark'] .svg-search-tab:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.05);
  }
  
  [data-theme='dark'] .svg-info-icon {
    background-color: #444;
    color: #ddd;
  }
  
  [data-theme='dark'] .svg-search-item input,
  [data-theme='dark'] .svg-search-item select,
  [data-theme='dark'] .svg-chat-actions textarea {
    background-color: #333;
    color: #ddd;
    border-color: #444;
  }
  
  [data-theme='dark'] .svg-search-item input::placeholder,
  [data-theme='dark'] .svg-chat-actions textarea::placeholder {
    color: #777;
  }
  
  [data-theme='dark'] .svg-surprise-button {
    background-color: #2a2a2a;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
  }
  
  [data-theme='dark'] .svg-surprise-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  [data-theme='dark'] .svg-chat-container {
    border-color: #444;
  }
  
  [data-theme='dark'] .svg-chat-messages {
    background-color: #262626;
  }
  
  [data-theme='dark'] .svg-message-ai .svg-message-bubble {
    background-color: #333;
    color: #ddd;
  }
  
  [data-theme='dark'] .svg-message-user .svg-message-bubble {
    background-color: var(--color-primary-darker);
  }
  
  [data-theme='dark'] .svg-quick-option {
    background-color: #333;
    color: #ddd;
  }
  
  [data-theme='dark'] .svg-quick-option:hover {
    background-color: #444;
  }
  
  [data-theme='dark'] .svg-chat-guidance {
    color: #777;
  }
  
  [data-theme='dark'] .svg-structured-data-preview {
    background-color: #1e1e1e;
  }
  
  [data-theme='dark'] .svg-structured-header h5 {
    color: #ddd;
  }
  
  [data-theme='dark'] .svg-structured-header p {
    color: #999;
  }
  
  [data-theme='dark'] .svg-structured-item {
    background-color: #333;
  }
  
  [data-theme='dark'] .svg-structured-value {
    color: #ddd;
  }
  
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }