:root {
  --color-smalt-blue: #537F85;
  --color-powder-ash: #BDCBC5;
  --color-fuel-yellow: #EFAC39;
  --color-cactus: #537052;
  --color-firefly: #172F31;
  --color-serenade: #FFF3E8;
  --color-highland: #6B8C62;
  --color-locust: #B1B591;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-silk: #BDB1A6;

  /* To be removed */
  --color-secondary: #a8b5a0;
  --color-dark-teal: #3d5a5c;
  --color-bg-light: #f9f7f4;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-serif: 'Krona One', serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-firefly);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  margin: 0 auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-display);
}

.btn-primary {
  background: var(--color-fuel-yellow);
  color: var(--color-firefly);
}

.btn-primary:hover {
  background: var(--color-fuel-yellow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-fuel-yellow);
  border: 2px solid var(--color-fuel-yellow);
}

.btn-secondary:hover {
  background: var(--color-fuel-yellow);
  color: var(--color-firefly);
  transform: translateY(-2px);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: var(--color-bg-light);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-top {
  background: var(--color-smalt-blue);
  color: var(--color-white);
  padding: 12px 24px;
  text-align: center;
}

.tagline {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 600;
}

.navbar {
  background: var(--color-serenade);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.logo {
  width: 150px;
  height: 120px;
  display: block;
  color: var(--blue-bl);
}

.logo-svg {
  width: 100%;
  height: 100%;
}

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

.nav-menu a {
  text-decoration: none;
  color: var(--color-smalt-blue);
  font-size: 1.2rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

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

.nav-menu a:hover::after {
  width: 100%;
}

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

.mobile-menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--color-smalt-blue);
  transition: var(--transition);
}

/* Hero Section Home */
.hero-home {
  background: var(--color-bg-light);

  .hero-image-left {
    background-image: url('images/hero_home_1.jpg');
    background-size: cover;
    background-position: center top;
    border-radius: 0;
  }

  .hero-image-right {
    background-image: url('images/hero_home_2.jpg');
    background-size: cover;
    background-position: center top;
    border-radius: 0;
  }
}

/* Hero Section Proposal */
.hero-proposal {
  background: var(--color-bg-light);

  .hero-image-left {
    background-image: url('images/hero_proposal_1.jpg');
    background-size: cover;
    background-position: center top;
    border-radius: 0;
  }

  .hero-image-right {
    background-image: url('images/hero_proposal_2.jpg');
    background-size: cover;
    background-position: center top;
    border-radius: 0;
  }
}

/* Hero Section Team */
.hero-team {
  background: var(--color-bg-light);

  .hero-image-left {
    background-image: url('images/hero_team_1.jpg');
    background-size: cover;
    background-position: center top;
    border-radius: 0;
  }

  .hero-image-right {
    background-image: url('images/hero_team_2.jpg');
    background-size: cover;
    background-position: center top;
    border-radius: 0;
  }
}

.hero-content {
  background: var(--color-serenade);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-image {
  height: 500px;
  border-radius: 12px;
  background-size: cover;
  background-position: center top;
  animation: fadeInUp 0.8s ease-out;
}

.hero-text {
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description {
  max-width: 500px;
  margin: 24px auto 32px;
  font-size: 1.125rem;
  color: var(--color-firefly);
  opacity: 0.9;
}

/* Services Preview */
.services-preview {
  background: var(--color-smalt-blue);
  color: var(--color-white);
  padding: 50px;
}

.services-preview .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: start;
}

.section-header {
  max-width: 100%;
  margin-bottom: 0;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 auto;
}

.section-label {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.section-header h2 {
  color: var(--color-white);
  font-size: 2.2rem;
}

.section-description {
  opacity: 0.9;
}

.service-item {
  background: var(--color-powder-ash);
  padding: 5px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out both;
  color: rgb(23, 47, 49, 84);
}

.service-item:nth-child(1) {
  animation-delay: 0.1s;
}

.service-item:nth-child(2) {
  animation-delay: 0.15s;
}

.service-item:nth-child(3) {
  animation-delay: 0.2s;
}

.service-item:nth-child(4) {
  animation-delay: 0.25s;
}

.service-item:nth-child(5) {
  animation-delay: 0.3s;
}

.service-item:nth-child(6) {
  animation-delay: 0.35s;
}

.service-item:nth-child(7) {
  animation-delay: 0.4s;
}

.service-item:nth-child(8) {
  animation-delay: 0.45s;
}

.service-item:nth-child(9) {
  animation-delay: 0.5s;
}

.service-item:nth-child(10) {
  animation-delay: 0.55s;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

/* Value Proposition */
.value-prop {
  height: 600px;
  padding: 50px 0;
  background-image: url('images/valley.jpg');
  background-size: cover;
  background-position: center;
}

.value-prop-content {
  max-width: 770px;
  margin: 0 auto;
  padding: 0 40px;
  align-items: center;
}

.value-prop-text h2 {
  font-size: 1.5rem;
  color: var(--color-white);
  line-height: 1.4;
}

/* Who We Work With */
.who-we-work-with {
  background: var(--color-bg-light);
}

.who-content {
  background: var(--color-serenade);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  text-align: center;
}

.who-text {
  padding: 50px;
}

.who-image {
  height: 500px;
  border-radius: 12px;
  background-size: cover;
  background-position: center top;
}

.who-image-left {
  background-image: url('images/who_1.jpg');
  background-size: cover;
  background-position: center top;
  border-radius: 0;
}

.who-image-right {
  background-image: url('images/who_2.jpg');
  background-size: cover;
  background-position: center top;
  border-radius: 0;
}

.who-description {
  margin: 24px 0 32px;
  line-height: 1.8;
}

.testimonials-cta-home {
  .cta-content {
    background: var(--color-smalt-blue);
    padding: 50px;
  }

  .cta-content h2 {
    color: var(--color-white);
    margin-bottom: 32px;
  }

  .cta-content p {
    color: var(--color-white);
    margin-bottom: 24px;
    opacity: 0.95;
    line-height: 1.7;
  }
}

.testimonials-cta-services {
  .cta-content {
    background: var(--color-smalt-blue);
    padding: 50px;
  }

  .cta-content h2 {
    color: var(--color-white);
    margin-bottom: 32px;
  }

  .cta-content p {
    color: var(--color-white);
    margin-bottom: 24px;
    opacity: 0.95;
    line-height: 1.7;
  }
}

.testimonials {
  color: var(--color-white);
}

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

.testimonial-content {
  background: var(--color-powder-ash);
  color: var(--color-firefly);
  padding: 50px;
}

.testimonial-content h2 {
  color: var(--color-smalt-blue);
  text-align: center;
}

.testimonial-author {
  font-weight: 600;
  margin-top: 24px;
  font-style: normal;
}

/* Testimonials Carousel Styles */
.testimonials-carousel {
  position: relative;
  width: 100%;
}

.testimonial-track {
  position: relative;
  min-height: 300px;
  width: 100%;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.testimonial-text {
  margin-bottom: 1.5rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 2rem 0;
  width: 100%;
}

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

.carousel-btn:hover {
  background: var(--color-smalt-blue);
  border-color: var(--color-smalt-blue);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-btn:disabled:hover {
  background: var(--color-smalt-blue);
  border-color: var(--color-smalt-blue);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 400px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.carousel-dot.active {
  background: var(--color-smalt-blue);
  width: 24px;
  border-radius: 5px;
}

/* Ensure the testimonials section doesn't overflow */
.testimonials-cta-home {
  overflow: hidden;
}

.testimonial-content {
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.partner-logo-section {
  background: var(--color-serenade);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* CTA Section */
.cta-section {
  background: var(--color-fuel-yellow);
  padding: 20px 0;
  text-align: center;
}

.cta-section p {
  color: var(--color-firefly);
  max-width: 800px;
  margin: 0 auto;
  font-weight: 600;
}

/* Team Page Styles */
.team-hero {
  background: var(--color-bg-light);
  padding: 80px 24px;
}

.team-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.team-hero-image {
  height: 400px;
  border-radius: 12px;
  background-size: cover;
  background-position: center top;
  background-image: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 600"><rect fill="%235b8a8f" opacity="0.3" width="400" height="600"/></svg>');
}

.team-intro {
  padding: 80px 24px;
  background: var(--color-powder-ash);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 48px auto 0;
}

.team-member {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-member-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
}

.team-member-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}

.team-member-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-member-title {
  font-size: 0.95rem;
  opacity: 0.9;
}

.team-why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);

  .why-box {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
  }

  .why-box h2 {
    margin-bottom: 24px;
    line-height: 1.3;
    color: var(--color-text-dark);
  }

  .why-box p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    margin: 0;
  }

  .why-box .btn {
    margin-top: 32px;
    align-self: flex-start;
  }
}

/* Services Page */
.services-hero-content {
  background: var(--color-serenade);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin: 0 auto;
}

.services-hero-text h1 {
  margin-bottom: 24px;
}

.services-hero-text {
  padding: 50px;
}

.services-hero-text p {
  font-size: 1rem;
  line-height: 1.8;
}

.services-hero-image {
  height: 500px;
  background: url('images/hero_services_1.jpg') center/cover no-repeat;
  background-size: cover;
  background-position: center top;
}

.services-detail {
  padding: 50px 24px 30px 24px;
  background: var(--color-highland);
  color: white;
}

.services-detail .section-header {
  margin: auto 0;
}

.service-card {
  border-radius: 20px;
  font-size: 1rem;
  background: var(--color-locust);
  padding: 20px;
  margin-bottom: 24px;
}

.service-card h3 {
  font: var(--font-body);
  font-weight: 550;
  font-size: 1rem;
  text-align: center;
  color: var(--color-firefly);
  margin-bottom: 10px;
}

.service-card p {
  text-align: center;
  font-size: 0.9rem;
  margin: 0;
}

.features-section {
  background: var(--color-bg-light);
}

.features-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-serenade);
  gap: 200px;
  margin: 0 auto;
  align-items: center;
}

.features-hero-image {
  height: 700px;
  background: url('images/carlton_kim.jpg') center top/cover no-repeat;
}

.features-text {
  padding: 0 50px;
}

.features-text h2 {
  margin-bottom: 16px;
  color: var(--color-text-dark);
}

.features-intro {
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.7;
}

.feature-items {
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text-dark);
}

/* Testimonials page */
.testimonials-detail {
  padding: 50px 24px 30px 24px;
  background: var(--color-powder-ash);
  color: var(--color-text-dark);
}

.testimonials-detail h2 {
    color: var(--color-firefly);
}

.testimonial-card {
  border-radius: 20px;
  font-size: 1rem;
  background: var(--color-serenade);
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.testimonial-card h3 {
  font: var(--font-body);
  font-weight: 550;
  font-size: 1rem;
  text-align: center;
  color: var(--color-firefly);
  margin-bottom: 10px;
}

.testimonial-card p {
  font-size: 0.9rem;
  margin: 10px 0;
}

/* Custom Proposal Section */
.custom-proposal-section {
  background: var(--color-smalt-blue);
  padding: 80px 24px;
}

.proposal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.proposal-text .section-label {
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.proposal-text h2 {
  color: var(--color-white);
  line-height: 1.1;
  margin: 0;
}

.proposal-cta {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-proposal {
  background: var(--color-powder-ash);
  color: var(--color-text-dark);
  padding: 20px 50px;
  font-size: 1.25rem;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

.btn-proposal:hover {
  background: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.proposal-detail .section-header {
  margin: auto 0;
}

/* Value Proposition with Team Section */
.value-prop-team-section {
  background: var(--color-serenade);
  padding: 100px 24px;
}

.value-prop-heading {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 80px;
}

.value-prop-heading h2 {
  line-height: 1.4;
  color: var(--color-text-dark);
  font-weight: 600;
}

.team-showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.team-showcase-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  transition: var(--transition);
  cursor: pointer;
}

.team-showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-showcase-image {
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center top;
}

.team-showcase-info {
  padding: 20px;
  color: var(--color-white);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-showcase-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
  color: var(--color-white);
}

.team-showcase-info .credential {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.95;
}

.team-showcase-info p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.95;
  color: white;
}

/* Responsive */
@media (max-width: 1200px) {
  .team-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .team-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-showcase-image {
    height: 300px;
  }

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

  .carousel-controls {
    gap: 0.5rem;
    padding: 1rem 0;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
  }

  .carousel-dots {
    gap: 0.4rem;
    max-width: 250px;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
  }

  .carousel-dot.active {
    width: 20px;
  }

  .testimonial-track {
    min-height: 250px;
  }

  .testimonial-content {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .team-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Page Grid Layout */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

/* Top Left: Hero Image */
.contact-hero-image {
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

/* Top Right: Hero Text */
.contact-hero-text {
  background: var(--color-smalt-blue);
  padding: 80px 60px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-label {
  background: var(--color-powder-ash);
  color: var(--color-firefly);
  display: inline-block;
  padding: 8px 24px;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 24px;
  align-self: flex-start;
}

.contact-hero-text h1 {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 24px;
}

.contact-hero-text p {
  color: var(--color-white);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Bottom Left: Details */
.contact-details-box {
  background: var(--color-smalt-blue);
  padding: 50px;
  color: white;
}

.contact-details-box h2 {
  color: white;
  margin-bottom: 32px;
}

.detail-group {
  margin-bottom: 32px;
}

.detail-group h3 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.detail-group p {
  color: white;
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
}

.detail-group a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.detail-group a:hover {
  opacity: 0.8;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
  text-decoration: none;
}

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

/* Bottom Right: Contact Form */
.contact-form-box {
  background: var(--color-powder-ash);
  padding: 50px;
}

.contact-form-box h2 {
  color: var(--color-firefly);
  margin-bottom: 32px;
}

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

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-text-dark);
  opacity: 0.7;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(91, 138, 143, 0.2);
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  width: 100%;
  margin: 15px 0 20px 0;
  font-size: 1.125rem;
}

/* Privacy Policy Page */
.privacy-hero,
.terms-hero {
  background: var(--color-smalt-blue);
  padding: 50px 24px 60px;
}

.privacy-label,
.terms-label {
  background: var(--color-powder-ash);
  color: var(--color-firefly);
  display: inline-block;
  padding: 8px 24px;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 24px;
  align-self: flex-start;
}

.privacy-hero h1,
.terms-hero h1 {
  color: white;
  margin: 0;
}

.privacy-content,
.terms-content {
  background: var(--color-serenade);
  padding: 50px 24px;
}

.privacy-text,
.terms-text {
  margin: 0 auto;
}

.privacy-text p,
.terms-text p {
  margin-bottom: 24px;
  line-height: 1.8;
  font-size: 1.0625rem;
  color: var(--color-text-dark);
}

.privacy-text h2,
.terms-text h2 {
  color: var(--color-firefly);
  margin: 48px 0 24px 0;
}

.privacy-text ul,
.terms-text ul {
  margin: 24px 0 24px 24px;
  line-height: 1.8;
}

.privacy-text li,
.terms-text li {
  margin-bottom: 12px;
  font-size: 1.0625rem;
}

.privacy-text a,
.terms-text a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

.privacy-text a:hover,
.terms-text a:hover {
  text-decoration: underline;
}

.privacy-text strong,
.terms-text strong {
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--color-serenade);
  padding: 30px 20px 50px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: start;
}

.footer-logo .logo {
  width: 150px;
  height: 120px;
}

.footer-newsletter h3 {
  font-size: 1.125rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--color-smalt-blue);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 14px 20px;
  border: 2px solid var(--color-secondary);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  flex: 1;
  min-width: 150px;
  background: white;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-smalt-blue);
}

.newsletter-form button {
  padding: 14px 32px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.footer-nav a {
  text-decoration: none;
  color: var(--color-firefly);
  font-weight: 500;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--color-fuel-yellow);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 968px) {
  .nav-menu {
    background: var(--color-serenade);
    position: fixed;
    left: -100%;
    top: 150px;
    flex-direction: column;
    width: 100%;
    padding: 32px 24px;
    transition: var(--transition);
    gap: 24px;
  }

  .nav-menu.active {
    left: 0;
  }

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

  .hero-content,
  .who-content,
  .services-hero-content,
  .feature-content {
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding: 30px;
  }

  .who-image-left {
    display: none;
  }

  .hero-image,
  .who-image {
    height: 300px;
  }

  .value-prop-content,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .services-hero-image {
    height: 400px;
  }

  .team-why-choose-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .team-why-choose-grid {
    .why-box {
      padding: 60px 32px;
      min-height: 300px;
    }
  }

  .proposal-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .proposal-cta {
    justify-content: center;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .contact-hero-image {
    min-height: 400px;
  }

  .contact-hero-text,
  .contact-details-box,
  .contact-form-box {
    padding: 60px 32px;
  }

  /* Form message styles */
  .form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
  }

  .form-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }

  .form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }

  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Button disabled state */
  .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo .logo {
    margin: 0 auto;
  }

  .footer-nav {
    text-align: center;
  }

  .newsletter-form {
    justify-content: center;
  }

  .services-preview .container {
    grid-template-columns: 1fr;
  }

  .features-hero-image {
    height: 400px;
    order: -1;
  }

  .services-hero-content {
    grid-template-columns: 1fr;
  }

  .services-hero-image {
    height: 400px;
  }

  .services-preview .container {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .services-detail .container {
    padding: 0 24px;
  }

  .features-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .features-image {
    height: 400px;
    order: -1;
  }

  .features-text {
    padding: 50px;
  }

  .testimonial-cta-section {
    grid-template-columns: 1fr;
  }

  .testimonial-side,
  .cta-side {
    padding: 60px 32px;
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .partner-logo-section {
    flex-direction: column;
    align-items: center;
  }

  .partner-logo-section .partner-logo {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .service-card {
    padding: 24px;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin-bottom: 16px;
  }

  .testimonial-side,
  .cta-side {
    padding: 40px 24px;
  }
}

.error-page {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.error-image {
  flex: 1;
  background-image: url('images/404.jpg');
  background-size: cover;
  background-position: center top;
  min-height: 100vh;
}

.error-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  background: var(--color-powder-ash);
  text-align: center;
}

.error-content h1 {
  font-weight: 900;
  color: var(--color-firefly);
  margin: 0 0 1rem 0;
  letter-spacing: 0.05em;
}

.error-content h2 {
  font-weight: 600;
  color: var(--color-firefly);
  margin: 0 0 2rem 0;
  line-height: 1.3;
  max-width: 600px;
}

.error-content p {
  font-size: 1.5rem;
  color: var(--color-firefly);
  margin: 0 0 3rem 0;
  font-weight: 500;
}

.error-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: var(--color-fuel-yellow);
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(237, 137, 54, 0.3);
}

.error-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 137, 54, 0.4);
  background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

.error-btn::after {
  content: '→';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.error-btn:hover::after {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 968px) {
  .error-page {
    flex-direction: column;
  }

  .error-image {
    min-height: 40vh;
  }

  .error-content {
    min-height: 60vh;
    padding: 2rem;
  }

  .error-content h1 {
    font-size: 4rem;
  }

  .error-content h2 {
    font-size: 1.8rem;
  }

  .error-content p {
    font-size: 1.2rem;
  }
}

@media (max-width: 640px) {
  .error-content h1 {
    font-size: 3rem;
  }

  .error-content h2 {
    font-size: 1.5rem;
  }

  .error-content p {
    font-size: 1rem;
  }

  .error-buttons {
    flex-direction: column;
    width: 100%;
  }

  .error-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Fallback if image doesn't load */
.error-image {
  background-color: #4a5568;

}