/* CSS Variables */
:root {
  --teal: #0d5c63;
  --teal-dark: #094249;
  --orange: #e85d04;
  --orange-light: #f48c06;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background: white;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-orange {
  background: var(--orange);
  color: white;
}

.btn-orange:hover {
  background: var(--orange-light);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-100);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--gray-900);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--teal);
  color: white;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--teal);
}

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

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--gray-700);
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-200);
  }
  .nav-links.active {
    display: flex;
  }
}

/* Hero Section */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, white 0%, var(--gray-50) 50%, var(--gray-100) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 92, 99, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  width: fit-content;
  font-size: 0.875rem;
  color: var(--teal);
  font-weight: 500;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--orange);
  border-radius: 50%;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
}

.text-teal {
  color: var(--teal);
  display: block;
  margin-top: 0.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 540px;
}

.hero-image {
  position: relative;
}

.hero-blur {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.hero-blur-orange {
  top: -20px;
  left: -20px;
  background: var(--orange);
}

.hero-blur-teal {
  bottom: -20px;
  right: -20px;
  background: var(--teal);
}

.hero-img {
  width: 100%;
  border-radius: 1rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.hero-accent-line {
  position: absolute;
  bottom: -8px;
  left: 2rem;
  right: 2rem;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
}

/* Image Placeholder */
.image-placeholder {
  background: var(--gray-100);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  min-height: 400px;
  position: relative;
  z-index: 10;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.image-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--gray-400);
}

.image-placeholder span {
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--orange);
}

.section-description {
  color: var(--gray-600);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 1rem auto 0;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

.service-card {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  background: var(--teal);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(13, 92, 99, 0.2);
}

.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p {
  color: white;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(13, 92, 99, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.2);
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--teal);
}

.service-card:hover .service-icon svg {
  color: white;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  transition: color 0.3s;
}

.service-accent {
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  width: 2rem;
  height: 3px;
  background: var(--orange);
}

/* About Section */
.about {
  padding: 5rem 0;
  background: var(--gray-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-image {
  position: relative;
}

.about-border-accent {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 6rem;
  height: 6rem;
  border: 2px solid var(--orange);
  border-radius: 0.5rem;
}

.about-img {
  width: 100%;
  border-radius: 1rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.about-teal-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 6rem;
  height: 6rem;
  background: var(--teal);
  border-radius: 0.5rem;
  z-index: -1;
}

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

.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  position: relative;
  display: inline-block;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--orange);
}

.about-lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  padding-top: 1rem;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--gray-700);
}

.feature-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--orange);
  border-radius: 50%;
}

/* Case Studies Section */
.case-studies {
  padding: 5rem 0;
  background: white;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
}

.case-study h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-top: 1.5rem;
}

.case-study p {
  color: var(--gray-600);
  margin-top: 0.5rem;
}

/* Carousel */
.carousel {
  position: relative;
  background: var(--gray-100);
  border-radius: 1rem;
  overflow: hidden;
}

.carousel-images {
  position: relative;
  aspect-ratio: 16/10;
}

.carousel-images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-images img.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gray-800);
}

.carousel-btn.prev {
  left: 0.75rem;
}

.carousel-btn.next {
  right: 0.75rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
}

.carousel-dots .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dots .dot.active {
  background: var(--orange);
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background: var(--teal);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.contact-form-container {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Honeypot field - hidden from humans */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 92, 99, 0.1);
}

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

.form-submit-btn {
  width: 100%;
  margin-top: 0.5rem;
}

.form-success {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.form-success p {
  color: var(--gray-700);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 4rem 0 0;
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-400);
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-400);
}

.contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--orange);
}

.footer-links h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.875rem;
}

