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

:root {
  --blue:        #1875BE;
  --blue-dark:   #135fa0;
  --gold:        #F5A623;
  --gold-dark:   #d98e10;
  --cream:       #F8F4EA;
  --text:        #1e2d3d;
  --text-muted:  #5a6a7a;
  --footer-top:  #1d4f7a;
  --footer-bot:  #2a7ab5;
  --white:       #ffffff;
  --radius:      10px;
  --shadow:      0 4px 20px rgba(0,0,0,0.08);
  --transition:  0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

/* ─── NAV ─── */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 64px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 48px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color var(--transition);
}

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

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  background: var(--cream);
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 48px;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-img {
  max-width: 420px;
  width: 100%;
  height: auto;
}

/* ─── SERVICES ─── */
.services {
  background: var(--white);
  padding: 100px 24px;
  text-align: center;
}

.services h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 56px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}

.step-icon {
  margin-bottom: 16px;
  color: var(--text);
}

.step-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--text);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── CONTACT ─── */
.contact-section {
  background: var(--cream);
  padding: 100px 24px;
  text-align: center;
}

.contact-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

/* Form */
.contact-form {
  background: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: left;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24,117,190,0.12);
}

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

.contact-form .btn-primary {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  margin-top: 4px;
}

.form-success {
  display: none;
  margin-top: 14px;
  text-align: center;
  font-size: 0.95rem;
  color: #2a9d3f;
  font-weight: 500;
}

/* Contact details below form */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 640px;
  margin: 0 auto;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--blue);
  transition: color var(--transition);
}
.contact-details a:hover { color: var(--blue-dark); }

.icon {
  font-size: 1rem;
  color: var(--blue);
  width: 18px;
  text-align: center;
}

/* ─── FOOTER ─── */
.footer {
  background: linear-gradient(160deg, var(--footer-top) 0%, var(--footer-bot) 100%);
  color: var(--white);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  margin-bottom: 20px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.97rem;
}

.footer-icon {
  font-size: 1rem;
  width: 16px;
  text-align: center;
}

.footer-item a {
  color: var(--white);
  opacity: 0.9;
  transition: opacity var(--transition);
}
.footer-item a:hover { opacity: 1; }

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
  padding-bottom: 20px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  /* Nav */
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 999;
  }

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

  .nav-links li a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    flex-direction: column;
    padding: 60px 24px;
    text-align: center;
    min-height: auto;
  }

  .hero-content { max-width: 100%; }
  .hero-content p { max-width: 100%; }

  .hero-image { order: -1; }

  .hero-logo-img { max-width: 280px; }

  /* Contact */
  .contact-form {
    padding: 28px 20px;
  }

  .contact-details {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* Footer */
  .footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .nav-logo img { height: 48px; }
  .hero-logo-img { max-width: 220px; }
  .btn-primary { padding: 12px 24px; font-size: 0.95rem; }
}
