*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
    /* width: 100%; */
}

body{
    background:radial-gradient(circle at top,#0f1b3d 0%,#050816 60%);
    color:#fff;
}

/* HEADER */
header{
    padding:20px 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:linear-gradient(90deg,#0b1437,#0a0f2c);
}
.logo{
    font-size:22px;
    font-weight:700;
    color:#8bb3ff;
    text-decoration: none;
}
.logo span{color:#a855f7;}
.logo-icon{
  width: 19% !important;
}
nav ul{
    list-style:none;
    display:flex;
    gap:30px;
}
nav ul li a{
    color:#e5e7eb;
    text-decoration:none;
    font-size:15px;
}
/* nav ul li a.active{
    background:linear-gradient(135deg,#6366f1,#a855f7);
    padding:10px 18px;
    border-radius:8px;
} */


/* CATEGORY GRID */
.categories{
    padding:60px;
}
.categories h1{
    color: #8bb3ff;
    font-size:36px;
    margin-bottom:30px;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
    margin-bottom:60px;
}
/* .category-card{
    margin-bottom: 20px;
    padding:30px 20px;
    border-radius:14px;
    text-align:center;
    font-weight:600;
    cursor:pointer;
} */
 .category-card {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: #4f8cff;
  box-shadow: 0 0 25px rgba(79, 140, 255, 0.25);
}

.categories-wrapper {
  display: flex;
  width: 100%;
}

.column {
  width: 45%;
  margin-left: 45px;
}

.card-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* .category-icon {
  font-size: 28px;
  opacity: 0.85;
} */

.category-text h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

.category-text p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Hover polish */
.category-card:hover .category-text h3 {
  color: #4f8cff;
}

/* .category-card:hover .category-icon {
  transform: scale(1.1);
} */

.category-icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
  color: #7da7ff;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  color: #4f8cff;
  filter: drop-shadow(0 0 6px rgba(79, 140, 255, 0.6));
  transform: scale(1.15);
}


/* COLORS */
/* .ai{background:#2ea3f2;}
.cyber{background:#f24667;}
/* .gadgets{background:#8b63f6;}
.programming{background:#20c56b;} */
/* .cloud{background:#2f93f0;}
.software{background:#ff8a00;} */
/* .trends{background:#11b7b7;}
.blockchain{background:#9b5cf6;} */
/* .data{background:#f24583;}
.network{background:#5676f3;} */ */

/* ARTICLES */
.articles{
    padding:0 60px 60px;
}
.articles h2{
    font-size:28px;
    margin-bottom:25px;
}

.article-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.article-card{
    background:#0b1437;
    /* height: 38%; */
    border-radius:16px;
    overflow:hidden;
    display:none;
}
img{
    width: 100%;
}
.article-image{
    height:auto;
    /* background:#8b7b6e; */
}
.article-content{
    padding:20px;
}
.article-content h3{
    font-size:18px;
    margin-bottom:10px;
}
.article-content p{
    font-size:14px;
    color:#cbd5f5;
}
.article-content p{
    display:-webkit-box;
    -webkit-line-clamp:2;     /* show only 2 lines */
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.article-footer{
    display:flex;
    justify-content:space-between;
    margin-top:15px;
    font-size:13px;
    color:#8ea2d9;
}
/* FOOTER */
footer{
    background:#070b1f;
    padding:50px 60px;
    margin-top:40px;
}
.footer-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}
.footer-about h3{
    font-size:22px;
    margin-bottom:12px;
    color:#8bb3ff;
}
.footer-about p{
    color:#cbd5f5;
    line-height:1.6;
    max-width:420px;
}
.footer-links h3{
    font-size:20px;
    margin-bottom:12px;
}
.footer-links ul{
    list-style:none;
}
.footer-links ul li{
    margin-bottom:10px;
}
.footer-links ul li a{
    text-decoration:none;
    color:#cbd5f5;
    font-size:15px;
}
.footer-bottom{
    text-align:center;
    margin-top:40px;
    font-size:14px;
    color:#8ea2d9;
}
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}
/* =========================
   RESPONSIVE DESIGN
========================= */

/* =========================
   COMPLETE MOBILE CSS
========================= */

@media (max-width: 768px) {

  /* RESET OVERFLOW */
  body {
    overflow-x: hidden;
  }

  /* =================
     HEADER / NAVBAR
  ================== */
  header {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 20px;
  }

  .menu-toggle {
    display: block;
    font-size: 26px;
    cursor: pointer;
  }

  nav {
    width: 100%;
    display: none;
    margin-top: 15px;
  }

  nav.show {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 14px;
    background: #0a0f2c;
    padding: 18px;
    border-radius: 12px;
  }

  nav ul li a {
    font-size: 16px;
  }

  /* =================
     CATEGORIES
  ================== */
  .categories {
    padding: 40px 20px;
  }

  .categories h1 {
    font-size: 28px;
    margin-bottom: 22px;
    text-align: center;
  }

  /* Disable columns layout */
  .categories-wrapper {
    flex-direction: column;
  }

  .column {
    width: 100%;
    margin-left: 0;
  }

  /* Grid = single column */
  .category-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .category-card {
    padding: 22px;
    border-radius: 14px;
  }

  .card-content {
    gap: 14px;
  }

  .category-icon {
    width: 24px;
    height: 24px;
  }

  .category-text h3 {
    font-size: 1.1rem;
  }

  .category-text p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* =================
     ARTICLES
  ================== */
  .articles {
    padding: 0 20px 40px;
  }

  .articles h2 {
    font-size: 22px;
    text-align: center;
  }

  .article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .article-content h3 {
    font-size: 16px;
  }

  .article-content p {
    font-size: 13px;
  }

  /* =================
     FOOTER
  ================== */
  footer {
    padding: 40px 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-about p {
    margin: 0 auto;
  }

  .footer-links ul li a {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}

/* =========================
   SMALL PHONES (≤ 480px)
========================= */

@media (max-width: 480px) {

  .logo {
    font-size: 18px;
  }

  .categories h1 {
    font-size: 24px;
  }

  .category-card {
    padding: 18px;
  }

  .category-text h3 {
    font-size: 1rem;
  }

  .category-text p {
    font-size: 0.8rem;
  }

  .article-content h3 {
    font-size: 15px;
  }

  .footer-about h3 {
    font-size: 20px;
  }
}

