/* ============================
   BASE & RESET
   ============================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-dark:   #0a1f44;
  --blue-mid:    #1a3a6e;
  --blue-accent: #2563eb;
  --gold:        #c9a227;
  --gold-light:  #f0c040;
  --white:       #ffffff;
  --gray-light:  #f4f6fb;
  --gray-mid:    #e2e8f0;
  --text-dark:   #1e2a3a;
  --text-mid:    #4a5568;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(10,31,68,.13);
  --transition:  .35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
}

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

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

/* ============================
   HEADER
   ============================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 31, 68, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,162,39,.25);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: .45rem;
}

.brand-esaf {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--gold-light);
}

.brand-sub {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: rgba(255,255,255,.82);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 3px;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold-light);
  transition: width var(--transition);
}

.nav a:hover { color: var(--gold-light); }
.nav a:hover::after { width: 100%; }

/* ============================
   CAROUSEL
   ============================ */
.carousel {
  position: relative;
  margin-top: 68px;
  height: calc(100vh - 68px);
  min-height: 520px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .65s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* --- SLIDES --- */
.slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Gradient backgrounds as stand-in for photos */
.slide-1 { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80'); }
.slide-2 { background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1600&q=80'); }
.slide-3 { background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1600&q=80'); }
.slide-4 { background-image: url('https://images.unsplash.com/photo-1553877522-43269d4ea984?w=1600&q=80'); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10,31,68,.82) 0%,
    rgba(10,31,68,.55) 55%,
    rgba(10,31,68,.15) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-left: clamp(2rem, 8vw, 10rem);
  padding: 2.5rem;
  animation: slideIn .7s ease both;
}

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

.slide-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--blue-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.slide-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.slide-content p {
  font-size: clamp(.9rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,.88);
  line-height: 1.7;
}

/* --- Carousel Buttons --- */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
}

.carousel-btn:hover {
  background: rgba(201,162,39,.7);
  transform: translateY(-50%) scale(1.08);
}

.prev { left: 1.5rem; }
.next { right: 1.5rem; }

/* --- Dots --- */
.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .6rem;
  z-index: 10;
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.dot.active {
  background: var(--gold-light);
  transform: scale(1.3);
}

/* ============================
   SHARED SECTION STYLES
   ============================ */
.section { padding: 5rem 1.5rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: .6rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px; height: 4px;
  background: var(--gold);
  border-radius: 4px;
  margin-top: .4rem;
}

.section-title.light { color: var(--white); }
.section-title.light::after { background: var(--gold-light); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-top: .5rem;
  margin-bottom: 3rem;
  max-width: 600px;
}

.section-sub.light { color: rgba(255,255,255,.8); }

/* ============================
   SERVICES
   ============================ */
.services { background: var(--gray-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.service-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--gold);
  box-shadow: 0 12px 36px rgba(10,31,68,.15);
}

.service-icon {
  font-size: 2.4rem;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.service-card p {
  font-size: .92rem;
  color: var(--text-mid);
  flex: 1;
}


/* ============================
   ABOUT
   ============================ */
.about { background: var(--white); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text .section-title { display: block; }

.about-text p {
  color: var(--text-mid);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: 1.2rem;
}

.about-list li {
  color: var(--text-dark);
  font-weight: 500;
  font-size: .97rem;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about-stat {
  background: var(--blue-dark);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .5rem;
  transition: transform var(--transition);
}

.about-stat:hover { transform: scale(1.04); }

.about-stat:nth-child(3) {
  grid-column: span 2;
}

.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.78);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================
   CONTACT
   ============================ */
.contact {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  text-align: center;
}

.contact .section-title,
.contact .section-sub { margin-left: auto; margin-right: auto; }

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  min-width: 220px;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  color: var(--white);
  cursor: pointer;
}

.contact-card:hover {
  background: rgba(201,162,39,.18);
  border-color: var(--gold);
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 2.2rem;
  margin-bottom: .3rem;
}

.contact-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.6);
  font-weight: 600;
}

.contact-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: #060f22;
  text-align: center;
  padding: 1.5rem;
  color: rgba(255,255,255,.45);
  font-size: .82rem;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  .nav { gap: 1.2rem; font-size: .85rem; }

  .carousel { min-height: 420px; }

  .slide-content {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    padding: 1.5rem;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual {
    grid-template-columns: 1fr 1fr;
  }

  .about-stat:nth-child(3) {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 1rem; }
  .brand-esaf { font-size: 1.35rem; }
  .nav { gap: .9rem; }
  .carousel-btn { width: 38px; height: 38px; font-size: 1rem; }
  .about-visual { grid-template-columns: 1fr; }
  .about-stat:nth-child(3) { grid-column: span 1; }
}
