/* src/index.css */
@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@700;800&display=swap");

@font-face {
  font-family: "Ethnocentric";
  src: url("../fonts/Ethnocentric-Regular.otf") format("opentype");
  font-display: swap;
}

/* 1. Light Theme Variables (Default) */
:root,
[data-bs-theme="light"] {
  --bs-primary: #0d6efd;
  --bs-primary-rgb: 13, 110, 253;
  --bs-secondary: #6c757d; /* Default Bootstrap secondary gray */
  --bs-secondary-rgb: 108, 117, 125;
  --bs-light: #f8f9fa;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark: #212529;
  --bs-dark-rgb: 33, 37, 41;

  --bs-body-bg: #ffffff;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-body-color: #495057;
  --bs-body-color-rgb: 73, 80, 87;
  --bs-heading-color: var(--bs-dark);
  --bs-tertiary-color: #6c757d; /* Muted text color */
  --bs-tertiary-color-rgb: 108, 117, 125;
  --bs-tertiary-bg: #f8f9fa;
  --bs-tertiary-bg-rgb: 248, 249, 250;

  --bs-emphasis-color: var(--bs-dark);
  --bs-emphasis-color-rgb: var(--bs-dark-rgb);
  --bs-secondary-color: rgba(33, 37, 41, 0.75); /* For darker muted text */
  --bs-secondary-bg: var(--bs-light);

  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);

  --bs-body-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-font-size: 1.05rem;
  --bs-body-line-height: 1.6;

  /* Custom: Background for sections alternating from body */
  --section-bg-alt: var(--bs-light);
  --section-bg-base: var(--bs-body-bg);
  --card-bg: #ffffff;
  --card-border-color: var(--bs-border-color);

  --timeline-progress-h: 0; /* Horizontal progress 0 to 1 */
  --timeline-progress-v: 0; /* Vertical progress 0% to 100% */
}

/* 2. Dark Theme Variables & Overrides */
[data-bs-theme="dark"] {
  color-scheme: dark;

  --bs-primary: #3b82f6; /* Lighter blue */
  --bs-primary-rgb: 59, 130, 246;
  --bs-secondary: #66d9e8; /* Lighter teal/cyan as secondary */
  --bs-secondary-rgb: 102, 217, 232;
  --bs-light: #212529; /* Dark gray for light sections */
  --bs-light-rgb: 33, 37, 41;
  --bs-dark: #dee2e6; /* Light gray for dark text */
  --bs-dark-rgb: 222, 226, 230;

  --bs-body-bg: #121212; /* Very dark background */
  --bs-body-bg-rgb: 18, 18, 18;
  --bs-body-color: #adb5bd; /* Lighter gray body text */
  --bs-body-color-rgb: 173, 181, 189;
  --bs-heading-color: #f8f9fa; /* Near white headings */
  --bs-tertiary-color: #868e96; /* Muted text color */
  --bs-tertiary-color-rgb: 134, 142, 150;
  --bs-tertiary-bg: #212529; /* Dark bg for tertiary elements */
  --bs-tertiary-bg-rgb: 33, 37, 41;

  --bs-emphasis-color: #f8f9fa;
  --bs-emphasis-color-rgb: 248, 249, 250;
  --bs-secondary-color: rgba(248, 249, 250, 0.75); /* Lighter muted text */
  --bs-secondary-bg: var(--bs-light);

  --bs-border-color: #495057;
  --bs-border-color-translucent: rgba(255, 255, 255, 0.15);

  /* Custom: Background for sections alternating from body */
  --section-bg-alt: var(--bs-light); /* Use the dark gray */
  --section-bg-base: #1c1c1c; /* Slightly off-black for base sections */
  --card-bg: #343a40; /* Dark gray for cards */
  --card-border-color: var(--bs-border-color);

  /* Navbar Adjustments */
  .navbar.bg-white {
    /* Target navbar specifically */
    background-color: var(--section-bg-base) !important; /* Use slightly off-black */
    border-bottom: 1px solid var(--bs-border-color-translucent);
    --bs-navbar-color: rgba(255, 255, 255, 0.75);
    --bs-navbar-hover-color: #ffffff;
    --bs-navbar-brand-color: #ffffff;
    --bs-navbar-brand-hover-color: #ffffff;
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.1);
  }
  .navbar.bg-white .navbar-brand .text-dark {
    color: var(--bs-heading-color) !important; /* Ensure NekZoho span is light */
  }

  /* CTA Section & Footer (using bg-dark) */
  .bg-dark {
    background-color: #000000 !important; /* Make bg-dark sections black */
  }
  /* Ensure all text/links are light */
  .bg-dark h1,
  .bg-dark h2,
  .bg-dark h3,
  .bg-dark h4,
  .bg-dark h5,
  .bg-dark h6 {
    color: var(--bs-heading-color) !important;
  }
  .bg-dark p,
  .bg-dark small,
  .bg-dark span,
  .bg-dark li,
  .bg-dark a:not(.btn),
  .bg-dark .lead {
    color: var(--bs-body-color) !important;
  }
  .bg-dark a:not(.btn):hover {
    color: var(--bs-primary) !important;
  }
  .bg-dark .text-primary {
    color: var(--bs-primary) !important;
  }
  .bg-dark .btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
  }
  .bg-dark hr {
    border-top-color: var(--bs-border-color) !important;
  }

  /* Card adjustments */
  .card,
  .service-card,
  .testimonial-card {
    background-color: var(--card-bg) !important;
    --bs-card-border-color: var(--card-border-color);
  }
  /* Ensure text inside cards uses dark theme variables */
  .card h1,
  .card h2,
  .card h3,
  .card h4,
  .card h5,
  .card h6 {
    color: var(--bs-heading-color);
  }
  .card p,
  .card small,
  .card li {
    color: var(--bs-body-color);
  }
  .card .text-muted {
    color: var(--bs-tertiary-color) !important;
  }
  .card .text-dark {
    color: var(--bs-heading-color) !important;
  }
  .card .text-primary {
    color: var(--bs-primary) !important;
  }
  .card a:not(.btn) {
    color: var(--bs-primary);
  }
  .card a:not(.btn):hover {
    color: var(--bs-primary);
    filter: brightness(1.2);
  }

  /* Icon Shape Adjustments */
  .icon-shape {
    background-color: rgba(var(--bs-primary-rgb), 0.15);
    color: var(--bs-primary);
  }

  /* Update Textures for Dark Mode */
  /* .bg-light-textured-1 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><rect width="10" height="10" fill="%23212529"/><path d="M-1 1l2-2M0 11l10-10M9 19l2-2" stroke="%23495057" stroke-width="1"/></svg>');
  }
  .bg-light-textured-2 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"><circle fill="%23495057" cx="2" cy="2" r="0.5" /></svg>');
  }
  .bg-light-textured-3 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="2" height="2" fill="%23212529"><path d="M1 0v2h1V0z" fill="%23495057"/></svg>');
  }
  .bg-light-textured-4 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%23212529" width="100" height="100"/><circle cx="50" cy="50" r="40" fill="%23495057" opacity="0.1"/><circle cx="50" cy="50" r="30" fill="%23495057" opacity="0.1"/><circle cx="50" cy="50" r="20" fill="%23495057" opacity="0.1"/><circle cx="50" cy="50" r="10" fill="%23495057" opacity="0.1"/></svg>');
  } */
} /* End of [data-bs-theme="dark"] */

/* 3. General Styles (Apply to both themes) */
body {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  line-height: var(--bs-body-line-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bs-heading-color);
}

.lead {
  color: var(--bs-secondary-color); /* Use secondary color for lead text */
}
.text-muted {
  color: var(--bs-tertiary-color); /* Use tertiary color for muted text */
}

/* Base section backgrounds */
section:not([class*="bg-"]):not(.navbar) {
  /* Target sections without explicit bg-* class */
  background-color: var(--section-bg-base);
}
/* Alternate section backgrounds */
.bg-light {
  background-color: var(--section-bg-alt);
}

.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--bs-primary);
  background-color: var(--card-bg);
  border-color: var(--card-border-color);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}

.icon-shape {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(var(--bs-primary-rgb), 0.1); /* Primary tint */
  color: var(--bs-primary);
}

.testimonial-card {
  border: 0;
  border-left: 4px solid var(--bs-primary);
  background-color: var(--card-bg);
  border-color: var(--card-border-color);
}

.navbar-brand {
  font-family: "Ethnocentric", "Exo 2", sans-serif;
  letter-spacing: 0.05em;
  font-size: 1rem; /* Adjust if needed */
}

/* 4. Animation Styles */
/* .fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
} */

/* 5. Theme Toggle Styles */
.theme-toggle-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  color: var(--bs-secondary-color);
  transition: color 0.2s ease-in-out;
}
.theme-toggle-button:hover {
  color: var(--bs-emphasis-color);
}
/* 6. Custom Helper Classes */
.btn-circle {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 7. Language Dropdown Styles */
#language-dropdown .btn {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

#language-dropdown .dropdown-menu {
  min-width: auto;
  font-size: 0.9rem;
}

#language-dropdown .dropdown-item {
  display: flex;
  align-items: center;
}

#current-lang-btn {
  font-size: 0.8rem; /* Matches button font size */
  padding: 0.75rem;
}
#lang-dropdown li button {
  padding-top: 0;
  padding-bottom: 0;
}
#lang-dropdown {
  padding: 2px 0;
  border-radius: 4px;
}
/* 8. HERO REDESIGN (Original Rotating Gradient) */
#home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(-45deg, #0d6efd, #0d6efd, #000030, #02021c);
  background-size: 400% 400%;
  animation: heroGradient 10s linear infinite;
}

@keyframes heroGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Make sure content is on top */
#home-hero .container,
#home-hero .hero-scroll-down {
  position: relative;
  z-index: 2;
}

#home-hero .btn-outline-light {
  --bs-btn-hover-color: #000;
  border-width: 2px; /* Make outline button match */
}

.hero-scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
}

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

/* 9. INFINITE SCROLLER (Logos/Industries) */
.scroller {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller__inner {
  white-space: nowrap;
  display: flex; /* Ensure it's a flex container */
}

/* This class is added by JS to start the animation */
.scroller__inner.scrolling {
  animation: scroll 40s linear infinite;
}

#industries .scroller__inner.scrolling {
  animation-duration: 45s; /* Slowed down for the new cards */
}

.scroller[data-speed="fast"] .scroller__inner.scrolling {
  animation-duration: 20s;
}

.scroller[data-direction="right"] .scroller__inner.scrolling {
  animation-direction: reverse;
}

/* This single keyframe works for any content */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    /* Updated to use 0.75rem margin */
    transform: translateX(calc(-50% - 0.75rem));
  }
}

/* NEW styles for the industry cards */
/* NEW styles for the industry cards */
.industry-card-item {
  /* This makes the card a rigid flex item that won't grow or shrink */
  flex: 0 0 125px;
  width: 125px;
  margin: 0 0.75rem; /* Add margin */
}

.industry-card-item .card {
  /* The card inside the list item */
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius); /* Standard border radius */
  padding: 1rem 0.5rem;
  transition: all 0.3s ease;
  height: 100%;
}

/* Ensure .service-card hover effect still works */
.industry-card-item .service-card:hover {
  transform: translateY(-5px); /* Less dramatic hover for the scroller */
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.industry-card-item .card-body {
  /* Override bootstrap card-body padding */
  padding: 0.5rem !important;
}

.industry-card-item h5 {
  color: var(--bs-heading-color);
  line-height: 1.3;
  font-size: 0.9rem !important; /* Made text a bit smaller to fit */
  /* This is the new line: (font-size * line-height * 2 lines) */
  min-height: 2.34rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 21. CLIENT LOGO SCROLLER STYLES */
.scroller__inner .client-logo {
  display: inline-block;
  vertical-align: middle;
  color: var(--bs-secondary-color); /* Darker, more visible color */
}

.scroller__inner .client-logo svg {
  height: 40px; /* Larger size */
  width: auto;
  fill: currentColor;
  opacity: 0.7; /* Good base visibility */
  transition: opacity 0.2s ease-in-out;
}

.scroller__inner .client-logo:hover svg {
  opacity: 1;
}

/* 10. ABOUT SECTION (Overlap) */
.about-image-col {
  position: relative;
}

.about-image {
  transform: scale(1);
  transition: transform 0.6s ease;
}

.about-image-col:hover .about-image {
  transform: scale(1.03);
}

.about-experience-box {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  z-index: 10;
  animation: pulse 2s infinite;
}

@media (max-width: 1200px) {
  .about-experience-box {
    display: none !important;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(var(--bs-primary-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0);
  }
}

/* 11. SERVICES TABS */
.service-tabs .nav-link {
  font-size: 1.1rem;
  color: var(--bs-body-color);
  margin-bottom: 0.5rem;
  border: 1px solid var(--bs-border-color);
  background-color: var(--bs-body-bg);
  transition: all 0.3s ease;
}

.service-tabs .nav-link:hover {
  background-color: var(--bs-tertiary-bg);
  transform: translateX(5px);
}

.service-tabs .nav-link.active {
  background-color: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
  box-shadow: 0 0.5rem 1rem rgba(var(--bs-primary-rgb), 0.3);
  transform: translateX(10px);
}

.service-tabs .nav-link.active svg {
  color: #fff !important;
}

/* 12. PROCESS TIMELINE */
.process-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.timeline-item {
  position: relative;
  padding-left: 3.5rem;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--bs-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 5;
}

/* The vertical line */
.process-timeline::before {
  content: "";
  position: absolute;
  top: 1.25rem; /* Start at center of first dot */
  left: calc(1.25rem - 2px); /* Centered line (1.25rem is half of 2.5rem dot) */
  width: 4px;
  background-color: var(--bs-border-color);
  /* z-index: 1; */

  /* Animation */
  height: var(--timeline-progress-v);
  transition: height 1s ease-out;
}

.timeline-item:last-child::after {
  content: "";
  position: absolute;
  top: 1.25rem; /* Start from the dot's center */
  left: calc(1.25rem - 2px); /* Match the line's position */
  bottom: 0;
  width: 4px;
  /* This covers the line below the last dot */
  background-color: var(--section-bg-base);
  z-index: 2; /* Must be above the line */
}

@media (min-width: 992px) {
  .process-timeline {
    flex-direction: row;
    gap: 3rem;
  }
  .timeline-item {
    flex: 1;
    padding-left: 0;
    padding-top: 3.5rem;
    text-align: center;
  }
  .timeline-dot {
    left: 50%;
    transform: translateX(-50%);
  }
  /* The horizontal line */
  .process-timeline::before {
    /* This calculates the correct vertical center: 
       (content padding-top) + (half dot height) - (half line height) */
    top: calc(3.5rem - 20px);
    z-index: 0 !important;

    /* Sizing & Positioning: Stops at the center of the first/last dots */
    left: 10%; /* (100% width / 5 items) / 2 */
    width: 80%; /* 100% - (10% * 2) */

    bottom: auto;
    height: 4px;

    /* Animation */
    transform: scaleX(var(--timeline-progress-h));
    transform-origin: left center;
    transition: transform 1s ease-out;
  }
  .timeline-item:last-child::after {
    display: none; /* No need to cover line on desktop */
  }
}

/* 13. TESTIMONIAL CAROUSEL */
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
  width: 5%;
}

/* 14. HOVER LINK (for footer) */
.hover-primary:hover {
  color: var(--bs-primary) !important;
}
/* 11. SERVICES TABS (Image Size Fix) */
#services .tab-pane img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  object-position: top;
  border-radius: 0.25rem; /* Adds a nice subtle border radius */
}

@media (max-width: 991px) {
  #services .tab-pane img {
    height: 250px; /* A more appropriate height for stacked mobile view */
  }
}

/* 12. PROCESS TIMELINE (Line Alignment Fix) */
@media (min-width: 992px) {
  .timeline-item {
    padding-top: 0; /* Remove padding from the item */
  }

  .timeline-item .timeline-content {
    padding-top: 3.5rem; /* Add padding to the content inside */
  }

  .timeline-dot {
    top: calc(1.25rem - 2px); /* Align dot with the line */
  }
}
/* 15. POLISHING FIXES */

/* 1. Fix: Make Process Timeline line visible */
.process-timeline::before {
  /* This changes the line from very-light-gray to a more visible border-gray */
  background-color: var(--bs-border-color);
}

/* 2. Fix: Make Testimonial card visible in light mode */
[data-bs-theme="light"] .testimonial-card {
  /* This changes the card from white to a very-light-gray */
  background-color: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
}
/* 16. HERO BUTTON THEME FIX */

.btn-hero-primary {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  border: 2px solid #fff;
  backdrop-filter: blur(5px); /* Adds a cool 'glass' effect */
  /* transition: all 0.3s ease; */
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
  color: var(--bs-primary); /* Blue text on hover */
  background-color: #fff; /* Solid white bg on hover */
  border-color: #fff;
}

/* Also make the outline button's border thicker to match */
#home-hero .btn-outline-light {
  border-width: 2px;
}

/* 17. CUSTOM SCROLLBAR (Updated) */

/* Firefox: Use default width */
html {
  scrollbar-width: auto; /* 'auto' is the default, 'thin' is removed */
  scrollbar-color: var(--bs-primary) var(--bs-tertiary-bg);
}

/* Chrome, Edge, Safari, and other WebKit browsers */
::-webkit-scrollbar {
  /* Use a more standard default width */
  width: 16px;
}

/* Explicitly hide the up/down arrows */
::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

::-webkit-scrollbar-track {
  background: var(--bs-tertiary-bg);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--bs-primary);
  border-radius: 10px;
  /* Add a border so the thumb doesn't look too bulky */
  border: 4px solid var(--bs-tertiary-bg);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--bs-primary);
  filter: brightness(1.2);
}

/* 18. TESTIMONIAL 3-UP FIX */
#testimonials .card-body {
  padding: 1.5rem; /* Reduced padding for 3-up layout */
  /* transition: all 0.3s ease; */
}

#testimonials .fs-5 {
  font-size: 1.1rem !important; /* Slightly smaller text for 3-up */
}
/* 19. TESTIMONIAL CAROUSEL CONTROLS */
#testimonialCarousel .carousel-indicators {
  bottom: -3.5rem; /* Position them below the cards */
}

#testimonialCarousel .carousel-indicators [data-bs-target] {
  background-color: var(--bs-border-color); /* Light gray for inactive */
  width: 30px;
  height: 4px;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

#testimonialCarousel .carousel-indicators .active {
  background-color: var(--bs-primary); /* Blue for active */
}

/* Make arrows more responsive on mobile */
@media (max-width: 767px) {
  #testimonialCarousel .carousel-control-prev,
  #testimonialCarousel .carousel-control-next {
    /* Hide on mobile, as 3-up carousel stacks */
    display: none;
  }
}
/* 20. TESTIMONIAL ARROW FIX (Wider Spacing) */
#testimonialCarousel .carousel-control-prev {
  width: auto; /* Stop it from taking up 15% width */
  /* Moves the arrow 100% of its own width, plus 2rem of extra space */
  transform: translateX(calc(-100% - 2rem));
  display: none; /* Hidden by default for mobile */
}

#testimonialCarousel .carousel-control-next {
  width: auto; /* Stop it from taking up 15% width */
  /* Moves the arrow 100% of its own width, plus 2rem of extra space */
  transform: translateX(calc(100% + 2rem));
  display: none; /* Hidden by default for mobile */
}

/* Show arrows only on large screens (desktops) */
@media (min-width: 992px) {
  #testimonialCarousel .carousel-control-prev,
  #testimonialCarousel .carousel-control-next {
    display: flex;
  }
}

/* Hide on medium screens (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
  #testimonialCarousel .carousel-control-prev,
  #testimonialCarousel .carousel-control-next {
    display: none;
  }
}
/* =======================
   18. NEW HERO SECTION STYLES
   ======================= */

/* #new-hero {
  background-image: url("../images/hero-image.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  color: #fff;
} */

#new-hero {
  /* Fallback color */
  background-color: #0a0f1e;
  position: relative;
  overflow: hidden; /* This contains the zoom */
  color: #fff;
}

/* This new rule styles the background div */
.hero-background-image {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1; /* Behind the content */

  /* The background image is now on this div */
  background-image: url("../images/hero-image.png");
  background-size: cover;
  background-position: center center;
}

@media (min-width: 481px) and (max-width: 1200px) {
  .hero-background-image {
    background-position: top left;
  }
}

/* Make sure the text container stays on top */
#new-hero .container {
  position: relative;
  z-index: 2;
}

/* New Primary Red Button (from reference image) */
.btn-hero-red {
  --bs-btn-color: #fff;
  --bs-btn-bg: #e63946; /* Strong red from reference */
  --bs-btn-border-color: #e63946;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #d62c3a; /* Darker red on hover */
  --bs-btn-hover-border-color: #d62c3a;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #c92836;
  --bs-btn-active-border-color: #c92836;
  --bs-btn-focus-shadow-rgb: 230, 57, 70;
  border-width: 2px;
}

/* Style secondary outline button */
#new-hero .btn-outline-light {
  border-width: 2px;
  --bs-btn-hover-color: #000; /* Black text on hover */
}
/* 23. TEAM CARD STYLES */
.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}
.team-card .team-member-img {
  transition: transform 0.3s ease;
}
.team-card:hover .team-member-img {
  transform: scale(1.05);
}

/* 24. LOCATION CARDS (Contact Page) */
.location-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--bs-border-radius-lg);
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.location-card:hover {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.location-card h5 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.location-card h5:first-of-type {
  margin-top: 0;
}
/* 25. CORE VALUES ICON (Dark Mode Fix) */
#core-values .icon-shape {
  /* Use a semi-transparent white for the background */
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--bs-primary); /* Keep the icon blue */
}
