:root {
  --navy: #0b1d3b;
  --navy-dark: #0a1a33;
  --slate: #1b3158;
  --gold: #d4af37;
  --gold-soft: #e5c76f;
  --sand: #f7f4ea;
  --white: #ffffff;
  --text: #152544;
  --muted: #51607a;
  --card: #ffffff;
  --card-ghost: #f8fbff;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

@keyframes glass-sheen {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  30% {
    opacity: 0.35;
  }
  70% {
    opacity: 0.35;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent horizontal scrolling */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

:root {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 12% 18%, rgba(212, 175, 55, 0.08), transparent 22%), radial-gradient(circle at 82% 8%, rgba(11, 29, 59, 0.08), transparent 26%), #fdfdfb;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* Mobile font scaling - proportional scaling */
@media (max-width: 768px) {
  html {
    font-size: 14px; /* Base font size reduction for mobile */
  }
  
  body {
    font-size: 14px;
  }
  
  h1 {
    font-size: clamp(24px, 5vw, 32px);
  }
  
  h2 {
    font-size: clamp(20px, 4.5vw, 28px);
  }
  
  h3 {
    font-size: clamp(18px, 4vw, 24px);
  }
  
  .elementor-headline {
    font-size: clamp(28px, 6vw, 38.7px);
  }

  /* Fix elementor-headline overflow on mobile */
  .elementor-headline {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .elementor-headline-dynamic-text {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: inline;
  }

  .elementor-headline--style-highlight .elementor-headline-dynamic-wrapper {
    overflow: hidden;
    max-width: 100%;
    display: inline-block;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .elementor-headline--style-highlight svg {
    width: 100% !important;
    max-width: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
  }

  /* Ensure section header doesn't overflow */
  .section-header {
    overflow: hidden;
    max-width: 100%;
    word-wrap: break-word;
    box-sizing: border-box;
  }

  .section-header > div {
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
  }

  /* Override h2 max-width on mobile */
  h2 {
    max-width: 100% !important;
  }

  /* Fix split-content overflow */
  .split-content {
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
  }

  /* Ensure container doesn't cause overflow */
  .container {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  /* Specific fix for about section h2 */
  #about .section-header h2,
  #about .section-header .elementor-headline {
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Ensure the entire headline structure is contained */
  #about .elementor-headline--style-highlight {
    max-width: 100%;
    overflow: hidden;
    display: block;
  }
}

/* Center the Why Choose Us section header content */
#about .section-header {
  justify-content: center;
  text-align: center;
}

#about .section-header > div {
  text-align: center;
  width: 100%;
}

#about .section-header .eyebrow {
  text-align: center;
}

#about .section-header h2,
#about .section-header .elementor-headline {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
  
  body {
    font-size: 13px;
  }
  
  h1 {
    font-size: clamp(22px, 6vw, 28px);
  }
  
  h2 {
    font-size: clamp(18px, 5vw, 24px);
  }
  
  h3 {
    font-size: clamp(16px, 4.5vw, 20px);
  }
  
  .elementor-headline {
    font-size: clamp(24px, 7vw, 32px);
  }

  /* Additional fixes for very small screens */
  .elementor-headline-dynamic-text {
    white-space: normal !important;
    word-break: break-word;
  }

  .elementor-headline--style-highlight svg {
    width: 100% !important;
    max-width: calc(100% - 20px);
  }

  .section-header {
    padding-right: 45px;
  }
}

h1, h2, h3 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  color: var(--navy);
  margin: 0 0 0.4em;
  line-height: 1.2;
}

h2 {
  max-width: 760px;
}

/* Elementor Headline Highlight Style - matching live website */
.elementor-headline {
  display: block;
  font-size: 43px;
  line-height: 1.2;
}

.elementor-headline-dynamic-text {
  display: inline-block;
  position: relative;
  background: linear-gradient(135deg, #d4af37 0%, #aebcb9 50%, #d4af37 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: premiumShimmer 3s ease-in-out infinite;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.elementor-headline-text-active {
  background: linear-gradient(135deg, #d4af37 0%, #aebcb9 50%, #d4af37 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: premiumShimmer 3s ease-in-out infinite;
}

@keyframes premiumShimmer {
  0% {
    background-position: 0% 50%;
    filter: brightness(1);
  }
  50% {
    background-position: 100% 50%;
    filter: brightness(1.1);
  }
  100% {
    background-position: 0% 50%;
    filter: brightness(1);
  }
}

.elementor-headline--style-highlight .elementor-headline-dynamic-wrapper {
  overflow: visible;
  text-align: inherit;
  display: inline-block;
  position: relative;
}

.elementor-headline--style-highlight .elementor-headline-dynamic-text {
  z-index: 1;
  position: relative;
}

.elementor-headline--style-highlight svg {
  height: calc(100% + 20px);
  left: 50%;
  overflow: visible;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 20px);
  z-index: 0;
}

.elementor-headline--style-highlight svg path {
  stroke: #d4af37;
  stroke-width: 3px;
  fill: none;
  opacity: 0;
  stroke-dasharray: 0, 1500;
  transition: 0.3s;
}

.elementor-headline.e-animated svg path {
  animation-timing-function: ease;
  animation-delay: 0s;
  animation-direction: normal;
  animation-fill-mode: forwards;
  animation-play-state: running;
  animation-name: elementor-headline-dash;
  animation-duration: 1.2s;
  animation-iteration-count: 1;
}

.elementor-headline.e-animated svg path:nth-of-type(2) {
  animation-delay: 0.6s;
}

.elementor-headline.e-hide-highlight svg path {
  opacity: 1;
  stroke-dasharray: 1500, 1500;
  animation: hide-highlight 0.4s ease 0s 1 normal forwards;
}

@keyframes elementor-headline-dash {
  to {
    stroke-dasharray: 1500, 1500;
    opacity: 1;
  }
}

@keyframes hide-highlight {
  to {
    opacity: 0;
  }
}

.elementor-headline-text-wrapper {
  vertical-align: bottom;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

/* Ensure paragraphs in all contexts use muted color */
section p,
.container p,
.split-content p {
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* Current Weather Widget - Floating Top Right */
.current-weather-widget {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(15, 38, 72, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 170, 0.3);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 140px;
}

.current-weather-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.weather-widget-content {
  display: flex;
  align-items: center;
  gap: 6px;
}

.weather-widget-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.weather-widget-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.weather-widget-location {
  font-size: 10px;
  color: rgba(232, 245, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.weather-widget-temp {
  font-size: 15px;
  font-weight: 700;
  color: #2fffd0;
  line-height: 1;
  white-space: nowrap;
}

.weather-widget-condition {
  font-size: 11px;
  color: rgba(232, 245, 255, 0.85);
  white-space: nowrap;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hide weather widget on mobile */
@media (max-width: 768px) {
  .current-weather-widget {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .current-weather-widget {
    top: 70px;
    right: 10px;
    padding: 8px 12px;
    min-width: 120px;
  }
  
  .weather-widget-icon {
    font-size: 16px;
  }
  
  .weather-widget-temp {
    font-size: 14px;
  }
  
  .weather-widget-condition {
    max-width: 80px;
    font-size: 10px;
  }
  
  .weather-widget-location {
    font-size: 9px;
  }
}

/* Weather Alert Banner */
.weather-alert-banner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
  color: #ffffff;
  padding: 16px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  max-height: 400px;
  overflow-y: auto;
}

.weather-alert-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.weather-alert-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.weather-alert-text {
  flex: 1;
}

.weather-alert-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 700;
}

.weather-alerts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.weather-alert-item {
  background: rgba(255, 255, 255, 0.15);
  border-left: 4px solid #ffd700;
  border-radius: 8px;
  padding: 12px 16px;
  backdrop-filter: blur(10px);
}

.weather-alert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.weather-alert-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.weather-alert-date {
  font-size: 12px;
  opacity: 0.9;
  white-space: nowrap;
}

.weather-alert-summary {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
  opacity: 0.95;
}

.weather-alert-link {
  display: inline-block;
  color: #ffffff;
  text-decoration: underline;
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
  transition: opacity 0.2s ease;
}

.weather-alert-link:hover {
  opacity: 0.8;
}

.weather-alert-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  font-size: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  line-height: 1;
  padding: 0;
}

.weather-alert-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .weather-alert-content {
    flex-direction: column;
    gap: 12px;
  }
  
  .weather-alert-close {
    position: absolute;
    top: 12px;
    right: 12px;
  }
  
  .weather-alert-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .weather-alert-date {
    white-space: normal;
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: linear-gradient(120deg, rgba(15, 38, 72, 0.85), rgba(10, 26, 51, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  overflow: visible;
}

/* Adjust body padding when weather alert is visible */
body:has(.weather-alert-banner[style*="display: block"]) {
  padding-top: 0;
}

/* Adjust main content when weather alert banner is visible */
.weather-alert-banner[style*="display: block"] ~ * .topbar,
body:has(.weather-alert-banner[style*="display: block"]) .topbar {
  top: 0;
}

.topbar .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px 0;
  position: relative;
  min-height: 70px;
  z-index: 101;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 101;
}

.brand a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px;
  flex-shrink: 0;
  margin-bottom: -45px;
  overflow: hidden;
  position: relative;
  z-index: 12;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

/* Ensure logo image loads and displays */
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #e8eef8;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #e8eef8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tagline {
  font-size: 12px;
  color: rgba(232, 238, 248, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #e8eef8;
  align-self: center;
}

.nav-links li {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  position: relative;
  color: #e8eef8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-links a::before {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.has-dropdown > a::after {
  content: '▾';
  font-size: 11px;
  opacity: 0.7;
  margin-left: 4px;
  position: static;
  transform: none;
  background: none;
}

.has-dropdown > a:hover::after {
  opacity: 1;
}

.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--navy);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  z-index: 21;
}

.has-dropdown:hover .dropdown,
.has-dropdown:hover::before {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown a {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(11, 29, 59, 0.03);
  color: #2f3a4f;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.dropdown a:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.12);
  color: #1a2332;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #f6f8fb;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
  color: #0b1d3b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(229, 199, 111, 0.98));
  color: #0b1d3b;
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, rgba(212, 175, 55, 1), rgba(229, 199, 111, 1));
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.btn-primary:hover::after {
  animation: glass-sheen 1.6s ease forwards;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(11, 29, 59, 0.2);
  color: var(--navy);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-secondary::after {
  content: '';
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.btn-secondary:hover::after {
  animation: glass-sheen 1.6s ease forwards;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(11, 29, 59, 0.14);
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: var(--gold);
}

.topbar .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: #f6f8fb;
}

.topbar .btn-secondary:hover {
  border-color: var(--gold);
  color: #f6f8fb;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  isolation: isolate;
  z-index: 0; /* Lower z-index so logo can appear above */
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #fdfdfb url('assets/images/logo.png') center/contain no-repeat;
  transform: scale(1.04);
}

/* Home page hero background: keep plain white with no logo */
.home .hero-media {
  background: #ffffff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9) 35%, rgba(247, 244, 234, 0.75));
  backdrop-filter: blur(3px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--navy);
  margin-bottom: 12px;
}

.lede {
  font-size: 18px;
  color: #2f3a4f;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 28px;
}

/* Contact Form Styles */
.hero-form-container {
  margin: 32px 0;
  padding: 32px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: relative;
  overflow: hidden;
}

.hero-form-container::after {
  content: '';
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.hero-form-container:hover::after {
  animation: glass-sheen 1.6s ease forwards;
}

.hero-form-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 24px;
  text-align: center;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 1px solid rgba(11, 29, 59, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-group input::placeholder {
  color: var(--muted);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230b1d3b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-message {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.trust-item {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trust-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 4px;
}

.trust-number {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.trust-label {
  color: var(--muted);
  font-size: 13px;
}

.hero-accent {
  position: absolute;
  right: 5%;
  bottom: 8%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25), transparent 60%);
  filter: blur(12px);
  z-index: 0;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

/* Expandable Section Toggle Button */
.section-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(11, 29, 59, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  padding: 0;
  margin: 0;
}

.section-toggle:hover {
  background: rgba(255, 255, 255, 1);
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.05);
}

.section-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.section-toggle.expanded svg {
  transform: rotate(180deg);
}

/* Section Content Wrapper for Collapsible Content */
.section-content {
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Desktop: Always show content */
@media (min-width: 769px) {
  .section.expandable .section-content {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible;
  }
}

/* Mobile-specific styles for expandable sections */
@media (max-width: 768px) {
  .section-toggle {
    display: flex;
  }

  .section-header {
    position: relative;
    padding-right: 50px;
  }

  .section-toggle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
  }

  /* Sections that should be collapsible on mobile */
  .section.expandable:not(.expanded) .section-content {
    max-height: 0 !important;
    opacity: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    display: block;
  }

  .section.expandable.expanded .section-content {
    max-height: 10000px !important;
    opacity: 1;
    margin: 0;
    padding: 0;
    overflow: visible;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    display: block;
  }

  /* Keep section header visible */
  .section.expandable .section-header {
    margin-bottom: 20px;
  }

  .section.expandable.expanded .section-header {
    margin-bottom: 32px;
  }

  /* News header specific styling */
  .news-header {
    position: relative;
    padding-right: 50px;
  }

  /* Reviews header specific styling */
  .reviews-section .section-header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-right: 0;
  }

  .reviews-section .section-header .reviews-header {
    width: 100%;
  }

  .reviews-section .section-toggle {
    position: absolute;
    top: 0;
    right: 0;
  }
}

.link {
  color: var(--gold-soft);
  font-weight: 600;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(15, 38, 72, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold);
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.service-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pill.subtle {
  background: rgba(11, 29, 59, 0.08);
  border: 1px solid rgba(11, 29, 59, 0.15);
  color: var(--navy);
}

.card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.card ul li {
  margin-bottom: 6px;
  color: var(--muted);
}

/* Ensure all text in cards uses appropriate lighter colors */
.card p {
  color: var(--muted);
}

.card h3 {
  color: var(--navy);
}

.card h2 {
  color: var(--navy);
}

/* Fix text colors in service pages - ensure paragraphs use lighter color */
.split-content p {
  color: var(--muted);
}

.section p:not(.eyebrow):not(.lede) {
  color: var(--muted);
}

/* Ensure list items use muted color */
.section ul li,
.split-content ul li {
  color: var(--muted);
}

/* Service page specific fixes */
.category .section p,
.category .split-content p {
  color: var(--muted);
}

/* Ensure body text in service pages uses muted color */
body:not(.home) .section p:not(.eyebrow):not(.lede) {
  color: var(--muted);
}

.service-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(247, 249, 252, 0.85));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.18), transparent 40%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 120%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  transform: skewX(-20deg) translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 22px 50px rgba(15, 38, 72, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 251, 0.95));
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover::before {
  opacity: 0.4;
  animation: glass-sheen 2.2s ease;
}

.service-card h3 {
  margin-top: 4px;
}

.split {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 249, 252, 0.98));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.split-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: 100%;
}

.split-content {
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  text-align: center;
}

.split-content p {
  text-align: center;
}

.split-media {
  height: 420px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(11, 29, 59, 0.2)), url('assets/images/logo.png') center/contain no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.split-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.18), transparent 50%);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
  justify-content: center;
}

.pill {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11, 29, 59, 0.08);
  border: 1px solid rgba(11, 29, 59, 0.15);
  font-size: 13px;
  color: var(--navy);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.certifications-carousel-wrapper {
  position: relative;
  margin-top: 32px;
  padding: 0 60px;
  overflow: hidden;
  width: 100%;
}

.certifications-carousel {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  gap: 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.certification-item {
  flex: 0 0 calc(33.333% - 16px);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(15, 38, 72, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  min-width: 0;
}

.certification-item:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 22px 50px rgba(15, 38, 72, 0.18);
}

.certification-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-height: 300px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 29, 59, 0.15);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

.carousel-btn-prev {
  left: 0;
}

.carousel-btn-next {
  right: 0;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 29, 59, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-indicator:hover {
  background: rgba(11, 29, 59, 0.5);
  transform: scale(1.2);
}

.carousel-indicator.active {
  background: var(--gold);
  width: 24px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

@media (max-width: 900px) {
  .certifications-carousel-wrapper {
    padding: 0 50px;
    max-width: 100%;
    overflow: hidden;
  }

  .certification-item {
    flex: 0 0 calc(50% - 12px);
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 640px) {
  .certifications-carousel-wrapper {
    padding: 0 40px;
  }

  .certification-item {
    flex: 0 0 100%;
  }
}

/* Certified Badges */
/* Certified Badges - Elementor Structure */
.elementor-element-58e3bd2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding: 32px 0;
}

.elementor-element-58e3bd2 .e-con-child {
  display: flex;
  align-items: center;
  justify-content: center;
}

.elementor-element-58e3bd2 .elementor-widget-image {
  width: 100%;
}

.elementor-element-58e3bd2 .elementor-widget-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.elementor-element-58e3bd2 img {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.certified-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  padding: 32px 0;
}

.certified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(11, 29, 59, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-height: 80px;
}

.certified-badge img {
  max-height: 60px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.certified-badge .certified-text {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.certified-badge:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 29, 59, 0.12);
}

@media (max-width: 768px) {
  .elementor-element-58e3bd2 {
    gap: 16px;
    margin-top: 32px;
    padding: 24px 0;
  }

  .elementor-element-58e3bd2 img {
    max-width: 120px;
    max-height: 120px;
  }

  .certified-badges {
    gap: 12px;
    margin-top: 32px;
    padding: 24px 0;
  }

  .certified-badge {
    padding: 12px 18px;
    min-height: 70px;
  }

  .certified-badge img {
    max-height: 50px;
    max-width: 120px;
  }

  .certified-badge .certified-text {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .elementor-element-58e3bd2 {
    gap: 12px;
    margin-top: 24px;
    padding: 20px 0;
  }

  .elementor-element-58e3bd2 img {
    max-width: 100px;
    max-height: 100px;
  }

  .certified-badges {
    gap: 8px;
    margin-top: 24px;
    padding: 20px 0;
  }

  .certified-badge {
    padding: 10px 14px;
    min-height: 60px;
  }

  .certified-badge img {
    max-height: 40px;
    max-width: 100px;
  }

  .certified-badge .certified-text {
    font-size: 11px;
  }
}

/* Crisis Carousel */
.crisis-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  height: 100%;
  min-height: 400px;
}

.crisis-carousel {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  gap: 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  height: 100%;
}

.crisis-item {
  flex: 0 0 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 38, 72, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  scroll-snap-align: start;
}

.crisis-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 38, 72, 0.18);
}

.crisis-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px;
}

.crisis-carousel-wrapper .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 38, 72, 0.1);
}

.crisis-carousel-wrapper .carousel-btn-prev {
  left: 16px;
}

.crisis-carousel-wrapper .carousel-btn-next {
  right: 16px;
}

.crisis-carousel-wrapper .carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 6px 16px rgba(15, 38, 72, 0.15);
  transform: translateY(-50%) scale(1.05);
}

.crisis-carousel-wrapper .carousel-btn svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.crisis-carousel-wrapper .carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

@media (max-width: 900px) {
  .crisis-carousel-wrapper {
    min-height: 280px;
    max-width: 100%;
    overflow: hidden;
  }

  .crisis-item img {
    min-height: 280px;
    max-height: 350px;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .crisis-carousel-wrapper {
    min-height: 250px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .crisis-carousel {
    height: 100%;
    max-width: 100%;
  }

  .crisis-item {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .crisis-item img {
    min-height: 250px;
    max-height: 300px;
    width: 100%;
    object-fit: cover;
  }

  .crisis-carousel-wrapper .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .crisis-carousel-wrapper .carousel-btn svg {
    width: 18px;
    height: 18px;
  }

  .crisis-carousel-wrapper .carousel-btn-prev {
    left: 8px;
  }

  .crisis-carousel-wrapper .carousel-btn-next {
    right: 8px;
  }

  .crisis-carousel-wrapper .carousel-indicators {
    bottom: 12px;
  }
}

/* Reviews Section */
.reviews-section {
  background: var(--sand);
  padding: 80px 0;
}

.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}

.reviews-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.rating-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.rating-stars {
  display: flex;
  gap: 4px;
}

.rating-stars svg {
  width: 28px;
  height: 28px;
  fill: var(--gold);
}

.rating-info {
  font-size: 1rem;
  color: var(--muted);
}

.rating-info strong {
  color: var(--navy);
  font-weight: 600;
}

.reviews-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.reviews-carousel {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  gap: 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  align-items: stretch;
}

.review-item {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
  padding: 40px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 450px;
}

.review-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.15);
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(11, 29, 59, 0.1);
}

.review-platform-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.review-platform-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.review-profile-details {
  flex: 1;
  min-width: 0;
}

.review-author {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.review-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  flex-direction: column;
}

.review-text.truncated {
  display: inline;
}

.review-read-more {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  margin-left: 4px;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.review-read-more:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* Review Modal */
.review-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 29, 59, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.review-modal.active {
  display: flex;
}

.review-modal-content {
  background: var(--white);
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.review-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(11, 29, 59, 0.1);
}

.review-modal-author {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.review-modal-stars {
  display: flex;
  gap: 2px;
}

.review-modal-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.review-modal-close {
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.review-modal-close:hover {
  background: rgba(11, 29, 59, 0.1);
  color: var(--navy);
}

.review-modal-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}

@media (max-width: 768px) {
  .review-modal-content {
    padding: 24px;
    max-height: 90vh;
  }

  .review-modal-header {
    flex-direction: column;
    gap: 16px;
  }

  .review-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
  }

}

.reviews-carousel-wrapper .review-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(11, 29, 59, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.reviews-carousel-wrapper .review-btn-prev {
  left: 0;
}

.reviews-carousel-wrapper .review-btn-next {
  right: 0;
}

.reviews-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.review-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(11, 29, 59, 0.2);
  background: var(--white);
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.review-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: scale(1.1);
}

.review-btn:active {
  transform: scale(0.95);
}

.reviews-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.review-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 29, 59, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.review-indicator.active {
  background: var(--gold);
  width: 24px;
  border-radius: 5px;
}

@media (max-width: 1024px) {
  .reviews-carousel-wrapper {
    padding: 0 50px;
  }

  .review-item {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 60px 0;
  }

  .reviews-carousel-wrapper {
    padding: 0 50px;
  }

  .review-item {
    flex: 0 0 100%;
    padding: 24px;
    min-height: 300px;
  }
  
  .review-text {
    min-height: 100px;
  }

  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .rating-text {
    font-size: 1.25rem;
  }

  .rating-stars svg {
    width: 24px;
    height: 24px;
  }

  .reviews-carousel-wrapper .review-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .reviews-carousel-wrapper .review-btn-prev {
    left: 8px;
  }

  .reviews-carousel-wrapper .review-btn-next {
    right: 8px;
  }
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background: var(--white);
}

.map-wrapper {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .map-section {
    padding: 60px 0;
  }

  .map-wrapper iframe {
    height: 350px;
  }
}

.case-card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(11, 29, 59, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(247, 249, 255, 0.82));
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(15, 38, 72, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.case-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0, rgba(212, 175, 55, 0.14), transparent 50%);
  pointer-events: none;
}

.case-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 29, 59, 0.15);
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.case-badge.gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  border-color: transparent;
}

.case-meta {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
}

.cta {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 252, 0.92));
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 18px;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-wide {
  padding: 90px 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 244, 251, 0.95));
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cta-wide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.18), transparent 45%), radial-gradient(circle at 80% 70%, rgba(11, 29, 59, 0.12), transparent 50%);
  opacity: 0.8;
  pointer-events: none;
}

.cta-wide-inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.cta-wide-content h2 {
  margin: 0 0 10px;
}

.cta-wide-content p {
  max-width: 640px;
}

.cta-wide-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.news-section {
  background: #f7f8fb;
  border-top: 1px solid rgba(11, 29, 59, 0.06);
  border-bottom: 1px solid rgba(11, 29, 59, 0.06);
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}

.news-subtext {
  color: #5c6b82;
  margin-top: 8px;
}

.news-cta .link {
  font-weight: 600;
  color: var(--navy);
}

/* News Pagination */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  padding: 24px 0;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid rgba(11, 29, 59, 0.2);
  background: #ffffff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pagination-btn:hover:not(.disabled) {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 29, 59, 0.2);
}

.pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f5f5f5;
  color: #999;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pagination-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid rgba(11, 29, 59, 0.2);
  background: #ffffff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.pagination-number:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: translateY(-1px);
}

.pagination-number.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  cursor: default;
}

.pagination-ellipsis {
  padding: 0 8px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 768px) {
  .news-pagination {
    gap: 8px;
    margin-top: 32px;
    padding: 20px 0;
  }
  
  .pagination-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .pagination-number {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* Homepage News Grid */
#news-list.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* News Page Grid (vertical list) */
.news-grid:not(#news-list) {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* View More Button */
.news-view-more {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}

/* Homepage News Cards */
.news-card-home {
  background: #fff;
  border: 1px solid rgba(11, 29, 59, 0.06);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.news-card-home .news-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.news-card-home .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-body-home {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-bottom: 60px;
}

.news-card-date-home {
  color: #7b879c;
  font-size: 12px;
  margin-top: 4px;
}

.news-card-home h3 {
  font-size: 18px;
  color: var(--navy);
  margin: 0;
  line-height: 1.4;
}

.news-card-home .news-card-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.news-card-home .news-card-content {
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.news-card-home.expandable:not(.expanded) .news-card-content {
  max-height: 100px !important;
  opacity: 0.7;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  position: relative;
}

.news-card-home.expandable:not(.expanded) .news-card-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
  pointer-events: none;
}

.news-card-home.expandable.expanded .news-card-content {
  max-height: 10000px !important;
  opacity: 1;
  overflow: visible;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.news-card-home.expandable.expanded .news-card-content::after {
  display: none;
}

/* News Page Cards (horizontal layout) */
.news-card:not(.news-card-home) {
  background: #fff;
  border: 1px solid rgba(11, 29, 59, 0.06);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  display: flex;
  gap: 20px;
  position: relative;
  align-items: flex-start;
}

.news-card-image {
  flex-shrink: 0;
  width: 200px;
  min-width: 200px;
}

.news-thumb {
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(11, 29, 59, 0.08);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  min-width: 0;
  padding-bottom: 50px;
}

.news-card-date {
  position: absolute;
  top: 0;
  right: 0;
  color: #7b879c;
  font-size: 12px;
  white-space: nowrap;
}

.news-card-header {
  padding-right: 100px;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  /* Homepage News Grid */
  #news-list.news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* News Page Cards */
  .news-card:not(.news-card-home) {
    flex-direction: column;
    gap: 16px;
  }

  .news-card-image {
    width: 100%;
    min-width: 100%;
  }

  .news-thumb {
    height: 200px;
  }

  .news-card-date {
    position: static;
    margin-bottom: 8px;
  }

  .news-card-header {
    padding-right: 0;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Homepage News Grid - 2 columns on tablet */
  #news-list.news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.news-card h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 0;
  line-height: 1.4;
}

.news-card-header h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 0;
  line-height: 1.4;
}

.news-meta {
  color: #7b879c;
  font-size: 12px;
}

.news-summary {
  color: #2f3a4f;
  font-size: 14px;
  line-height: 1.5;
}

.news-summary p,
.news-content p {
  margin: 0 0 12px;
  color: inherit;
}

.news-summary p:last-child,
.news-content p:last-child {
  margin-bottom: 0;
}

.news-summary h1,
.news-summary h2,
.news-summary h3,
.news-summary h4,
.news-summary h5,
.news-summary h6,
.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4,
.news-content h5,
.news-content h6 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  color: var(--navy);
  margin: 16px 0 8px;
  font-weight: 600;
  line-height: 1.3;
}

.news-summary h1:first-child,
.news-content h1:first-child,
.news-summary h2:first-child,
.news-content h2:first-child,
.news-summary h3:first-child,
.news-content h3:first-child {
  margin-top: 0;
}

.news-summary h1,
.news-content h1 {
  font-size: 24px;
}

.news-summary h2,
.news-content h2 {
  font-size: 20px;
}

.news-summary h3,
.news-content h3 {
  font-size: 18px;
}

.news-summary h4,
.news-content h4 {
  font-size: 16px;
}

.news-summary ul,
.news-summary ol,
.news-content ul,
.news-content ol {
  margin: 12px 0;
  padding-left: 24px;
  color: inherit;
}

.news-summary li,
.news-content li {
  margin: 6px 0;
  color: inherit;
}

.news-summary a,
.news-content a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(11, 29, 59, 0.3);
  transition: text-decoration-color 0.2s ease;
}

.news-summary a:hover,
.news-content a:hover {
  text-decoration-color: var(--navy);
}

.news-summary strong,
.news-summary b,
.news-content strong,
.news-content b {
  font-weight: 600;
  color: inherit;
}

.news-summary em,
.news-summary i,
.news-content em,
.news-content i {
  font-style: italic;
}

.news-summary u,
.news-content u {
  text-decoration: underline;
}

.news-summary br,
.news-content br {
  line-height: 1.5;
}

.news-source {
  font-weight: 600;
  color: var(--navy);
}

/* News Share Buttons */
.news-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(11, 29, 59, 0.08);
}

.news-share-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-share-buttons {
  display: flex;
  gap: 6px;
  align-items: center;
}

.news-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(11, 29, 59, 0.15);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 0;
  text-decoration: none;
}

.news-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-color: var(--gold);
}

.news-share-btn.news-share-whatsapp:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}

.news-share-btn.news-share-facebook:hover {
  background: #1877F2;
  color: #fff;
  border-color: #1877F2;
}

.news-share-btn.news-share-twitter:hover {
  background: #1DA1F2;
  color: #fff;
  border-color: #1DA1F2;
}

.news-share-btn.news-share-linkedin:hover {
  background: #0077B5;
  color: #fff;
  border-color: #0077B5;
}

.news-share-btn.news-share-copy:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.news-share-icon {
  display: inline-block;
  line-height: 1;
  font-size: 14px;
}

.news-share-btn.news-share-facebook .news-share-icon,
.news-share-btn.news-share-linkedin .news-share-icon {
  font-size: 12px;
}

.share-copy-message {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.share-copy-message.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .news-share {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .news-share-label {
    width: 100%;
  }
  
  .share-copy-message {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
}

.news-empty {
  background: #fff;
  border: 1px dashed rgba(11, 29, 59, 0.15);
  border-radius: 12px;
  padding: 20px;
  color: #5c6b82;
  text-align: center;
}

/* Expandable News Cards */
.news-card {
  position: relative;
}

.news-card-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(11, 29, 59, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  padding: 0;
  margin: 0;
}

.news-card-toggle:hover {
  background: rgba(255, 255, 255, 1);
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.05);
}

.news-card-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.news-card-toggle.expanded svg {
  transform: rotate(180deg);
}

.news-card-content {
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

/* Expandable content styles */
.news-card.expandable:not(.expanded) .news-card-content {
  max-height: 100px !important;
  opacity: 0.7;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  display: block;
  position: relative;
}

.news-card.expandable:not(.expanded) .news-card-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
  pointer-events: none;
}

.news-card.expandable.expanded .news-card-content {
  max-height: 10000px !important;
  opacity: 1;
  overflow: visible;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  display: block;
}

.news-card.expandable.expanded .news-card-content::after {
  display: none;
}

@media (max-width: 768px) {
  .news-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Load More Button */
.news-load-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.load-more-btn {
  padding: 14px 32px;
  border-radius: 12px;
  border: 1px solid rgba(11, 29, 59, 0.2);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(229, 199, 111, 0.98));
  color: #0b1d3b;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.load-more-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, rgba(212, 175, 55, 1), rgba(229, 199, 111, 1));
}

.load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.load-more-btn.loading {
  position: relative;
  color: transparent;
}

.load-more-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 3px solid rgba(11, 29, 59, 0.2);
  border-top-color: #0b1d3b;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 768px) {
  .news-load-more {
    margin-top: 32px;
  }

  .load-more-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

.cta-wide .btn-primary {
  min-width: 180px;
}

/* Footer Styles */
.footer {
  background: linear-gradient(180deg, rgba(11, 29, 59, 0.98) 0%, rgba(8, 22, 45, 0.99) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  color: #e8eef8;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.footer-top {
  padding: 20px 0 16px;
  position: relative;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 20px;
  align-items: flex-start;
}

/* Footer Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo {
  margin-bottom: 2px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
  opacity: 0.9;
}

.footer-logo .brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.footer-logo .brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-logo .brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-logo .brand-tagline {
  font-size: 12px;
  color: rgba(232, 238, 248, 0.7);
  font-weight: 500;
}

.footer-desc {
  margin: 0;
  color: rgba(232, 238, 248, 0.85);
  line-height: 1.4;
  font-size: 12px;
  max-width: 380px;
}

.footer-social {
  display: flex;
  gap: 6px;
  margin-top: 0;
}

.footer-social .social-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  color: #f6f8fb;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.footer-social .social-link svg {
  width: 16px;
  height: 16px;
}

.footer-social .social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px) scale(1.05);
  background: rgba(212, 175, 55, 0.15);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Footer Links Section */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.footer-links .footer-heading {
  margin-bottom: 0;
  width: 100%;
  grid-column: 1 / -1;
}

.footer-heading {
  margin: 0 0 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 4px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 20px;
  margin-top: 0;
  width: 100%;
  padding-left: 2px;
}

.footer-link-list li {
  margin: 0;
}

.footer-link-list a {
  color: rgba(232, 238, 248, 0.85);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-link-list a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.footer-link-list a:hover {
  color: var(--gold);
  padding-left: 12px;
}

.footer-link-list a:hover::before {
  width: 8px;
}

/* Footer Contact Section */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.footer-contact .footer-heading {
  margin-bottom: 0;
  width: 100%;
  grid-column: 1 / -1;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 20px;
  margin-top: 0;
  width: 100%;
  padding-left: 2px;
}

.footer-contact-list li {
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(232, 238, 248, 0.85);
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
  padding: 1px 0;
}

.contact-item svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  color: var(--gold);
}

.contact-item:hover svg {
  transform: scale(1.1);
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(232, 238, 248, 0.75);
  font-size: 11px;
  padding: 0;
}

.contact-info svg {
  width: 12px;
  height: 12px;
  color: rgba(212, 175, 55, 0.7);
  flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 768px) {
  .footer-meta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.copyright {
  margin: 0;
  color: rgba(232, 238, 248, 0.7);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  color: rgba(232, 238, 248, 0.7);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--gold);
}

.footer-legal .separator {
  color: rgba(232, 238, 248, 0.4);
  font-size: 12px;
}

@media (max-width: 900px) {
  .topbar {
    overflow: visible; /* Allow logo to extend below header */
  }

  .topbar .container {
    padding: 8px 0;
    align-items: flex-end;
    min-height: 68px;
    flex-wrap: wrap;
    overflow: visible; /* Allow logo to extend below */
  }
  
  .brand {
    align-items: center;
    flex: 1;
    min-width: 0;
    overflow: visible;
    position: relative;
  }
  
  .brand-mark {
    margin-bottom: -45px; /* Same as desktop */
    width: 120px;
    height: 120px;
    padding: 12px;
    z-index: 102;
    position: relative;
  }

  .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* Hero section */
  .hero {
    position: relative;
    z-index: 0;
  }

  .nav {
    position: relative;
    align-self: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    flex-direction: column;
    width: 280px;
    max-width: calc(100vw - 32px);
    background: linear-gradient(135deg, rgba(15, 38, 72, 0.98), rgba(10, 26, 51, 0.99));
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    gap: 8px;
    z-index: 1000;
    box-sizing: border-box;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    white-space: normal;
    text-align: left;
  }

  .has-dropdown {
    width: 100%;
  }

  .has-dropdown > a {
    width: 100%;
  }

  .dropdown {
    position: static;
    margin-top: 8px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 100%;
    min-width: auto;
  }

  .dropdown.open {
    display: grid;
  }

  .dropdown a {
    padding: 10px 14px;
    font-size: 13px;
    color: rgba(232, 238, 248, 0.9);
  }

  .dropdown a:hover {
    color: #fff;
  }

  .nav-toggle {
    display: inline-flex;
    z-index: 1001;
    position: relative;
  }

  .nav .btn {
    display: none;
}

  .hero {
    padding: 110px 0 70px;
    z-index: 0; /* Ensure hero stays below logo */
  }

  .split-inner,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-wide-inner {
    grid-template-columns: 1fr;
  }

  .split-media {
    height: auto;
    min-height: 280px;
    max-width: 100%;
    overflow: hidden;
  }

  .split-content {
    width: 100%;
    max-width: 100%;
  }

  .pill-list {
    gap: 8px;
    margin: 16px 0;
  }

  .pill {
    font-size: 12px;
    padding: 6px 10px;
    color: var(--muted);
  }
  
  /* Ensure paragraph text in split-content is lighter on mobile */
  .split-content p {
    color: var(--muted);
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  body {
    background: var(--navy);
  }

  .container {
    width: 90vw;
    max-width: 100%;
    padding-left: 5vw;
    padding-right: 5vw;
    box-sizing: border-box;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-form-container {
    padding: 20px;
    margin: 20px 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .split-inner {
    gap: 20px;
  }

  .crisis-carousel-wrapper {
    min-height: 220px;
    order: 1;
  }

  .split-content {
    order: 2;
    width: 100%;
  }

  .pill-list {
    gap: 6px;
    margin: 12px 0;
  }

  .pill {
    font-size: 11px;
    padding: 5px 8px;
    color: var(--muted);
  }
  
  /* Ensure paragraph text in split-content is lighter on mobile */
  .split-content p {
    color: var(--muted);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-wide-actions {
    flex-direction: column;
  }

  .footer-top {
    padding: 18px 0 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }

  .footer-brand {
    text-align: center;
    align-items: center;
  }

  .footer-desc {
    max-width: 100%;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-link-list {
    align-items: center;
  }

  .footer-link-list a::before {
    display: none;
  }

  .footer-link-list a:hover {
    padding-left: 0;
  }

  .footer-contact-list {
    align-items: center;
  }

  .contact-item,
  .contact-info {
    justify-content: center;
  }

  .footer-meta {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    padding: 20px 0 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: flex-start;
  }

  .footer-brand {
    width: 100%;
  }

  .footer-desc {
    max-width: 100%;
    font-size: 13px;
  }

  .footer-links,
  .footer-contact {
    width: 100%;
  }

  .footer-heading {
    font-size: 14px;
    margin-bottom: 10px;
    padding-bottom: 4px;
  }

  .footer-link-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-contact-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-item,
  .contact-info {
    font-size: 13px;
    padding: 4px 0;
  }

  .footer-social {
    margin-top: 8px;
  }

  .footer-logo-link {
    flex-wrap: wrap;
  }

  .footer-logo .brand-text {
    min-width: 0;
    flex: 1;
  }
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 29, 59, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease;
  z-index: 10001;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 244, 234, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.modal[aria-hidden="false"] .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 10002;
}

.modal-close:hover {
  background: rgba(11, 29, 59, 0.1);
  color: var(--gold);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 32px;
  text-align: center;
}

.modal-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  margin: 0 0 12px 0;
  font-weight: 700;
}

.modal-header p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.modal-content .hero-form {
  margin-top: 0;
}

.modal-content .form-group {
  margin-bottom: 20px;
}

.modal-content .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--navy);
  font-size: 0.9rem;
}

.modal-content .form-group input,
.modal-content .form-group select,
.modal-content .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(11, 29, 59, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  transition: all 0.2s ease;
}

.modal-content .form-group input:focus,
.modal-content .form-group select:focus,
.modal-content .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.modal-content .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal-content .btn {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 32px 24px;
    width: 95%;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-content .form-row {
    grid-template-columns: 1fr;
  }
}


