
:root{
  --bg-light:#f5f7fb;
  --text-light:#0b1220;
  --accent:#00d1d1;
  --card-light:#fff;
}

/* ================= BASE ================= */
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:var(--bg-light);
  color:var(--text-light);
}

/* ================= HEADER ================= */
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 20px;
  background:#fff;
  position:sticky;
  top:0;
  z-index:3000;
}

.logo{
  font-size:22px;
  font-weight:bold;
  color:var(--accent);
}
.logo a {
  text-decoration: none;
  color: var(--accent);     
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;       
}

.logo a:hover {
  opacity: 0.85;            
  text-decoration: none;  
}
/* ================= NAV ================= */
nav{
  gap: 20px;
  display:flex;
  align-items:center;
}

nav a{
  text-decoration:none;
  color:inherit;
}

nav a:hover{
  color:var(--accent);
}

/* ================= MENU BUTTON ================= */
.menu-btn{
  display:none; /* ✅ desktop/laptop hidden */
  font-size:26px;
  cursor:pointer;
}

/* ================= PAGE TITLE ================= */
.page-title{
  text-align:center;
  margin:70px 20px 40px;
}

.page-title h1{font-size:36px;}
.page-title p{opacity:.8;}

/* ================= CATEGORY GRID ================= */
.categories{
  max-width:1100px;
  margin:0 auto 80px;
  padding:0 20px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:22px;
}

.category-card{
  background:var(--card-light);
  padding:28px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.08);
  transition:.3s;
}

.category-card:hover{
  transform:translateY(-6px);
  border-color:var(--accent);
}

.category-icon{
  width:48px;
  height:48px;
  background:rgba(0,209,209,.15);
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  font-size:22px;
  margin-bottom:15px;
}

.category-card h3{
  margin:0 0 10px;
}

.category-card a{
  text-decoration:none;
  color:var(--accent);
  font-size:14px;
}

/* ================= FOOTER ================= */

footer{
  background:#fff;
  padding:50px 20px;
  margin-top:80px;
  border-top:1px solid rgba(0,0,0,.1);
}

.footer-container{
  max-width:1100px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
}

.footer-left{
  min-width:260px;
}

.footer-left h3{
  margin-top:0;
  color:var(--accent);
}

.footer-left p{
  font-size:16px;
  line-height:1.7;
  opacity:.85;
  max-width:420px;
}

.footer-right{
  min-width:400px;
}

.footer-links{
  list-style:none;
  padding:0;
}

.footer-links li{
  margin-bottom:10px;
}

.footer-links a{
  text-decoration:none;
  color:inherit;
  font-size:14px;
  opacity:.85;
}

.footer-links a:hover{
  color:var(--accent);
}

.footer-bottom{
  text-align:center;
  margin-top:35px;
  font-size:13px;
  opacity:.6;
}



/* ================= MOBILE ================= */
@media(max-width:768px){

  /* ================= HEADER (WHITE NAVBAR FIX) ================= */
  header{
    position:relative;
    min-height:36px;   
    background:#fff;
    z-index:3000;
  }

  /* ================= MENU BUTTON ================= */
  .menu-btn{
    display:block;
    font-size:28px;
    cursor:pointer;
    user-select:none;
    position:absolute;
    top:22px;
    left:20px;
    z-index:4000;
  }

  /* ================= LOGO / SITE NAME ================= */
  .logo{
    position:absolute;
    top:22px;
    right:20px;
    font-size:22px;
    font-weight:bold;
    color:var(--accent);
    z-index:4000;
  }

  /* ================= MOBILE NAV (SIDE MENU) ================= */
  nav{
    position:fixed;
    top:0;
    left:0;
    width:220px;
    background:#fff;
    padding:40px 20px 20px;
    flex-direction:column;
    display:none;
    z-index:3500;
    box-shadow:4px 0 12px rgba(0,0,0,.15);
  }

  nav.show{
    gap: 0px;
    display:flex;
     transform:translateX(0);
  }

  nav a{
    width:100%;
    text-align:center;
    padding:10px 0;
    font-size:16px;
  }

  nav a:hover{
    color:var(--accent);
  }


  .page-title h1{
    font-size:28px;
  }

  .categories{
    grid-template-columns:1fr;
  }

  /* FOOTER CENTERING */
  .footer-container{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  .footer-left p{
    max-width:100%;
    margin:auto;
  }

  .footer-right{
    min-width:100%;
  }

  .footer-links li{
    margin-bottom:8px;
    list-style:none;
  }

  .footer-bottom{
    font-size:12px;
    margin-top:25px;
  }
}
