/* ========================================
   Design Tokens
   ======================================== */
:root {
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Karla', sans-serif;
  --color-text: rgba(1, 9, 6, 1);
  --color-white: #ffffff;
  --color-bg-warm: rgba(253, 235, 206, 1);
  --color-bg-cool: rgba(232, 235, 243, 1);
  --color-primary: rgba(30, 58, 138, 1);
  --color-border: rgba(1, 9, 6, 0.15);
  --card-bg: rgba(232, 235, 243, 1);
  --max-content: 1280px;
  --section-padding: 112px 64px;
}

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

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ========================================
   Page Wrapper
   ======================================== */
.page {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 64px;
  background-color: var(--color-bg-warm);
  width: 100%;
}

.navbar-container {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 91.111%;
  max-width: var(--max-content);
}

.navbar-logo {
  flex: 1;
}

.logo-wide {
  display: flex;
  align-items: center;
}

.logo-wide img {
  flex-shrink: 0;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: var(--color-text);
}

.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.chevron-down {
  flex-shrink: 0;
}

.navbar-actions {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 160%;
  border-radius: 6px;
  padding: 6px 12px;
  white-space: nowrap;
}

.btn-sm {
  padding: 4px 10px;
}

.btn-primary {
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 160%;
  color: var(--color-text);
}

.chevron-right {
  flex-shrink: 0;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--section-padding);
  background-color: var(--color-bg-warm);
  width: 100%;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  max-width: var(--max-content);
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 768px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 84px;
  line-height: 110%;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--color-text);
}

.hero-subheading {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 160%;
  text-align: center;
  color: var(--color-text);
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-image {
  width: 100%;
  border-radius: 8px;
}

/* ========================================
   Portfolio
   ======================================== */
.portfolio {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--section-padding);
  background-color: var(--color-bg-cool);
  width: 100%;
}

.portfolio-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  max-width: var(--max-content);
  width: 100%;
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 768px;
}

.tagline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: var(--color-text);
}

.section-title-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.section-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 60px;
  line-height: 120%;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--color-text);
}

.section-subheading {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 160%;
  text-align: center;
  color: var(--color-text);
}

.portfolio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  width: 100%;
}

.portfolio-grid {
  display: flex;
  gap: 32px;
  width: 100%;
}

.portfolio-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}

.card {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: auto;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
}

.card-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  line-height: 120%;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.card-description {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: var(--color-text);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.tag {
  display: inline-flex;
  padding: 4px 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 160%;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: transparent;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ========================================
   About / Layout Section
   ======================================== */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--section-padding);
  background-color: var(--color-bg-warm);
  width: 100%;
}

.about-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: var(--max-content);
  width: 100%;
}

.about-component {
  display: flex;
  align-items: center;
  gap: 80px;
  width: 100%;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.about-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  line-height: 120%;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.about-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 160%;
  color: var(--color-text);
}

.about-image {
  flex: 1;
  border-radius: 8px;
  width: 100%;
  height: auto;
}

/* ========================================
   Testimonial
   ======================================== */
.testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--section-padding);
  background-color: var(--color-bg-cool);
  width: 100%;
}

.testimonial-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: var(--max-content);
  width: 100%;
}

.testimonial-component {
  display: flex;
  align-items: center;
  gap: 80px;
  width: 100%;
}

.testimonial-image {
  flex: 1;
  border-radius: 8px;
  width: 100%;
  height: auto;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}

.stars {
  display: flex;
  gap: 4px;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  line-height: 120%;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.testimonial-avatar {
  display: flex;
  align-items: center;
  gap: 20px;
}

.avatar-content {
  display: flex;
  flex-direction: column;
}

.avatar-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 160%;
  color: var(--color-text);
}

.avatar-role {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: var(--color-text);
}

.avatar-divider {
  flex-shrink: 0;
}

.avatar-logo {
  flex-shrink: 0;
}

/* ========================================
   CTA
   ======================================== */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-bg-warm);
  width: 100%;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--section-padding);
  width: 100%;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  max-width: var(--max-content);
  width: 100%;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 768px;
}

.cta-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 60px;
  line-height: 120%;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--color-text);
}

.cta-subheading {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 160%;
  text-align: center;
  color: var(--color-text);
}

.cta-actions {
  display: flex;
  gap: 16px;
}

.cta-image {
  width: 100%;
  height: auto;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 64px;
  background-color: var(--color-bg-warm);
  width: 100%;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  max-width: var(--max-content);
  width: 100%;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 480px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  width: 100%;
}

.footer-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 160%;
  color: var(--color-text);
}

.footer-credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.footer-divider {
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.footer-copyright {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: var(--color-text);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal-link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  text-decoration: underline;
  color: var(--color-text);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .portfolio-grid {
    flex-direction: column;
  }

  .about-component {
    flex-direction: column;
    gap: 48px;
  }

  .testimonial-component {
    flex-direction: column;
    gap: 48px;
  }

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

  .section-heading,
  .cta-heading {
    font-size: 42px;
  }

  .about-heading {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 16px;
  }

  .page {
    padding-left: 0;
    padding-right: 0;
  }

  .navbar {
    padding: 0 16px;
  }

  .navbar-links {
    display: none;
  }

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

  .section-heading,
  .cta-heading {
    font-size: 36px;
  }

  .about-heading {
    font-size: 32px;
  }

  .card-title {
    font-size: 24px;
  }

  .testimonial-quote {
    font-size: 24px;
  }

  .footer {
    padding: 48px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}
