: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;
}

/* ================= MAIN ================= */
.section{
  max-width:1100px;
  margin:80px auto;
  padding:0 20px;
}

.section h1{
  font-size:32px;
  margin-bottom:30px;
  color:var(--accent);
}

/* ================= ARTICLES ================= */
.articles-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

.article-card{
  background:var(--card-light);
  padding:30px;
  border-radius:18px;
  transition:.3s;
}

.article-card:hover{
  transform:translateY(-6px);
  border:1px solid var(--accent);
}

.article-meta{
  display:flex;
  gap:10px;
  margin-bottom:15px;
}

.badge{
  font-size:12px;
  padding:4px 12px;
  border-radius:20px;
}

.badge.category{
  background:rgba(0,209,209,.15);
  color:var(--accent);
}

.badge.new{
  background:#f5a623;
  color:#000;
}

.article-card h3{
  margin:0 0 12px;
  font-size:20px;
}

.article-card p{
  font-size:15px;
  line-height:1.7;
  opacity:.85;
}

.article-footer{
  display:flex;
  justify-content:space-between;
  margin-top:18px;
  font-size:13px;
  opacity:.75;
}

.article-footer a{
  color:var(--accent);
  text-decoration:none;
  font-weight:bold;
}

/* ================= 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 SIDEBAR ================= */
@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);
  }

  /* ================= CONTENT HEADINGS ================= */
  .about h1,
  .hero h1{
    font-size:28px;
  }

  /* ================= FOOTER ================= */
  .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;
  }
}