.contact-hero {
    background-image: url("images/c34da73dcdb926cdbc847f14e64486e1d0891c1d.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0; /* adjust height */
    color: white; /* optional: makes text readable */
    position: relative;
    min-height: 50vh;
}

@font-face {
    font-family: 'Avallon Alt';
    src: url('../fonts/AvallonAlt.woff2') format('woff2'); /* Changed , to ; */
    font-weight: normal;
    font-style: normal;
}

/* ==================== CONTACT PAGE ==================== */

.contact-page {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-section h3,
.contact-form-section h3 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #053717;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(5, 55, 23, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: #053717;
}

.contact-text h4 {
    color: #053717;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-text p {
    color: #666;
    margin-bottom: 5px;
}

.contact-note {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

.contact-departments h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #053717;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.department {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e0f2e9;
}

.department h5 {
    color: #053717;
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.department h5 i {
    color: #053717;
}

.department p {
    color: #666;
    font-size: 0.95rem;
}

/* Form container */
.contact-form {
    position: relative;
    z-index: 1; /* Ensure form stays above the image background */
}

/* Form image styling */
.form-image {
    position: absolute;
    bottom: 0px; /* Adjust to position vertically */
    left: 0px; /* Adjust to position horizontally */
    width: 410px; /* Adjust size as needed */
    rotate: 0deg;
    height: auto;
    z-index: 1; /* Place behind the form */
    opacity: 1;
    pointer-events: none; /* Prevent interfering with form interaction */
    transform: scaleX(-1);

}

/* For smaller screens, adjust the image position */
@media (max-width: 992px) {
    .form-image {
        width: 200px;
        left: -60px;
        top: -30px;
    }
}

@media (max-width: 768px) {
    .form-image {
        width: 150px;
        left: -40px;
        top: -20px;
        opacity: 0.7;
    }
}

@media (max-width: 576px) {
    .form-image {
        display: none; /* Hide on very small screens if it takes too much space */
    }
}


/* Contact Form */
.contact-page-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8fdf5;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(5, 55, 23, 0.08);
    border: 1px solid #e0f2e9;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #053717;
    box-shadow: 0 0 0 2px rgba(5, 55, 23, 0.1);
}

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

/* ==================== FAQ SECTION ==================== */

.faq-section {
    padding: 80px 0;
    background-color: white;
}

.faq-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #053717;
}

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

.faq-item {
    border: 1px solid #e0f2e9;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #f8fdf5;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(5, 55, 23, 0.05);
}

.faq-question h4 {
    color: #053717;
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: #053717;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

.faq-answer a {
    color: #053717;
    font-weight: 600;
    text-decoration: underline;
}

.faq-answer a:hover {
    color: #0a4d23;
}

/* Restaurants & Nutritionists Sections */
.offers-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.offers-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #053717;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.offer-card {
    background-color: #f8fdf5;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 8, 8, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0f2e9;
}

.offer-card:hover {
    transform: translateY(-10px);
    background-color: #ffffff;
    box-shadow: 0 15px 40px rgba(5, 55, 23, 0.825);
}

.offer-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(5, 55, 23, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.offer-icon i {
    font-size: 2.5rem;
    color: #053717;
}

.offer-card h4 {
    color: #053717;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.offer-card p {
    color: #666;
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #053717 0%, #053717 75%, #021e0c 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    min-height: 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.newsletter .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.newsletter-title {
    position: absolute;
    top: 20px;
    left: 60px;
    color: #FFD700; /* Yellow color */
    font-family: 'Avallon Alt', cursive;;    
    font-size: 4.0rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.newsletter-form {
    max-width: 600px;
    width: 100%;
    display: flex;
    gap: 15px;
    margin: 0 auto;
    z-index: 3;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    background-color: white;
}

.newsletter-form button {
    background-color: #FFD700; /* Yellow color */
    color: #053717;
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-form button:hover {
    background-color: #FFED4E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.newsletter-image {
    position: absolute;
    bottom: 0px;
    right: 0px;
    z-index: 1;
    max-width: 50%;
    height: auto;
    opacity: 0.9;
    pointer-events: none; 
}

.newsletter-image img {
    width: 60%;
    height: auto;
    display: block;
    max-height: 300px;
    object-fit: contain;
}

/* Add a subtle pattern overlay for texture */
.newsletter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23053717' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 1;
    opacity: 0.3;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .newsletter-title {
        font-size: 2rem;
        top: 20px;
        left: 20px;
    }
    
    .newsletter-form {
        max-width: 500px;
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        max-width: 400px;
    }
    
    .newsletter-image {
        max-width: 35%;
    }
}

@media (max-width: 768px) {
    .newsletter {
        padding: 60px 0;
        min-height: 350px;
    }
    
    .newsletter-title {
        position: relative;
        top: 0;
        left: 0;
        text-align: center;
        margin-bottom: 30px;
        font-size: 1.8rem;
    }
    
    .newsletter .container {
        min-height: 300px;
    }
    
    .newsletter-form {
        gap: 10px;
    }
    
    .newsletter-form input {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .newsletter-form button {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .newsletter-image {
        max-width: 40%;
        position: relative;
        margin-top: 30px;
        bottom: auto;
        right: auto;
        opacity: 0.8;
    }
}

@media (max-width: 576px) {
    .newsletter {
        padding: 50px 0;
        min-height: 300px;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
    }
    
    .newsletter-image {
        max-width: 50%;
    }
}

/* Meet The Team Section */
.team {
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    width: 90%;
    height: 400px;

  }

  .team .title {
    width: 25%;
  }

  .team .title h1 {
    font-size: 78px;
    color: #053717;
  }

  .team .membs {
    width: 75%;
    display: flex;
    justify-content: flex-end;
    
  }
  .membs .mem {
    width: 20%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    transition: width 0.6s ease; /* Smooth transition for hover effect */
    display: flex; /* Use flexbox to center the image */
    align-items: center; /* Vertically center the image */
    justify-content: center; /* Horizontally center the image */
    margin: 0 5px;
    position: relative;
  }

  .membs .mem img {
    height: 100%; /* Ensure the image takes full height */
    width: 100%; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure the image covers the container */
    object-position: center; /* Center the image */
    display: block;
    filter: grayscale(100%); /* Apply black and white filter */
    transition: filter 0.3s ease; /* Smooth transition for filter effect */
  }

  .membs .mem:hover {
    width: 40%;
  }
  .membs .mem:hover img {
    filter: none; /* Remove the black and white filter on hover */
  }
  .membs .mem .disc {
    position: absolute;
    z-index: 10;
    bottom: 30px;
    width: 80%;
    padding: 10px;
    background: #1c1c1e;
    backdrop-filter: blur(4.00px);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 1.3s;
    color: white;
    text-align: center;
    background: #053717;
border: 2px solid rgba(10, 13, 23, 0.05);
backdrop-filter: blur(400px);

  }

  .disc h2 { 
    color: white; 
  } 
  .disc h4 { 
    color: white; 
  }

  .membs .mem:hover .disc {
    display: block;
    opacity: 1;
  }

  .footer-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: clamp(200px, 30vw, 180px);
    opacity: 1;
    pointer-events: none;
}

/* Solution Section */
.solution {
    background-color: #ffffff;
    margin-top: 0px;
    padding: 0px 90px;
}

.solution h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-top: 0px;
}

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

.highlight {
    background-color: rgba(5, 55, 23, 0.1);
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    border-left: 5px solid #053717;
}

/* Blocks */
.about-block {
  max-width: 900px;
  margin: 0 auto 80px auto;
}

/* What we do list */
.what-list {
  list-style: none;
  padding-left: 0;
}

.what-list li {
  padding-left: 25px;
  margin-bottom: 15px;
  position: relative;
}

.what-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #053717;
  font-weight: bold;
}


/* ===========================
   MISSION & VISION SECTION
=========================== */

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
  align-items: stretch;
}

.mv-card-first{
  padding: 40px;
  border-radius: 20px;
  background: #e1ebdb;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.06),
    0 8px 16px rgba(0, 0, 0, 0.04);

  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  height: 100%;
  transition: background-color 0.3s ease, border-radius 0.3s ease, transform 0.3s ease;
}

.mv-card-first:hover {
  border-radius: 20px;
  background: #ffffff;
  transform: scale(1.03)
}

.mv-card-highlight {
  padding: 40px;
  border-radius: 20px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.06),
    0 8px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  height: 100%;
  background: #053717;
  transition: background-color 0.3s ease, border-radius 0.3s ease, transform 0.3s ease;
}

.mv-card-highlight:hover {
  border-radius: 20px;
  background: #000000;
  transform: scale(1.03)
}

.mv-card-highlight h3,
.mv-card-highlight h2,
.mv-card-highlight p {
  color: #fff;
}

/* ===========================
   SUBTLE HOVER ANIMATIONS
=========================== */
.mv-card,
.step-card,
.principle-card,
.timeline-step .content {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mv-card:hover,
.step-card:hover,
.principle-card:hover,
.timeline-step:hover .content {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
}

/* ===========================
   TIMELINE SECTION
=========================== */
.timeline-section {
  margin-top: 0px;

}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 10px auto 0;
  padding: 0px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(#1ba44d, #053717);
  transform: translateX(-50%);
  border-radius: 3px;
}

/* Timeline step */
.timeline-step {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.timeline-step.left {
  justify-content: flex-end;
}

.timeline-step.right {
  justify-content: flex-start;
}

.timeline-step .icon {
  width: 55px;
  height: 55px;
  background: #053717;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.timeline-step:hover .icon {
  transform: scale(1.1) rotate(5deg);
}

.timeline-step .content {
  background: #ffffff;
  padding: 25px 30px;
  border-radius: 18px;
  max-width: 320px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

.timeline-step.left .content {
  margin-right: 25px;
  text-align: right;
}

.timeline-step.right .content {
  margin-left: 25px;
  text-align: left;
}

.timeline-step h4 {
  margin-bottom: 8px;
  color: #1e2b25;
}

/* ===========================
   MOBILE RESPONSIVE TIMELINE
=========================== */
@media (max-width: 768px) {
  .timeline-line {
    left: 30px;
  }

  .timeline-step {
    justify-content: flex-start !important;
  }

  .timeline-step .content {
    margin-left: 25px !important;
    text-align: left !important;
  }
}


/* ===========================
   OPERATING PRINCIPLES – KITCHEN WALL
=========================== */
.principles-wall {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Organic background wash */
.principles-wall::before {
  content: "";
  position: absolute;
}

.wall-header {
  max-width: 600px;
  margin-bottom: 60px;
}

.wall-header h2 {
  font-size: 2.2rem;
}

/* Wall layout */
.wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  position: relative;
}

/* Notes */
.wall-item {
  background: #ffffff;
  padding: 35px 30px 40px;
  border-radius: 12px 12px 18px 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.112);
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Torn-paper effect */
.wall-item::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 20px;
  background: #ffffff;
  clip-path: polygon(0 0, 10% 100%, 20% 0, 30% 100%, 40% 0, 50% 100%, 60% 0, 70% 100%, 80% 0, 90% 100%, 100% 0);
}

/* Pins */
.wall-item .pin {
  width: 16px;
  height: 16px;
  background: #053717;
  border-radius: 50%;
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.wall-item .pin::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 5px;
}

/* Pin color variants */
.pin-light .pin {
  background: #053717;
}

.pin-accent .pin {
  background: #053717;
}

/* Typography */
.wall-item h4 {
  margin-bottom: 12px;
  color: #053717;
}

.wall-item p {
  color: #053717;
  line-height: 1.7;
}

/* Hover */
.wall-item:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.585);
}

/* Wide note */
.wall-item.wide {
  grid-column: span 2;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .wall {
    grid-template-columns: 1fr;
  }

  .wall-item.wide {
    grid-column: span 1;
  }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 992px) {
  .manifesto-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .manifesto-card.wide {
    grid-column: span 2;
  }
}

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

  .manifesto-card.wide {
    grid-column: span 1;
  }
}

/* ===========================
   WHAT WE DO – FEATURE GRID
=========================== */
.what-we-do {
  position: relative;
}

/* Organic background accent */
.what-we-do::before {
  content: "";
  position: absolute;
  z-index: 0;
}

.what-we-do h2,
.what-we-do h3 {
  position: relative;
  z-index: 1;
}

/* Grid */
.what-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* Cards */
.what-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 35px 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.what-card i {
  font-size: 1.9rem;
  margin-bottom: 15px;
}

.what-card h4 {
  margin-bottom: 10px;
}

.what-card p {
  font-size: 1rem;
}

.what-card i, 
.what-card h4, 
.what-card p { 
    color: #053717; 
}

/* Accent card */
.what-card {
  /* background: linear-gradient(135deg, #053717, #09461f); */
}

.what-card.accent i,
.what-card.accent h4,
.what-card.accent p {
  color: #ffffff;
}

/* Wide card */
.what-card.wide {
  grid-column: span 2;
}

/* Hover */
.what-card:hover{
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #053717, #09461f);
}
.what-card:hover i, 
.what-card:hover h4, 
.what-card:hover p { 
    color: #ffffff; 
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 992px) {
  .what-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .what-card.wide {
    grid-column: span 2;
  }
}

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

  .what-card.wide {
    grid-column: span 1;
  }
}

/* ==================== WHO WE ARE (BOX DESIGN) ==================== */

.who-we-are {
    padding: 50px 0;
    background-color: #fdfdfd; /* Very subtle off-white to distinguish from other sections */
    position: relative;
    overflow: hidden;
}

.about-card {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border: 1px solid #e0f2e9;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 5px 10px rgba(2, 31, 13, 0.766);
}

/* The "Beautiful Frame" - This creates the offset green box behind the card */
.about-card::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid #053717; /* Your brand green */
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2; /* Subtle enough not to distract */
}

.about-text h3 {
    color: #053717;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Decorative line next to "Who we are" */
.about-text h3::after {
    content: '';
    width: 50px;
    height: 1px;
    background-color: #053717;
    display: inline-block;
}

.about-text h2 {
    font-size: 2.8rem;
    color: #053717;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    max-width: 700px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-card {
        padding: 40px 25px;
        margin: 0 20px;
    }
    .about-card::before {
        display: none; /* Remove offset frame on mobile for better fit */
    }
    .about-text h2 {
        font-size: 2rem;
    }
}


.form-success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 55, 23, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.form-success-box {
    background: #fff;
    padding: 40px 35px;
    border-radius: 22px;
    text-align: center;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.4s ease;
}

.form-success-box h3 {
    color: #053717;
    font-size: 1.9rem;
    margin-bottom: 15px;
}

.form-success-box p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 25px;
}

.form-success-box button {
    background: #053717;
    color: #FFD700;
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-success-box button:hover {
    background: #0a2e1a;
    transform: translateY(-2px);
}

.spinner {
    width: 55px;
    height: 55px;
    border: 5px solid #e0e0e0;
    border-top: 5px solid #053717;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


@keyframes scaleIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
