:root {
  --primary: #2b3fb5;
  --primary-dark: #1e2c7f;
  --accent: #10c4d8;
  --bg: #f4f7fb;
  --text: #222;
  --muted: #666;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin-top: 0;
  color: #111;
}

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.narrow {
  width: min(800px, 100% - 32px);
  margin: 0 auto;
}

.section {
  padding: 60px 0;
}

.bg-light {
  background: var(--bg);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* HEADER */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}

.logo img {
  height: 52px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  padding-left: 0;
  margin: 0;
  gap: 20px;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e5ecff;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--accent);
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 1.2rem;
  color: #fff;
}

@media (max-width: 820px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    right: 16px;
    background: var(--primary);
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    border-radius: 8px;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 12px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  height: 70vh;
  min-height: 420px;
  max-height: 680px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-slider .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,60,0.7), rgba(0,0,0,0.35));
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 16px;
}

.slide-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 3vw + 1rem, 3.1rem);
  max-width: 560px;
  margin-bottom: 12px;
}

.slide-content p {
  color: #f5f5f5;
  max-width: 520px;
  margin-bottom: 20px;
}

.slider-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}

.slider-controls button {
  border: none;
  background: rgba(0,0,0,0.4);
  color: #fff;
  padding: 6px 10px;
  font-size: 1.2rem;
  border-radius: 999px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero-slider {
    height: 60vh;
    min-height: 360px;
  }
  .slide-content {
    align-items: center;
    text-align: center;
  }
  .slide-content p {
    max-width: 90%;
  }
  .slider-controls {
    right: 50%;
    transform: translateX(50%);
  }
}

/* BUTTONS */
.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #023047;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #29d2e5;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  text-decoration: none;
}

/* STATS */
.stats {
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
  margin-top: 32px;
}

.stat-item {
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.card img {
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 16px 18px 18px;
}

.card-body h3 {
  margin-bottom: 8px;
}

.card-body p {
  font-size: 0.95rem;
  color: var(--muted);
}

.card-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA CARD */
.cta-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* INTERNAL HERO */
.internal-hero {
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.internal-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,80,0.4), rgba(0,0,0,0.75));
}

.internal-hero-content {
  position: relative;
  color: #fff;
  padding: 24px 16px 32px;
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.internal-hero-content h1 {
  margin-bottom: 8px;
}

/* LIST CHECK */
.list-check {
  list-style: none;
  padding-left: 0;
}
.list-check li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.lightbox.open {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: -32px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* FORM */
.contact-form {
  background: #fff;
  padding: 20px 20px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.form-group {
  margin-bottom: 14px;
}
label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--muted);
}
input, select, textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  font-family: inherit;
}
textarea {
  resize: vertical;
}

/* FOOTER */
.site-footer {
  background: #101326;
  color: #ddd;
  font-size: 0.9rem;
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding: 28px 0;
}
.footer-inner h4 {
  color: #fff;
}
.footer-nav {
  list-style: none;
  padding-left: 0;
}
.footer-nav li {
  margin-bottom: 6px;
}
.footer-nav a {
  color: #ddd;
  font-size: 0.9rem;
}
.footer-bottom {
  border-top: 1px solid #222;
  text-align: center;
  padding: 10px 0 14px;
  font-size: 0.8rem;
}
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
