/* ===============================
   Intro Section (below banner)
   =============================== */
.intro-section {
    padding: 100px 0;
    background: white;
    overflow: hidden;
    position: relative;
}

/* LEFT SIDE (main heading) */
.intro-left .text-content {
    text-align: left;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease;
    padding-right: 40px; /* Add padding instead of margin on right side */
}

.intro-left .main-title {
    color: #d8ab06;
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 0.4rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.intro-left .main-description {
    font-size: 1.1rem;
    color: #d8ab06;
    margin-top: 10px;
}

/* RIGHT SIDE (paragraph + link) - FIXED SPACING */
.intro-right {
    padding-left: 60px; /* Use padding instead of margin */
    border-left: 2px solid #f0f0f0; /* Optional visual separator */
}

.intro-right .intro-description {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #2e2e2e;
  line-height: 1.6;
  letter-spacing: 0.15px;
  margin-bottom: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; /* Allow it to use available space */
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease;
}

.intro-right .intro-link {
    display: inline-block;
    margin-top: 20px;
    color: #d8ab06;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #d8ab06;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(100px);
}

.intro-right .intro-link:hover {
    color: #b88e05;
    border-color: #b88e05;
}

/* Reveal animations when visible */
.intro-section.visible .intro-left .text-content {
    opacity: 1;
    transform: translateX(0);
}

.intro-section.visible .intro-right .intro-description,
.intro-section.visible .intro-right .intro-link {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive adjustments - FIXED */
@media (max-width: 768px) {
    .intro-left .text-content {
        text-align: center;
        padding-right: 0; /* Remove right padding on mobile */
    }
    
    .intro-right {
        margin-top: 40px;
        text-align: center;
        padding-left: 15px; /* Reduce padding on mobile */
        padding-right: 15px;
        border-left: none; /* Remove border on mobile */
        border-top: 2px solid #f0f0f0; /* Optional: Add top border instead */
        padding-top: 30px;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .intro-left .main-title {
        font-size: 2rem; /* Reduce font size on very small screens */
    }
    
    .intro-right {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ========= OUR IMPACT SECTION ========= */
.our-impact-section {
  background-color: #b88e05; /* gold background same as count color */
  padding: 80px 0; /* reduced height */
  text-align: center;
  font-family: "Inter", sans-serif;
  color: #fff; /* make all text readable */
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e0b800;
  border-bottom: 1px solid #e0b800;
}

.impact-subtitle {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-transform: uppercase;
  opacity: 0.9;
}

.impact-title {
  font-size: 2.2rem; /* slightly smaller for reduced height */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.impact-text {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.15px;
  margin-bottom: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0 auto 40px; /* reduce bottom spacing */
  opacity: 0.95;
}

/* ====== Stats Grid ====== */
.impact-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  flex-wrap: wrap;
  margin-top: 30px; /* less spacing */
}

.stat-box {
  text-align: center;
  flex: 1 1 200px;
  min-width: 200px;
}

.stat-box h3 {
  color: #fff;
  font-size: 3rem; /* slightly smaller number */
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-box p {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}




/* what we do */
.brilliant-move-section {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 50px;
  padding: 60px 70px;
  background: #fff;
  color:#3b382b;
}

.brilliant-move-section.full-width {
  grid-template-columns: 1fr;
}

/* Responsive for brilliant-move-section */
@media (max-width: 768px) {
  .brilliant-move-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 30px;
  }
}
.brilliant-move-section h2 {
  color:#3b382b;
  font-weight: 900;
  font-size: 28px;
  margin-bottom: 12px;
}

/* -------------------------------------------------------
   LEFT COLUMN (HEADER + TWO IMAGE ROWS)
   ------------------------------------------------------- */
.left-side {
  display: grid;
  grid-template-rows: auto auto auto;
  row-gap: 45px;
}

/* -------------------------------------------------------
   LEFT IMAGE GRID
   ------------------------------------------------------- */
.left-blocks-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 0px;
}

/* -------------------------------------------------------
   APPLY SHIFT ONLY TO LEFT SIDE CARDS
   ------------------------------------------------------- */

/* Push the TOP ROW of the left side upward */
.left-blocks-row.top-row {
  margin-top: -20px;   /* adjust as needed */
}

/* Push the BOTTOM ROW downward */
.left-blocks-row.bottom-row {
  margin-top: 30px;    /* adjust as needed */
}

/* -------------------------------------------------------
   RIGHT SIDE (UNCHANGED)
   ------------------------------------------------------- */
.right-side {
  display: grid;
  grid-template-rows: auto auto;
  row-gap: 20px;

  /* NO SHIFT HERE — as you requested */
}

/* -------------------------------------------------------
   CARD HEIGHTS
   ------------------------------------------------------- */
.big-block {
  height: 330px;
}

.small-block {
  height: 330px;
}

.case-study-block {
  height: 520px;
}

.article-block {
  height: 450px;
}

/* -------------------------------------------------------
   IMAGE BOX
   ------------------------------------------------------- */
.img-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* -------------------------------------------------------
   OVERLAY TEXT
   ------------------------------------------------------- */
.overlay-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/* -------------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------------- */
.overlay-text h2 {
  color:#fff;
  font-weight: 900;
  font-size: 28px;
  margin-bottom: 12px;
}

.overlay-text h3 {
  color:#fff;
  font-weight: bold;
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 8px;
  
}

.overlay-text p {
  color:#f2de84;
  font-size: 20px;
  line-height: 1.6;
  opacity: 0.95;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* -------------------------------------------------------
   HOVER EFFECT
   ------------------------------------------------------- */
.img-placeholder:hover {
  animation: zoomLoop 4s ease-in-out infinite;
}

@keyframes zoomLoop {
  0%   { background-size: 100%; }
  50%  { background-size: 120%; }
  100% { background-size: 100%; }
}





/* ===============================
   Newsletter Section - Clean
   =============================== */
.newsletter-section {
  font-family: "Inter", sans-serif;
  width: 100vw; /* Full viewport width */
  position: relative;
  background-color: #fff;
  padding-bottom: 80px; /* space for the subscription bar */
  box-sizing: border-box;
}

/* Container holding left text and right image side-by-side, full width */
.newsletter-container {
  display: flex;
  width: 100vw;
  height: 420px; /* fixed height like your screenshot */
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 6px 15px rgb(0 0 0 / 0.1);
}

/* Left half: deep green with text */
.newsletter-left {
  background-color: #b88e05;
  color: #fff;
  width: 50vw; /* half viewport width */
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.featured-text {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.75;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.main-heading {
  font-size: 2.6rem;
  line-height: 1.3;
  font-weight: 500;
  max-width: 440px;
  margin: 0;
}

/* Right half: image covering half viewport */
.newsletter-right {
  width: 50vw;
  overflow: hidden;
  position: relative;
}

.newsletter-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Bottom subscription bar below the container, centered and spanning ~90% width */
.newsletter-bar {
  position: relative;
  margin: 0 auto;
  margin-top: -40px; /* slight overlap with container */
  width: 90vw;
  max-width: 1200px;
  background: rgba(201, 219, 203, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 0 20px rgba(201, 219, 203, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  box-sizing: border-box;
  gap: 30px;
}

/* Text on the left side of the bar */
.bar-text {
  color: #222;
  font-size: 1.1rem;
  flex: 1;
  min-width: 220px;
}

/* Subscription form aligned right half of the bar */
.newsletter-form {
  display: flex;
  gap: 8px;
  flex: 1.4;
  max-width: 460px;
  justify-content: flex-end;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  font-size: 1rem;
  border-radius: 8px 0 0 8px;
  border: 1px solid #ccc;
  outline: none;
  box-shadow: none;
}

.newsletter-form input[type="email"]:focus {
  border-color: #a1cc5a;
  box-shadow: 0 0 6px #a1cc5a88;
}

.btn-subscribe {
  background-color: #b88e05;
  border: none;
  color: #000;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.btn-subscribe:hover {
  background-color:#b88e05;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .newsletter-container {
    flex-direction: column;
    height: auto;
    border-radius: 12px;
  }

  .newsletter-left, .newsletter-right {
    width: 100vw;
    padding: 40px 30px;
  }

  .main-heading {
    max-width: 100%;
    font-size: 2rem;
  }

  .newsletter-bar {
    flex-direction: column;
    width: 95vw;
    padding: 20px 30px;
    gap: 15px;
  }

  .newsletter-form {
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }
}
