/* Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #1a1a1a;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header / Nav */
header {
    background: #111;
    padding: 10px 5%;
    border-bottom: 2px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Press Start 2P', cursive;
    color: #fff;
    font-size: 16px;
    margin-bottom: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #00ffff;
    text-shadow: 0 0 8px #ff00ff;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    padding: 140px 10%;
    background-image: url("images/backgroundsec1.png");
    background-size: cover;
    background-position: center;
    color: white;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero>* {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-family: 'Press Start 2P', cursive;
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
}

.hero span {
    color: #00ffff;
    text-shadow: 0 0 10px #ff00ff;
}

.hero p {
    color: #ccc;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border: 2px solid #555;
    transition: 0.25s;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    margin: 5px;
}

.btn:hover {
    background: #00ffff;
    color: #111;
    box-shadow: 0 0 12px #ff00ff;
}


/* === CATE Section (Adaptive + Dynamic Layout) === */
#CATE {
    background: linear-gradient(145deg, #121212, #1f1f1f);
    border: 2px solid #333;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

/* === Header inside CATE Section === */
.cate-title {
    text-align: center;
    color: #00ffff;
    font-family: 'Press Start 2P', cursive;
    font-size: 18px;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #ff00ff;
    margin-bottom: 2rem;
    position: relative;
}

/* Optional glowing underline 
.cate-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    box-shadow: 0 0 8px #00ffff;
}
*/

#CATE .blog-layout {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

#CATE h2 {
    color: #00ffff;
    text-shadow: 0 0 8px #ff00ff;
}

#CATE p,
#CATE li,
#CATE small {
    color: #ccc;
}

/* Dynamic grid that adapts automatically */
.blog-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    align-items: start;
}
.blog-layout a,p,h2{
    text-decoration: none;
}

/* Each card-like section inside */
.blog-layout section {
    background: #1c1c1c;
    border: 2px solid #2a2a2a;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

/* Smooth glowing hover */
.blog-layout section:hover {
    border-color: #00ffff;
    box-shadow: 0 0 15px #ff00ff;
}

/* Title style */
.blog-layout h2 {
    color: #00ffff;
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    margin-bottom: 1rem;
}

/* Content inside cards */
.blog-layout p,
.blog-layout li,
.blog-layout small {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
}

.welcome,
.what-we-do,
.numbers,
.concept {
    background: transparent;
}

.welcome h2,
.what-we-do h2 {
    color: #00ffff;
}

/* For stats/numbers section */
.numbers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}


.numbers .stat {
    font-size: 1.8rem;
    font-family: 'Press Start 2P', cursive;
}

.numbers small {
    display: block;
    font-size: 12px;
    color: #aaa;
}

.concept {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.concept-box {
    flex: 1 1 250px;
    background: #222;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 1rem;
    font-size: 0.9rem;
    text-align: center;
    transition: 0.3s;
}

.concept-box:hover {
    border-color: #00ffff;
    box-shadow: 0 0 12px #ff00ff;
}

/* Section Base Style */
.section {
    padding: 100px 10%;
    border-top: 2px solid #333;
    text-align: center;
}

.section h2 {
    font-family: 'Press Start 2P', cursive;
    margin-bottom: 20px;
    color: #fff;
    font-size: 16px;
}

.section p {
    max-width: 700px;
    margin: 0 auto;
    color: #bbb;
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: #2a2a2a;
    border: 2px solid #444;
    padding: 20px;
    border-radius: 10px;
    transition: 0.25s;
}

.card:hover {
    border-color: #00ffff;
    box-shadow: 0 0 12px #ff00ff;
}

.card h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    margin-bottom: 10px;
    color: #fff;
}

.card p {
    color: #ccc;
    margin-bottom: 15px;
}

.read-btn {
    color: #00ffff;
    text-decoration: none;
    font-size: 12px;
    font-family: 'Press Start 2P', cursive;
}

.read-btn:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #00ffff;
}

/* Team */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.member1 {
    text-align: center;
}

.avatar1 {
    width: 80px;
    height: 80px;
    background-image: url("images/PAWAN.jpg");
      background-size: cover;
    background-position: center;
    border: 2px solid #666;
    border-radius: 8px;
    margin: 0 auto 10px;
}
.avatar2 {
    width: 80px;
    height: 80px;
    background-image: url("images/suvam.jpg") ;
    background-size: cover;
    background-position: centre;
    
    border: 2px solid #666;
    border-radius: 8px;
    margin: 0 auto 10px;
}

/* Footer */
footer {
    background: #111;
    text-align: center;
    padding: 25px;
    border-top: 2px solid #333;
    color: #777;
    font-size: 12px;
}

.stor{
    width: 150px;
    height: 150px;
    background-image: url("images/thestory.png");
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin: 0 auto 10px;
}
.mov{
    width: 150px;
    height: 150px;
    background-image: url("images/movies1.webp");
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin: 0 auto 10px;
}
.boo{
    width: 150px;
    height: 150px;
    background-image: url("images/book.png");
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin: 0 auto 10px;
}
.news{
    width: 150px;
    height: 150px;
    background-image: url("images/news.png");
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin: 0 auto 10px;
}

.cam{
    width: 150px;
    height: 150px;
    background-image: url("images/camera.png");
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin: 0 auto 10px;
}
.uti{
    width: 150px;
    height: 150px;
    background-image: url("images/utility.png");
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin: 0 auto 10px;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }

    .hero {
        padding: 100px 10%;
    }

    .section {
        padding: 60px 5%;
    }

    .nav-links {
        justify-content: center;
        gap: 12px;
    }

    .hero h2 {
        font-size: 16px;
    }

    .numbers .stat {
        font-size: 1.5rem;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-layout section {
        padding: 1rem;
    }
}

/* ======== Neon-Themed Responsive Hamburger Menu (Retro Blocky Style) ======== */

/* Hide hamburger on desktop *//*
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1100;
  }
  
  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #00ffff;
    border-radius: 6px;
    box-shadow: 0 0 6px #00ffff, 0 0 10px #ff00ff;
    transition: 0.3s ease;
  }
  
  
  @media (max-width: 768px) {
    .hamburger {
      display: flex;
    }
  
    /* Hidden by default */
    /*
    .nav-links {
      position: fixed;
      top: 58px;
      right: 0;
      width: 240px;
      background: rgba(17, 17, 17, 0.85);
      backdrop-filter: blur(14px);
      border-left: 2px solid #00ffff;
      border-top: 2px solid #ff00ff;
      border-radius: 0 0 0 14px;
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
      padding: 20px;
      display: none;
      animation: neonSlideIn 0.3s ease forwards;
      box-shadow: -4px 4px 20px rgba(0, 255, 255, 0.2),
                  -6px 6px 30px rgba(255, 0, 255, 0.15);
      z-index: 1000;
    }
  
    @keyframes neonSlideIn {
      from {
        opacity: 0;
        transform: translateX(25px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }
  
    /* Show when active */
    .nav-links.active {
      display: flex;
    }
  
    /* ======== Blocky Retro Buttons for Links ======== */
    /*
    .nav-links a {
      display: inline-block;
      width: 100%;
      font-family: 'Press Start 2P', cursive;
      font-size: 10px;
      letter-spacing: 0.5px;
      color: #00ffff;
      background: #1a1a1a;
      border: 2px solid #00ffff;
      border-radius: 6px;
      padding: 10px;
      text-decoration: none;
      text-align: center;
      text-transform: uppercase;
      box-shadow: 0 0 6px #00ffff, inset 0 0 6px #ff00ff;
      transition: all 0.25s ease;
    }
  
    .nav-links a:hover {
      background: #00ffff;
      color: #111;
      border-color: #ff00ff;
      box-shadow: 0 0 10px #ff00ff, inset 0 0 8px #00ffff;
      transform: translateY(-2px);
    }
  
    /* ======== Hamburger transforms into X ======== 
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 6px);
      box-shadow: 0 0 10px #ff00ff;
    }
  
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
  
    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
      box-shadow: 0 0 10px #ff00ff;
    }
  
    /* Optional fancy entrance for the whole menu 
    .nav-links.active a {
      animation: neonLinkPop 0.25s ease forwards;
    }
  
    @keyframes neonLinkPop {
      from {
        opacity: 0;
        transform: scale(0.9);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }
  }
*/
  /* ======== Neon-Themed Responsive Hamburger Menu (Retro + CRT Flicker) ======== */

/* Hide hamburger on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1100;
  }
  
  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #00ffff;
    border-radius: 6px;
    box-shadow: 0 0 6px #00ffff, 0 0 10px #ff00ff;
    transition: 0.3s ease;
  }
  
  /* ======== Mobile Styles ======== */
  @media (max-width: 768px) {
    .hamburger {
      display: flex;
    }
  
    /* Hidden by default */
    .nav-links {
      position: fixed;
      top: 58px;
      right: 0;
      width: 240px;
      background: rgba(17, 17, 17, 0.9);
      backdrop-filter: blur(14px);
      border-left: 2px solid #00ffff;
      border-top: 2px solid #ff00ff;
      border-radius: 0 0 0 14px;
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
      padding: 20px;
      display: none;
      animation: crtFlicker 0.45s ease forwards;
      box-shadow: -4px 4px 20px rgba(0, 255, 255, 0.2),
                  -6px 6px 30px rgba(255, 0, 255, 0.15);
      z-index: 1000;
    }
  
    /* ======== CRT Flicker Effect ======== */
    @keyframes crtFlicker {
      0% {
        opacity: 0;
        transform: scaleY(0.2) translateX(20px);
        filter: brightness(2);
      }
      15% {
        opacity: 1;
        transform: scaleY(1.1);
        filter: brightness(3);
      }
      25% {
        opacity: 0.4;
        transform: scaleY(0.8);
        filter: brightness(1.2);
      }
      40% {
        opacity: 1;
        transform: scaleY(1);
      }
      100% {
        opacity: 1;
        transform: scaleY(1);
        filter: brightness(1);
      }
    }
  
    /* Show when active */
    .nav-links.active {
      display: flex;
    }
  
    /* ======== Blocky Retro Buttons for Links ======== */
    .nav-links a {
      display: inline-block;
      width: 100%;
      font-family: 'Press Start 2P', cursive;
      font-size: 10px;
      letter-spacing: 0.5px;
      color: #00ffff;
      background: #1a1a1a;
      border: 2px solid #00ffff;
      border-radius: 6px;
      padding: 10px;
      text-decoration: none;
      text-align: center;
      text-transform: uppercase;
      box-shadow: 0 0 6px #00ffff, inset 0 0 6px #ff00ff;
      transition: all 0.25s ease;
      animation: neonLinkPop 0.4s ease forwards;
    }
  
    .nav-links a:hover {
      background: #00ffff;
      color: #111;
      border-color: #ff00ff;
      box-shadow: 0 0 10px #ff00ff, inset 0 0 8px #00ffff;
      transform: translateY(-2px);
    }
  
    /* ======== Hamburger transforms into X ======== */
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 6px);
      box-shadow: 0 0 10px #ff00ff;
    }
  
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
  
    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
      box-shadow: 0 0 10px #ff00ff;
    }
  
    /* ======== Neon Button Pop Animation ======== */
    @keyframes neonLinkPop {
      0% {
        opacity: 0;
        transform: scale(0.8);
        filter: brightness(2);
      }
      50% {
        opacity: 0.7;
        transform: scale(1.05);
        filter: brightness(3);
      }
      100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
      }
    }
  }
  
  