/* ===== IMPORT FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

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

:root {
  --dark-navy: #0d1b2e;
  --nav-bg: #0f2035;
  --accent-blue: #29abe2;
  --accent-blue-dark: #1a8bbf;
  --text-light: #ffffff;
  --text-muted: #8ca0b5;
  --text-dark: #111827;
  --text-body: #4b5563;
  --text-sub: #6b7280;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --section-bg: #f7f9fc;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  padding: 0 3rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  font-style: italic;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.25rem;
  align-items: center;
}

.nav-menu a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: all 0.3s;
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  margin-top: 64px;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--dark-navy);
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem 4rem 4rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: rgba(255,255,255,0.55);
  font-size: 0.9375rem;
  line-height: 1.75;
  border-left: 2px solid var(--accent-blue);
  padding-left: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 400px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-blue);
  color: var(--text-light);
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: fit-content;
}

.btn-primary:hover {
  background: var(--accent-blue-dark);
  transform: translateY(-1px);
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--bg-white);
  padding: 0;
  overflow: hidden;
}

.about-slider-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.about-image-panel {
  overflow: hidden;
}

.about-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content-panel {
  padding: 3.5rem 3.5rem 3.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.about-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: calc(100% + 52px);
  left: -26px;
  pointer-events: none;
  z-index: 10;
}

.about-nav button {
  pointer-events: all;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all 0.2s;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.about-nav button:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: white;
}

.slide { display: none; }
.slide.active { display: block; }

.slide-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
}

.slide h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.slide-subtitle {
  color: var(--text-sub);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.slide p {
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.core-values-list {
  list-style: none;
  margin-top: 0.5rem;
}

.core-values-list li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-body);
  padding-left: 1rem;
  position: relative;
}

.core-values-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: 700;
}

.core-values-list li strong {
  color: var(--text-dark);
  font-weight: 600;
}

.slide-dots {
  display: flex;
  gap: 6px;
  margin-top: 2rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.dot.active {
  background: var(--accent-blue);
  transform: scale(1.2);
}

/* ===== SERVICES ===== */
.services-section {
  padding: 4.5rem 4rem;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.section-divider {
  width: 40px;
  height: 2px;
  background: var(--accent-blue);
  margin: 0 auto 1.1rem;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-sub);
  font-size: 0.9375rem;
  max-width: 520px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-white);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-item:hover {
  box-shadow: 0 4px 20px rgba(41,171,226,0.08);
  border-color: rgba(41,171,226,0.3);
}

.service-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.service-item h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.service-item p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--dark-navy);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(41,171,226,0.15) 0%, transparent 70%);
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-banner p {
  max-width: 680px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===== KEY FEATURES ===== */
.features-section {
  padding: 4.5rem 4rem;
  background: var(--section-bg);
}

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.features-title h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.3;
}

.features-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-body);
  font-weight: 500;
}

.feature-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ===== EXPAND SECTION ===== */
.expand-section-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 4.5rem 4rem;
  background: var(--bg-white);
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.expand-text { flex: 1; min-width: 0; }

.expand-text h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.expand-text p {
  color: var(--text-sub);
  margin-bottom: 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 520px;
}

.expand-logo {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expand-logo img {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
}

/* ===== WHY CHOOSE US ===== */
.why-section {
  padding: 4.5rem 4rem;
  background: var(--section-bg);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.why-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.why-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.why-content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.why-content p {
  color: var(--text-sub);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.why-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-body);
  font-weight: 600;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 4.5rem 4rem;
  background: var(--bg-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  max-width: 1080px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: white;
}

.contact-item h4 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
  font-size: 0.875rem;
  letter-spacing: 0.2px;
}

.contact-item p {
  color: var(--text-sub);
  font-size: 0.875rem;
  line-height: 1.5;
}

.contact-form { position: relative; }

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(41,171,226,0.1);
}

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

.btn-send {
  display: block;
  margin: 0 auto;
  background: var(--accent-blue);
  color: white;
  padding: 0.75rem 2.5rem;
  border-radius: 6px;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
}

.btn-send:hover {
  background: var(--accent-blue-dark);
  transform: translateY(-1px);
}

.form-msg {
  text-align: center;
  margin-top: 0.875rem;
  font-size: 0.875rem;
  display: none;
}

.form-msg.success { color: #16a34a; display: block; }
.form-msg.error   { color: #dc2626; display: block; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-navy);
  padding: 3.5rem 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 0.875rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.625rem;
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: white;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.1rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--accent-blue); }

.footer-contact-info {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}

.footer-contact-info strong {
  color: rgba(255,255,255,0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-blue);
  color: white;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(41,171,226,0.35);
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-blue-dark); transform: translateY(-2px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .navbar { padding: 0 2rem; }

  .services-section,
  .features-section,
  .why-section,
  .contact-section,
  .footer,
  .expand-section-wrap {
    padding: 3.5rem 2rem;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--nav-bg);
    flex-direction: column;
    padding: 1.25rem 2rem;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }

  .navbar { padding: 0 1.5rem; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 2.5rem 1.5rem; }
  .hero-image { height: 260px; }

  .about-slider-wrapper { grid-template-columns: 1fr; }
  .about-image-panel { height: 230px; }
  .about-content-panel { padding: 2rem 1.5rem; }
  .about-nav { width: calc(100% + 36px); left: -18px; }

  .services-section,
  .features-section,
  .why-section,
  .contact-section,
  .footer,
  .expand-section-wrap {
    padding: 2.5rem 1.25rem;
  }

  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .features-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .why-layout { grid-template-columns: 1fr; gap: 2rem; }

  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

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

  .expand-section-wrap { flex-direction: column; }
  .expand-logo { display: none; }
}