/* =========================================================
   HERO - Updated with Figma colors and banner image
   ========================================================= */
.hero-aisla {
  position: relative;
  min-height: 760px;
  background: linear-gradient(rgba(45, 50, 129, 0.6), rgba(45, 50, 129, 0.7)), var(--hero-bg-img, url("../img/hero-background.jpg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: visible;
  display: flex;
  align-items: center;
}

.hero-aisla .hero-title {
  color: #fff;
  font-weight: 800;
  line-height: 1.08;
  font-size: clamp(2rem, 4vw + 1rem, 3.8rem);
  margin: 0 0 1rem 0;
}
.hero-aisla .hero-lead {
  color: #e6e7ee;
  font-size: 1.1rem;
  max-width: 640px;
  margin-bottom: 1.2rem;
}
.hero-aisla .text-accent {
  color: var(--accent);
}

/* Reduced excessive left margin and improved layout balance */
.hero-aisla .hero-copy {
  margin-left: 0;
  padding-right: 2rem;
}

/* GIANT donut that can bleed into the white area */
.hero-donut {
  width: min(800px, 60vw);
  aspect-ratio: 1 / 1;
  position: relative;
  transform: translate(10%, 10%);
  z-index: 2;
  overflow: visible;
}

/* Orange arc updated with Figma accent color */
.hero-donut .donut-arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0 300deg, transparent 300deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 90px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 90px), #000 0);
  z-index: 1;
}

/* Inner circular image */
.hero-donut .donut-image {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 2;
  /* Removed hardcoded background URL to allow dynamic images */
}

/* Prev/Next buttons updated with Figma colors */
.hero-donut .hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--primary);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: .3s;
  z-index: 5;
}
.hero-donut .hero-nav:hover {
  background: var(--accent);
  color: #fff;
}
.hero-donut .hero-nav.prev {
  left: -60px;
}
.hero-donut .hero-nav.next {
  right: -60px;
}

/* CTA inside hero copy updated with Figma colors */
.hero-copy .btn-accent {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 36px;
  font-size: 1.1rem;
  display: inline-block;
  margin-top: 20px;
  box-shadow: 0 6px 20px rgba(232, 78, 35, 0.35);
}
.hero-copy .btn-accent:hover {
  background: var(--danger);
}

/* Progress dots and bar */
.hero-dots {
  display: flex;
  gap: 8px;
}
.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.4;
  transition: opacity .3s, background .3s;
}
.hero-dots .dot.active {
  opacity: 1;
  background: var(--accent);
}
.hero-progress {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.hero-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width .3s;
}

/* =========================================================
   SERVICES DROPDOWN STYLING
   ========================================================= */
.navbar-aisla .dropdown-menu.service-dropdown {
  min-width: min(560px, 90vw);
  max-width: 640px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(15, 30, 55, 0.18);
  padding: 1.25rem 1.5rem;
  background: #ffffff;
}

.navbar-aisla .dropdown-menu .dropdown-item {
  font-weight: 500;
  padding: 0.55rem 1.25rem;
  color: var(--primary);
}

.navbar-aisla .dropdown-menu .dropdown-item.active,
.navbar-aisla .dropdown-menu .dropdown-item:focus,
.navbar-aisla .dropdown-menu .dropdown-item:hover {
  background-color: rgba(241, 166, 1, 0.08);
  color: var(--accent);
}

@media (min-width: 992px) {
  .navbar-aisla .dropdown-hover:hover > .dropdown-menu,
  .navbar-aisla .dropdown-hover:focus-within > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

.nav-item-services .nav-link-group{
  display:flex;
  align-items:center;
  gap:6px;
}

.nav-item-services .nav-link-main{display:flex;align-items:center;gap:6px}

.nav-item-services .nav-link-toggle{
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:0;
  color:var(--primary);
  padding:0 0.75rem;
  font-size:0.9rem;
}

.nav-item-services .nav-link-toggle:focus{outline:2px solid var(--accent);outline-offset:3px}

.nav-item-services .nav-link-toggle .fa-chevron-down{font-size:0.75rem}

@media (min-width: 992px) {
  .nav-item-services .nav-link-toggle{display:none}
  .nav-item-services .nav-link-main{padding-right:0.75rem}
}

@media (max-width: 991.98px) {
  .nav-item-services .nav-link-group{width:100%;justify-content:space-between}
  .nav-item-services .nav-link-main{flex:1}
}

.service-dropdown-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-dropdown-intro {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.75rem;
}

.service-dropdown-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.service-dropdown-text {
  margin: 0;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.4;
}

.service-dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 22rem;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.service-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid transparent;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.18s ease;
}

.service-dropdown-item i {
  font-size: 0.85rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.18s ease;
}

.service-dropdown-item:hover,
.service-dropdown-item:focus {
  background: #ffffff;
  border-color: rgba(241, 166, 1, 0.35);
  box-shadow: 0 14px 32px rgba(15, 30, 55, 0.12);
  color: var(--accent);
}

.service-dropdown-item:hover i,
.service-dropdown-item:focus i {
  opacity: 1;
  transform: translateX(0);
}

.service-dropdown-item.active {
  background: rgba(241, 166, 1, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.service-dropdown-footer {
  display: flex;
  justify-content: flex-end;
}

.service-dropdown-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(241, 166, 1, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.service-dropdown-view-all::after {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
}

.service-dropdown-view-all:hover,
.service-dropdown-view-all:focus {
  background: rgba(241, 166, 1, 0.22);
  box-shadow: 0 10px 24px rgba(232, 78, 35, 0.2);
  color: var(--accent);
}

@media (max-width: 575.98px) {
  .service-dropdown-grid {
    grid-template-columns: 1fr;
  }

  .service-dropdown-footer {
    justify-content: stretch;
  }

  .service-dropdown-view-all {
    width: 100%;
    justify-content: center;
  }
}

/* Navbar search panel */
.navbar-aisla {
  position: relative;
}

.navbar-aisla .navbar-search-panel {
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: 0 12px 32px rgba(15, 30, 55, 0.08);
  transition: opacity .2s ease, transform .2s ease;
  opacity: 1;
}

.navbar-aisla .navbar-search-panel[hidden] {
  display: none !important;
}

.navbar-aisla .navbar-search-form .input-group-text {
  background: #f1f5f9;
  border: none;
  border-radius: 999px 0 0 999px;
  color: #64748b;
  padding-left: 1rem;
}

.navbar-aisla .navbar-search-form .form-control {
  border: none;
  background: #f8fafc;
  border-radius: 0;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  box-shadow: none;
}

.navbar-aisla .navbar-search-form .form-control:focus {
  box-shadow: none;
  background: #fff;
}

.navbar-aisla .navbar-search-form .btn-accent {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 0 999px 999px 0;
  padding: 0.75rem 1.5rem;
}

.navbar-aisla .navbar-search-form .btn-link.search-close {
  color: #94a3b8;
  font-size: 1.1rem;
  padding: 0 0.75rem;
}

.navbar-aisla .navbar-search-form .btn-link.search-close:hover {
  color: var(--accent);
}

@media (min-width: 992px) {
  .navbar-aisla .navbar-search-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(420px, 90vw);
    margin-top: 12px;
    box-shadow: 0 20px 48px rgba(15, 30, 55, 0.18);
  }
}

@media (min-width: 992px) {
  .navbar-aisla .dropdown-hover:hover > .dropdown-menu {
    display: block;
  }

  .navbar-aisla .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.35rem;
    display: none;
  }

  .navbar-aisla .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }

  .navbar-aisla .dropdown-submenu:hover > .dropdown-toggle::after {
    transform: translateX(4px);
  }
}

@media (max-width: 991.98px) {
  .navbar-aisla .dropdown-menu.service-dropdown {
    min-width: 100%;
    max-width: none;
    padding: 1rem 1.25rem;
    box-shadow: none;
    border-radius: 14px;
  }

  .navbar-aisla .dropdown-submenu .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
  }

  .navbar-aisla .dropdown-submenu .dropdown-menu.show {
    display: block;
  }
}

@media (max-width: 992px) {
  .hero-aisla {
    padding: 68px 0 72px;
    min-height: auto;
    background-attachment: scroll; /* Better performance on mobile */
  }

  .unified-header {
    background-attachment: scroll; /* Better performance on mobile */
  }

  /* Better mobile layout */
  .hero-donut {
    width: min(400px, 80vw);
    transform: translate(5%, 5%);
  }

  .hero-aisla .hero-copy {
    padding-right: 1rem;
  }
}
/* =========================================================
   HERO - Updated with Figma colors and banner image
   ========================================================= */
.hero-aisla {
  position: relative;
  min-height: 760px;
  background: linear-gradient(rgba(45, 50, 129, 0.6), rgba(45, 50, 129, 0.7)), var(--hero-bg-img, url("../img/hero-background.jpg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: visible;
  display: flex;
  align-items: center;
}

.hero-aisla .hero-title {
  color: #fff;
  font-weight: 800;
  line-height: 1.08;
  font-size: clamp(2rem, 4vw + 1rem, 3.8rem);
  margin: 0 0 1rem 0;
}
.hero-aisla .hero-lead {
  color: #e6e7ee;
  font-size: 1.1rem;
  max-width: 640px;
  margin-bottom: 1.2rem;
}
.hero-aisla .text-accent {
  color: var(--accent);
}

/* Reduced excessive left margin and improved layout balance */
.hero-aisla .hero-copy {
  margin-left: 0;
  padding-right: 2rem;
}

/* GIANT donut that can bleed into the white area */
.hero-donut {
  width: min(800px, 60vw);
  aspect-ratio: 1 / 1;
  position: relative;
  transform: translate(10%, 10%);
  z-index: 2;
  overflow: visible;
}

/* Orange arc updated with Figma accent color */
.hero-donut .donut-arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0 300deg, transparent 300deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 90px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 90px), #000 0);
  z-index: 1;
}

/* Inner circular image */
.hero-donut .donut-image {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 2;
  /* Removed hardcoded background URL to allow dynamic images */
}

/* Prev/Next buttons updated with Figma colors */
.hero-donut .hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--primary);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: .3s;
  z-index: 5;
}
.hero-donut .hero-nav:hover {
  background: var(--accent);
  color: #fff;
}
.hero-donut .hero-nav.prev {
  left: -60px;
}
.hero-donut .hero-nav.next {
  right: -60px;
}

/* CTA inside hero copy updated with Figma colors */
.hero-copy .btn-accent {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 36px;
  font-size: 1.1rem;
  display: inline-block;
  margin-top: 20px;
  box-shadow: 0 6px 20px rgba(232, 78, 35, 0.35);
}
.hero-copy .btn-accent:hover {
  background: var(--danger);
}

/* Progress dots and bar */
.hero-dots {
  display: flex;
  gap: 8px;
}
.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.4;
  transition: opacity .3s, background .3s;
}
.hero-dots .dot.active {
  opacity: 1;
  background: var(--accent);
}
.hero-progress {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.hero-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width .3s;
}

/* =========================================================
   SERVICES DROPDOWN STYLING
   ========================================================= */
.navbar-aisla .dropdown-menu.service-dropdown {
  min-width: min(560px, 90vw);
  max-width: 640px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(15, 30, 55, 0.18);
  padding: 1.25rem 1.5rem;
  background: #ffffff;
}

.navbar-aisla .dropdown-menu .dropdown-item {
  font-weight: 500;
  padding: 0.55rem 1.25rem;
  color: var(--primary);
}

.navbar-aisla .dropdown-menu .dropdown-item.active,
.navbar-aisla .dropdown-menu .dropdown-item:focus,
.navbar-aisla .dropdown-menu .dropdown-item:hover {
  background-color: rgba(241, 166, 1, 0.08);
  color: var(--accent);
}

@media (min-width: 992px) {
  .navbar-aisla .dropdown-hover:hover > .dropdown-menu,
  .navbar-aisla .dropdown-hover:focus-within > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

.nav-item-services .nav-link-group{
  display:flex;
  align-items:center;
  gap:6px;
}

.nav-item-services .nav-link-main{display:flex;align-items:center;gap:6px}

.nav-item-services .nav-link-toggle{
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:0;
  color:var(--primary);
  padding:0 0.75rem;
  font-size:0.9rem;
}

.nav-item-services .nav-link-toggle:focus{outline:2px solid var(--accent);outline-offset:3px}

.nav-item-services .nav-link-toggle .fa-chevron-down{font-size:0.75rem}

@media (min-width: 992px) {
  .nav-item-services .nav-link-toggle{display:none}
  .nav-item-services .nav-link-main{padding-right:0.75rem}
}

@media (max-width: 991.98px) {
  .nav-item-services .nav-link-group{width:100%;justify-content:space-between}
  .nav-item-services .nav-link-main{flex:1}
}

.service-dropdown-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-dropdown-intro {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.75rem;
}

.service-dropdown-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.service-dropdown-text {
  margin: 0;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.4;
}

.service-dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 22rem;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.service-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid transparent;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.18s ease;
}

.service-dropdown-item i {
  font-size: 0.85rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.18s ease;
}

.service-dropdown-item:hover,
.service-dropdown-item:focus {
  background: #ffffff;
  border-color: rgba(241, 166, 1, 0.35);
  box-shadow: 0 14px 32px rgba(15, 30, 55, 0.12);
  color: var(--accent);
}

.service-dropdown-item:hover i,
.service-dropdown-item:focus i {
  opacity: 1;
  transform: translateX(0);
}

.service-dropdown-item.active {
  background: rgba(241, 166, 1, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.service-dropdown-footer {
  display: flex;
  justify-content: flex-end;
}

.service-dropdown-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(241, 166, 1, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.service-dropdown-view-all::after {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
}

.service-dropdown-view-all:hover,
.service-dropdown-view-all:focus {
  background: rgba(241, 166, 1, 0.22);
  box-shadow: 0 10px 24px rgba(232, 78, 35, 0.2);
  color: var(--accent);
}

@media (max-width: 575.98px) {
  .service-dropdown-grid {
    grid-template-columns: 1fr;
  }

  .service-dropdown-footer {
    justify-content: stretch;
  }

  .service-dropdown-view-all {
    width: 100%;
    justify-content: center;
  }
}

/* Navbar search panel */
.navbar-aisla {
  position: relative;
}

.navbar-aisla .navbar-search-panel {
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: 0 12px 32px rgba(15, 30, 55, 0.08);
  transition: opacity .2s ease, transform .2s ease;
  opacity: 1;
}

.navbar-aisla .navbar-search-panel[hidden] {
  display: none !important;
}

.navbar-aisla .navbar-search-form .input-group-text {
  background: #f1f5f9;
  border: none;
  border-radius: 999px 0 0 999px;
  color: #64748b;
  padding-left: 1rem;
}

.navbar-aisla .navbar-search-form .form-control {
  border: none;
  background: #f8fafc;
  border-radius: 0;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  box-shadow: none;
}

.navbar-aisla .navbar-search-form .form-control:focus {
  box-shadow: none;
  background: #fff;
}

.navbar-aisla .navbar-search-form .btn-accent {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 0 999px 999px 0;
  padding: 0.75rem 1.5rem;
}

.navbar-aisla .navbar-search-form .btn-link.search-close {
  color: #94a3b8;
  font-size: 1.1rem;
  padding: 0 0.75rem;
}

.navbar-aisla .navbar-search-form .btn-link.search-close:hover {
  color: var(--accent);
}

@media (min-width: 992px) {
  .navbar-aisla .navbar-search-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(420px, 90vw);
    margin-top: 12px;
    box-shadow: 0 20px 48px rgba(15, 30, 55, 0.18);
  }
}

@media (min-width: 992px) {
  .navbar-aisla .dropdown-hover:hover > .dropdown-menu {
    display: block;
  }

  .navbar-aisla .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.35rem;
    display: none;
  }

  .navbar-aisla .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }

  .navbar-aisla .dropdown-submenu:hover > .dropdown-toggle::after {
    transform: translateX(4px);
  }
}

@media (max-width: 991.98px) {
  .navbar-aisla .dropdown-menu.service-dropdown {
    min-width: 100%;
    max-width: none;
    padding: 1rem 1.25rem;
    box-shadow: none;
    border-radius: 14px;
  }

  .navbar-aisla .dropdown-submenu .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
  }

  .navbar-aisla .dropdown-submenu .dropdown-menu.show {
    display: block;
  }
}

@media (max-width: 992px) {
  .hero-aisla {
    padding: 68px 0 72px;
    min-height: auto;
    background-attachment: scroll; /* Better performance on mobile */
  }

  .unified-header {
    background-attachment: scroll; /* Better performance on mobile */
  }

  /* Better mobile layout */
  .hero-donut {
    width: min(400px, 80vw);
    transform: translate(5%, 5%);
  }

  .hero-aisla .hero-copy {
    padding-right: 1rem;
  }
}
/* =========================================================
   HERO - Updated with Figma colors and banner image
   ========================================================= */
.hero-aisla {
  position: relative;
  min-height: 760px;
  background: linear-gradient(rgba(45, 50, 129, 0.6), rgba(45, 50, 129, 0.7)), var(--hero-bg-img, url("../img/hero-background.jpg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: visible;
  display: flex;
  align-items: center;
}

.hero-aisla .hero-title {
  color: #fff;
  font-weight: 800;
  line-height: 1.08;
  font-size: clamp(2rem, 4vw + 1rem, 3.8rem);
  margin: 0 0 1rem 0;
}
.hero-aisla .hero-lead {
  color: #e6e7ee;
  font-size: 1.1rem;
  max-width: 640px;
  margin-bottom: 1.2rem;
}
.hero-aisla .text-accent {
  color: var(--accent);
}

/* Reduced excessive left margin and improved layout balance */
.hero-aisla .hero-copy {
  margin-left: 0;
  padding-right: 2rem;
}

/* GIANT donut that can bleed into the white area */
.hero-donut {
  width: min(800px, 60vw);
  aspect-ratio: 1 / 1;
  position: relative;
  transform: translate(10%, 10%);
  z-index: 2;
  overflow: visible;
}

/* Orange arc updated with Figma accent color */
.hero-donut .donut-arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0 300deg, transparent 300deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 90px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 90px), #000 0);
  z-index: 1;
}

/* Inner circular image */
.hero-donut .donut-image {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 2;
  /* Removed hardcoded background URL to allow dynamic images */
}

/* Prev/Next buttons updated with Figma colors */
.hero-donut .hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--primary);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: .3s;
  z-index: 5;
}
.hero-donut .hero-nav:hover {
  background: var(--accent);
  color: #fff;
}
.hero-donut .hero-nav.prev {
  left: -60px;
}
.hero-donut .hero-nav.next {
  right: -60px;
}

/* CTA inside hero copy updated with Figma colors */
.hero-copy .btn-accent {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 36px;
  font-size: 1.1rem;
  display: inline-block;
  margin-top: 20px;
  box-shadow: 0 6px 20px rgba(232, 78, 35, 0.35);
}
.hero-copy .btn-accent:hover {
  background: var(--danger);
}

/* Progress dots and bar */
.hero-dots {
  display: flex;
  gap: 8px;
}
.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.4;
  transition: opacity .3s, background .3s;
}
.hero-dots .dot.active {
  opacity: 1;
  background: var(--accent);
}
.hero-progress {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.hero-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width .3s;
}

/* =========================================================
   SERVICES DROPDOWN STYLING
   ========================================================= */
.navbar-aisla .dropdown-menu.service-dropdown {
  min-width: min(560px, 90vw);
  max-width: 640px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(15, 30, 55, 0.18);
  padding: 1.25rem 1.5rem;
  background: #ffffff;
}

.navbar-aisla .dropdown-menu .dropdown-item {
  font-weight: 500;
  padding: 0.55rem 1.25rem;
  color: var(--primary);
}

.navbar-aisla .dropdown-menu .dropdown-item.active,
.navbar-aisla .dropdown-menu .dropdown-item:focus,
.navbar-aisla .dropdown-menu .dropdown-item:hover {
  background-color: rgba(241, 166, 1, 0.08);
  color: var(--accent);
}

@media (min-width: 992px) {
  .navbar-aisla .dropdown-hover:hover > .dropdown-menu,
  .navbar-aisla .dropdown-hover:focus-within > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

.nav-item-services .nav-link-group{
  display:flex;
  align-items:center;
  gap:6px;
}

.nav-item-services .nav-link-main{display:flex;align-items:center;gap:6px}

.nav-item-services .nav-link-toggle{
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:0;
  color:var(--primary);
  padding:0 0.75rem;
  font-size:0.9rem;
}

.nav-item-services .nav-link-toggle:focus{outline:2px solid var(--accent);outline-offset:3px}

.nav-item-services .nav-link-toggle .fa-chevron-down{font-size:0.75rem}

@media (min-width: 992px) {
  .nav-item-services .nav-link-toggle{display:none}
  .nav-item-services .nav-link-main{padding-right:0.75rem}
}

@media (max-width: 991.98px) {
  .nav-item-services .nav-link-group{width:100%;justify-content:space-between}
  .nav-item-services .nav-link-main{flex:1}
}

.service-dropdown-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-dropdown-intro {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.75rem;
}

.service-dropdown-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.service-dropdown-text {
  margin: 0;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.4;
}

.service-dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 22rem;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.service-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid transparent;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.18s ease;
}

.service-dropdown-item i {
  font-size: 0.85rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.18s ease;
}

.service-dropdown-item:hover,
.service-dropdown-item:focus {
  background: #ffffff;
  border-color: rgba(241, 166, 1, 0.35);
  box-shadow: 0 14px 32px rgba(15, 30, 55, 0.12);
  color: var(--accent);
}

.service-dropdown-item:hover i,
.service-dropdown-item:focus i {
  opacity: 1;
  transform: translateX(0);
}

.service-dropdown-item.active {
  background: rgba(241, 166, 1, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.service-dropdown-footer {
  display: flex;
  justify-content: flex-end;
}

.service-dropdown-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(241, 166, 1, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.service-dropdown-view-all::after {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
}

.service-dropdown-view-all:hover,
.service-dropdown-view-all:focus {
  background: rgba(241, 166, 1, 0.22);
  box-shadow: 0 10px 24px rgba(232, 78, 35, 0.2);
  color: var(--accent);
}

@media (max-width: 575.98px) {
  .service-dropdown-grid {
    grid-template-columns: 1fr;
  }

  .service-dropdown-footer {
    justify-content: stretch;
  }

  .service-dropdown-view-all {
    width: 100%;
    justify-content: center;
  }
}

/* Navbar search panel */
.navbar-aisla {
  position: relative;
}

.navbar-aisla .navbar-search-panel {
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: 0 12px 32px rgba(15, 30, 55, 0.08);
  transition: opacity .2s ease, transform .2s ease;
  opacity: 1;
}

.navbar-aisla .navbar-search-panel[hidden] {
  display: none !important;
}

.navbar-aisla .navbar-search-form .input-group-text {
  background: #f1f5f9;
  border: none;
  border-radius: 999px 0 0 999px;
  color: #64748b;
  padding-left: 1rem;
}

.navbar-aisla .navbar-search-form .form-control {
  border: none;
  background: #f8fafc;
  border-radius: 0;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  box-shadow: none;
}

.navbar-aisla .navbar-search-form .form-control:focus {
  box-shadow: none;
  background: #fff;
}

.navbar-aisla .navbar-search-form .btn-accent {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 0 999px 999px 0;
  padding: 0.75rem 1.5rem;
}

.navbar-aisla .navbar-search-form .btn-link.search-close {
  color: #94a3b8;
  font-size: 1.1rem;
  padding: 0 0.75rem;
}

.navbar-aisla .navbar-search-form .btn-link.search-close:hover {
  color: var(--accent);
}

@media (min-width: 992px) {
  .navbar-aisla .navbar-search-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(420px, 90vw);
    margin-top: 12px;
    box-shadow: 0 20px 48px rgba(15, 30, 55, 0.18);
  }
}

@media (min-width: 992px) {
  .navbar-aisla .dropdown-hover:hover > .dropdown-menu {
    display: block;
  }

  .navbar-aisla .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.35rem;
    display: none;
  }

  .navbar-aisla .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }

  .navbar-aisla .dropdown-submenu:hover > .dropdown-toggle::after {
    transform: translateX(4px);
  }
}

@media (max-width: 991.98px) {
  .navbar-aisla .dropdown-menu.service-dropdown {
    min-width: 100%;
    max-width: none;
    padding: 1rem 1.25rem;
    box-shadow: none;
    border-radius: 14px;
  }

  .navbar-aisla .dropdown-submenu .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
  }

  .navbar-aisla .dropdown-submenu .dropdown-menu.show {
    display: block;
  }
}

@media (max-width: 992px) {
  .hero-aisla {
    padding: 68px 0 72px;
    min-height: auto;
    background-attachment: scroll; /* Better performance on mobile */
  }

  .unified-header {
    background-attachment: scroll; /* Better performance on mobile */
  }

  /* Better mobile layout */
  .hero-donut {
    width: min(400px, 80vw);
    transform: translate(5%, 5%);
  }

  .hero-aisla .hero-copy {
    padding-right: 1rem;
  }
}
