/* === Colors from logo === */
:root {
  --teal: #4A9E8E;
  --teal-dark: #3A7E72;
  --teal-light: #6BB5A6;
  --blue: #2E5090;
  --blue-dark: #1E3A6E;
  --blue-light: #4A6DB0;
  --gray-dark: #2A2A2A;
  --gray: #5a6570;
  --gray-light: #f7f9f8;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-dark);
  line-height: 1.6;
}

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

h1, h2, h3, h4 {
  line-height: 1.2;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--teal-dark);
}

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

.hidden {
  display: none;
}

/* === Section Headers === */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--gray-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

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

.btn-white:hover {
  background: rgba(255,255,255,0.9);
  color: var(--teal-dark);
}

.btn-nav {
  padding: 10px 24px;
  background: var(--teal);
  color: var(--white) !important;
  border-radius: 8px;
}

.btn-nav:hover {
  background: var(--teal-dark);
  color: var(--white) !important;
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 8px 0;
}

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

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  color: var(--white);
}

.navbar.scrolled .nav-logo {
  color: var(--blue);
}

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

.nav-links a {
  color: var(--gray-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

.navbar:not(.scrolled) .nav-links a {
  color: var(--white);
}

.navbar:not(.scrolled) .nav-links .btn-nav {
  color: var(--white) !important;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-dark);
  transition: background 0.3s;
}

.navbar:not(.scrolled) .nav-toggle span {
  background: var(--white);
}

/* === Hero === */
.hero {
  position: relative;
  padding: 180px 0 120px;
  color: var(--white);
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600&h=900&fit=crop&crop=center');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,58,110,0.88) 0%, rgba(58,126,114,0.82) 100%);
}

.hero-content {
  position: relative;
  max-width: 650px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.7;
}

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

/* === Trust Bar === */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid #e8ece9;
  padding: 24px 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item svg {
  color: var(--teal);
}

/* === Services === */
.services {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border: 1px solid #e8ece9;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(74, 158, 142, 0.12);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-body {
  padding: 28px;
}

.service-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--gray-dark);
}

.service-body p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-features {
  list-style: none;
  margin-bottom: 20px;
}

.service-features li {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--gray);
  position: relative;
  padding-left: 20px;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal);
}

.service-link:hover {
  color: var(--teal-dark);
}

/* === Why Choose Us === */
.why {
  padding: 100px 0;
  background: var(--gray-light);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.why-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.why-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.why-content > p {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(74, 158, 142, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

.why-feature strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.why-feature p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

/* === About === */
.about {
  padding: 100px 0;
}

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

.about-text .section-label {
  text-align: left;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--teal-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 32px;
}

/* === Contact === */
.contact {
  padding: 100px 0;
  background: var(--gray-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(74, 158, 142, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

.contact-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--gray-dark);
}

.contact-item p {
  color: var(--gray);
  margin: 0;
}

.contact-item a {
  color: var(--gray);
}

.contact-item a:hover {
  color: var(--teal);
}

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  margin-top: 8px;
}

.contact-map img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* === Contact Form === */
.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--gray-light);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(74, 158, 142, 0.15);
  background: var(--white);
}

.contact-form .btn {
  width: 100%;
}

/* === Footer === */
.footer {
  background: var(--gray-dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand img {
  height: 45px;
  width: auto;
  max-width: none;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
}

/* === Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero {
    padding: 140px 0 80px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
  }

  .trust-items {
    gap: 24px;
  }

  .trust-item span {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-image {
    order: -1;
  }

  .why-image img {
    height: 300px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .nav-links a {
    color: var(--gray-dark) !important;
  }

  .section-header h2,
  .why-content h2,
  .about-text h2,
  .cta-banner h2 {
    font-size: 1.8rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid .service-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    justify-self: center;
  }
}
