html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Open Sans', sans-serif;
  background: #0d0d0d;
  color: #fff;
  overflow-x: hidden;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 60px;
  background: black;

  border-bottom: none;
  z-index: 1000;
  transform: translateY(-100%);
  transition: background 0.5s ease, border-bottom 0.5s ease, transform 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.navbar.show {
  transform: translateY(0);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  gap: 5px;
}

.logo-g {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: none;
}

.logo-text {
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

/* Desktop Navigation Links */
.nav-links {
  display: flex;
  gap: 10px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 20px;
  transition: color 0.3s, transform 0.3s;
  font-family: 'Poppins', sans-serif;
}

.dropdown > a {
  position: relative;
  text-decoration: none;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 20px;
  transition: color 0.3s, transform 0.3s;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-links a.active,
.nav-links a:hover {
  color: #fff;
  transform: scale(1.1);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.nav-links a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  left: 50%;
  top: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 25%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  z-index: -1;
}

.nav-links a:hover::before {
  width: 100px;
  height: 100px;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.9);
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  border-radius: 8px;
  padding: 10px 0;
  left: 0;
  top: 100%;
  margin-top: 5px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a,
.sub-dropdown-content a {
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: background-color 0.3s, color 0.3s, padding-left 0.3s;
  position: relative;
  z-index: 1;
}

.dropdown-content a:hover,
.sub-dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding-left: 25px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.sub-dropdown {
  position: relative;
}

.sub-dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.95);
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  border-radius: 8px;
  padding: 10px 0;
  left: 100%;
  top: 0;
  margin-left: 5px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-dropdown:hover .sub-dropdown-content {
  display: block;
}

.sub-dropdown-left .sub-dropdown-content {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 5px;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hamburger-menu.active .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 100px;
  left: 0;
  width: 100%;
  background: rgba(20, 20, 20, 0.98);
  z-index: 999;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav ul li a {
  padding: 15px 20px;
  display: block;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.mobile-nav ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Dropdown Specific Styles */
.mobile-nav .sub-menu {
  display: none;
  background: rgba(30, 30, 30, 0.95);
  padding-left: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav .sub-menu.active {
  display: block;
}

.mobile-nav .sub-menu li a {
  padding: 10px 20px;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.mobile-nav .sub-menu-level-2 {
  display: none;
  background: rgba(40, 40, 40, 0.98);
  padding-left: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.mobile-nav .sub-menu-level-2.active {
  display: block;
}

.mobile-nav .sub-menu-level-2 li a {
  font-size: 0.85rem;
  padding: 8px 20px;
}

/* ==================== RESPONSIVE MEDIA QUERIES ==================== */
@media (max-width: 768px) {
  .navbar {
    left: 0;
    right: 0;
    padding: 10px 30px;
  }

  .nav-links {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .lux-btn {
    display: none;
  }
}

/* ==================== PROJECT SECTIONS ==================== */

/* Projects Consultancy Section */
.projects-consultancy {
  padding: 100px 0;
  background: #0d0d0d;
  color: #fff;
  text-align: center;
}

.projects-consultancy .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.consultancy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  justify-content: center;
}

.consultancy-item {
  background: rgba(20, 20, 20, 0.8);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 400px;
  margin: 0 auto;
}

.consultancy-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.consultancy-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.consultancy-info {
  padding: 25px;
  text-align: left;
}

.consultancy-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #fff;
}

.consultancy-info p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more-btn {
  display: inline-block;
  padding: 10px 25px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.read-more-btn:hover {
  background: #ccc;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* ==================== DEVELOPERS/CLIENTS SECTION ==================== */
.developers-section {
  padding: 80px 0;
  background: #0d0d0d;
  color: #fff;
  text-align: center;
}

.developers-section h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.developers-section p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 40px;
}

.developers-carousel-container {
  overflow: hidden;
  width: 100%;
  padding: 0 20px;
}

.developers-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.developers-carousel::-webkit-scrollbar {
  display: none;
}

.developers-carousel-inner {
  display: flex;
  gap: 30px;
  padding: 10px;
}

.developer-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: rgba(20, 20, 20, 0.8);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 250px;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.developer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.developer-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 15px;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.developer-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 5px;
}

.developer-card p {
  font-size: 0.95rem;
  color: #bbb;
  line-height: 1.5;
}

/* ==================== GALLERY PAGE ==================== */
.gallery-hero {
  height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('hero-bg.jpg') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.gallery-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  margin-bottom: 15px;
  letter-spacing: 3px;
}

.gallery-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  line-height: 1.6;
  color: #ccc;
}

.gallery-categories {
  padding: 80px 0;
  background: #0d0d0d;
  text-align: center;
}

.gallery-categories h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 40px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.category-card {
  display: block;
  background: rgba(20, 20, 20, 0.8);
  color: #fff;
  text-decoration: none;
  padding: 30px;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.category-card:hover {
  transform: translateY(-8px);
  background: rgba(30, 30, 30, 0.9);
}

.gallery-section {
  margin-bottom: 0px;
  padding: 30px 0;
  background: #111;
  color: #fff;
  text-align: center;
}

.gallery-section:nth-of-type(odd) {
  background: #0d0d0d;
}

.gallery-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 50px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  color: #fff;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.gallery-item h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.gallery-item p {
  font-size: 0.95rem;
  color: #ccc;
}

/* ==================== CALL TO ACTION ==================== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('hero-bg.jpg') no-repeat center center/cover;
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #ccc;
}

.btn-primary {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: #eee;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3);
}

/* ==================== FOOTER ==================== */
footer {
  background: #000;
  padding: 80px 0;
  border-top: 1px solid #333;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 768px) {
  .consultancy-grid {
    grid-template-columns: 1fr;
  }

  .consultancy-item {
    max-width: 90%;
  }

  .developers-section h1 {
    font-size: 2.5rem;
  }

  .developers-section p {
    font-size: 1rem;
  }

  .developers-carousel-inner {
    gap: 20px;
  }

  .developer-card {
    width: 220px;
  }

  .gallery-hero h1 {
    font-size: 3rem;
  }

  .gallery-hero p {
    font-size: 1rem;
  }

  .gallery-categories h2,
  .gallery-section h2,
  .cta-section h2 {
    font-size: 2.2rem;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 200px;
  }

  .btn-primary {
    padding: 12px 30px;
    font-size: 1rem;
  }
}