/* --- Variables --- */
:root {
  --dk-burgundy: #6D071A;
  --dk-navy: #001F3F;
  --dk-white: #fdfdfd;
  --dk-light-gray: #f0f1f3;
  --dk-medium-gray: #cccccc;
  --dk-dark-gray: #555555;
  --error-color: #dc2626; /* Tailwind red-600 */

  /* === Header Heights === */
  /* Mobile */
  --header-height-mobile: 80px;
  --header-height-mobile-scrolled: 70px;
  /* Desktop */
  --header-height-desktop: 95px;
  --header-height-desktop-scrolled: 80px;

  /* === Logo Heights (by breakpoint - NOT scroll) === */
  --logo-height-mobile: 55px;
  --logo-height-desktop: 75px;

  /* === Other Settings === */
  --header-transition-speed: 0.3s; /* Smoothness of header height/bg change */
  --header-scroll-threshold: 50px; /* Pixels to scroll before header changes */
  --font-main: -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
}

/* --- Base & Global --- */
html {
  scroll-behavior: smooth;
  /* Scroll padding should match the SCROLLED header height */
  scroll-padding-top: var(--header-height-mobile-scrolled);
}

/* ==== START REPLACEMENT in css/styles.css ==== */

/* Define variables (Make sure these are defined, often in :root or html) */
:root { /* Or html {} */
    /* --- CHECK AND USE YOUR ACTUAL VALUES HERE --- */
    --header-height-mobile: 70px;  /* Example: Adjust to your mobile header height */
    --header-height-desktop: 90px; /* Example: Adjust to your desktop header height */
    --header-height-desktop-scrolled: 80px; /* Example: Adjust */
    /* --- Other variables --- */
    --dk-white: #fdfdfd;
    --dk-black: #1a1a1a;
    --font-main: /* Your font stack */;
    /* ... etc ... */
}


body {
  background-color: var(--dk-white);
  color: var(--dk-black);
  font-family: var(--font-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* NO padding-top on the general body rule */
}

body.no-scroll {
  overflow: hidden;
}

/* === Padding for Fixed Header Pages === */
/* Use :has() pseudo-class if browser support is sufficient (modern browsers) */
/* This adds padding ONLY if the body DIRECTLY contains a .site-header.fixed */
@supports selector(:has(+*)) { /* Check for basic :has support */
    body:has(> nav.site-header.fixed) {
        padding-top: var(--header-height-mobile);
    }

    @media (min-width: 768px) {
        body:has(> nav.site-header.fixed) {
            padding-top: var(--header-height-desktop);
        }
    }
}

/* Fallback for older browsers OR if :has() isn't working as expected */
/* This relies on adding the class="body-with-fixed-header" to index.html body */
@supports not selector(:has(+*)) { /* Apply if :has is NOT supported */
    body.body-with-fixed-header {
        padding-top: var(--header-height-mobile);
    }

    @media (min-width: 768px) { /* Tailwind 'md' breakpoint */
        body.body-with-fixed-header {
            padding-top: var(--header-height-desktop);
        }
    }
}
/* === End Padding for Fixed Header Pages === */


/* Global scroll padding adjustment for desktop (usually safe) */
@media (min-width: 768px) {
  html {
    scroll-padding-top: var(--header-height-desktop-scrolled);
  }
}

/* ==== END REPLACEMENT in css/styles.css ==== */

/* Other base styles... */
h1, h2, h3, h4, h5, h6 { letter-spacing: -0.02em; margin-bottom: 1.25rem; }
a { color: var(--dk-navy); transition: color 0.3s ease-in-out; }
a:hover { color: var(--dk-burgundy); }
ul { list-style: none; padding-left: 0; }

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 50;

  /* Initial State Styling */
  background-color: rgba(253, 253, 253, 0.95); /* dk-white transparent */
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(240, 241, 243, 0.5); /* dk-light-gray transparent */
  height: var(--header-height-mobile); /* Mobile First Height */
  box-shadow: none; /* No shadow initially */
  padding: 0; /* Control padding via logo container if needed */

  /* === Smooth Transition for Changes === */
  transition: height var(--header-transition-speed) ease-in-out,
              background-color var(--header-transition-speed) ease-in-out,
              border-color var(--header-transition-speed) ease-in-out,
              box-shadow var(--header-transition-speed) ease-in-out;
}

/* Desktop Initial Height Override */
@media (min-width: 768px) {
  .site-header {
    height: var(--header-height-desktop);
  }
}

/* Scrolled State Styling (when .scrolled class is added by JS) */
.site-header.scrolled {
  height: var(--header-height-mobile-scrolled);
  background-color: var(--dk-white); /* Solid white */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--dk-light-gray); /* Solid border */
}

/* Desktop Scrolled Height Override */
@media (min-width: 768px) {
  .site-header.scrolled {
    height: var(--header-height-desktop-scrolled);
  }
}

/* Logo Styling (Single Logo) */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  /* Add base vertical padding for spacing */
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: padding var(--header-transition-speed) ease-in-out; /* Smooth padding transition */
}

.header-logo {
  display: block;
  width: auto; /* Maintain aspect ratio */
  /* Mobile First Logo Height - controlled by variables */
  height: var(--logo-height-mobile);
  /* Smooth transition ONLY for responsive size changes (media query) */
  transition: height 0.3s ease;
}

/* Desktop Logo Height Override */
@media (min-width: 768px) {
  .header-logo {
    height: var(--logo-height-desktop);
  }
}

/* Optional: Slightly adjust logo padding when scrolled if needed */
/* .site-header.scrolled .logo { */
  /* padding-top: 0.65rem; */
  /* padding-bottom: 0.35rem; */
/* } */


/* Navigation Links */
.nav-link {
  position: relative;
  padding-bottom: 0.25rem;
  color: var(--dk-dark-gray);
  transition: color 0.3s ease;
}
.nav-link:hover { color: var(--dk-burgundy); }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; transform: translateX(-50%); background-color: var(--dk-burgundy); transition: width 0.3s ease; }
.nav-link:hover::after { width: 80%; }

/* Mobile Menu */
#mobile-menu { transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease; max-height: 0; opacity: 0; overflow: hidden; background-color: var(--dk-white); border-top: 1px solid var(--dk-light-gray); }
#mobile-menu:not(.hidden) { max-height: 500px; opacity: 1; }
.mobile-nav-link { display: block; padding: 0.75rem 1.5rem; color: var(--dk-dark-gray); transition: color 0.3s ease, background-color 0.3s ease; font-weight: 500; }
.mobile-nav-link:hover { color: var(--dk-burgundy); background-color: var(--dk-light-gray); }

/* --- Buttons --- */
.modern-button { position: relative; overflow: hidden; z-index: 1; transition: all 0.3s ease-in-out; }
.modern-button::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 255, 255, 0.15); border-radius: 50%; transform: translate(-50%, -50%) scale(0); transition: transform 0.6s ease, opacity 0.6s ease; opacity: 0; z-index: -1; }
.modern-button:active::after { transform: translate(-50%, -50%) scale(3); opacity: 1; transition: transform 0s, opacity 0s; }

/* --- Hero --- */
.hero { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translate(-50%, -50%); z-index: -20; }
.hero .absolute.inset-0.bg-dk-navy { z-index: -10; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.3) 100%); z-index: -9; pointer-events: none; }
.text-shadow-sm { text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); }
.text-shadow-md { text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); }

/* Location Ribbon */
.location-ribbon { background-color: var(--dk-navy); color: var(--dk-white); padding: 0.75rem 0; position: relative; }

/* --- Clients Logo Swiper --- */
.clientLogoSwiper {
  padding: 1rem 0; /* Adds vertical padding to the overall swiper container */
}

.swiper-logo-img {
height: 5rem; /* Adjust height as needed */
width: auto;
max-width: 220px; /* Adjust max-width as needed */
object-fit: contain; /* Keeps aspect ratio */
margin-left: auto; /* Centers the image */
margin-right: auto; /* Centers the image */
transition: opacity 0.3s ease-in-out;
opacity: 0.85; /* Slightly faded look */
}

.clientLogoSwiper .swiper-slide:hover .swiper-logo-img {
  opacity: 1; /* Full opacity on hover */
}

.clientLogoSwiper .swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto; /* Let Swiper manage slide width based on content/slidesPerView */
}

/* --- Specific Logo Adjustments --- */

/* Add horizontal padding specifically to the Camden logo image */
/* This targets the image inside the swiper IF it has the camden-logo-spacing class */
.clientLogoSwiper .swiper-logo-img.camden-logo-spacing {
padding-left: 15px;  /* Adjust this value as needed */
/* padding-right: 15px; /* Adjust this value as needed */
box-sizing: border-box; /* IMPORTANT: Include padding within the element's bounds */
}

/* Optional: If other logos need specific padding in the future */

.clientLogoSwiper .swiper-logo-img.eta-logo-spacing {
  padding-left: 15px;  /* Adjust this value as needed */
  padding-right: 15px; /* Adjust this value as needed */
  box-sizing: border-box;
}

/* --- Services Section --- */
.service-card { display: flex; flex-direction: column; height: 100%; min-height: 420px; transition: all 0.3s ease-in-out; }
.service-card ul { padding-left: 0; margin-top: 0.25rem; }
.service-card ul li { position: relative; padding-left: 1.25rem; margin-bottom: 0.5rem; line-height: 1.4; }
.service-card ul li:before { content: "•"; position: absolute; left: 0; color: var(--dk-navy); font-weight: bold; }
.service-card .service-link { margin-top: auto; }
.service-card i { transition: transform 0.3s ease; }
.service-card:hover i { transform: scale(1.1); }
.hover-scale { transition: transform 0.3s ease; }
.hover-scale:hover { transform: scale(1.03) translateY(-3px); }
.modern-shadow { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); transition: box-shadow 0.3s ease-in-out; }
.modern-shadow:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.service-link { color: var(--dk-navy); font-weight: 500; display: inline-flex; align-items: center; transition: color 0.3s ease; }
.service-link i { margin-left: 0.5rem; font-size: 0.75rem; position: relative; transition: transform 0.3s ease; }
.service-card:hover .service-link { color: var(--dk-burgundy); }
.service-card:hover .service-link i { transform: translateX(0.25rem); }
.service-card p, .service-card li { font-size: 0.875rem; color: var(--dk-dark-gray); line-height: 1.5; }
@media (max-width: 1024px) { .service-card { min-height: auto; padding: 1.5rem; } .service-card ul { margin-bottom: 1rem; } }
@media (max-width: 768px) { .service-card { padding: 1.25rem; } .service-card .mb-6 { margin-bottom: 1rem; } .service-card h3 { font-size: 1.125rem; margin-bottom: 0.75rem; } }

/* --- About Section --- */
.prose p { margin-bottom: 1em; }
.prose { color: var(--dk-dark-gray); }
.prose strong { color: var(--dk-black); font-weight: 600; }
.location-highlight { color: var(--dk-navy); font-weight: 500; position: relative; display: inline-block; }
.location-highlight::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background-color: var(--dk-burgundy); opacity: 0.5; }

/* --- Accreditations --- */
#accreditations { position: relative; overflow: hidden; padding: 5rem 0; background-color: var(--dk-light-gray); border-top: 1px solid rgba(0, 0, 0, 0.05); }
#accreditations::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, var(--dk-medium-gray) 50%, transparent 100%); }
.accreditation-card { background-color: var(--dk-white); border-radius: 1rem; padding: 2rem; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); border: 1px solid rgba(0, 0, 0, 0.08); transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 280px; }
.accreditation-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); border-color: var(--dk-navy); }
.accreditation-card img { height: 100px; width: auto; object-fit: contain; margin-bottom: 1.5rem; transition: transform 0.3s ease; }
.accreditation-card:hover img { transform: scale(1.05); }
.accreditation-card h4 { font-size: 1.25rem; font-weight: 600; color: var(--dk-navy); margin-bottom: 0.5rem; text-align: center; }
.accreditation-card p { color: var(--dk-dark-gray); font-size: 0.875rem; text-align: center; }
@media (max-width: 767px) { .accreditation-card { min-height: 240px; padding: 1.5rem; } .accreditation-card img { height: 80px; } }
@media (max-width: 640px) { .accreditation-card { min-height: auto; padding: 1.25rem; } .flex.items-stretch > .accreditation-card { height: auto; min-height: 220px; } }

/* --- Testimonials --- */
.testimonial-card {
  background-color: var(--dk-light-gray);
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  height: 425px; /* INCREASED default height */
  width: 100%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}
.testimonial-card.expanded {
  height: auto;
  min-height: 400px; /* Keep original min-height for expanded state, or increase if needed */
  max-height: none;
}
.testimonial-card:hover {
  border-color: rgba(0, 31, 63, 0.2);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
/* Logo Styles */
.testimonial-client-logo {
display: block;
height: 75px;
width: auto;
max-width: 180px;
min-height: 35px;
object-fit: contain;
margin-bottom: 1.25rem;
margin-left: 0;
margin-right: auto;
opacity: 0.8;
transition: opacity 0.3s ease;
}
.testimonial-card:hover .testimonial-client-logo {
  opacity: 1;
}
.testimonial-client-logo.bg-white { /* Note: You might need this class on logos that are transparent/white */
  padding: 0.25rem;
  border-radius: 0.25rem;
  background-color: var(--dk-white); /* Assuming --dk-white is your white variable */
}
/* Star Rating */
.stars {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #f59e0b; /* Tailwind orange-400 */
}
.stars i {
  margin-right: 0.25rem;
}
/* Content & Quote Styles */
.testimonial-content {
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.testimonial-quote {
  color: var(--dk-dark-gray);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.625;
  font-style: italic;
  position: relative;
  text-align: left;
  overflow: hidden; /* Keep overflow hidden */
}
.testimonial-quote::before {
  content: '"';
  font-size: 2.5rem;
  color: var(--dk-medium-gray);
  position: absolute;
  left: -0.5rem;
  top: -1rem;
  opacity: 0.4;
  font-family: serif;
}
.testimonial-full-text {
  display: none; /* Initially hidden */
  transition: opacity 0.3s ease;
}
.testimonial-full-text.show {
  display: inline; /* Show when expanded */
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Gradient Overlay at the bottom of the quote */
.testimonial-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px; /* Height of the fade effect */
  background: linear-gradient(to bottom, rgba(240, 241, 243, 0), rgba(240, 241, 243, 1)); /* Transparent to card background color */
  pointer-events: none; /* Allows clicking through */
  transition: opacity 0.3s ease;
  z-index: 1; /* Ensure it's above the quote but below the button/cite */
}
/* Hide gradient when card is expanded */
.testimonial-card.expanded .testimonial-content::after {
  opacity: 0;
}

/* Read More Button */
.read-more-btn {
  font-size: 0.85rem;
  color: var(--dk-navy);
  background: transparent;
  border: none;
  padding: 0;
  margin-top: auto; /* Pushes button down */
  margin-bottom: 0.75rem;
  cursor: pointer;
  align-self: flex-start;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  display: inline-flex; /* Corrected from initial */
  align-items: center;
  z-index: 2; /* Ensure button is above gradient */
}
.read-more-btn:hover {
  color: var(--dk-burgundy);
}
/* Underline effect for read more */
.read-more-btn::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--dk-navy);
  position: absolute;
  bottom: -2px;
  left: 0;
  transition: width 0.3s ease;
}
.read-more-btn:hover::after {
  width: 100%;
  background: var(--dk-burgundy);
}
/* Hide read more button if no hidden text exists (JS should handle display none too) */
.testimonial-card:not(:has(.testimonial-full-text)) .read-more-btn {
  display: none;
}
/* Citation (Name & Title) */
.testimonial-cite {
  margin-top: auto; /* Pushes citation down */
  padding-top: 1rem;
  border-top: 1px solid rgba(204, 204, 204, 0.3);
  text-align: left;
  width: 100%;
  background-color: var(--dk-light-gray); /* Match card background */
  position: relative;
  z-index: 1; /* Can be 1, button needs higher z-index */
}
.testimonial-cite .name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dk-black);
  margin-bottom: 0.25rem;
}
.testimonial-cite .title {
  color: var(--dk-dark-gray);
  font-size: 0.875rem;
}

/* Swiper Styling for Testimonials */
.testimonialSwiper .swiper-slide {
  height: auto !important; /* Allow slide height to adjust */
  display: flex !important;
  justify-content: center !important;
  align-items: stretch; /* Makes cards fill slide height if needed */
}
.testimonialSwiper .swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  margin-top: 2rem !important;
}
.testimonialSwiper .swiper-pagination-bullet {
  background-color: var(--dk-medium-gray) !important;
  opacity: 0.6 !important;
  width: 10px !important;
  height: 10px !important;
  transition: all 0.3s ease-in-out !important;
}
.testimonialSwiper .swiper-pagination-bullet-active {
  background-color: var(--dk-navy) !important;
  opacity: 1 !important;
  width: 25px !important;
  border-radius: 5px !important;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .testimonial-card {
      padding: 1.75rem;
      height: 405px; /* INCREASED medium screen height */
  }
  .testimonial-quote {
      font-size: 0.9rem;
      line-height: 1.6;
  }
}
@media (max-width: 768px) {
  .testimonial-card {
      padding: 1.5rem;
      height: auto; /* Height adjusts to content */
      min-height: 385px; /* INCREASED small screen minimum height */
      max-width: 100%; /* Allow full width */
  }
  .testimonial-quote::before {
      font-size: 2rem;
      top: -0.75rem;
  }
  /* Ensure gradient respects min-height if content is very short */
  .testimonial-card {
       display: flex; flex-direction: column; /* Ensure flex direction for min-height */
  }
}

/* --- Contact Section --- */
.form-field-group { position: relative; margin-bottom: 1rem; }
.form-field-group input, .form-field-group select, .form-field-group textarea { transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; }
.form-field-group input::placeholder, .form-field-group textarea::placeholder { color: #aaa; opacity: 1; }
.form-field-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--dk-dark-gray); }
.form-field-group .error-message { color: var(--error-color); font-size: 0.75rem; margin-top: 0.25rem; }
.form-field-group input.error, .form-field-group select.error, .form-field-group textarea.error { border-color: var(--error-color) !important; }
.form-field-group input.error:focus, .form-field-group select.error:focus, .form-field-group textarea.error:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3) !important; }
#submit-button { position: relative; overflow: hidden; transition: all 0.3s ease; }
#submit-button:disabled { opacity: 0.7; cursor: not-allowed; }
#submit-button::after { content: ''; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; background: rgba(255, 255, 255, 0.3); opacity: 0; border-radius: 100%; transform: scale(1, 1) translate(-50%); transform-origin: 50% 50%; }
#submit-button:focus:not(:active)::after { animation: ripple 1s ease-out; }
@keyframes ripple { 0% { transform: scale(0, 0) translate(-50%); opacity: 0.5; } 20% { transform: scale(25, 25) translate(-50%); opacity: 0.3; } 100% { opacity: 0; transform: scale(40, 40) translate(-50%); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); } 20%, 40%, 60%, 80% { transform: translateX(4px); } }
.error-shake { animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
.loading-spinner { display: inline-block; width: 1em; height: 1em; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin 0.6s linear infinite; vertical-align: -0.125em; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- Footer --- */
.footer-heading { font-size: 1.125rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--dk-white); }
.footer-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; }
.contact-info-item { display: flex; align-items: flex-start; }
.footer-icon { margin-right: 0.75rem; color: var(--dk-burgundy); width: 1rem; text-align: center; flex-shrink: 0; margin-top: 0.125em; }
.footer-link { color: var(--dk-medium-gray); transition: color var(--header-transition-speed) ease, padding-left var(--header-transition-speed) ease; }
.footer-link:hover { color: var(--dk-white); padding-left: 4px; }

/* --- Back to Top --- */
#back-to-top { position: fixed; bottom: 1.5rem; right: 1.5rem; background-color: var(--dk-navy); color: var(--dk-white); border-radius: 9999px; padding: 0.75rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; z-index: 50; opacity: 0; visibility: hidden; transform: translateY(0.5rem); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { transform: scale(1.1); background-color: var(--dk-burgundy); }
#back-to-top i { font-size: 1.125rem; line-height: 1; }

/* --- Utilities & Animations --- */
/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--dk-light-gray); }
::-webkit-scrollbar-thumb { background: var(--dk-medium-gray); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--dk-dark-gray); }

/* Scroll Reveal */
[data-scroll-fade] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; transition-delay: var(--delay, 0s); }
[data-scroll-fade].is-visible { opacity: 1; transform: translateY(0); }

/* Text color management */
.text-light { color: var(--dk-white) !important; }
.text-light-soft { color: rgba(253, 253, 253, 0.9) !important; }
.hero h1, .hero p, .hero span { color: var(--dk-white); }
.hero .text-dk-white { color: var(--dk-white) !important; }