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

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0e0e10;
  color: #e4e4e7;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background-color: #121214;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.6rem;
  font-weight:600;
  color: #ffffff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #d4d4d8;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    background-color: #1a1a1d;
    position: absolute;
    top: 64px;
    right: 0;
    padding: 1rem 2rem;
    display: none;
  }

  .navbar.active .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: #ffffff;
  }
}

.menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column-reverse; /* Mobile: image below heading */
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  background: radial-gradient(circle at top left, #18181b, #0e0e10);
  min-height: 70vh; /* Better for full height */
  gap: 1rem;
}


/* Add this media query to align side-by-side on bigger screens */
.hero-3d img {
  width: 400px;
  max-width: 100%;
  filter: drop-shadow(0 10px 15px rgb(246, 238, 241));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 4rem;
    gap: 2rem;
  }

  .hero-content, .hero-3d {
    flex: 1;
  }

  .hero-3d {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-3d img {
    width: 100%;
    height: auto;
  }
}




.hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero h1 span {
  color: #f4f4f5;
  font-weight: 700;
}

.hero p {
  font-size: 1.1rem;
  color: #a1a1aa;
  max-width: 600px;
  margin-bottom: 2rem;
}

.cta-button {
  padding: 0.8rem 1.6rem;
  background-color: #ffffff;
  color: #0e0e10;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e4e4e7;
}

/* 3D Placeholder */




/* Footer */
footer {
  background-color: #121214;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: #71717a;
}
/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 64px;
    background-color: #1a1a1d;
    padding: 1rem 2rem;
    border-radius: 0 0 0 10px;
    box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.4);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }
}
/* Services Section */
.services {
  padding: 4rem 2rem;
  background-color: #0e0e10;
  color: #e4e4e7;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background: linear-gradient(to bottom right, #18181b, #121214);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.service-card p {
  font-size: 1rem;
  color: #c0c0c7;
}

/* Hover Effect */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Grid for Tablets and Up */
@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Grid for Large Screens */
@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Services Section --- */
.services {
  padding: 4rem 2rem;
  background-color: #0e0e10;
  color: #e4e4e7;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 1.5rem;
  padding: 2rem;
  color: #fff;
  transform: scale(0.97);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 6px 18px rgba(14, 13, 13, 0.4);
  cursor: pointer;
}

/* Zoom-in on hover */
.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(30, 28, 28, 0.6);
}

.service-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.service-card p {
  font-size: 1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}

/* Hover Effect: Enlarge Card */
.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(246, 243, 243, 0.7);
}

/* Explore Button */
.explore-btn {
  background-color: rgba(240, 234, 234, 0.72);
  color: #060505;
  border: 1px solid #0c0b0bef;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.explore-btn:hover {
  background-color: rgb(254, 252, 252);
  transform: scale(0.97);
}

/* Hidden Detail Section */
.service-details {
  margin-top: 1rem;
  display: none;
  font-size: 0.95rem;
  color: #d4d4d8;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

/* Responsive Grid */
@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Contact Section --- */
.contact {
  padding: 4rem 2rem;
  background-color: #0e0e10;
  color: #e4e4e7;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: #a1a1aa;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  background-color: #18181b;
  border: 1px solid #2a2a2d;
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6366f1;
}

.contact-form button {
  background-color: #ffffff;
  color: #0e0e10;
  border: none;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #e4e4e7;
}



@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #0e0e10;
    padding: 1rem;
    border-radius: 10px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    cursor: pointer;
  }

  nav {
    position: relative;
  }
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

@media (min-width: 769px) {
  .service-box:hover {
    transform: scale(1.05);
    transition: transform 0.4s ease;
  }
}

html {
  font-size: 16px;
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-3d img {
    width: 100%;
    height: auto;
  }

  .contact-form {
    padding: 1rem;
  }
}
/* White glow blink on scroll for service cards */
@keyframes glowFade {
  0% {
    box-shadow: 0 0 12px 3px rgb(255, 253, 253);
  }
  100% {
    box-shadow: none;
  }
}

.service-card.aos-animate {
  animation: glowFade 0.8s ease-out;
}
.logo-img {
  height: 48px;
  width: auto;
  vertical-align: middle;
}