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

:root {
  --color-primary: hsl(4, 77%, 47%);
  --color-gold: hsl(52, 100%, 59%);
  --color-dark: #0c1115;
  --color-text: #3b3b3b;
  --color-light-bg: #f8f8f8;
  --color-cream: hsl(49, 56%, 96%);
  --color-cream-85: hsla(49, 56%, 96%, 0.85);
  --color-white: #fff;
  --color-border: #e6e6e6;
  --color-dark-teal: #204147;
  --color-medium-grey: #6a6b6c;
  --color-warm-tan: hsl(54, 43%, 82%);
  --font-body: Arial, Helvetica, sans-serif;
  --font-heading: Georgia, serif;
  --max-width: 1200px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 18px;
  line-height: 2em;
  background: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--color-text);
  font-weight: 600;
  margin: 0;
  padding: 0 0 22px;
}

h1 { font-size: 64px; line-height: 1.2em; }
h2 { font-size: 50px; line-height: 1.3em; }
h3 { font-size: 44px; line-height: 1.3em; }
h4 { font-size: 34px; line-height: 1.4em; }
h5 { font-size: 24px; line-height: 1.4em; }
h6 { font-size: 22px; line-height: 1.6em; }

p {
  margin: 0;
  padding: 0 0 26px;
  font-size: 18px;
  line-height: 2em;
}

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

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

/* ========== HEADER ========== */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--color-cream);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
}

.logo-link { display: inline-block; }
.logo { height: 50px; width: auto; }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-dark);
  transition: all 0.3s;
}

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

.nav-menu > li > a {
  display: block;
  padding: 12px 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.nav-menu > li > a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 50;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  transition: background 0.3s;
}

.dropdown li a:hover {
  background: var(--color-cream);
  text-decoration: none;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none !important;
}

.btn-outline {
  border: 3px solid var(--color-dark);
  background: transparent;
  color: var(--color-dark);
  padding: 12px 12px 12px 22px;
}

.btn-outline:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 0;
  transition: all 0.3s;
}

.btn-outline:hover .btn-icon {
  background: var(--color-gold);
  border-radius: 50%;
  color: var(--color-dark);
}

.btn-outline:hover .btn-icon svg {
  stroke: var(--color-dark);
}

/* ========== DECORATIVE SHAPES ========== */
.deco-shapes {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 350px;
  height: 350px;
  z-index: 2;
  pointer-events: none;
}

.deco-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: hsla(4, 60%, 75%, 0.35);
  top: 0;
  left: 0;
}

.deco-rect {
  position: absolute;
  width: 220px;
  height: 160px;
  background: hsla(4, 60%, 70%, 0.45);
  border-radius: 8px;
  bottom: 0;
  right: 0;
}

/* ========== HERO ========== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0 0 40px;
  background: var(--color-cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  margin: 0 auto;
}

.hero-row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 50%;
  padding: 40px 40px 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 122px;
  line-height: 1.1em;
  color: var(--color-cream);
  text-shadow: #000 1px 0 0, #000 0 1px 0, #000 -1px 0 0, #000 0 -1px 0;
  padding-bottom: 22px;
}

.hero-sub {
  font-size: 18px;
  line-height: 2em;
  color: var(--color-text);
  padding-bottom: 30px;
}

.hero-visual {
  flex: 1 1 50%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  max-width: 50%;
  position: relative;
}

.hero-illustration-wrap {
  max-width: 600px;
  padding: 0 0 80px;
}

.hero-illustration {
  width: 100%;
}

/* ========== WHY WORK WITH US ========== */
.why-section {
  position: relative;
  padding: 100px 40px 20px;
  overflow: hidden;
}

.why-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.2;
  z-index: 0;
}

.section-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

.why-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.why-heading-col {
  flex: 1 1 300px;
}

.why-heading-col h2 {
  font-weight: 700;
  position: sticky;
  top: 100px;
}

.why-cards-col {
  flex: 2 1 500px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-card {
  max-width: 360px;
}

.card-icon {
  width: 46px;
  height: 46px;
  background: var(--color-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.feature-card h6 {
  font-weight: 700;
  font-size: 22px;
  padding-bottom: 10px;
}

.feature-card p {
  font-size: 16px;
  line-height: 1.8em;
  padding-bottom: 0;
}

/* ========== STATS ========== */
.stats-section {
  background: var(--color-warm-tan);
  padding: 40px;
}

.stats-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1120px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  flex: 1 1 200px;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 80px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

.stat-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text);
  margin-top: 5px;
}

/* ========== HOW ARE WE DIFFERENT ========== */
.different-section {
  background: #111;
  padding: 80px 40px;
}

.different-section .section-inner {
  max-width: var(--max-width);
}

.different-header h2 {
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: 60px;
}

.different-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.different-item {
  display: flex;
  gap: 20px;
}

.diff-number-col {
  flex-shrink: 0;
}

.diff-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1em;
}

.diff-content-col {
  flex: 1;
}

.diff-divider {
  border-bottom: 1px solid var(--color-white);
  margin-bottom: 40px;
}

.different-item h5 {
  color: var(--color-white);
  font-weight: 700;
  font-size: 24px;
}

.different-item p {
  color: var(--color-white);
  font-size: 16px;
  line-height: 2em;
}

/* ========== OUR TEAM ========== */
.team-section {
  background: var(--color-white);
  padding: 60px 40px;
  overflow: hidden;
}

.team-inner {
  max-width: 850px;
}

.section-heading-center {
  text-align: center;
  font-weight: 700;
  margin-bottom: 40px;
}

.team-carousel {
  display: flex;
  align-items: center;
  gap: 15px;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-dark);
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--color-dark);
}

.carousel-arrow:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.carousel-arrow:hover svg {
  stroke: var(--color-white);
}

.team-grid {
  display: flex;
  gap: 20px;
  overflow: hidden;
  flex: 1;
}

.team-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
}

.team-img-wrap {
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 0;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-caption {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 12px 0 0;
  color: var(--color-text);
}

/* ========== SERVICES ACCORDION ========== */
.services-section {
  position: relative;
  padding: 80px 40px;
  background: var(--color-gold);
  min-height: 537px;
}

.services-box {
  background: var(--color-white);
  padding: 60px;
  max-width: 850px;
  margin: 0 auto;
}

.services-heading-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.services-heading-wrap h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6em;
}

.accordion-item {
  border-top: 1px solid #030303;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  text-align: left;
}

.accordion-header:hover {
  background: var(--color-cream-85);
}

.accordion-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-dark);
}

.accordion-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}

.accordion-item.active .accordion-body {
  max-height: 300px;
  padding: 0 20px 20px;
}

.accordion-body p {
  font-size: 16px;
  line-height: 2em;
  color: var(--color-text);
  padding-bottom: 0;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  background: var(--color-cream);
  padding: 80px 40px;
}

.testimonials-section .section-inner {
  max-width: var(--max-width);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--color-white);
  padding: 40px;
  position: relative;
}

.testimonial-card h4 {
  font-size: 24px;
  font-weight: 700;
  padding-bottom: 15px;
}

.testimonial-divider {
  width: 60px;
  height: 4px;
  background: rgb(28, 27, 30);
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.8em;
  padding-bottom: 20px;
}

.quote-mark {
  width: 12px;
  height: auto;
  display: inline-block;
}

/* ========== SPACER SECTION ========== */
.spacer-section {
  position: relative;
  height: 400px;
}

.spacer-bg {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.71;
}

/* ========== CTA SECTION ========== */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 100px 40px;
  background: var(--color-cream);
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  margin: 0 auto;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  min-height: 400px;
}

.cta-content {
  flex: 1 1 400px;
}

.cta-content h1 {
  font-family: var(--font-heading);
  font-weight: 700;
}

.cta-content h3 {
  font-weight: 400;
  font-size: 28px;
  line-height: 1.4em;
}

.cta-action {
  flex-shrink: 0;
}

.cta-deco {
  right: -40px;
  bottom: -60px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-cream);
  padding: 60px 40px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin: 0 auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer-text {
  color: var(--color-text);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 10px;
}

.footer-copyright {
  color: var(--color-medium-grey);
  font-size: 14px;
  padding-bottom: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1023px) {
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  h3 { font-size: 30px; }
  h4 { font-size: 26px; }
  h5 { font-size: 22px; }
  h6 { font-size: 20px; }

  .hero-heading { font-size: 72px; }

  .hero-section { padding: 40px 0 0 20px; }
  .hero-content { padding: 20px 20px 40px 0; }

  .why-section { padding: 40px 20px; }
  .different-section { padding: 40px 20px; }

  .different-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    flex: 0 0 calc(50% - 10px);
  }

  .services-box { padding: 40px; }
  .cta-section { padding: 60px 20px; }
}

@media (max-width: 767px) {
  body { font-size: 17px; }
  p { font-size: 17px; }

  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  h3 { font-size: 28px; }
  h4 { font-size: 24px; }
  h5 { font-size: 22px; }

  .header-inner { padding: 10px 20px; }

  .mobile-menu-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 99;
  }

  .main-nav.active { display: block; }

  .nav-menu {
    flex-direction: column;
    padding: 10px 0;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 20px;
  }

  .hero-heading { font-size: 48px; }
  .hero-section { padding: 30px 20px 0; }

  .hero-row { flex-direction: column; }
  .hero-content {
    flex: 1 1 auto;
    padding: 20px 0 30px;
  }
  .hero-visual {
    max-width: 100%;
    justify-content: center;
  }
  .hero-illustration-wrap { padding-bottom: 30px; }

  .why-section { padding: 40px 20px 10px; }
  .why-row { flex-direction: column; gap: 30px; }

  .stats-section { padding: 30px 20px; }
  .stat-number { font-size: 52px; }

  .different-section { padding: 30px 20px; }

  .team-section { padding: 30px 20px; }
  .team-card { flex: 0 0 100%; }
  .team-img-wrap { height: 300px; }

  .services-section { padding: 30px 20px; }
  .services-box { padding: 30px 20px; }

  .testimonials-section { padding: 40px 20px; }
  .testimonial-card { padding: 25px; }

  .spacer-section { height: 250px; }

  .cta-section { padding: 40px 20px; }
  .cta-row { flex-direction: column; min-height: auto; }

  .site-footer { padding: 40px 20px; }
}
