/* =====================================================
   RESPONSIVE LAYER (NON-DESTRUCTIVE)
   This file ONLY adjusts layout on small screens
===================================================== */

/* ---------- GLOBAL FIXES ---------- */
img {
  max-width: 100%;
  height: auto;
}

section {
  overflow-x: hidden;
}

.mobile-toggle{
        display: none;
    }

/* ---------- NAVBAR ---------- */
@media (max-width: 992px) {
  .navbar {
    padding: 0 5%;
  }

  .logo-img {
    height: 64px;
    width: auto;
    padding-top: 0;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 24px 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
  }
}

/* ---------- HERO ---------- */
@media (max-width: 992px) {
  .hero {
    height: auto;
    padding: 120px 6% 80px;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-content {
    max-width: 100%;
  }
}

/* ---------- FAANG FEATURES ---------- */
@media (max-width: 992px) {
  .faang-list {
    grid-template-columns: 1fr;
  }

  .faang-item {
    padding: 32px;
  }
}

/* ---------- ECOM GRID ---------- */
@media (max-width: 768px) {
    .digital-right {
        grid-template-columns: repeat(1, 1fr);
    }
  .ecom-header h2 {
    font-size: 30px;
  }

  .ecom-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- DIGITAL + CONTACT ---------- */
@media (max-width: 992px) {
    .mobile-toggle{
        display: block;
    }
  .digital-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .digital-left h2,
  .contact-info h2 {
    font-size: 30px;
  }
}

/* ---------- FOOTER ---------- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
}

.menu-icon {
  width: 22px;
  height: 2px;
  background: #FBF9E4;
  display: block;
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  background: #FBF9E4;
  left: 0;
  transition: transform 0.3s ease, top 0.3s ease;
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

/* Animate to X when active */
.mobile-toggle.active .menu-icon {
  background: transparent;
}

.mobile-toggle.active .menu-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-toggle.active .menu-icon::after {
  transform: rotate(-45deg);
  top: 0;
}
