@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  /* Color Palette */
  --color-primary: #00468c; /* Deep Royal Blue */
  --color-primary-light: #0d5ea8;
  --color-primary-dark: #003063;
  --color-secondary: #4a9e2f; /* Vibrant Health Green */
  --color-secondary-light: #5dbb3f;
  --color-secondary-dark: #377d20;
  --color-accent: #e0f2fe; /* Soft Blue Accent */
  --color-text-dark: #0f172a; /* Dark Slate Text */
  --color-text-muted: #475569; /* Muted Slate Text */
  --color-bg-light: #f8fafc; /* Light Background */
  --color-bg-white: #ffffff;
  --color-border: #e2e8f0;

  /* Gradation */
  --gradient-primary: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--color-secondary) 0%,
    var(--color-secondary-dark) 100%
  );
  --gradient-combined: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    #1e3a8a 50%,
    var(--color-secondary) 100%
  );
  --gradient-light: linear-gradient(
    180deg,
    var(--color-bg-white) 0%,
    var(--color-bg-light) 100%
  );

  /* Typography */
  --font-headers: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow-blue: 0 0 15px rgba(0, 70, 140, 0.2);
  --shadow-glow-green: 0 0 15px rgba(74, 158, 47, 0.2);

  /* Borders & Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;

  /* Max Widths */
  --max-width: 1280px;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headers);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary-dark);
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

/* Section Title Underline Decoration */
h2.decorated::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-full);
}

h2.decorated-left::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-full);
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Elements */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-bg-white {
  background-color: var(--color-bg-white);
}

.section-bg-light {
  background-color: var(--color-bg-light);
}

.section-bg-gradient {
  background: var(--gradient-light);
}

/* Grid Utilities */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Alignments & Spacing */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast) cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-bg-white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), var(--shadow-glow-blue);
  background: var(--color-primary-light);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--color-bg-white);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), var(--shadow-glow-green);
  background: var(--color-secondary-light);
}

.btn-teal {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: var(--color-bg-white);
}

.btn-teal:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), 0 0 15px rgba(13, 148, 136, 0.3);
  background: #14b8a6;
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-bg-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  background: transparent;
  border-color: var(--color-bg-white);
  color: var(--color-bg-white);
  box-shadow: none;
}

.btn-outline-white:hover {
  background: var(--color-bg-white);
  color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 0.5rem 0;
}

header:not(.scrolled) {
  background-color: transparent;
  padding: 1.25rem 0;
}

/* Navigation Structure */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  padding-left: 1rem;
  align-self: center;
}

.logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: all var(--transition-normal);
  transform: scale(2.5);
  margin-bottom: 0;
}

header:not(.scrolled) .logo img {
  transform: scale(3);
}

header.scrolled .logo img {
  transform: scale(2.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  align-self: center;
}

.nav-link {
  font-family: var(--font-headers);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
  color: var(--color-primary-dark);
}

/* Top bar color for links when not scrolled on home page */
header:not(.scrolled) .nav-link {
  color: var(--color-bg-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition:
    width var(--transition-fast) ease-in-out,
    left var(--transition-fast) ease-in-out;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

.nav-link.active {
  color: var(--color-secondary-dark);
  font-weight: 600;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-primary-dark);
  margin: 5px 0;
  transition: all var(--transition-normal);
  border-radius: var(--radius-full);
}

/* Mobile Menu Open State classes */
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    justify-content: flex-start;
    padding: 6rem 2rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition-normal);
    z-index: 1005;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.125rem;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.75rem;
  }

  .nav-link::after {
    display: none;
  }

  /* Mobile dropdown styles */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown > .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .dropdown-arrow {
    transition: transform var(--transition-normal);
  }

  .nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
    opacity: 0;
    padding: 0 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .nav-dropdown.open .dropdown-menu {
    max-height: 200px;
    opacity: 1;
    padding: 0.5rem 0 0 1rem;
  }

  .dropdown-item {
    font-family: var(--font-headers);
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-text-muted);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
  }

  .dropdown-item:hover {
    color: var(--color-secondary-dark);
    padding-left: 5px;
  }

  .dropdown-item i {
    font-size: 0.9rem;
    color: var(--color-secondary);
  }
}

/* Desktop Dropdown Styles */
@media (min-width: 769px) {
  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .dropdown-arrow {
    font-size: 0.65rem;
    transition: transform var(--transition-fast);
    margin-left: 2px;
  }

  .nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    display: block;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    min-width: 240px;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
  }

  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  /* Invisible bridge to prevent gap between trigger and dropdown */
  .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -0.75rem;
    left: 0;
    width: 100%;
    height: 0.75rem;
  }

  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-headers);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-primary-dark);
    transition: all var(--transition-fast);
    border-radius: 0;
  }

  .dropdown-item:hover {
    background-color: rgba(0, 70, 140, 0.06);
    color: var(--color-primary);
    padding-left: 1.5rem;
  }

  .dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-secondary);
    transition: color var(--transition-fast);
  }

  .dropdown-item:hover i {
    color: var(--color-primary);
  }

  .dropdown-item + .dropdown-item {
    border-top: 1px solid var(--color-border);
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(74, 158, 47, 0.08) 0%,
      rgba(0, 70, 140, 0.03) 100%
    ),
    var(--color-bg-white);
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  top: 15%;
  right: -5%;
  width: 45%;
  height: 70%;
  background: var(--gradient-combined);
  opacity: 0.06;
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: rgba(0, 70, 140, 0.8);
  color: var(--color-bg-white);
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  border: none;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--color-bg-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-title span {
  color: var(--color-primary);
}

.hero-section .hero-title span {
  color: var(--color-secondary-light);
  background: none;
  -webkit-text-fill-color: unset;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-text {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-img-backdrop {
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: var(--radius-xl);
  background: var(--gradient-combined);
  opacity: 0.1;
  transform: rotate(3deg);
  z-index: -1;
}

.hero-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  width: 100%;
  max-height: 500px;
  border: 4px solid var(--color-bg-white);
  transition: transform var(--transition-slow);
}

.hero-image-container:hover .hero-img {
  transform: scale(1.02);
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background-color: var(--color-bg-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  animation: float 4s ease-in-out infinite;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(74, 158, 47, 0.15);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.hero-badge-text h4 {
  font-size: 1rem;
  color: var(--color-primary-dark);
}

.hero-badge-text p {
  font-size: 0.8rem;
  margin: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Division Overview Toggles */
.divisions-toggle-section {
  background-color: var(--color-bg-white);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  color: var(--color-secondary-dark);
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

/* Cards & Divisions */
.division-card {
  background-color: var(--color-bg-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.division-card:hover {
  transform: translateY(-8px);
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-xl);
}

.division-card.blue-theme:hover {
  border-color: rgba(0, 70, 140, 0.3);
  box-shadow: var(--shadow-xl), var(--shadow-glow-blue);
}

.division-card.green-theme:hover {
  border-color: rgba(74, 158, 47, 0.3);
  box-shadow: var(--shadow-xl), var(--shadow-glow-green);
}

.division-card.teal-theme:hover {
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: var(--shadow-xl), 0 0 15px rgba(13, 148, 136, 0.2);
}

.division-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.division-card.blue-theme .division-icon {
  background-color: rgba(0, 70, 140, 0.1);
  color: var(--color-primary);
}

.division-card.green-theme .division-icon {
  background-color: rgba(74, 158, 47, 0.1);
  color: var(--color-secondary);
}

.division-card.teal-theme .division-icon {
  background-color: rgba(13, 148, 136, 0.1);
  color: #0d9488;
}

.division-card h3 {
  margin-bottom: 1rem;
}

.division-features {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.division-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.division-features li::before {
  content: "✓";
  font-weight: bold;
}

.division-card.blue-theme .division-features li::before {
  color: var(--color-primary);
}

.division-card.green-theme .division-features li::before {
  color: var(--color-secondary);
}

.division-card.teal-theme .division-features li::before {
  color: #0d9488;
}

/* Feature/Why Choose Us Grid */
.feature-card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(74, 158, 47, 0.2);
}

.feature-badge-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: rgba(74, 158, 47, 0.1);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.feature-card.primary-icon .feature-badge-icon {
  background-color: rgba(0, 70, 140, 0.1);
  color: var(--color-primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.925rem;
  margin-bottom: 0;
}

/* Flyer Image Carousel Slider */
.carousel-section {
  background-color: var(--color-bg-light);
  overflow: hidden;
}

.carousel-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
}

.carousel-wrapper {
  display: flex;
  transition: transform var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: contain;
  background-color: #f1f5f9;
}

/* Gallery carousel specific styling */
.gallery-section .carousel-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  margin: 2rem 0;
}

.gallery-section .carousel-wrapper {
  display: flex;
  transition: transform var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.gallery-section .carousel-slide img {
  width: 100%;
  height: auto;
  min-height: 400px;
  max-height: 700px;
  object-fit: cover;
  object-position: center;
  background-color: #f1f5f9;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );
  color: var(--color-bg-white);
  padding: 2.5rem 2rem 1.5rem 2rem;
  text-align: left;
}

.carousel-caption h3 {
  color: var(--color-bg-white);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.carousel-caption p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  color: var(--color-primary-dark);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.carousel-control:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.indicator.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
  width: 25px;
  border-radius: var(--radius-full);
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: var(--color-bg-white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(74, 158, 47, 0.15) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--color-bg-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

/* Form Styles */
.form-container {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

@media (max-width: 640px) {
  .form-container {
    padding: 1.5rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

label {
  display: block;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  transition: all var(--transition-fast);
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-glow-blue);
}

input.error,
select.error,
textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

.error-text {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

/* Service Detail Showcase */
.service-showcase-section {
  padding: 5rem 0;
}

.service-block {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 5rem;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-block-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .service-block-item {
    grid-template-columns: 1fr 1fr;
  }
  .service-block-item.reversed {
    direction: rtl;
  }
  .service-block-item.reversed .service-item-content {
    direction: ltr;
  }
}

.service-item-content h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.service-item-img-container {
  position: relative;
}

.service-item-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 400px;
  object-fit: cover;
  border: 4px solid var(--color-bg-white);
}

.service-item-illustration {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 400px;
  border: 4px solid var(--color-bg-white);
}



.read-more-btn {
  color: var(--color-primary);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0;
  margin-top: 0.5rem;
  display: inline-block;
}

.read-more-btn:hover {
  color: var(--color-primary-dark);
}

.team-bio-expanded {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.service-badge {
  padding: 0.4rem 1rem;
  background-color: rgba(0, 70, 140, 0.08);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* Staffing Vetting Details */
.vetting-badge-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background-color: var(--color-bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.vetting-badge-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(74, 158, 47, 0.2);
}

.vetting-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(74, 158, 47, 0.1);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.vetting-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--color-primary-dark);
}

.vetting-info p {
  font-size: 0.9rem;
  margin: 0;
}

/* Social Media Icons Hover Effect */
.vetting-info a:hover {
  color: var(--color-secondary) !important;
  transform: scale(1.1);
}

/* About Page Styles */
.about-mission-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-mission-block {
    grid-template-columns: 1.2fr 1fr;
  }
}

.philosophy-card {
  background: var(--gradient-primary);
  color: var(--color-bg-white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  margin-top: 4rem;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.philosophy-card h3 {
  color: var(--color-bg-white);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.philosophy-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}

/* Map Section */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  height: 450px;
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  text-align: center;
  padding: 2rem;
}

.map-placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

/* Footer Section */
footer {
  background-color: var(--color-primary-dark);
  color: var(--color-bg-white);
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--color-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 576px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand img {
  height: 60px;
  margin-bottom: 1.5rem;
  background-color: var(--color-bg-white);
  padding: 5px;
  border-radius: var(--radius-md);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--color-bg-white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-secondary);
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-secondary-light);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-contact-icon {
  color: var(--color-secondary-light);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
  color: var(--color-secondary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-legal-links a:hover {
  color: var(--color-secondary-light);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Form success message styles */
.submit-success {
  background-color: rgba(74, 158, 47, 0.1);
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary-dark);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.5s ease-out;
}

.submit-success h4 {
  color: var(--color-secondary-dark);
  margin-bottom: 0.5rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page-Load Preloader Splash Screen */
.splash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-bg-white);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.splash-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  width: 90%;
  max-width: 480px;
}

.splash-logo {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  margin-bottom: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  animation: splashPulse 2s infinite ease-in-out;
}

.splash-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: 50%;
  margin: 0 auto;
  animation: splashSpin 1s linear infinite;
}

@keyframes splashSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes splashPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Hero Section with Image Carousel */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 85vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-carousel-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-carousel-image.active {
  opacity: 1;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 48, 99, 0.55) 0%,
    rgba(0, 70, 140, 0.45) 40%,
    rgba(74, 158, 47, 0.35) 100%
  );
  z-index: 1;
}

/* Carousel Controls */
.hero-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  color: var(--color-primary-dark);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 3;
  box-shadow: var(--shadow-md);
}

.hero-carousel-control:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  transform: translateY(-50%) scale(1.05);
}

.hero-carousel-prev {
  left: 20px;
}

.hero-carousel-next {
  right: 20px;
}

/* Carousel Indicators */
.hero-carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 3;
}

.hero-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-indicator:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.hero-indicator.active {
  background-color: var(--color-bg-white);
  transform: scale(1.2);
  width: 25px;
  border-radius: var(--radius-full);
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
}

.hero {
  position: relative;
}

.about-content {
  animation: fadeInUp 0.8s ease-out;
}

.section-title {
  font-size: 2.5rem;
  font-family: var(--font-headers);
  color: var(--color-primary-dark);
  margin-bottom: 2rem;
  font-weight: 700;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-carousel-control {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-carousel-prev {
    left: 10px;
  }

  .hero-carousel-next {
    right: 10px;
  }

  .hero-carousel-indicators {
    bottom: 20px;
    gap: 0.4rem;
  }

  .hero-indicator {
    width: 8px;
    height: 8px;
  }

  .hero-indicator.active {
    width: 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .about-text {
    font-size: 1rem;
  }
}

/* Hero Section - Text Color Adjustment for Background Image */
.hero h1,
.hero .hero-title {
  color: var(--color-bg-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .hero-tag {
  color: var(--color-bg-white);
  background: rgba(0, 70, 140, 0.7);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  text-shadow: none;
}

.hero .btn {
  box-shadow:
    var(--shadow-lg),
    0 0 20px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle Ken Burns zoom for hero image */
@keyframes heroKenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

.hero-image,
.hero-carousel-image.active {
  animation: heroKenBurns 20s ease-in-out alternate infinite;
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
  .hero-section {
    min-height: 85vh;
  }

  .hero-image,
  .hero-carousel-image {
    object-position: center 15%;
  }

  .hero-content-wrapper {
    min-height: 85vh;
    padding: 5rem 1rem 2rem;
  }

  .hero-section .hero-title {
    font-size: 2.25rem;
  }

  .hero-section .hero-tag {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 75vh;
  }

  .hero-content-wrapper {
    min-height: 75vh;
  }

  .hero-section .hero-title {
    font-size: 1.85rem;
  }
}
