@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100;200;300;400;500;600;700;800&display=swap');

.onset {
    font-family: 'Onest', sans-serif;
}
.eb-garamond {
font-family: 'EB Garamond', serif;
}

.funnel-display {
font-family: 'Playfair Display', serif;
}

.funnel-sans {
font-family: 'Inter', sans-serif;
}

.dm-text {
    font-family: "DM Sans", sans-serif;
}

.crimson-text {
    font-family: 'Crimson Text', serif;
}

/* Main Container */
.mainContainer{
    box-sizing: border-box;
}
/* Section1 Hero */
.ID1{
    text-align: center;
    margin: 20px auto;
}
.ID1 button{
    font-weight: 600;
    font-size: 16px;
    padding: 12px 20px;
    border: 1px solid #000;
    border-radius: 6px;
    width: 230px;
    background: #ffffff;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.ID1 button::before{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.7;
    mix-blend-mode: multiply;
}

.Tag{
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.02em;
    background-color: gainsboro;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    text-align: center;
}

.heading{
    font-family: 'Crimson Text', serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(32px, 6vw, 64px);
    line-height: 42px;
    letter-spacing: -3%;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 45px;
    max-width: 50%;
    margin: 0 auto;

}
.subheading{
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(14px, 3vw, 22px);
    line-height: 100%;
    letter-spacing: -2%;
    text-align: center;

}
/* Section2 */
.ID2{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 50px auto;
  max-width: 90%;
}

.IndustryOverview{
  display: flex;
  align-items: center;
  font-family: 'Crimson Text', serif;
  width: 30%;
  border-bottom: 2px solid black;
}

.IndustryOverview h2{
  font-weight: 400;
  font-style: normal;
  font-size: 48px;
  line-height: 120%;
  letter-spacing: -0.03em;
  margin: 0 0 12px 0;
}

.ID2Text{
  display: flex;
  align-items: center;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.02em;
  text-align: justify;
  width: 45%;
  margin: 0;
}

@media (max-width: 768px){
  .heading{
    max-width: 90%;
  }
  .ID2{
    flex-direction: column;
    align-items: flex-start;
  }

  .IndustryOverview{
    width: 100%;
  }

  .IndustryOverview h2{
    font-size: 36px;
  }

  .ID2Text{
    width: 100%;
    font-size: 16px;
  }
}


/* Section3 */
.challenges {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

.challenges h2 {
    font-family: Crimson Text;
    font-weight: 400;
    font-style: Regular;
    font-size: 48px;
    line-height: 72px;
    letter-spacing: -3%;

}

.challenges .intro {
    font-family: DM Sans;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -2%;
    text-align: center;

}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* 2 columns on medium+ screens */
@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  text-align: left;
  border: none;
}

/* Dot + line */
.card-dot {
  width: 10px;
  height: 10px;
  background: #000;
  display: inline-block;
  vertical-align: middle;
}

.card-line {
  display: inline-block;
  vertical-align: middle;
  height: 1px;
  background: #000;
  width: calc(100% - 18px);
  margin-left: 12px;
}

.card-tag {
    font-family: "DM Sans",sans-serif;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -2%;

}

.card h3 {
    font-family: "DM Sans",sans-serif;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -2%;

}

.card-text {
   font-family: "DM Sans",sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -2%;

}

/* Section4 */
.support {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.support-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

/* Left text */
.support-intro h2 {
  font-size: 2rem;
  line-height: 1.3;
  margin: 0 0 1.5rem;
}

.support-intro h2 span {
  font-style: italic;
}

.support-line {
  border: none;
  border-top: 1px solid #ccc;
  width: 180px;
  margin: 0 0 2rem;
}

.support-note {
  max-width: 260px;
  font-size: 0.85rem;
  color: #777;
}

/* Right cards area: two columns of cards */
.support-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* Reuse previous card styles (or keep these if separate) */
.card {
  text-align: left;
}

.card-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #000;
  display: inline-block;
  vertical-align: middle;
}

.card-line {
  display: inline-block;
  vertical-align: middle;
  height: 1px;
  background: #000;
  width: calc(100% - 18px);
  margin-left: 12px;
}

.card-tag {
  margin-top: 1.5rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #777;
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.card-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #444;
}

/* Larger layouts */
@media (min-width: 900px) {
    .support{
        padding: 0rem 2rem;
    }
  .support-layout {
    grid-template-columns: 0.9fr 1.6fr;
    column-gap: 4rem;
  }

  .support-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Section5 Case Study */
.case-study-section {
    display: flex;
    flex-direction: row;
    padding: 32px 0;
    width: 100%;
    margin-block: 60px;
    text-align: center;
}

.case-study-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.case-study-scroll::-webkit-scrollbar {
    display: none;
}

/* RIGHT FADE OVERLAY */
.case-study-scroll::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;     /* fade width */
    height: 100%;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 80%
    );
}

/* LEFT FIXED COLUMN */
.caseStudyLeft {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 30%;
    flex-shrink: 0;
    margin-block: 50px;
    margin-inline: 30px;
}

.caseStudyLeft .subheadings-text {
    font-weight: 500;
}

.caseStudyLeft .crimson-text {
    font-size: 36px;
    margin: 0;
    font-weight: 600;
}

.caseStudyLeft .divider {
    width: 400px;
    border: 0.5px solid black;
}

/* RIGHT SCROLL IMAGES */
.caseStudyRight {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.caseStudyRight img {
    width: 700px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .case-study-section {
        flex-direction: column;
        padding: 16px;
        height: auto;
    }

    .caseStudyLeft {
        width: 100%;
        align-items: center;
        margin: 0;
    }

    .caseStudyLeft .divider {
        width: 80%;
    }

    .caseStudySection img {
        width: 100%;
        max-width: 350px;
        margin-top: 24px;
    }
    .case-study-scroll {
        flex-direction: column;
}
}


/* Section6 *//* Services Section */


/* Section7 */
.services-grid-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 56px;
    padding: 24px 16px;
}

.services-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 350px;
}

.services-left .heading {
    border-bottom: 1px solid black;
    padding-bottom: 24px;
}

.services-left .heading .crimson-text {
    font-size: 38px;
    font-weight: 600;
}

.services-left .heading .crimson-text span {
    font-style: italic;
    font-weight: 600;
}

.services-left .description {
    font-size: 14px;
    color: #787878;
    font-weight: 200;
    text-align: right;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    width: 260px;
    border: 1px solid #e6e6e6;
    padding: 12px;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card .icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid black;
    margin-bottom: 8px;
}

.service-card .icon img {
    width: 20px;
    height: 20px;
}

.service-card .title {
    font-weight: 600;
    font-size: 18px;
    margin: 4px 0;
}

.service-card .text {
    font-size: 14px;
    font-weight: 200;
    flex-grow: 1;
}

.service-card .learn-more {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
}

.service-card .learn-more p {
    font-weight: 200;
    font-size: 12px;
    margin: 0;
}


@media (max-width: 1024px) {
    .services-left .heading .crimson-text {
        font-size: 32px;
    }

    .services-left .description {
        font-size: 13px;
    }

    .service-card {
        width: 220px;
        height: auto;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .services-grid-section {
        flex-direction: column;
        align-items: center;
    }

    .services-left {
        text-align: center;
        align-items: center;
    }

    .services-left .description {
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        width: 100%;
        max-width: 320px;
        height: auto;
    }
}
