/* ========================================= 
   GOOGLE FONT (Add to your <head>)
   -----------------------------------------
   <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
========================================= */


/* =========================================
   GLOBAL STYLES
========================================= */

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2F3A3F;
  background-color: #F6F4F1;
  padding-top: 90px;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.5px;
}

p {
  color: #5C6B70;
  line-height: 1.6;
}


/* =========================================
   FIXED HEADER
========================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  padding: 18px 0;
  z-index: 1000;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
  font-size: 20px;
}

.nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #2F3A3F;
  font-weight: 500;
  transition: 0.2s ease;
}

.nav a:hover {
  color: #4C8C74;
}

.lang-toggle button {
  border: none;
  background: #4C8C74;
  color: white;
  padding: 6px 14px;
  margin-left: 6px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 13px;
}

.lang-toggle button:hover {
  background: #3A6F5C;
}


/* =========================================
   HERO SECTION
========================================= */

.hero {
  padding: 120px 0;
}

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 25px;
}

.hero-text p {
  font-size: 20px;
  max-width: 520px;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.hero-buttons {
  margin-top: 45px;
}


/* =========================================
   BUTTONS
========================================= */

.primary-btn {
  background-color: #4C8C74;
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
  display: inline-block;
}

.primary-btn:hover {
  background-color: #3A6F5C;
}

.secondary-btn {
  background-color: #E5E8E7;
  color: #2F3A3F;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  margin-left: 15px;
  font-weight: 500;
  transition: 0.3s ease;
  display: inline-block;
}

.secondary-btn:hover {
  background-color: #dfe4e3;
}


/* =========================================
   TRUST STRIP
========================================= */

.trust {
  background: #ffffff;
  padding: 30px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.trust-flex {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  text-align: center;
}

.trust div {
  flex: 1;
  color: #4C8C74;
  font-weight: 500;
}


/* =========================================
   CONSULTATION CTA
========================================= */

.consult-cta {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(to bottom, #ffffff, #F6F4F1);
}

.consult-cta h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.consult-cta p {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 18px;
}


/* =========================================
   PORTFOLIO SECTION (HARD-CENTERED FIX)
========================================= */

.portfolio-section {
  padding: 120px 0;
}

.portfolio-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
}

/* FORCE TRUE 4-COLUMN GRID */

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  width: 100%;
}

.card {
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.image-wrapper {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.image-wrapper img {
  grid-area: 1 / 1 / 2 / 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.image-wrapper .before {
  opacity: 0;
}

.image-wrapper:hover .before {
  opacity: 1;
}

.image-wrapper:hover .after {
  opacity: 0;
}

.card-body {
  padding: 22px;
  text-align: left;
}

.card-body h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
}

.card-body p {
  margin: 0;
  font-size: 14px;
}


/* =========================================
   OTHER PAGE SECTIONS
========================================= */

.page-section {
  padding: 120px 0;
  text-align: center;
}

.form {
  max-width: 500px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form input,
.form textarea {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: inherit;
  transition: 0.2s ease;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: #4C8C74;
  box-shadow: 0 0 0 2px rgba(76, 140, 116, 0.15);
}


/* =========================================
   FOOTER
========================================= */

.footer {
  background: #ffffff;
  padding: 50px 0;
  text-align: center;
  margin-top: 80px;
  border-top: 1px solid #eee;
  color: #5C6B70;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

  .nav-container {
    flex-direction: column;
    gap: 15px;
  }

  .nav {
    text-align: center;
  }

  .nav a {
    margin: 0 10px;
  }

  .hero-flex {
    flex-direction: column;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero {
    padding: 80px 20px;
  }

  .hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .hero h1 {
    font-size: 30px;
  }

  .secondary-btn {
    margin-left: 0;
    margin-top: 15px;
    display: block;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}