/* 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 {
  margin-top: 30px;
  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-top: 50px; /* <-- ADJUST THIS VALUE! */
}

.cta-button-light {
  display: inline-block;
  padding: 8px 24px;
  background: #F04325;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
  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: 40px;
}

/* Featured Ticker */
.featured-ticker {
    position: relative;
    height: 20px;
    overflow: hidden;
    min-width: 300px;
    margin-bottom: 20px;
}

.ticker-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    white-space: nowrap;
    font-family: 'CerebriSans', sans-serif;
    font-size: 16px;
    color: #666;
}

.ticker-item.active {
    opacity: 1;
    transform: translateY(0);
}

.ticker-item.exit {
    opacity: 0;
    transform: translateY(-20px);
}

.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;
    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;
    }
}




/* === Expertise Section === */
.expertise-section {
    padding: 100px 0;
    margin-top: -100px; /* <-- ADD THIS LINE to pull the whole section up */
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Left column slightly smaller */
    gap: 200px;
    align-items: start;
}

.expertise-intro h2 {
    font-family: 'SeasonSerif', serif;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -1.5px;
    margin-bottom: 40px;
}

.expertise-image-placeholder {
    width: 100%;
    height: 250px;
    background-color: #e8e8e8;
    border-radius: 24px;
    margin-bottom: 40px; /* <-- CHANGE THIS VALUE from 30px */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.expertise-intro p {
    font-family: 'CerebriSans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px; /* <-- CHANGE THIS VALUE from 30px */
}

/* Reusing the cta-button-light style from the hero section */
.expertise-intro .cta-button-light {
    display: inline-block;
}

.expertise-skills {
    display: grid;
    /* Create the 2x2 grid for the skills lists */
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px; /* 60px vertical gap, 40px horizontal gap */
    padding-top: 20px;
}

.skill-category h3 {
    font-family: 'SeasonSerif', serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 24px;
}

.skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-category li {
    font-family: 'CerebriSans', sans-serif;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

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

@media (max-width: 576px) {
    /* Stack the skills lists into a single column on very small screens */
    .expertise-skills {
        grid-template-columns: 1fr;
    }
}

/* 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;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Zoom in the second project image */
.project-card:nth-child(2) .project-image {
  transform: scale(1.15);
  object-fit: cover;
}

.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;
}

.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;
}

/* 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;
}

/* 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: transform 0.2s;
}

/* When the accordion is open, change the icon to a minus */
.faq-item[open] summary::after {
    content: '−';
}

/* Style the answer part */
.faq-answer {
    padding: 0 0 30px 0;
}

.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;
}



/* Contact Section Styles */
.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: 58px;
  font-weight: 300;
  letter-spacing: -0.5px;
  margin-bottom: 30px;
}

.contact-text p {
  font-size: 18px;
  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: 18px;
  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: #323232;
  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;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .contact-text h2 {
    font-size: 42px;
  }
}
