/* 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: 'CerebriSansPro-Light';
    src: url('../fonts/CerebriSansPro-Light.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;
}



.featured-icon {
    flex-shrink: 0;
    color: #000;
    display: flex;
    align-items: center;
  }


.featured-ticker {
    position: relative;
    height: 20px;
    overflow: hidden;
    min-width: 300px;
  }
  
  .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;
  }
  
  .ticker-item.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  .ticker-item.exit {
    opacity: 0;
    transform: translateY(-20px);
  }


/* === Case Study Hero Section === */
.case-study-hero {
    margin-top: 100px;
    padding: 100px 0;
}

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

.case-study-hero-text {
    display: flex;
    flex-direction: column;
    align-self: stretch; /* Make the container fill the vertical space */
}

.case-study-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

/* Reusing the pill style and defining it here for clarity */
.pill-outline {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 13px;
    border: 1px solid #d0d0d0;
    color: #666;
    background: #FFFEF2;
}

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

.featured-in {
    margin-top: 50px; /* Pushes this to the bottom */
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
    font-size: 15px;
}

.bell-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
}

.case-study-hero-image {
    height: 400px;
    background-color: #e8e8e8;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

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

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


/* === Responsive for Case Study Hero === */
@media (max-width: 992px) {
     .case-study-hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .case-study-hero-text h1 {
        font-size: 42px;
    }
}





/* === Task Section === */
.task-section {
    padding: 100px 0;
}

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

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

.task-description p {
    font-family: 'CerebriSansPro-Light', serif;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

/* Add space between the two paragraphs */
.task-description p + p {
    margin-top: 24px;
}

.task-image-placeholder {
    height: 400px;
    background-color: #FAFAFA; /* A very light grey for the placeholder */
    border-radius: 24px;
}


/* === Responsive for Task Section === */
@media (max-width: 992px) {
    .task-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .task-description {
        order: 2; /* Moves text below the image on smaller screens */
    }
    .task-image-placeholder {
        order: 1;
    }
}
@media (max-width: 768px) {
    .task-description h2 {
        font-size: 32px;
    }
}




/* === Outcome Section === */
.outcome-section {
    padding: 100px 0;
}

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

.outcome-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Left column smaller than the right */
    gap: 80px;
    margin-bottom: 60px; /* Space between text and image grid */
}

.outcome-description p {
    font-family: 'CerebriSansPro-Light', serif;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

.outcome-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.outcome-list li {
    font-family: 'CerebriSansPro-Light', serif;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    padding-left: 20px; /* Indent the text */
    position: relative;
}

/* Add custom bullet point */
.outcome-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #333;
}

.outcome-list li + li {
    margin-top: 16px; /* Space between list items */
}

.outcome-image-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr; /* Two columns, first wider. CHANGE THIS TO CHANGE SIDE BY SIDE IMAGES  */
    gap: 24px;
}

.image-placeholder {
    background-color: #333; /* Dark grey for placeholders */
    border-radius: 24px;
    height: 350px;
    overflow: hidden;
    position: relative;
}

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

/* Make the third image span both columns */
.image-placeholder.span-two {
    grid-column: 1 / -1; /* This makes it span the full width */
}


/* === Responsive for Outcome Section === */
@media (max-width: 992px) {
    .outcome-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media (max-width: 768px) {
    .outcome-section h2 {
        font-size: 32px;
    }
    .outcome-image-grid {
        grid-template-columns: 1fr; /* Stack all images on mobile */
    }
}





/* === Deliverables Section === */
.deliverables-section {
    padding: 100px 0;
}

.deliverables-header {
    display: flex;
    /* justify-content: space-between; */
    gap: 600px; 
    align-items: center;
    margin-bottom: 40px;
}

.deliverables-header h2 {
    font-family: 'SeasonSerif', serif;
    font-size: 40px;
    font-weight: 300;
    letter-spacing: -1px;
}

.deliverables-nav {
    display: flex;
    gap: 30px;
}

.deliverables-nav a {
    font-family: 'CerebriSansPro-Light', serif;
    color: #666;
    text-decoration: none;
    font-size: 16px;
}

.deliverables-nav a:hover {
    color: #000;
}

.deliverables-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.deliverable-item-large {
    background-color: #000; /* Black background for placeholders */
    border-radius: 24px;
    height: 450px; /* Adjust height as needed */
    overflow: hidden;
    position: relative;
}

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

.deliverable-image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    transform: translateY(60px) scale(1.25);
    object-position: center center;
}


/* === Responsive for Deliverables Section === */
@media (max-width: 992px) {
    .deliverables-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .deliverables-header h2 {
        font-size: 32px;
    }
    .deliverables-nav {
        gap: 20px;
        flex-wrap: wrap; /* Allow nav items to wrap on small screens */
    }
    .deliverable-item-large {
        height: 300px;
    }
}



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