@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 (HAVBLINK) ===== */
.project-hero{
    background: #ffffff;
    padding: 130px 0 90px; /* space for fixed nav */
  }
  
  .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;
  }
  
  /* two column layout */
  .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: inline-block;
    margin-top: 18px;
    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;
  }
  .project-hero__btn{
    display: block;
    margin: 30px auto 0 auto;
    width: fit-content;
  }
  
  /* RIGHT */
  .project-hero__right{
    display: flex;
    justify-content: center;
  }
  
  .mockup-frame{
    width: 100%;
    max-width: 380px;
    border: 2px solid rgba(0,0,0,0.18);
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    height: 750px;
  }
  
  .mockup-img{
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
  }
  
  /* ===== Mobile ===== */
  @media (max-width: 900px){
    .project-hero{
      padding: 120px 0 70px;
    }
  
    .project-hero__title{
      font-size: 80px;
      margin-bottom: 35px;
      text-align: center;
    }
  
    .project-hero__grid{
      grid-template-columns: 1fr;
      gap: 30px;
      text-align: center;
    }
  
    .project-hero__subtitle{
      text-align: center;
    }
  
    .project-hero__text p{
      margin-left: auto;
      margin-right: auto;
    }
  }
  /* ===== 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 */
  }
  }
  /* ===== VISUAL IDENTITY ===== */
.vi{
    background: #ffffff;
    padding: 80px 0 90px;
  }
  
  .vi__inner{
    width: min(1100px, 92%);
    margin: 0 auto;
  }
  
  .vi__title{
    font-family: Karantina, sans-serif;
    font-size: 120px;
    letter-spacing: 2px;
    color: #1f513f;
    text-align: center;
    margin-bottom: 55px;
    white-space: nowrap;
  }
  
  .vi__grid{
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
  }
  
  .vi__media img{
    width: 100%;
    height: auto;
    display: block;
   
    border-radius: 2px;
  }
  
  .vi__text{
  
    color: #111;
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 1px;
    font-weight: 500;
  }
  
  .vi__text p{
    margin: 0 0 26px 0;
  }
  
  .vi__text p:last-child{
    margin-bottom: 0;
  }
  
  /* ===== Mobile ===== */
  @media (max-width: 900px){
    .vi{
      padding: 65px 0 70px;
    }
  
    .vi__title{
      font-size: 74px;
      white-space: normal;
      margin-bottom: 35px;
    }
  
    .vi__grid{
      grid-template-columns: 1fr;
      gap: 26px;
    }
  
    .vi__text{
      text-align: center;
      font-size: 16px;
    }
  }
  
  /* ===== LOGO DESIGN ===== */
.logo{
    background: #ffffff;
    padding: 90px 0 100px;
  }
  
  .logo__inner{
    width: min(1000px, 92%);
    margin: 0 auto;
    text-align: center;
    margin-top: -80px;
  }
  
  .logo__title{
    font-family: Karantina, sans-serif;
    font-size: 130px;
    letter-spacing: 2px;
    color: #1f513f;
    margin-bottom: 60px;
    white-space: nowrap;
  }
  
  .logo__image-wrap{
    margin-bottom: 50px;
  }
  
  .logo__image-wrap img{
    width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  /* Text */
  .logo__text{
    width: min(900px, 92%);
    margin: 0 auto;
    
    color: #111;
    font-size: 22px;
    line-height: 1.8;
    letter-spacing: 0.6px;
    font-weight: 500;
  }
  
  .logo__text p{
    margin-bottom: 36px;
  }
  
  .logo__text p:last-child{
    margin-bottom: 0;
  }
  
/* ===== Mobile ===== */
@media (max-width: 820px){

  .logo{
    padding: 60px 0 70px;
  }

  .logo__inner{
    margin-top: 0;              /* remove the big negative offset on mobile */
  }

  .logo__title{
    font-size: 80px;
    white-space: normal;
    margin-bottom: 28px;
  }

  .logo__image-wrap{
    margin-bottom: 28px;
  }

  /* ✅ THIS fixes the “image too big” problem */
  .logo__image-wrap img{
    width: 100%;
    max-width: 520px;           /* adjust if you want it smaller/bigger */
    height: auto;
  }

  .logo__text{
    font-size: 16px;
    line-height: 1.7;
  }

  .logo__text p{
    margin-bottom: 22px;
  }
}
  /* ===== 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 */
      }

  }
  