/* =========================
   HEADER SECTION
========================= */

.header-section {
  position: fixed;
  width: 100%;
  z-index: 50;
}

/* 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%;
}

.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;
}



/* ========= Project Hero =========== */

.projects-hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 8%;
  background-image: url("../assets/bg/projects.png");
  background-size: cover;
}

.projects-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

.projects-hero span {
  color: #00ff9d;
}

.projects-hero p {
  max-width: 640px;
  margin-top: 1rem;
  opacity: 0.85;
}



/* ========= Project Filter ========== */
.project-filters {
  display: flex;
  gap: 1rem;
  padding: 2rem 8%;
  flex-wrap: wrap;
}

.project-filters button {
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  border: 1px solid #ffffff20;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.project-filters .active,
.project-filters button:hover {
  background: #00ff9d;
  color: #000;
}

/* ============== Project Gallery  Cards ================ */
:root {
  --columns: 6;          /* how many images per row */
  --row-height: 300px;   /* image height (increase for bigger images) */
}


.works-gallery {
  padding: 4rem 8%;
  display: grid;
  grid-template-columns: repeat(var(--columns), 1fr);
  grid-auto-rows: var(--row-height);
  gap: 1.2rem;
  margin:auto;
}

.work-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 14px;
  text-align:center;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}


.work-item::after {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 255, 157, 0.85),
    rgba(0, 0, 0, 0.2)
  );
  color: #000;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-item:hover::after {
  opacity: 1;
}

.work-item:hover img {
  transform: scale(1.08);
}


/* ============ Pop Up Style ============= */

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  animation: fadeZoom 0.4s ease;
}

@keyframes fadeZoom {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
	:root {
  --columns: 2;          /* how many images per row */
  --row-height: 260px;   /* image height (increase for bigger images) */
}

/* ======== filters ============= */

.project-filters {
  display: flex;
  gap: 1rem;
  padding: 1rem 6%;
  flex-wrap: wrap;
}

.project-filters button {
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  border: 1px solid #ffffff20;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

}










/* ================= CTA challange ====================== */
.case-study-cta {
  padding: 6rem 8%;
  background: radial-gradient(
    circle at center,
    rgba(0, 255, 157, 0.18),
    #050505 70%
  );
  text-align: center;
}

.case-study-cta {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 40px;
  background: #00ff9d;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 255, 157, 0.35);
}


/* ============= Personal Works ============ */

.personal-works {
  padding: 6rem 8%;
  background: #050505;
}

.personal-header {
  max-width: 620px;
  margin-bottom: 3rem;
}

.personal-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
}

.personal-header p {
  opacity: 0.75;
  margin-top: 0.6rem;
}

/* Gallery */
.personal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.personal-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.personal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.personal-item img:hover{
 transform: scale(1.08);
}

/* ================ personal works pop-up ================== */

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.image-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  animation: zoomIn 0.35s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/* ================= 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;
}
