/* =========================
   HEADER SECTION
========================= */

.header-section {
  position: fixed;
  width: 100%;
  z-index: 999;
}

/* Gradient overlay behind header */
.header-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.65) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: -1;                                                    
}                                                                                                                                                                                                                      

/* MULTI-COLOR LOGO GLOW */
.header-logo {
  position: relative;
}

.header-logo-glow {
  position: absolute;
  inset: -28px;
  z-index: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 255, 157, 0.45), transparent 65%),
    radial-gradient(circle at 100% 0%, rgba(0, 200, 255, 0.4), transparent 65%),
    radial-gradient(circle at 50% 100%, rgba(160, 100, 255, 0.35), transparent 65%);
  filter: blur(28px);
  animation: logoGlowShift 10s ease-in-out infinite alternate;
}

@keyframes logoGlowShift {
  0% {
    transform: translate(-10px, -8px) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(5px, 0px) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate(10px, 10px) scale(1);
    opacity: 0.9;
  }
}

/* NAV MENU (DESKTOP) */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* <<< CONTROL MENU SPACING HERE */
}

.header-nav-item {
  position: relative;
  color: #ffffff;
  font-weight: 300;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.header-nav-item::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  height: 2px;
  width: 0%;
   transform: translateX(-50%);
  background: #00ff9d;
  transition: width 0.35s ease;
}

.header-nav-item:hover {
  color: #00ff9d;
}

.header-nav-item:hover::after {
  width: 100%;
}

.header-nav-item.active {
  color: #00ff9d;
  font-weight: 600;
}

.header-nav-item.active::after {
  width: 100%;
}

/* SOCIAL ICONS */
.header-social-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1); /* force white */
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.header-social-icon:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* MOBILE NAV */
#mobileMenu{
	background-color:rgba(0,0,0,0.1);
}
.header-mobile-nav {
  width: 100%;
  z-index: 999;
}

.header-mobile-item {
  display: block;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s ease;
}

.header-mobile-item.active {
  color: #00ff9d;
}

/* ================= BLOG HERO ================= */
/* ================== Services Hero Section ====================== */
.blog-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
    background-image: url("../assets/bg/blog.png");
  background-size: cover;
   background-repeat: no-repeat;
  text-align: center;
  padding: 20px 20px;
}

.blog-hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}
/* "VISUAL EFFECTS" – animated gradient */
.blog-hero-content h1 span {
  background: linear-gradient(
      90deg,
      #00ff9d,
      #00c3ff,
      #00ff9d,
      #9d70ff
  );
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroGradientMove 6s ease-in-out infinite;
}
@keyframes heroGradientMove {
  0% { background-position: 0% }
  50% { background-position: 100% }
  100% { background-position: 0% }
}


.blog-hero-content p {
  max-width: 700px;
  font-size: 1.1rem;
  color: #cccccc;
}


.blog-container {
  padding: 60px 0;
  width:80%;
  margin:auto;
}

.blog-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 40px;
}
/* ================= BLOG SECTION ================= */
.blog-section {
  padding: 2rem 8%;
}

.blog-layout {
  display: grid;
  grid-template-columns: 2.7fr 1.2fr;
  gap: 4rem;
}

/* ================= BLOG FEED ================= */
.blog-feed {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.blog-item {
  display: block;
  text-decoration: none;
  color: #fff;
  
}
.item_underline {
  display: block;
  width: 100%;
  height: 1px;
  margin-Bottom: 1rem;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 157, 0.35),
    transparent
  );
}
/* ================= IMAGE ZOOM HOVER ================= */

.blog-image {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.blog-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.8s ease;
}

/* Dark overlay for cinematic feel */
.blog-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Hover trigger */
.blog-item:hover .blog-image img {
  transform: scale(1.08);
}

.blog-item:hover .blog-image::after {
  opacity: 1;
}


.blog-text .blog-date {
  color: #00ff9d;
  font-size: 14px;
}

.blog-text h2 {
  font-size: 26px;
  margin: 0.6rem 0;
   transition: color 0.3s ease;
   font-weight:bold;
}


.blog-item:hover h2 {
  color: #00ff9d;
}

.blog-text p {
  max-width: 720px;
  opacity: 0.8;
  line-height: 1.6;
}

/* ================= SIDEBAR ================= */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,255,157,0.2);
  border-radius: 16px;
  padding: 1.6rem;
}

.sidebar-box input {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 30px;
  border: none;
  outline: none;
}

.sidebar-box h4 {
  color: #00ff9d;
  margin-bottom: 1rem;
}

/* ================= LATEST BLOGS ================= */

.latest-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
  text-decoration: none;
  color: #fff;
}

.latest-item span {
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.9;
}

/* Thumbnail wrapper */
.latest-thumb {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #333;
}

/* Image inside thumbnail */
.latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.latest-item:hover .latest-thumb img {
  transform: scale(1.1);
  transition: transform 0.4s ease;
}



/* Categories */
.categories {
  list-style: none;
  padding: 0;
}

.categories li {
  margin-bottom: 0.6rem;
  cursor: pointer;
}

/* ================= RESPONSIVE : TABLET & MOBILE ================= */
@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .blog-sidebar {
    order: 2;
  }

  .blog-feed {
    order: 1;
  }
}

/* ================= RESPONSIVE : MOBILE ================= */
@media (max-width: 768px) {

  .blog-section {
    padding: 3rem 6%;
  }

  .blog-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Blog image height reduced */
  .blog-image img {
    height: 220px;
  }

  /* Blog title scaling */
  .blog-text h2 {
    font-size: 20px;
    line-height: 1.3;
  }

  .blog-text p {
    font-size: 14px;
    max-width: 100%;
  }

  .blog-date {
    font-size: 12px;
  }

  /* Divider spacing adjusted */
  .item_underline {
    margin: 2rem 0;
  }

  /* Sidebar spacing */
  .blog-sidebar {
    gap: 1.5rem;
  }

  .sidebar-box {
    padding: 1.2rem;
  }

  .sidebar-box h4 {
    font-size: 16px;
  }

  /* Latest blog items */
  .latest-item span {
    font-size: 14px;
  }
}

/* ================= EXTRA SMALL DEVICES ================= */
@media (max-width: 480px) {

  .blog-section {
    padding: 0.1rem 5%;
  }

  .blog-image img {
    height: 200px;
  }

  .blog-text h2 {
    font-size: 18px;
  }

  .blog-text p {
    font-size: 13px;
  }

  .sidebar-box input {
    padding: 0.6rem 0.9rem;
  }
}




/* ================= FOOTER ================= */

.footer-section {
  background: radial-gradient(
    ellipse at top,
    rgba(0, 255, 157, 0.06),
    rgba(0, 0, 0, 0.9)
  );
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.2fr;
  gap: 2.5rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Brand */
.footer-logo span img {
	width:150px;
}

 

.footer-desc {
  margin-top: 0.8rem;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
}

/* Headings */
.footer-heading {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

/* Links */
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
  font-size: 14px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #00ff9d;
}

.footer-contact span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* Socials */
.footer-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  color: #000;
  background: #00ff9d;
  border-color: #00ff9d;
}

/* Newsletter */
.footer-newsletter-form {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 6px;
}

.footer-newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  padding: 0.6rem 0.8rem;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-form button {
  background: #00ff9d;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 16px;
  color: #000;
  transition: transform 0.2s ease;
}

.footer-newsletter-form button:hover {
  transform: translateX(2px);
}

/* Bottom bar */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #00ff9d;
}
