/* Font Imports */
@font-face {
  font-family: 'SeasonSerif';
  src: url('../fonts/SeasonSerif-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'CerebriSans';
  src: url('../fonts/CerebriSansPro-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'PPNeueMontreal';
  src: url('../fonts/PPNeueMontreal-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

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

body {
  font-family: 'CerebriSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #FFFEF2;
  color: #000;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}



/* New Hero Section Styles */
.hero-service {
  margin-top: 100px;
  padding: 100px 0;
}

.hero-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-service-text {
  display: flex;
  flex-direction: column;
  align-self: stretch; 
}

.hero-service-text .cta-button-light {
  align-self: flex-start; /* Prevents the button from stretching horizontally */
}

.hero-service-text .subtitle {
  font-size: 16px;
  color: #003310;
  margin-bottom: 24px;
}

.hero-service-text h1 {
  font-family: 'SeasonSerif', serif;
  font-size: 56px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.hero-text-content {
  margin-bottom: 50px;
}

.cta-button-light {
  display: inline-block;
  padding: 12px 30px;
  background: #F04325;
  color: white;
  text-decoration: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.3s;
}
.cta-button-light:hover {
  background: #d63520;
}

.hero-service-image {
  height: 400px;
  background-color: #e8e8e8;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.divider {
  border: 0;
  border-top: 1px solid #e0e0e0;
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
   .hero-service-grid {
      grid-template-columns: 1fr;
      gap: 60px;
  }
}

@media (max-width: 768px) {
  .container {
      padding: 0 30px;
  }
  .nav-links {
      display: none; /* Simple hiding for mobile, can be replaced with a menu button later */
  }
  .hero-service-text h1 {
      font-size: 42px;
  }
}



/* === Features Section === */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Left column slightly smaller */
    gap: 100px;
    align-items: start; /* Align content to the top of the columns */
}

.features-intro h2 {
    font-family: 'SeasonSerif', serif;
    font-size: 48px;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: -1.5px;
    margin-bottom: 80px;
}

/* Client Logos (re-used from homepage) */
.client-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.client-logos img {
    height: 25px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
}

/* Individual logo size adjustments */
.client-logos img[src*="Jurlique"] {
    height: 90px; /* Make Jurlique bigger */
    margin-left: -20px; /* Move Jurlique logo to the left */
}

.client-logos img[src*="Nutrien"] {
    height: 30px; /* Make Nutrien smaller */
    margin-left: -20px; /* Move Nutrien logo to the left */
}

.client-logos img[src*="salaam"] {
    height: 50px; /* Make Salaam bigger */
}

.client-logos img[src*="HL-logo"] {
    height: 45px; /* Adjust Hamilton Locke */
    padding-bottom: 10px;
}

.client-logos img[src*="matw"] {
    height: 40px; /* Adjust MATW */
}

.features-list {
    display: flex;
    flex-direction: column;
}

.feature-item {
    padding: 30px 0;
}

/* Remove top borders from all items */
.feature-item:first-child {
    padding-top: 0;
}
.feature-item:last-child {
     padding-bottom: 0;
}


.feature-item h3 {
    font-family: 'SeasonSerif', Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
}

/* Add lines under first and second feature items */
.feature-item:first-child h3,
.feature-item:nth-child(2) h3,
.feature-item:nth-child(3) h3 {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.feature-item p {
    font-family: 'CerebriSans', serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    max-width: 95%; /* Prevents text from getting too long */
}


/* === Responsive for Features Section === */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .features-intro h2 {
        font-size: 40px;
        margin-bottom: 60px;
    }
}




/* === Testimonial Section === */
.testimonial-section {
    padding: 100px 0 150px 0;
    background-color: #FFFEF2; /* A very light grey background for the whole section */
}

.testimonial-section h2 {
    font-family: 'SeasonSerif', serif;
    font-size: 40px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.testimonial-section .quote-card {
    background-color: #C9DCA3;
    border-radius: 4px;
    padding: 120px 60px;
    text-align: center;
}

.testimonial-section .quote-text {
    font-family: 'PPNeueMontreal', serif;
    font-size: 22px;
    line-height: 1.7;
    color: #181818;
    max-width: 750px; /* Keeps the text lines from getting too long */
    margin: 0 auto 40px auto; /* Centers the text block and adds space below */
    letter-spacing: -0.1px;
}

.testimonial-section .quote-author .name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.testimonial-section .quote-author .company {
    font-size: 15px;
    color: #003310;
}


/* === Responsive for Testimonial Section === */
@media (max-width: 768px) {
    .testimonial-section {
        padding: 80px 0;
    }
    .testimonial-section h2 {
        font-size: 32px;
    }
    .testimonial-section .quote-card {
        padding: 50px 30px;
    }
    .testimonial-section .quote-text {
        font-size: 16px;
    }
}




/* === Approach Section === */
.approach-section {
    padding: 100px 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 100px;
    align-items: start;
}

.approach-title h2 {
    font-family: 'SeasonSerif', serif;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -1.5px;
}

.approach-phases {
    display: flex;
    flex-direction: column;
    gap: 60px; /* Space between each phase item */
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.phase-number {
    color: #AB7DE;
}

.phase-name {
    color: #181818;
    font-weight: 500;
}

.phase-item hr {
    border: 0;
    height: 1px;
    background-color: #e0e0e0;
    margin: 0;
}

.phase-description {
    font-family: 'SeasonSerif', serif;
    font-size: 22px;
    line-height: 1.5;
    color: #333;
    letter-spacing: -0.2px;
    margin-top: 30px;
}


/* === Responsive for Approach Section === */
@media (max-width: 992px) {
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .approach-title h2 {
        font-size: 40px;
    }
    .phase-description {
        font-size: 20px;
    }
}

/* Our Work / Projects Section */
.projects {
  padding: 100px 0;
  background-color: #FFFEF2;
}

h2.section-title-line {
  font-family: 'SeasonSerif', serif;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.5px;
  padding-bottom: 30px;
  margin-bottom: 80px;
  border-bottom: 1px solid #e0e0e0;
}

.project-list {
  display: grid;
  gap: 50px; /* Vertical space between projects. This value changes distance between projects in case studies */
}

.project-card {
  display: grid;
  /* Creates two columns inside the container. The first is empty space, the second holds the content. */
  grid-template-columns: 4fr 8fr; /* Adjust ratio as needed, e.g., 3fr 9fr */
  /* gap: 0px;  */
}

.project-image-placeholder {
  /* This and the details below now occupy the second grid column */
  grid-column: 2 / 3;
  width: 100%; /* Fill the column it's in */
  height: 450px;
  background-color: #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Zoom in the UMS gif slightly */
.project-image[src="images/ums.gif"] {
  transform: scale(1.1);
}

.project-details {
  grid-column: 2 / 3;
  padding-top: 15px; /* This value changes distance between image and text under it for each case study */
}

.project-title {
  font-family: 'SeasonSerif', serif;
  font-size: 24px;
  font-weight: 300;
  color: #000;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.project-tags {
  display: flex;
  gap: 10px;
}


.service-pills {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pill {
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
}

.pill-outline {
  border: 1px solid #d0d0d0;
  color: #666;
  background: #FFFEF2;
}

.pill-filled {
  background: #f0f0f0;
  color: #000;
  font-weight: 500;
  transition: background 0.3s;
}

.pill-filled:hover {
  background: #e0e0e0;
}



/* === Why It Helps Section === */
.why-it-helps-section {
    padding: 100px 0;
    background-color: #FFFEF2;
}

.why-it-helps-section h2 {
    font-family: 'SeasonSerif', serif;
    font-size: 40px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

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

.help-card {
    background-color:  rgba(201, 220, 163, 0.3);;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease-out;
}

.help-card.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.help-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
}

.help-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    flex-grow: 1; /* Ensures cards in the same row have equal height */
}


/* === Responsive for Why It Helps Section === */
@media (max-width: 992px) {
    .help-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-it-helps-section {
        padding: 80px 0;
    }
    .why-it-helps-section h2 {
        font-size: 32px;
    }
    .help-grid {
        grid-template-columns: 1fr;
    }
}

/* === FAQ Section === */
.faq-section {
    padding: 100px 0;
}

.faq-section h2 {
    font-family: 'SeasonSerif', serif;
    font-size: 40px;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

/* Style the question part of the accordion */
.faq-item summary {
    font-size: 18px;
    font-weight: 500;
    padding: 30px 0;
    cursor: pointer;
    list-style: none; /* Removes the default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-item summary:hover {
    color: #333;
}

/* Remove the default arrow in Safari/Chrome */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Add a custom plus/minus icon */
.faq-item summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: #888;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* When the accordion is open, change the icon to a minus and rotate */
.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
    color: #333;
}

/* Style the answer part */
.faq-answer {
    padding: 0 0 30px 0;
    animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        max-height: 0;
        transform: translateY(-15px);
        padding-bottom: 0;
    }
    50% {
        opacity: 0.3;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
        padding-bottom: 30px;
    }
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    max-width: 80%; /* Keeps answer lines from getting too long */
}

/* === Responsive for FAQ Section === */
@media (max-width: 768px) {
    .faq-section h2 {
        font-size: 32px;
    }
    .faq-item summary {
        font-size: 16px;
    }
    .faq-answer p {
        max-width: 100%;
    }
}

/* Contact Section */
.contact {
  padding: 120px 0;
  background-color: #FFFEF2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
}

.contact-text h2 {
  font-family: 'SeasonSerif', serif;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.5px;
  margin-bottom: 30px;
}

.contact-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  max-width: 380px;
}

.contact-text a {
  color: #1C49A6;
  font-weight: 500;
  text-decoration: none;
}
.contact-text a:hover {
  text-decoration: underline;
}

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

.form-group label {
  display: block;
  font-size: 15px;
  color: #888;
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  background: transparent;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  font-size: 16px;
  font-family: 'CerebriSans', inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: #000;
}

/* Specific styling for the last text area to look right */
.form-group textarea {
  resize: none; 
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 20px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #d63520;
}
