/* ==========================================================================
   Terra Global — Complete Design System
   ========================================================================== */

:root {
  --primary: #338fbc;
  --primary-dark: #297296;
  --secondary: #19d8d3;
  --tertiary: #14b8a6;
  --dark: #0b1a2b;
  --muted: #6b7a8f;
  --border: #eef2f6;
  --surface: #f0f5f9;
  --header-h: 64px;
  --news-slide-h: 420px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius: 1rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #4b5563;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
}

/* Keeps anchor-linked sections from landing underneath the sticky header */
main [id] {
  scroll-margin-top: var(--header-h);
}

/* ==========================================================================
   Utility Colors
   ========================================================================== */
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-tertiary { background-color: var(--tertiary); }
.bg-surface { background-color: var(--surface); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-tertiary { color: var(--tertiary); }
.border-primary { border-color: var(--primary); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  background: var(--primary);
  color: white;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(51, 143, 188, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(51, 143, 188, 0.06);
}

.btn-primary-modern {
  background: white;
  color: var(--dark);
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary-modern:hover {
  background: var(--secondary);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline-modern {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-outline-modern:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-2px);
}

/* ==========================================================================
   Typography
   ========================================================================== */
.section-title {
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.section-title i {
  display: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: inline-block;
}

.badge {
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(51, 143, 188, 0.1);
  display: inline-block;
}

.learn-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
  background: var(--primary);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-link {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
  font-size: 0.75rem;
}
.top-bar-link:hover { color: white; }
.top-bar-link i { color: var(--secondary); }

.top-bar-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
}
.top-bar-text i { color: var(--secondary); }

.top-bar-social {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s;
  font-size: 0.8rem;
}
.top-bar-social:hover {
  background: var(--secondary);
  color: var(--dark);
}

.top-bar-cta {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark);
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  text-transform: uppercase;
}
.top-bar-cta:hover {
  background: white;
  color: var(--primary);
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
header {
  background: white;
  border-bottom: 1px solid rgba(243, 244, 246, 0.8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 40;
}

header .max-w-7xl {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  header .max-w-7xl {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  header .max-w-7xl {
    padding: 0 2rem;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > div,
.nav-menu > a {
  display: inline-block;
}

/* ==========================================================================
   Desktop Menu - Nav Links
   ========================================================================== */
.nav-link {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  transition: all 0.2s;
  color: #4b5563;
  text-decoration: none;
}
.nav-link:hover {
  background: rgba(51, 143, 188, 0.08);
  color: var(--primary);
}
.nav-link[aria-current="page"] {
  background: var(--primary);
  color: white;
  font-weight: 600;
}
.nav-link[aria-current="page"]:hover {
  background: var(--primary-dark);
  color: white;
}

/* ==========================================================================
   Desktop Menu - Dropdown Trigger
   ========================================================================== */
.nav-trigger-wrap {
  position: relative;
  display: inline-block;
}

/* Add a transparent bridge between link and dropdown */
.nav-trigger-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.5rem;
  z-index: 49;
}

.nav-chevron-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s;
  background: transparent;
  border: none;
  padding: 0;
}
.nav-chevron-btn:hover {
  background: rgba(51, 143, 188, 0.08);
}
.nav-chevron {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

/* Chevron rotation on hover and open state */
.nav-trigger-wrap:hover .nav-chevron,
.nav-trigger-wrap[data-open="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* ==========================================================================
   Desktop Menu - Dropdown
   ========================================================================== */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 300px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 20px 40px -16px rgba(11, 26, 43, 0.18);
  padding: 0.6rem;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Keep dropdown open when hovering over it */
.nav-trigger-wrap[data-open="true"] .nav-dropdown,
.nav-trigger-wrap:hover .nav-dropdown,
.nav-dropdown:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown items container */
.nav-dropdown > div {
  padding: 0.125rem 0;
}

/* Dropdown link */
.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  transition: all 0.2s;
  text-decoration: none;
}
.nav-dropdown-link .dd-icon {
  color: var(--primary);
  width: 1.1rem;
  text-align: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.nav-dropdown-link:hover,
.nav-dropdown-link.active {
  background: rgba(51, 143, 188, 0.08);
  color: var(--primary);
}

/* Dropdown children (sub-sub-menu) */
.nav-dropdown-children {
  margin: 0.1rem 0 0.35rem 1.85rem;
  padding-left: 0.6rem;
  border-left: 2px solid var(--border);
}

.nav-dropdown-child-link {
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  transition: all 0.2s;
  text-decoration: none;
}
.nav-dropdown-child-link:hover,
.nav-dropdown-child-link.active {
  background: rgba(51, 143, 188, 0.08);
  color: var(--primary);
}

/* ==========================================================================
   Mobile Menu - Clean List Style (no accordion)
   ========================================================================== */
.menu-panel {
  background: white;
  color: var(--dark);
  border: 1px solid var(--border);
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 16px 30px -18px rgba(11, 26, 43, 0.18);
  padding: 0.75rem 0.5rem;
}

.menu-panel .mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Top level menu items */
.menu-panel .mobile-menu > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-panel .mobile-menu > li > a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.15s ease;
}

.menu-panel .mobile-menu > li > a:hover {
  background: rgba(51, 143, 188, 0.06);
  color: var(--primary);
}

.menu-panel .mobile-menu > li > a[aria-current="page"] {
  background: var(--primary);
  color: white;
}

/* Sub-menu (children) - indented */
.menu-panel .mobile-menu .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0.125rem 0 0.25rem 0.75rem;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--border);
  padding-left: 0.75rem;
}

.menu-panel .mobile-menu .sub-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-panel .mobile-menu .sub-menu li a {
  display: block;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.15s ease;
}

.menu-panel .mobile-menu .sub-menu li a:hover {
  background: rgba(51, 143, 188, 0.06);
  color: var(--primary);
}

.menu-panel .mobile-menu .sub-menu li a[aria-current="page"] {
  background: var(--primary);
  color: white;
}

/* Third level (grandchildren) - more indented */
.menu-panel .mobile-menu .sub-menu .sub-menu {
  margin-left: 0.5rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(238, 242, 246, 0.6);
}

.menu-panel .mobile-menu .sub-menu .sub-menu li a {
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  color: #9ca3af;
}

/* Special item styling like (Special) */
.menu-panel .mobile-menu .sub-menu li a .special {
  color: var(--primary);
  font-weight: 600;
}

/* Divider between sections */
.menu-panel .mobile-menu .menu-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0.75rem;
}

/* Account section at bottom */
.menu-panel .mobile-menu .account-section {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.menu-panel .mobile-menu .account-section a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.15s ease;
}

.menu-panel .mobile-menu .account-section a:hover {
  background: rgba(51, 143, 188, 0.06);
  color: var(--primary);
}

/* Mobile menu button */
#menu-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary);
  font-size: 1.25rem;
  transition: color 0.2s;
}

/* Hidden state */
.menu-panel.hidden {
  display: none;
}

/* ==========================================================================
   Mobile Menu - Responsive
   ========================================================================== */
@media (max-width: 640px) {
  .menu-panel {
    padding: 0.5rem 0.25rem;
  }
  
  .menu-panel .mobile-menu > li > a {
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
  }
  
  .menu-panel .mobile-menu .sub-menu {
    margin-left: 0.5rem;
    padding-left: 0.5rem;
  }
  
  .menu-panel .mobile-menu .sub-menu li a {
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
  }
}

/* ==========================================================================
   Flex Utilities
   ========================================================================== */
.flex {
  display: flex;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-1 {
  flex: 1 1 0%;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 85vh;
  min-height: 500px;
  max-height: 750px;
  background: var(--dark);
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 26, 43, 0.85) 0%, rgba(11, 26, 43, 0.3) 100%);
  display: flex;
  align-items: center;
  padding: 4rem;
}

.slide-content-text {
  max-width: 650px;
  padding-left: 2rem;
}

.slide-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.slide-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.slide-title .text-secondary {
  color: var(--secondary);
}

.slide-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 1.5rem;
}

.slide-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Slider Controls */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}
.slider-control:hover {
  background: rgba(51, 143, 188, 0.5);
  border-color: var(--secondary);
}
.slider-control.prev { left: 1.5rem; }
.slider-control.next { right: 1.5rem; }

/* ==========================================================================
   Slide Pagination - Modern Dots
   ========================================================================== */
.slider-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.5rem;
}

.slider-dots .dot-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0.15rem;
  transition: all 0.3s ease;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: var(--secondary);
  width: 28px;
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(25, 216, 211, 0.35);
}

.slider-dots .dot-label {
  position: absolute;
  bottom: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  font-size: 0.55rem;
  font-weight: 700;
  color: white;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}

.slider-dots .dot-wrapper:hover .dot-label {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.slider-dots .dot-wrapper:not(.active) .dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.slider-dots .dot-wrapper:active .dot {
  transform: scale(0.8);
}

/* ==========================================================================
   Stats Banner
   ========================================================================== */
.stats-banner {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-top: -2rem;
  position: relative;
  z-index: 5;
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.stat-item-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.stat-icon-modern {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(51, 143, 188, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-number-modern {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.stat-label-modern {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: 1.5rem;
  object-fit: cover;
  width: 100%;
  height: 450px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.about-experience-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: white;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
}

.about-experience-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.about-experience-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.about-experience-label {
  font-size: 0.7rem;
  color: var(--muted);
}

/* ==========================================================================
   Service Cards - Modern
   ========================================================================== */
.service-card-modern {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 1.25rem;
}

.service-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(51, 143, 188, 0.2);
}

.service-card-modern:hover::before {
  opacity: 1;
}

.service-card-modern * {
  position: relative;
  z-index: 1;
}

.service-card-modern:hover .service-card-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.service-card-modern:hover h3 {
  color: white;
}

.service-card-modern:hover p {
  color: rgba(255, 255, 255, 0.8);
}

.service-card-modern:hover .learn-link {
  color: white;
  border-bottom-color: white;
}

.service-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(51, 143, 188, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
  transition: all 0.3s;
}

.service-card-modern h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.service-card-modern p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

/* ==========================================================================
   Legacy Service Cards
   ========================================================================== */
.service-card {
  background: white;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px -8px rgba(0, 20, 40, 0.06);
  transition: 0.3s;
  padding: 1.5rem 1rem;
  text-align: center;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 32px -12px rgba(51, 143, 188, 0.12);
  transform: translateY(-4px);
}
.service-card .icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(51, 143, 188, 0.1);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 2rem;
  color: var(--primary);
}
.service-card h3 {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.service-list-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  gap: 1.25rem;
  transition: 0.3s;
  cursor: pointer;
}
.service-list-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 28px -12px rgba(51, 143, 188, 0.15);
}

/* ==========================================================================
   News Cards
   ========================================================================== */
.news-tag {
  display: inline-block;
  background: rgba(51, 143, 188, 0.1);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.news-grid-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: 0.3s;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}
.news-grid-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 32px -12px rgba(51, 143, 188, 0.15);
  transform: translateY(-4px);
}
.news-grid-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Page Banner
   ========================================================================== */
.page-banner {
  background:
    radial-gradient(circle, rgba(51, 143, 188, 0.14) 1px, transparent 1.6px) 0 0 / 20px 20px,
    linear-gradient(135deg, #e7f1f8 0%, #ffffff 65%);
  color: var(--dark);
  border-radius: 0 0 1.5rem 1.5rem;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--primary-dark);
  transition: 0.15s;
}
.breadcrumb a:hover {
  color: var(--dark);
  text-decoration: underline;
}
.breadcrumb i {
  font-size: 0.65rem;
  margin: 0 0.4rem;
  vertical-align: middle;
}
.breadcrumb.justify-center {
  justify-content: center;
}

/* ==========================================================================
   CTA Panel
   ========================================================================== */
.cta-panel {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1.6px) 0 0 / 20px 20px,
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 55%, var(--tertiary) 150%);
  color: white;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-full {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1.6px) 0 0 / 20px 20px,
    var(--dark);
  color: #b0c7db;
}
.footer-full a {
  color: #8ab0d8;
  transition: 0.2s;
}
.footer-full a:hover {
  color: white;
}

.social-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  transition: 0.2s;
  font-size: 0.85rem;
  text-decoration: none;
}
.social-icon:hover {
  background: var(--secondary);
  color: white;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .slide-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .slider-container {
    height: 60vh;
    min-height: 400px;
    max-height: 500px;
  }

  .slide-content-text {
    padding-left: 0;
    max-width: 100%;
  }

  .slide-title {
    font-size: 2rem;
  }

  .slide-description {
    font-size: 0.95rem;
  }

  .slider-control {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  .slider-control.prev { left: 0.75rem; }
  .slider-control.next { right: 0.75rem; }

  .slider-dots {
    padding: 0.4rem 0.8rem;
    gap: 0.35rem;
    bottom: 1.8rem;
    margin-bottom: 0.3rem;
  }

  .slider-dots .dot {
    width: 8px;
    height: 8px;
  }

  .slider-dots .dot.active {
    width: 20px;
  }

  .stats-banner {
    margin-top: -1rem;
    padding: 1rem 0;
  }

  .stat-number-modern {
    font-size: 1.25rem;
  }
  .stat-icon-modern {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .about-image {
    height: 300px;
  }
  .about-experience-badge {
    left: 0;
    bottom: -1rem;
  }

  .top-bar-link {
    font-size: 0.65rem;
  }
  .top-bar-social {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .slider-container {
    height: 50vh;
    min-height: 320px;
  }

  .slide-title {
    font-size: 1.5rem;
  }

  .slide-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.7rem;
  }

  .slider-control {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
  .slider-control.prev { left: 0.5rem; }
  .slider-control.next { right: 0.5rem; }

  .slider-dots {
    padding: 0.3rem 0.6rem;
    gap: 0.25rem;
    bottom: 1.2rem;
    margin-bottom: 0.2rem;
  }

  .slider-dots .dot {
    width: 6px;
    height: 6px;
  }

  .slider-dots .dot.active {
    width: 16px;
  }

  .stat-item-modern {
    gap: 0.5rem;
  }
  .stat-number-modern {
    font-size: 1rem;
  }
  .stat-icon-modern {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .stat-label-modern {
    font-size: 0.65rem;
  }

  .about-image {
    height: 220px;
  }
}

/* ==========================================================================
   Pagination
========================================================================== */
/* Pagination */
.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-numbers li {
    display: flex;
}

/* Number / link */
.page-numbers li > .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background-color: #fff;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Hover */
.page-numbers li > a.page-numbers:hover {
    border-color: var(--primary);
    background-color: var(--primary);
    color: #fff;
}

/* Current page */
.page-numbers li > .page-numbers.current {
    border-color: var(--primary);
    background-color: var(--primary);
    color: #fff;
}

/* Next button */
.page-numbers li > .page-numbers.next {
    gap: 0.5rem;
    padding: 0 1rem;
}

/* Next icon */
.page-numbers li > .page-numbers.next i {
    font-size: 0.75rem;
}

/* Mobile */
@media (max-width: 640px) {
    .page-numbers {
        gap: 0.375rem;
    }

    .page-numbers li > .page-numbers {
        min-width: 2.25rem;
        height: 2.25rem;
        padding: 0 0.625rem;
        font-size: 0.8125rem;
    }

    .page-numbers li > .page-numbers.next {
        padding: 0 0.75rem;
    }
}

/* CTA Panel Modern - Using your color scheme */
.cta-panel-modern {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    overflow: hidden;
}

/* Subtle animated background pattern */
.cta-panel-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(25, 216, 211, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(25, 216, 211, 0.08) 0%, transparent 50%);
    animation: ctaPulse 8s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Floating geometric shapes */
.cta-panel-modern::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(25, 216, 211, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-panel-modern .max-w-7xl {
    position: relative;
    z-index: 1;
}

/* Badge styling */
.cta-panel-modern .inline-block {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.cta-panel-modern .inline-block:hover {
    background: rgba(25, 216, 211, 0.2);
    border-color: var(--secondary);
    transform: translateY(-1px);
}

/* Heading and text */
.cta-panel-modern h2 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.cta-panel-modern p {
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
}

/* Primary button */
.btn-primary-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(25, 216, 211, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary-modern:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 35px rgba(25, 216, 211, 0.4);
    background: var(--tertiary);
}

.btn-primary-modern:active {
    transform: translateY(0px) scale(0.98);
}

/* Outline button */
.btn-outline-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-outline-modern:hover {
    background: rgba(25, 216, 211, 0.15);
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(25, 216, 211, 0.15);
}

.btn-outline-modern:active {
    transform: translateY(0px);
}

/* Button icons */
.btn-primary-modern i,
.btn-outline-modern i {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Responsive fine-tuning */
@media (max-width: 640px) {
    .cta-panel-modern .max-w-7xl {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .btn-primary-modern,
    .btn-outline-modern {
        width: 100%;
        justify-content: center;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .cta-panel-modern h2 {
        font-size: 1.75rem;
    }
}

/* ============================================
   2. CONTACT FORM
   ============================================ */

.contact-form-wrapper {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-form-wrapper:hover {
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper .form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.contact-form-wrapper .form-subtitle {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.375rem;
}

.form-group .required {
    color: #ef4444;
    margin-left: 0.125rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--dark);
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 0.5rem;
    transition: var(--transition);
    outline: none;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(51, 143, 188, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0b8c4;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a8f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Submit Button */
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(51, 143, 188, 0.35);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit .arrow {
    transition: transform 0.3s ease;
}

.btn-submit:hover .arrow {
    transform: translateX(4px);
}

/* Form Row (2 columns) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* ============================================
   3. OFFICE HOURS CARD
   ============================================ */

.office-hours-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.office-hours-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.office-hours-card .card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.office-hours-card .card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: #fffbeb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
    flex-shrink: 0;
    transition: var(--transition);
}

.office-hours-card:hover .card-icon {
    transform: scale(1.05);
}

.office-hours-card .card-icon.blue {
    background: #eff6ff;
    color: var(--primary);
}

.office-hours-card .card-icon.green {
    background: #ecfdf5;
    color: #059669;
}

.office-hours-card .card-icon.purple {
    background: #f5f3ff;
    color: #7c3aed;
}

.office-hours-card .card-title {
    font-weight: 700;
    color: var(--dark);
    font-size: 1rem;
}

.office-hours-card .card-subtitle {
    font-size: 0.75rem;
    color: #9ca3af;
}

.office-hours-card .hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.office-hours-card .hour-item {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    border-bottom: 1px solid #f9fafb;
}

.office-hours-card .hour-item:last-child {
    border-bottom: none;
}

.office-hours-card .hour-day {
    color: var(--muted);
    font-size: 0.875rem;
}

.office-hours-card .hour-time {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.875rem;
}

.office-hours-card .hour-time.closed {
    color: #059669;
}

.office-hours-card .emergency-support {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted);
}

.office-hours-card .emergency-support i {
    color: var(--primary);
}

/* ============================================
   4. OFFICE LOCATION CARD
   ============================================ */

.location-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.location-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.location-card .card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.location-card .address {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.location-card .address strong {
    color: var(--dark);
}

.location-card .directions-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
}

.location-card .directions-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

.location-card .directions-link i {
    font-size: 0.75rem;
}

/* ============================================
   5. MAP SECTION
   ============================================ */

.map-wrapper {
    margin-top: 3rem;
}

.map-wrapper .surface-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 0.75rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.map-wrapper .surface-card:hover {
    box-shadow: var(--shadow-md);
}

.map-wrap {
    position: relative;
    width: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
}

.map-wrap iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
}

/* Map Info Overlay */
.map-info-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 280px;
    transition: var(--transition);
    animation: slideUp 0.6s ease-out;
}

.map-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.map-info-card .flex {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-info-card .fa-map-pin {
    color: var(--primary);
    font-size: 0.875rem;
    animation: pulse 2s ease-in-out infinite;
}

.map-info-card h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.map-info-card p {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0.25rem 0 0.5rem 0;
}

/* Rating */
.map-rating {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    font-size: 0.75rem;
}

.map-rating span:first-child {
    font-weight: 700;
    color: var(--dark);
    margin-right: 0.25rem;
}

.map-rating .fa-star {
    color: #f59e0b;
    font-size: 0.7rem;
}

.map-rating .text-xs {
    font-size: 0.65rem;
    color: #9ca3af;
    font-weight: 400;
    margin-left: 0.25rem;
}

/* ============================================
   6. CONTACT INFO SIDEBAR
   ============================================ */

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Contact Detail Item */
.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-detail-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.contact-detail-item .icon-wrap {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-detail-item .icon-wrap.blue {
    background: #eff6ff;
    color: var(--primary);
}

.contact-detail-item .icon-wrap.amber {
    background: #fffbeb;
    color: #d97706;
}

.contact-detail-item .icon-wrap.green {
    background: #ecfdf5;
    color: #059669;
}

.contact-detail-item .icon-wrap.purple {
    background: #f5f3ff;
    color: #7c3aed;
}

.contact-detail-item .detail-content {
    flex: 1;
    min-width: 0;
}

.contact-detail-item .detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.125rem;
}

.contact-detail-item .detail-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark);
    word-break: break-word;
}

.contact-detail-item .detail-value a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-detail-item .detail-value a:hover {
    color: var(--primary-dark);
}

/* ============================================
   7. ANIMATIONS
   ============================================ */

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

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

/* ============================================
   8. RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 1.25rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .map-wrap iframe {
        height: 220px;
    }
    
    .map-info-card {
        bottom: 1rem;
        left: 1rem;
        padding: 0.75rem 1rem;
        max-width: 220px;
    }
    
    .map-info-card h3 {
        font-size: 0.8rem;
    }
    
    .map-info-card p {
        font-size: 0.65rem;
    }
    
    .map-rating {
        font-size: 0.65rem;
    }
    
    .map-rating .fa-star {
        font-size: 0.6rem;
    }
    
    .contact-sidebar {
        gap: 1rem;
    }
    
    .contact-detail-item {
        padding: 0.75rem 1rem;
    }
    
    .office-hours-card,
    .location-card {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 1rem;
    }
    
    .contact-form-wrapper .form-title {
        font-size: 1.25rem;
    }
    
    .map-wrap iframe {
        height: 180px;
    }
    
    .map-info-card {
        bottom: 0.75rem;
        left: 0.75rem;
        padding: 0.5rem 0.75rem;
        max-width: 180px;
    }
    
    .map-info-card h3 {
        font-size: 0.7rem;
    }
    
    .map-info-card p {
        font-size: 0.6rem;
        margin: 0.125rem 0 0.25rem 0;
    }
    
    .map-rating span:first-child {
        font-size: 0.6rem;
    }
    
    .map-rating .fa-star {
        font-size: 0.5rem;
    }
    
    .map-rating .text-xs {
        font-size: 0.5rem;
    }
    
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
    
    .contact-detail-item .detail-value {
        font-size: 0.8rem;
    }
}

/* Partner Cards - Enhanced Styles */
.partner-card-modern {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    justify-content: center;
}

/* Subtle gradient overlay on hover */
.partner-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 26, 43, 0.02) 0%, rgba(11, 26, 43, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.partner-card-modern:hover::before {
    opacity: 1;
}

.partner-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(11, 26, 43, 0.12);
    border-color: transparent;
}

/* Top accent line on hover */
.partner-card-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0b1a2b, #2c4a6e);
    transition: width 0.3s ease;
    border-radius: 0 0 4px 4px;
}

.partner-card-modern:hover::after {
    width: 80%;
}

.partner-logo {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 0.5rem;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

/* Subtle grayscale on hover for elegant effect */
.partner-card-modern:hover .partner-logo img {
    filter: grayscale(0%) brightness(1.05);
    transform: scale(1.05);
}

.partner-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a2938;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
}

.partner-card-modern:hover .partner-name {
    color: #0b1a2b;
}

/* Optional: Add a subtle shine effect */
.partner-card-modern .shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transform: rotate(25deg);
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.partner-card-modern:hover .shine {
    opacity: 1;
}

/* Placeholder for posts without featured image */
.partner-logo .placeholder-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef2f6 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c4a6e;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.partner-card-modern:hover .placeholder-logo {
    background: linear-gradient(135deg, #0b1a2b 0%, #2c4a6e 100%);
    color: #ffffff;
    transform: scale(1.05);
}

/* Grid gap enhancement */
#shipping-partners-grid,
#airline-partners-grid {
    gap: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .partner-card-modern {
        padding: 1.25rem 0.75rem;
        min-height: 110px;
    }
    
    .partner-logo {
        height: 55px;
    }
    
    .partner-name {
        font-size: 0.8rem;
    }
    
    #shipping-partners-grid,
    #airline-partners-grid {
        gap: 0.75rem;
    }
}

/* Optional: Add badge for new partners */
.partner-card-modern .badge-new {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #0b1a2b;
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(11, 26, 43, 0.2);
}

/* Optional: Featured partner with different border */
.partner-card-modern.featured {
    border: 2px solid #0b1a2b;
    position: relative;
}

.partner-card-modern.featured::before {
    background: linear-gradient(135deg, rgba(11, 26, 43, 0.05) 0%, rgba(11, 26, 43, 0.08) 100%);
    opacity: 1;
}

/* Loading skeleton animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.partner-card-modern.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ==========================================================================
   Logo Responsive Styles
   ========================================================================== */

/* Logo container */
.logo-container {
    flex-shrink: 0;
}

/* Custom logo image */
.logo-container .custom-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

/* Site name text */
.logo-container .site-name {
    font-size: 1.125rem; /* 18px */
    font-weight: 800;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    color: var(--primary);
    transition: font-size 0.3s ease;
    line-height: 1.2;
}

/* Mobile (small phones) */
@media (max-width: 480px) {
    .logo-container .custom-logo {
        height: 24px;
    }
    
    .logo-container .site-name {
        font-size: 0.875rem; /* 14px */
    }
}

/* Mobile (large phones) */
@media (min-width: 481px) and (max-width: 640px) {
    .logo-container .custom-logo {
        height: 28px;
    }
    
    .logo-container .site-name {
        font-size: 1rem; /* 16px */
    }
}

/* Tablets */
@media (min-width: 641px) and (max-width: 1024px) {
    .logo-container .custom-logo {
        height: 34px;
    }
    
    .logo-container .site-name {
        font-size: 1.25rem; /* 20px */
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .logo-container .custom-logo {
        height: 40px;
    }
    
    .logo-container .site-name {
        font-size: 1.5rem; /* 24px */
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .logo-container .custom-logo {
        height: 44px;
    }
    
    .logo-container .site-name {
        font-size: 1.75rem; /* 28px */
    }
}

/* If logo is missing, show only text */
.logo-container:has(.custom-logo) .site-name {
    /* Adjust spacing when logo is present */
    margin-left: 0.25rem;
}

/* If no custom logo, text can be larger */
.logo-container:not(:has(.custom-logo)) .site-name {
    font-size: 1.25rem;
}

@media (max-width: 480px) {
    .logo-container:not(:has(.custom-logo)) .site-name {
        font-size: 1rem;
    }
}

/* Optional: Add a subtle hover effect */
.logo-container:hover .custom-logo {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.logo-container:hover .site-name {
    color: var(--primary-dark);
    transition: color 0.3s ease;
}
