  /* 
   GOOGLE FONT & RESET
  */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f8f9fa;
    color:#333;
    line-height:1.6;
}


  /* 
   HEADER
  */

header{
    position:sticky;
    top:0;
    left:0;
    width:100%;
    min-height:75px;

    background:#ffffff;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 8%;

    box-shadow:0 3px 10px rgba(0,0,0,.08);

    z-index:1000;
}


  /* 
   LOGO
  */

.logo{
    display:flex;
    align-items:center;
    gap:10px;

    font-size:1.6rem;
    font-weight:700;

    color:#b71c1c;
}

.logo img{
    width:75px;
    height:auto;
    object-fit:contain;
}


  /* 
   NAVIGATION
  */

nav{
    display:flex;
    align-items:center;
    gap:35px;
}

nav a{
    position:relative;

    display:inline-block;

    text-decoration:none;

    color:#333;

    font-weight:500;

    padding:8px 0;

    transition:color .3s ease;
}


  /* 
   NAV HOVER
  */

nav a:hover{
    color:#b71c1c;
}


  /* 
   ACTIVE NAV
  */

nav a.active{
    color:#b71c1c;
}


  /* 
   YELLOW UNDERLINE
  */

nav a::after{
    content:"";

    position:absolute;

    left:0;
    bottom:0;

    width:0;
    height:3px;

    background:#ffc107;

    border-radius:3px;

    transition:width .3s ease;
}

nav a:hover::after,
nav a.active::after{
    width:100%;
}


  /* 
   HERO
  */

.hero{
    min-height:420px;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

    padding:120px 20px 70px;

    background:
        linear-gradient(
            rgba(183,28,28,.88),
            rgba(183,28,28,.88)
        ),
        url("../img/about-bg.jpg") center/cover;

    color:#fff;
}

.hero h1{
    font-size:3.2rem;

    line-height:1.2;

    margin-bottom:18px;
}

.hero p{
    max-width:700px;

    font-size:1.05rem;

    color:#fff;

    opacity:.95;
}


  /* 
   ABOUT
  */

.about{
    max-width:1100px;

    margin:80px auto;

    padding:0 20px;
}

.about-text{
    background:#fff;

    padding:45px;

    border-radius:15px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;
}

.about-text:hover{
    transform:translateY(-5px);

    box-shadow:0 10px 25px rgba(0,0,0,.10);
}

.about-text h2{
    color:#b71c1c;

    margin-bottom:20px;

    font-size:2rem;
}

.about-text p{
    margin-bottom:18px;

    color:#555;

    text-align:justify;
}

.about-text p:last-child{
    margin-bottom:0;
}


  /* 
   MISSION & VISION
  */

.mission{
    max-width:1100px;

    margin:0 auto 80px;

    padding:0 20px;

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

.card{
    background:#fff;

    border-radius:15px;

    padding:40px 30px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);

    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.card i{
    font-size:3rem;

    color:#b71c1c;

    margin-bottom:20px;

    transition:.3s;
}

.card:hover i{
    transform:scale(1.08);

    color:#d32f2f;
}

.card h3{
    margin-bottom:15px;

    color:#333;
}

.card p{
    color:#666;
}


  /* 
   FEATURES
  */

.features{
    background:#fff;

    padding:90px 8%;

    text-align:center;
}

.features h2{
    color:#b71c1c;

    font-size:2.2rem;

    margin-bottom:50px;
}

.feature-grid{
    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(230px,1fr));

    gap:30px;
}

.feature{
    background:#f8f9fa;

    border-radius:15px;

    padding:35px 25px;

    border:1px solid #eee;

    transition:.3s;
}

.feature:hover{
    background:#fff8e1;

    transform:translateY(-8px);

    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.feature i{
    font-size:2.8rem;

    color:#ffc107;

    margin-bottom:20px;

    transition:.3s;
}

.feature:hover i{
    transform:scale(1.1);
}

.feature h3{
    margin-bottom:12px;

    color:#333;
}

.feature p{
    color:#666;
}


  /* 
   HOW IT WORKS
  */

.steps{
    max-width:1200px;

    margin:80px auto;

    padding:0 20px;
}

.steps h2{
    text-align:center;

    color:#b71c1c;

    margin-bottom:50px;

    font-size:2.2rem;
}

.step-grid{
    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(200px,1fr));

    gap:30px;
}

.step-grid div{
    background:#fff;

    padding:35px 25px;

    border-radius:15px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;
}

.step-grid div:hover{
    transform:translateY(-8px);

    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.step-grid i{
    font-size:2.8rem;

    color:#b71c1c;

    margin-bottom:15px;

    transition:.3s;
}

.step-grid div:hover i{
    color:#ffc107;

    transform:scale(1.1);
}

.step-grid h4{
    color:#333;

    font-size:1.05rem;
}


  /* 
   FOOTER
  */

footer{
    background:#b71c1c;

    color:#fff;

    text-align:center;

    padding:22px 20px;
}

footer p{
    margin:0;
}


  /* 
   RESPONSIVE - TABLET / MOBILE
  */

@media(max-width:768px){

    header{
        position:sticky;
        top:0;

        width:100%;

        display:flex;
        flex-direction:column;

        justify-content:center;
        align-items:center;

        padding:15px 15px 16px;

        gap:12px;
    }

    .logo{
        display:flex;
        align-items:center;
        justify-content:center;

        gap:10px;

        font-size:1.6rem;
    }

    .logo img{
        width:65px;
        height:65px;
        object-fit:contain;
    }

    nav{
        display:flex;

        justify-content:center;
        align-items:center;

        width:100%;

        gap:20px;

        flex-wrap:wrap;
    }

    nav a{
        font-size:16px;
        font-weight:500;

        padding:5px 0;
    }

    nav a::after{
        bottom:0;
        height:3px;
    }


      /* 
       HERO
      */

    .hero{
        min-height:380px;

        padding:80px 20px 60px;
    }

    .hero h1{
        font-size:2.5rem;
    }

    .hero p{
        font-size:1rem;
    }


      /* 
       ABOUT
      */

    .about{
        margin:60px auto;
        padding:0 15px;
    }

    .about-text{
        padding:30px 25px;
    }

    .about-text h2{
        font-size:1.8rem;
    }

    .about-text p{
        font-size:14px;
        text-align:left;
    }


      /* 
       MISSION & VISION
      */

    .mission{
        margin-bottom:60px;
        padding:0 15px;
        gap:20px;
    }

    .card{
        padding:35px 25px;
    }


      /* 
       FEATURES
      */

    .features{
        padding:65px 15px;
    }

    .features h2{
        font-size:2rem;
        margin-bottom:35px;
    }


      /* 
       HOW IT WORKS
      */

    .steps{
        margin:60px auto;
        padding:0 15px;
    }

    .steps h2{
        font-size:2rem;
        margin-bottom:35px;
    }

}


  /* 
   SMALL MOBILE
  */

@media(max-width:480px){

    header{
        padding:14px 10px 15px;
        gap:10px;
    }

    .logo{
        font-size:1.5rem;
    }

    .logo img{
        width:60px;
        height:60px;
    }

    nav{
        gap:17px;
    }

    nav a{
        font-size:15px;
        font-weight:500;

        padding:5px 0;
    }

    nav a::after{
        height:3px;
    }


      /* 
       HERO
      */

    .hero{
        min-height:350px;

        padding:70px 18px 50px;
    }

    .hero h1{
        font-size:2.1rem;
    }

    .hero p{
        font-size:.95rem;
    }


      /* 
       ABOUT
      */

    .about{
        margin:45px auto;
    }

    .about-text{
        padding:25px 20px;
    }

    .about-text h2{
        font-size:1.6rem;
    }


      /* 
       FEATURES
      */

    .features{
        padding:55px 15px;
    }

    .features h2{
        font-size:1.8rem;
    }


      /* 
       HOW IT WORKS
      */

    .steps{
        margin:50px auto;
    }

    .steps h2{
        font-size:1.8rem;
    }

}