@font-face {
    font-family: 'Karantina';
    src: url('font/Karantina/Karantina-Regular.ttf') format('truetype'); /* Update the path and format */
}
@font-face {
    font-family: 'Antonio';
    src: url('font/Antonio/Antonio-VariableFont_wght.ttf') format('truetype'); /* Update the path and format */
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: sans-serif;
    color: white;
  }

  .project-hero{
    background: #ffffff;
    padding: 130px 0 90px;
  }
  
  .project-hero__inner{
    width: min(1100px, 92%);
    margin: 0 auto;
    text-align: center;
  }
  
  .project-hero__title{
    font-family: Karantina, sans-serif;
    font-size: 110px;
    letter-spacing: 2px;
    color: #0b5d45;
    margin-bottom: 60px;
  }
  
  /* GRID */
  .project-hero__grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    text-align: left;
  }
  
  /* LEFT */
  .project-hero__subtitle{
    font-family: Antonio, sans-serif;
    font-size: 40px;
    letter-spacing: 1px;
    color: #0f0f0f;
    margin-bottom: 26px;
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
  }
  
  .project-hero__text p{
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
    margin-bottom: 18px;
    font-weight: 500;
    max-width: 520px;
  }
  
  .project-hero__btn{
    display: block;
    margin: 30px auto 0 auto;
    padding: 14px 44px;
    background: #0b5d45;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-family: Antonio, sans-serif;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
    width: fit-content;
  }
  
  /* RIGHT */
  .project-hero__right{
    display: flex;
    justify-content: center;
  }
  
  /* TWO MOCKUPS SIDE BY SIDE */
  .mockup-pair{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  
  /* FRAME */
  .mockup-frame{
    width: 220px;
    height: 750px;
    border: 2px solid rgba(0,0,0,0.18);
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
  }
  
  /* IMAGE */
  .mockup-img{
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
  }
  
  /* MOBILE */
  @media (max-width: 900px){
    .project-hero__title{
      font-size: 80px;
    }
  
    .project-hero__grid{
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .mockup-pair{
      grid-template-columns: 1fr;
      justify-items: center;
    }
     /* make it 1 column */
  .mockup-pair{
    grid-template-columns: 1fr;
    justify-items: center;
  }

  /* hide the 2nd mockup frame (so only 1 shows) */
  .mockup-pair .mockup-frame:nth-child(2){
    display: none;
  }

  /* optional: make the remaining one a bit bigger */
  .mockup-frame{
    width: 260px;
  }
  }
/* ===== Section ===== */
.tools{
    background: #efefef;
    padding: 90px 0 100px;
  }
  
  .tools__inner{
    width: min(1150px, 92%);
    margin: 0 auto;
    text-align: center;
  }
  
  /* Title */
  .tools__title{
    font-family: Karantina, sans-serif;
    font-size: 110px;
    letter-spacing: 2px;
    color: #1f513f;
    margin-bottom: 18px;
  }
  
  /* Intro text */
  .tools__intro{
    font-family: Antonio, sans-serif;
    font-size: 22px;
    line-height: 1.7;
    color: #333;
    max-width: 780px;
    margin: 0 auto 60px;
  }
  
  /* Grid */
  .tools__grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  
  /* Cards */
  .tool-card{
    background: linear-gradient(180deg, #8ea7a0, #7f9a93);
    border-radius: 12px;
    padding: 40px 28px 36px;
    color: white;
    text-align: center;
  }
  
  /* Icon */
  .tool-card__icon{
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 22px;
  }
  
  /* Title */
  .tool-card__title{
    font-family: Karantina, sans-serif;
    font-size: 45px;
    letter-spacing: 2px;
    margin-bottom: 16px;
    white-space: nowrap;
  }
  
  /* Text */
  .tool-card__text{
 
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.5px;
    max-width: 32ch;
    margin: 0 auto;
  }
  
  /* ===== Mobile ===== */
  @media (max-width: 900px){
    .tools__grid{
      grid-template-columns: 1fr;
    }
  
    .tools__title{
      font-size: 70px;
    }
  
    .tools__intro{
      font-size: 16px;
    }

  .tools__grid {
    justify-items: center;   /* keeps cards centered */
  }

  .tools__card {
    width: 90%;
    max-width: 360px;        /* makes them less wide */
  }
  }
  /* ===== DESIGN MANUAL ===== */
.manual{
    background: #ffffff;
    padding: 90px 0 100px;
  }
  
  .manual__inner{
    width: min(1200px, 92%);
    margin: 0 auto;
  }
  
  .manual__title{
    font-family: Karantina, sans-serif;
    font-size: 130px;
    letter-spacing: 2px;
    color: #0b5d45;
    text-align: center;
    margin-bottom: 60px;
    white-space: nowrap;
  }
  
  /* layout */
  .manual__grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  
  /* left text */
  .manual__left{
    max-width: 560px;
    justify-self: start;
  }
  
  .manual__p{
   
    font-size: 20px;
    line-height: 1.75;
    letter-spacing: 0.8px;
    color: #111;
    margin-bottom: 26px;
  }
  
  .manual__bold{
    
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.6px;
    color: #111;
    font-weight: 900;
    margin-bottom: 32px;
  }
  
  .manual__btn{
    display: inline-block;
    padding: 16px 56px;
    background: #0b5d45;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-family: Antonio, sans-serif;
    letter-spacing: 3px;
    font-weight: 900;
    text-transform: uppercase;
  }
  .manual__btn{
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
  }
  
  
  /* right overlap images */
  .manual__right{
    justify-self: end;
  }
  
  .manual__stack{
    position: relative;
    width: 560px;
    height: 420px; /* controls the overlap area */
  }
  
  /* common img */
  .manual__img{
    position: absolute;
    display: block;
    border-radius: 2px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.22);
  }
  
  /* back image (lower + left) */
  .manual__img--back{
    width: 360px;
    left: 0;
    bottom: 40px;
    z-index: 1;
  }
  
  /* front image (higher + right) */
  .manual__img--front{
    width: 360px;
    right: 0;
    top: 60px;
    z-index: 2;
  }
  
  /* ===== Mobile ===== */
  @media (max-width: 900px){
    .manual{
      padding: 70px 0 80px;
    }
  
    .manual__title{
      font-size: 80px;
      white-space: normal;
      margin-bottom: 34px;
    }
  
    .manual__grid{
      grid-template-columns: 1fr;
      gap: 34px;
      text-align: center;
    }
  
    .manual__left{
      max-width: 60ch;
      margin: 0 auto;
    }
  
    .manual__btn{
      margin: 0 auto;
    }
  
    .manual__right{
      justify-self: center;
    }
  
    .manual__stack{
      width: min(520px, 92vw);
      height: 360px;
    }
  
    .manual__img--back,
    .manual__img--front{
      width: 300px;
    }
  
    /* keep overlap look on mobile */
    .manual__img--back{
      left: 0;
      bottom: 40px;
    }
  
    .manual__img--front{
      right: 0;
      top: 40px;
    }
  }

  /* ===== WHAT I LEARNED ===== */
.learned{
    background: linear-gradient(180deg, #0b5d45, #0e6a50);
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    min-height: 680px;              /* ensures there is room for the image */
  }
  
  /* Layout */
  .learned__inner{
    width: min(1200px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;     /* text is the main column */
    padding-left: 520px;            /* IMPORTANT: space reserved for image */
  }
  
  /* Image (me+blob) stuck to bottom */
  .learned__left{
    position: absolute;
    left: 6%;
    bottom: 0;
    pointer-events: none;
  }
  
  .learned__image{
    height: 600px;
    width: auto;
    display: block;
  }
  
  /* Text */
  .learned__title{
    font-family: Karantina, sans-serif;
    font-size: 110px;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 20px;
    white-space: nowrap;
    text-align: center;            /* matches screenshot better */
  }
  
  .learned__right{
    max-width: 720px;
    margin-left: auto;             /* pushes text block toward the right */
  }
  
  .learned__text{
    
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.8px;
    color: #fff;
    margin-bottom: 18px;
    text-align: center;            /* screenshot shows centered paragraphs */
  }
  
  .learned__text:last-child{
    margin-bottom: 0;
  }
  
  /* ===== Mobile ===== */
  @media (max-width: 900px){
    .learned{
      padding: 60px 0 0px;
      min-height: auto;
    }
  
    .learned__inner{
      padding-left: 0;             /* remove reserved space */
    }
  
    .learned__left{
      position: static;            /* image becomes normal block */
      display: flex;
      justify-content: center;
    
    }
  
    .learned__image{
      height: 360px;
      bottom: 0; /* keeps it anchored to the bottom of its container */
      margin-top: 50px;
    }
  
    .learned__right{
      max-width: 60ch;
      margin: 0 auto;
    }
  
    .learned__title{
      font-size: 70px;
      white-space: normal;
    }
  
    .learned__text{
      font-size: 16px;
    }
    .learned__inner{
        display: flex;
        flex-direction: column;
      }
      
      .learned__right{
        order: 1;   /* text first */
      }
      
      .learned__left{
        order: 2;   /* image last */
      }
      .learned__image{
        bottom:0; /* keeps it anchored to the bottom of its container */
      }

  }