*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Inter",sans-serif;
}

body{
    background:#f5f5f7;
    color:#111827;
}

/* =========================
   HEADER
========================= */

/* =========================
   NAVBAR
========================= */

.navbar {
  width: 100%;
  height: 72px;
  background: white;
  border-bottom: 1px solid #e5e7eb;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 30px;

  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 45px;
}

/* LOGO */

.logo{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo img{
    height:111px;
    width:auto;
    display:block;
}

.heart {
  color: #ef4444;
  margin-right: 4px;
}

.logo-text {
  color: #111827;
  letter-spacing: -1px;
}
.back-btn{
    text-decoration:none;
    background:#111827;
    color:#fff;

    padding:12px 18px;
    border-radius:12px;
}
/* =========================
   HERO
========================= */

.hero{

    text-align:center;

    padding:90px 20px 60px;

    max-width:1000px;

    margin:0 auto;
}

.hero h1{

    font-size:58px;

    font-weight:800;

    color:#111827;

    line-height:1.1;

    margin-bottom:20px;

    letter-spacing:-2px;
}

.hero p{

    font-size:20px;

    color:#6b7280;

    max-width:700px;

    margin:0 auto;

    line-height:1.8;
}

/* =========================
   TOOLS GRID
========================= */

.tools-grid-page{

    max-width:1300px;

    margin:0 auto 80px;

    padding:0 24px;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:20px;
}

.tool-item{

    background:white;

    border:1px solid #e5e7eb;

    border-radius:18px;

    min-height:95px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:20px;

    text-decoration:none;

    color:#111827;

    font-size:17px;

    font-weight:700;

    transition:.3s;

    box-shadow:
    0 4px 12px rgba(0,0,0,.03);
}

.tool-item:hover{

    transform:translateY(-6px);

    color:#ef4444;

    border-color:#ef4444;

    box-shadow:
    0 20px 35px rgba(0,0,0,.08);
}

/* Colored Top Borders */

.tool-item:nth-child(4n+1){
    border-top:4px solid #ef4444;
}

.tool-item:nth-child(4n+2){
    border-top:4px solid #3b82f6;
}

.tool-item:nth-child(4n+3){
    border-top:4px solid #22c55e;
}

.tool-item:nth-child(4n+4){
    border-top:4px solid #f97316;
}

/* =========================
   FOOTER
========================= */

.footer{

    background:#111827;

    color:white;

    margin-top:80px;
}

.footer-container{

    max-width:1300px;

    margin:auto;

    padding:60px 24px;

    display:grid;

    grid-template-columns:
    2fr 1fr 1fr 1fr;

    gap:40px;
}

.footer-brand img{

    height:80px;

    background:white;

    padding:6px;

    border-radius:10px;

    margin-bottom:18px;
}

.footer-brand p{

    color:#9ca3af;

    line-height:1.8;

    max-width:320px;
}

.footer-column{

    display:flex;

    flex-direction:column;

    position:relative;

    padding-left:30px;
}

.footer-column::before{

    content:"";

    position:absolute;

    left:0;

    top:10px;

    width:1px;

    height:80%;

    background:
    rgba(255,255,255,.12);
}

.footer-column h3{

    margin-bottom:20px;

    font-size:18px;

    font-weight:700;
}

.footer-column a{

    color:#9ca3af;

    text-decoration:none;

    margin-bottom:12px;

    transition:.3s;
}

.footer-column a:hover{

    color:#ef4444;
}

.footer-bottom{

    border-top:1px solid #374151;

    text-align:center;

    padding:20px;
}

.footer-bottom p{

    color:#9ca3af;

    font-size:14px;
}

/* =========================
   TABLET
========================= */

@media(max-width:992px){

    .footer-container{

        grid-template-columns:
        repeat(2,1fr);
    }

    .hero h1{

        font-size:48px;
    }
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .header{

        flex-direction:column;

        gap:15px;

        padding:15px;
    }

    .logo img{

        height:70px;
    }

    .hero{

        padding:60px 20px 40px;
    }

    .hero h1{

        font-size:38px;
    }

    .hero p{

        font-size:16px;
    }

    .tools-grid-page{

        grid-template-columns:1fr;
    }

    .footer-container{

        grid-template-columns:1fr;

        text-align:center;
    }

    .footer-brand p{

        max-width:100%;

        margin:auto;
    }

    .footer-brand img{

        height:60px;
    }

    .footer-column{

        padding-left:0;
    }

    .footer-column::before{

        display:none;
    }
}