@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
  --primary-green: #4F6D5C;
  --secondary-green: #3D5548;
  --text-dark: #1A1A1A;
  --text-light: #F9F9F9;
  --bg-light: #FFFFFF;
  --bg-offset: #F4F6F5;
  --accent-color: #A4B2AA;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --glass: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: 1.5rem;
}

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

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  font-weight: 300;
  color: #444;
}

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

/* Layout Parts */
section {
  padding: 120px 5%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 18px 36px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.btn-primary:hover {
  background-color: var(--secondary-green);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(79, 109, 92, 0.3);
}

.btn-outline {
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary-green);
  transform: translateY(-3px);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 25px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(15px);
  padding: 15px 5%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--glass-border);
}

header.scrolled .logo,
header.scrolled nav a {
  color: var(--text-dark);
}

.logo {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
}

.logo span {
  font-weight: 300;
  margin: 0 1px;
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../assets/hero.jpeg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 25px;
}

/* Featured / Trust */
.featured {
  padding: 60px 5%;
  background: white;
  border-bottom: 1px solid #eee;
}

.logo-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  align-items: center;
}

.logo-slider img {
  max-height: 50px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}

.logo-slider img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Services */
.services {
  background: var(--bg-offset);
}

.section-head {
  text-align: center;
  margin-bottom: 70px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 50px;
  border-radius: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 25px;
  display: block;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  margin-top: 1.5rem;
}

.service-card li {
  margin-bottom: 0.8rem;
  padding-left: 25px;
  position: relative;
  font-size: 0.95rem;
}

.service-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
}

/* Details Section */
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  background: white;
}

.details-image {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.details-image img {
  width: 100%;
  display: block;
  transition: var(--transition);
}

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

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  padding: 80px 5% 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-col h4 {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}


/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px auto;
  transition: var(--transition);
}

/* Responsive */
@media (max-width: 1024px) {
  .details {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  section {
    padding: 80px 5%;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: var(--secondary-green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1050;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.5rem;
    margin: 15px 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .cta-group {
    flex-direction: column;
  }

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

  .nav-cta {
    margin-left: 0 !important;
    /* Override inline style */
    margin-top: 20px;
  }
}