/* =======================================================
   1. CSS VARIABLES & THEME CONFIGURATION
   ======================================================= */

/* --- SHARED FONTS --- */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

/* --- DARK THEME (DEFAULT) --- */
:root {
  --background-color: #121212;
  --default-color: #e0e0e0;
  --heading-color: #ffffff;
  --accent-color: #cda45e; /* Gold accent */
  --surface-color: #1e1e1e;
  --contrast-color: #ffffff;

  /* Nav Colors - Dark */
  --nav-color: #ffffff;
  --nav-hover-color: #cda45e;
  --nav-mobile-background-color: #161616;
  --nav-dropdown-background-color: #212529;
  --nav-dropdown-color: #ffffff;
  --nav-dropdown-hover-color: #cda45e;

  /* Map Toggle Logic: Swap visibility */
  --map-light-display: none;
  --map-dark-display: block;
}

/* --- LIGHT THEME OVERRIDES --- */
/* Applied when <html data-theme="light"> */
[data-theme="light"] {
  --background-color: #ffffff;
  --default-color: #212529;
  --heading-color: #21413c;
  --accent-color: #1bac91;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  /* Nav Colors - Light */
  --nav-color: #ffffff;
  --nav-hover-color: #1bac91;
  --nav-mobile-background-color: #eceff1; /* off-white, less bright */
  --nav-dropdown-background-color: #e1e6e9; /* slightly darker */

  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #1bac91;

  /* Map Toggle Logic: Hide Dark Map by default */
  --map-light-display: block;
  --map-dark-display: none;
}

/* --- COLOR PRESETS (Utility Classes) --- */
.light-background {
  --background-color: #f2f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* =======================================================
   2. GLOBAL LAYOUT & STYLES (Content from main_light.css)
   ======================================================= */

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* --- PHP Email Form Messages --- */
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* --- Global Header --- */
.header {
  --background-color: rgba(0, 0, 0, 0.8);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}
@font-face {
  font-family: "Army";
  src: url("fonts/Army.woff2") format("woff2");
}
.sitename {
  font-family: "Army", sans-serif;
  font-weight: normal;
}
.header .logo img {
  max-height: 45px;
  margin-right: 8px;
}
.header .logo h1 {
  font-size: 26px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  text-transform: uppercase;
}
.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}
.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.9);
}

/* --- Navigation Menu --- */
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }
  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  .navmenu li {
    position: relative;
  }
  .navmenu > ul > li {
    white-space: normal;
    padding: 15px 14px;
  }
  .navmenu > ul > li:last-child {
    padding-right: 0;
    padding-left: 2px;
  }

  .navmenu a,
  .navmenu a:focus {
    color: color-mix(in srgb, var(--nav-color), transparent 20%);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: normal;
    line-height: 1.3;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }
  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }
  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }
  .navmenu .dropdown ul a i {
    font-size: 12px;
  }
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
  }
  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: 100%;
    visibility: hidden;
  }
  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
  }
  .mobile-nav-active::before {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-toggle {
    /* Auto switch color based on theme (white in dark, white in light because of header bg) */
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    cursor: pointer;
    transition: color 0.3s;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9999;
  }

  .navmenu ul {
    display: block;
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    max-height: 100vh;
    padding: 60px 20px 20px;
    margin: 0;
    list-style: none;
    background-color: var(--nav-mobile-background-color);
    border-right: 1px solid
      color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
    z-index: 9998;
    --default-color: var(--nav-dropdown-color);
    --heading-color: var(--nav-dropdown-color);
    color: var(--default-color);
  }

  .mobile-nav-active .navmenu ul {
    transform: translateX(300px);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--default-color);
    padding: 12px 15px;
    font: 500 16px var(--nav-font);
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: normal;
    line-height: 1.3;
    border-radius: 6px;
    margin: 8px 0;
    transition: 0.3s;
    background: var(--nav-dropdown-background-color);
  }

  /* Dark theme override for mobile link backgrounds if needed */
  [data-theme="dark"] .navmenu a,
  [data-theme="dark"] .navmenu a:focus {
    background: var(--nav-dropdown-background-color);
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 0;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }
  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }
  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    display: none !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    list-style: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    z-index: 99;
    transition: all 0.3s ease-in-out;
  }

  .navmenu .dropdown > .dropdown-active {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 4px 0 0 0;
    padding: 4px 0;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .navmenu .dropdown ul li {
    padding: 0;
  }

  .navmenu .dropdown ul a,
  .navmenu .dropdown ul a:focus {
    margin: 2px 0;
    padding: 8px 14px;
    font-size: 14px;
    background: var(--nav-dropdown-background-color);
    border-radius: 4px;
  }
  /* 
  [data-theme="dark"] .navmenu .dropdown ul a,
  [data-theme="dark"] .navmenu .dropdown ul a:focus {
    background: rgba(0, 0, 0, 0.2);
  } */

  .navmenu .dropdown ul ul {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin-left: 16px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    background-color: rgba(33, 37, 41, 0.12);
  }

  .navmenu .dropdown ul .dropdown > .dropdown-active {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .mobile-nav-active {
    overflow: hidden;
  }

  .navmenu > ul > li:last-child {
    padding: 12px 15px;
    border-top: 1px solid
      color-mix(in srgb, var(--nav-dropdown-background-color), transparent 60%);
    background: var(--nav-dropdown-background-color);
    border-radius: 6px;
  }

  .form-check.form-switch {
    width: 100%;
    justify-content: space-between;
  }
  .form-check-input {
    order: 2;
  }
  .theme-icon {
    order: 1;
  }
}

/* --- Global Footer --- */
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}
.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}
.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 0px;
}
.footer .footer-about .logo img {
  max-height: 50px;
  margin-right: 6px;
}
.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}
.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}
.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}
.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}
.footer .footer-links {
  margin-bottom: 30px;
}
.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}
.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
.footer .footer-links ul li:first-child {
  padding-top: 0;
}
.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}
.footer .footer-links ul a:hover {
  color: var(--accent-color);
}
.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--background-color);
  transition: 0.3s;
}
.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}
.footer .footer-newsletter .newsletter-form input[type="email"] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--default-color);
}
.footer .footer-newsletter .newsletter-form input[type="email"]:focus-visible {
  outline: none;
}
.footer .footer-newsletter .newsletter-form input[type="submit"] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}
.footer .footer-newsletter .newsletter-form input[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}
.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}
.footer .copyright p {
  margin-bottom: 0;
}
.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/* --- Preloader (Fixed Alignment) --- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: var(--background-color);
  transition: all 0.6s ease-out;
  /* Flexbox Centers everything */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 1. The Text */
.preloader-text {
  color: var(--default-color); /* Or use #ffffff */
  font-family: var(--heading-font);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px; /* Push the bar down */
  animation: blink-text 1.5s infinite;
}

/* 2. The Track (Grey Line) */
.loader-bar {
  width: 200px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1); /* Subtle grey track */
  border-radius: 4px;
  position: relative; /* Important: Limits the fill to this box */
  overflow: hidden;
}

/* 3. The Fill (Colored Bar) */
.loader-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Fill the track width */
  height: 100%; /* Fill the track height */
  background-color: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-color); /* Glow effect */
  border-radius: 4px;

  /* Animation */
  transform-origin: left;
  transform: scaleX(0); /* Start empty */
  animation: bar-fill 2s ease-in-out infinite;
}

/* Animations */
@keyframes bar-fill {
  0% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(0.7);
  }
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}

@keyframes blink-text {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* --- Scroll Top Button --- */
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

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

/* --- Global Page Titles & Breadcrumbs --- */
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 160px 0 60px 0;
  text-align: center;
  position: relative;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/img/Careers/office.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}
.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}
.page-title .breadcrumbs ol li + li {
  padding-left: 10px;
}
.page-title .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/* --- Global Sections --- */
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 92px;
  overflow: clip;
}
@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 62px;
  }
}

/* --- Global Section Titles --- */
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 15px;
}
.section-title p {
  margin-bottom: 0;
}

/* --- Hero Section --- */
.hero {
  padding: 0;
}
.hero .carousel {
  width: 100%;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  background-color: var(--background-color);
  position: relative;
}
.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero .carousel-item:before,
.hero .carousel-item::before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hero .carousel-container {
  position: absolute;
  inset: 90px 64px 64px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 3;
}
.hero h2 {
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  animation: fadeInDown 1s both;
}
@media (max-width: 768px) {
  .hero h2 {
    font-size: 30px;
  }
}
.hero p {
  animation: fadeInDown 1s both 0.2s;
}
@media (min-width: 1024px) {
  .hero h2,
  .hero p {
    max-width: 60%;
  }
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  animation: fadeInUp 1s both 0.4s;
}
.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 10%;
  transition: 0.3s;
  opacity: 0.5;
}
.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}
.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}
@media (min-width: 1024px) {
  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 5%;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 32px;
  line-height: 1;
}
.hero .carousel-indicators {
  list-style: none;
}
.hero .carousel-indicators li {
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* --- Features Section --- */
.features .nav-tabs {
  border: 0;
}
.features .nav-link {
  background-color: var(--surface-color);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 15px 20px;
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
}
.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}
.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.features .nav-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.features .nav-link.active {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}
.features .nav-link.active h4 {
  color: var(--contrast-color);
}

@media (max-width: 768px) {
  .features .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}
@media (max-width: 575px) {
  .features .nav-link {
    padding: 15px;
  }
  .features .nav-link i {
    font-size: 24px;
  }
}

.features .tab-content {
  margin-top: 30px;
}
.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 26px;
}
.features .tab-pane ul {
  list-style: none;
  padding: 0;
}
.features .tab-pane ul li {
  padding-bottom: 10px;
}
.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 0px;
  color: var(--accent-color);
}
.features .tab-pane p:last-child {
  margin-bottom: 0;
}

.icon-box {
  min-width: 70px;
  height: 70px;
  background-color: var(--accent-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  margin-right: 15px;
}
.icon-box img {
  max-width: 70%;
  max-height: 70%;
}
.icon-box i {
  font-size: 24px;
  color: #fff;
}
.icon-svg {
  width: 45px;
  height: 45px;
  fill: ghostwhite;
}
.icon-svg path {
  fill: var(--background-color);
}

/* --- About Section --- */
.about .about-content h3 {
  font-weight: 700;
  font-size: 26px;
}
.about .about-content ul {
  list-style: none;
  padding: 0;
}
.about .about-content ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 35px;
}
.about .about-content ul li:first-child {
  margin-top: 35px;
}
.about .about-content ul i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  font-size: 32px;
  color: #fff;
  background: var(--accent-color);
  margin-right: 15px;
  line-height: 0;
  border-radius: 5px;
}
.about .about-content ul h4 {
  font-size: 18px;
  font-weight: 600;
}
.about .about-content ul p {
  font-size: 15px;
}
.about .about-content p:last-child {
  margin-bottom: 0;
}

/* --- Cards Section --- */
.cards .card {
  background-color: transparent;
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 20px;
  margin: 0px;
  border-radius: 0;
}
.cards .card span {
  display: block;
  font-size: 24px;
  font-weight: 400;
  color: var(--accent-color);
}
.cards .card h4 {
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  font-size: 24px;
  font-weight: 400;
  padding: 0;
  margin: 20px 0;
}
.cards .card p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 15px;
  margin: 0;
  padding: 0;
}
.cards.row > * {
  margin-top: 0 !important;
}

/* --- Tabs Section --- */
.tabs .nav-tabs {
  border: 0;
}
.tabs .nav-item {
  width: 100%;
  margin-bottom: 15px;
}
.tabs .nav-item:last-child {
  margin-bottom: 0;
}
.tabs .nav-link {
  color: var(--heading-color);
  border: 0;
  padding: 30px;
  transition: 0.3s;
  border-radius: 10px;
  display: flex;
  cursor: pointer;
}
.tabs .nav-link i {
  background-color: var(--surface-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  width: 48px;
  height: 48px;
  font-size: 22px;
  flex-shrink: 0;
  border-radius: 50px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.tabs .nav-link h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px 0;
  transition: 0.3s;
}
.tabs .nav-link p {
  font-size: 15px;
  margin: 0;
}
.tabs .nav-link:hover,
.tabs .nav-link.active {
  background: color-mix(in srgb, var(--accent-color), transparent 96%);
}
.tabs .nav-link.active {
  color: var(--default-color);
}
.tabs .tab-pane img {
  border-radius: 15px;
}

/* --- Services Section --- */
.services {
  --background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
}
.services .service-item {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  height: 100%;
  padding: 30px;
  transition: 0.3s;
  border-radius: 10px;
  display: flex;
}
.services .service-item .icon {
  font-size: 32px;
  border-radius: 10px;
  position: relative;
  margin-right: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}
.services .service-item h3 {
  color: color-mix(in srgb, var(--heading-color), transparent 25%);
  font-weight: 700;
  font-size: 22px;
  transition: 0.3s;
}
.services .service-item p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}
.services .service-item .read-more {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  transition: 0.3s;
  font-size: 14px;
}
.services .service-item .read-more i {
  margin-left: 10px;
}

/* Service item colors */
.services .service-item.item-cyan .icon {
  color: #0dcaf0;
  border: 1px solid #0dcaf0;
  background: rgba(13, 202, 240, 0.1);
}
.services .service-item.item-orange .icon {
  color: #fd7e14;
  border: 1px solid #fd7e14;
  background: rgba(253, 126, 20, 0.1);
}
.services .service-item.item-teal .icon {
  color: #20c997;
  border: 1px solid #20c997;
  background: rgba(32, 201, 151, 0.1);
}
.services .service-item.item-red .icon {
  color: #df1529;
  border: 1px solid #df1529;
  background: rgba(223, 21, 4, 0.1);
}
.services .service-item.item-indigo .icon {
  color: #6610f2;
  border: 1px solid #6610f2;
  background: rgba(102, 16, 242, 0.1);
}
.services .service-item.item-pink .icon {
  color: #f3268c;
  border: 1px solid #f3268c;
  background: rgba(243, 38, 140, 0.1);
}

.services .service-item:hover {
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
}
.services .service-item:hover h3 {
  color: var(--heading-color);
}
.services .service-item:hover p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

/* --- Testimonials Section --- */
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}
.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}
.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid var(--background-color);
}
.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
}
.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 0 0 45px;
}
.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}
.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}
.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}
.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  position: relative;
  border-radius: 6px;
  z-index: 1;
}
.testimonials .swiper-wrapper {
  height: auto;
}
.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}
.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/* --- Portfolio Section --- */
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}
.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}
.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}
.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}
.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}
@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}
.portfolio .portfolio-content img {
  transition: 0.3s;
}
.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}
.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}
.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}
.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}
.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}
.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}
.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/* --- Team Section --- */
.team {
  --default-color: #ffffff;
}
.team .member {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.team .member .member-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: 0.2s;
}
.team .member .member-info-content {
  position: absolute;
  left: 50px;
  right: 0;
  bottom: 0;
  transition: bottom 0.4s;
}
.team .member .member-info-content h4 {
  color: var(--contrast-color);
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}
.team .member .member-info-content span {
  font-style: italic;
  display: block;
  font-size: 13px;
}
.team .member .social {
  position: absolute;
  left: -50px;
  top: 0;
  bottom: 0;
  width: 50px;
  transition: left ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
}
.team .member .social a {
  transition: color 0.3s;
  display: block;
  color: var(--default-color);
  margin-top: 15px;
}
.team .member .social a:hover {
  color: var(--accent-color);
}
.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}
.team .member:hover .member-info {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 1;
  transition: 0.4s;
}
.team .member:hover .member-info-content {
  bottom: 30px;
  transition: bottom 0.4s;
}
.team .member:hover .social {
  left: 0;
  transition: left ease-in-out 0.3s;
}

/* --- Contact Section --- */
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}
@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}
.contact .info-item {
  margin-bottom: 40px;
}
.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}
.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}
.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}
.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}
.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}
.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}
.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
.contact .php-email-form button[type="submit"] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}
.contact .php-email-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/* --- Careers Page & Application Form --- */
.careers-card {
  padding: 4px;
  color: var(--default-color);
  border-radius: 10px;
}
.careers-card .card {
  border: 1px solid var(--accent-color);
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.careers-card .card:hover {
  border-color: var(--heading-color);
}
.careers-card h4 {
  color: var(--heading-color);
  font-size: 22px;
  margin-bottom: 10px;
}
.carrers-btn {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}
.carrers-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.application-form {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}
.application-form h4 {
  color: var(--heading-color);
  margin-bottom: 20px;
}
.application-form .form-group {
  margin-bottom: 15px;
}
.application-form label {
  color: var(--default-color);
  font-weight: 600;
}
.application-form .form-control,
.form-select {
  font-size: 14px;
  padding: 10px 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 4px;
  background-color: var(--surface-color);
  color: var(--default-color);
  transition: border-color 0.3s;
}
.application-form .form-control:focus,
.form-select:focus {
  border-color: var(--accent-color);
  outline: none;
}
.application-form .form-control::placeholder,
.form-select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.btn-enquire {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  border: 1px solid var(--accent-color);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 1px 6px 0
    color-mix(in srgb, var(--accent-color), transparent 85%);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.btn-enquire:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  box-shadow: 0 2px 12px 0
    color-mix(in srgb, var(--accent-color), transparent 70%);
  outline: 2px solid color-mix(in srgb, var(--accent-color), transparent 60%);
  outline-offset: 2px;
}
.application-form .btn-apply {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  border-radius: 4px;
  transition: 0.4s;
}
.application-form .btn-apply:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.application-form-inner .loading,
.application-form-inner .error-message,
.application-form-inner .sent-message {
  display: none;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.application-form-inner .loading {
  background: #f3f3f3;
  color: rgb(62, 62, 62);
  transition: none;
  display: block;
}
.application-form-inner .error-message {
  background: #fd6c6c;
  color: white;
  transition: none;
}
.application-form-inner .sent-message {
  background: #18d26e;
  color: white;
  transition: none;
}
.application-form-inner input[type="file"] {
  padding: 8px;
  line-height: 1.2;
}
.application-form-inner .form-text {
  font-size: 12px;
  margin-top: 5px;
}
.footer-top .btn-apply {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  border-radius: 4px;
  transition: 0.4s;
}
.footer-top .btn-apply:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/* --- Portfolio Details Section --- */
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}
.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}
.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}
.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}
.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 85%);
}
.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}
.portfolio-details .portfolio-description {
  padding-top: 30px;
}
.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}
.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/* --- Service Details Section --- */
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}
.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid
    color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}
.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}
.service-details .services-list a:hover {
  border-color: var(--accent-color);
}
.service-details .services-img {
  margin-bottom: 20px;
}
.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}
.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}
.service-details p {
  font-size: 15px;
}
.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}
.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/* --- Banner --- */
.banner {
  position: fixed;
  left: 15px;
  bottom: 15px;
  z-index: 99999;
  color: var(--contrast-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}
.banner span {
  font-size: 16px;
}
.close-banner {
  background: none;
  border: none;
  font-size: 25px;
  color: gray;
  cursor: pointer;
}
.banner.active {
  visibility: visible;
  opacity: 1;
}
@media (min-width: 768px) {
  .banner-image {
    width: 500px;
    height: 108px;
    object-fit: cover;
  }
}
@media (max-width: 767px) {
  .banner {
    padding-bottom: 50px;
  }
  .banner-image {
    width: 90vw;
    height: 25vw;
  }
}
@media (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.8);
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Domain Section & Mobile Optimizations --- */
@media (max-width: 767.98px) {
  #domains .nav-tabs {
    display: none !important;
  }
  #domains .tab-content .tab-pane {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  #domains .tab-content .tab-pane + .tab-pane {
    margin-top: 2rem;
  }
}
@media (max-width: 575.98px) {
  #services .row.g-5 > [class*="col-"] {
    margin-bottom: -12px !important;
  }
  #services.section {
    padding-top: 35px;
    padding-bottom: 35px;
  }
  #services .service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 14px;
  }
  #services .service-item .icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
  }
  #services .service-item h3 {
    font-size: 18px;
    margin-bottom: 0px;
  }
  #services .service-item p {
    font-size: 13px;
    line-height: 1.45;
  }

  #domains.section {
    padding-top: 40px;
    padding-bottom: 30px;
  }
  #domains .section-title {
    padding-bottom: 35px;
  }
  #domains .section-title h2 {
    font-size: 22px;
  }
  #domains .domain-pane {
    margin-bottom: 35px;
  }
  #domains .domain-pane .row {
    margin-bottom: 10px;
  }
  #domains .about-content ul li {
    margin-bottom: 18px !important;
    align-items: flex-start;
    gap: 10px;
  }
  #domains .about-content ul li i {
    width: 42px;
    height: 42px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px !important;
  }
  #domains .about-content ul li > div:first-child i {
    margin-right: 10px !important;
  }
  #domains .about-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }
  #domains .about-content h4 {
    font-size: 15px;
    margin-bottom: 4px;
  }
  #domains .about-content p {
    font-size: 13px;
    line-height: 1.45;
  }
  #domains img {
    width: 90%;
    margin: 10px auto 20px auto;
  }
  #domains .btn-enquire {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }

  #about.section {
    padding-top: 40px;
    padding-bottom: 20px;
  }
  #about .section-title {
    padding-bottom: 30px;
  }
  #about .section-title h2 {
    font-size: 22px;
    margin-bottom: 8px;
  }
  #about .section-title p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 6px;
  }
  #about .col-lg-6:first-child {
    margin-bottom: 16px;
  }
  #about video.img-fluid,
  #about img.img-fluid {
    max-width: 90%;
  }
  #about .about-content h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
    padding-bottom: 8px !important;
  }
  #about .about-content p {
    font-size: 13px;
    line-height: 1.5;
  }
  #about .about-content ul {
    margin-top: 10px;
  }
  #about .about-content ul li {
    margin-bottom: 16px;
    gap: 10px;
    align-items: flex-start;
  }
  #about .about-content ul li i {
    width: 42px;
    height: 42px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
  }
  #about .about-content ul h4 {
    font-size: 15px;
    margin-bottom: 4px;
  }
  #about .about-content ul p {
    font-size: 13px;
    margin-bottom: 0;
  }

  #tabs.section {
    padding-top: 30px;
    padding-bottom: 10px;
  }
  #tabs .row {
    row-gap: 20px;
  }
  #tabs .nav.nav-tabs {
    width: 100%;
  }
  #tabs .nav.nav-tabs .nav-item {
    margin-bottom: 10px;
  }
  #tabs .nav.nav-tabs .nav-link {
    padding: 10px 12px;
  }
  #tabs .nav.nav-tabs .nav-link i {
    width: 38px;
    height: 38px;
    font-size: 18px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #tabs .nav.nav-tabs .nav-link h4 {
    font-size: 15px;
    margin-bottom: 4px;
  }
  #tabs .nav.nav-tabs .nav-link p {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 0;
  }
  #tabs .nav.nav-tabs .nav-link ul {
    padding-left: 16px;
    margin-bottom: 0;
  }
  #tabs .nav.nav-tabs .nav-link ul li {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 4px;
  }
  #tabs .tab-content img.img-fluid {
    max-width: 90%;
    margin: 0 auto 10px auto;
    display: block;
  }

  #accomplishments.section {
    padding-top: 35px;
    padding-bottom: 25px;
  }
  #accomplishments .section-title {
    padding-bottom: 25px;
  }
  #accomplishments .section-title h2 {
    font-size: 22px;
  }
  #accomplishments .row.gy-3 > [class*="col-"] {
    margin-bottom: 8px;
  }
  #accomplishments h2.count {
    font-size: 24px;
    margin-bottom: 4px;
  }
  #accomplishments p {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 0;
  }

  #hero.hero .carousel {
    min-height: 80vh;
  }
  #hero .carousel-container {
    inset: 80px 16px 40px 16px;
  }
  #hero .carousel-container h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  #hero .carousel-container p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
  }
  #hero .btn-get-started {
    font-size: 13px;
    padding: 6px 22px;
    margin-top: 4px;
  }
  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 12%;
    opacity: 0.7;
  }
  #hero .carousel-control-next-icon,
  #hero .carousel-control-prev-icon {
    font-size: 24px;
  }
  #hero .carousel-indicators {
    bottom: 12px;
  }
  #hero .carousel-indicators li {
    width: 8px;
    height: 8px;
  }

  #footer.footer {
    padding-top: 35px;
  }
  #footer .footer-top {
    padding-top: 25px;
  }
  #footer .footer-about img {
    max-height: 38px;
  }
  #footer .footer-contact p {
    font-size: 12.5px;
    line-height: 1.45;
    margin-bottom: 3px;
  }
  #footer .footer-links h4,
  #footer .footer-about h4 {
    font-size: 15px;
    margin-bottom: 8px;
  }
  #footer .row.gy-4 > [class*="col-"] {
    margin-bottom: 12px;
  }
  #footer .footer-links ul li {
    padding: 6px 0;
  }
  #footer .footer-links ul a {
    font-size: 13px;
  }
  #footer .footer-links ul i {
    font-size: 10px;
    margin-right: 4px;
  }
  #footer .social-links a {
    width: 32px;
    height: 32px;
    font-size: 14px;
    margin-right: 8px;
  }
  #footer .btn-apply {
    font-size: 13px;
    padding: 6px 14px;
  }
  #footer .copyright p {
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.4;
  }

  .header {
    padding: 10px 0;
  }
  .header .logo img {
    max-height: 34px;
    width: auto;
    height: auto;
  }
  .header .container-xl {
    padding-left: 12px;
    padding-right: 12px;
  }
  .navmenu a,
  .navmenu a:focus {
    font-size: 14px;
    padding: 10px 12px;
    margin: 6px 0;
  }
  .navmenu a i,
  .navmenu a:focus i {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
  .navmenu > ul > li:last-child {
    padding: 8px 12px;
  }
  .form-check.form-switch {
    gap: 6px;
  }
  .form-check-input {
    transform: scale(0.9);
  }
  .theme-icon {
    font-size: 14px;
  }
  .mobile-nav-toggle {
    font-size: 24px;
    top: 12px;
    right: 12px;
  }
}

/* #domains .tab-pane {
  transition: opacity 0.8s ease-in-out;
} */

@media (min-width: 992px) {
  #domains {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* --- Map Visibility Logic --- */
.map-light {
  display: var(--map-light-display);
}
.map-dark {
  display: var(--map-dark-display);
}

/* =======================================================
  8. SPECIFIC COMPONENT OVERRIDES (From Index)
  ======================================================= */

/* --- Hero Carousel Controls --- */
#hero-carousel .carousel-indicators li {
  background-color: darkgray;
}
#hero-carousel .carousel-indicators .active {
  background-color: lightgrey;
}
#hero-carousel .carousel-control-prev,
#hero-carousel .carousel-control-next {
  color: lightgrey;
}

/* --- Theme Toggle Switch --- */
.form-check-input {
  background-color: var(--surface-color);
  border-color: var(--default-color);
  transition: all 0.3s ease-in-out;
}
.form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.15);
}

/* --- Welcome Modal / Popup --- */
#welcomeModal .modal-dialog {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 50%;
}

#welcomeModal .modal-content {
  padding: 0;
  margin: 0;
  background-color: #1e1e1e; /* Consider using var(--surface-color) here for consistency */
}

#welcomeModal .modal-body {
  padding: 0;
}

#welcomeModal .modal-body img {
  display: block;
  margin: 0 auto;
}

#welcomeModal .modal-footer {
  padding: 0;
  background-color: #1e1e1e;
  border-top: none;
}

/* Modal Mobile Optimization */
@media (max-width: 768px) {
  #welcomeModal {
    display: none !important;
  }
}
