* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #020617;
  color: #fff;
  scroll-behavior: smooth;
overflow-x: hidden;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.3rem;
}

.logo img {
  width: 40px;
  height: 40px;
}

.nav-links a {
  margin: 0 15px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff5e00;
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 600;
}

.highlight {
  color: #ff5e00;
}

.hero p {
  font-size: 1.2rem;
  margin: 15px 0 30px;
  color: #d1d5db;
}

.cta {
  background: #ff5e00;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta:hover {
  background: #ffa04d;
}

/* Sections Shared */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 100%;
}

.service-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px;
  transition: all 0.3s ease;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.service-box:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 94, 0, 0.6);
  box-shadow: 0 0 25px rgba(255, 94, 0, 0.2);
}

.service-box .icon {
  font-size: 2.2rem;
  color: #ff6600;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.service-box:hover .icon {
  transform: scale(1.15) rotate(5deg);
}

@media (max-width: 1024px) {
  .services-grid {
    flex-wrap: wrap; /* wrap on smaller screens */
  }
  .service-box {
    width: 45%; /* two per row on tablets */
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .service-box h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .service-box p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0;
  }

  .service-box .icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-logo {
    width: 80px;
    margin-bottom: 20px;
  }
}

/* Products */
.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.product-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 25px;
  width: 320px;
  transition: all 0.3s ease;
}

.product-box:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 94, 0, 0.6);
  box-shadow: 0 0 25px rgba(255, 94, 0, 0.2);
}

.icon-wrap {
  font-size: 3rem;
  color: #ff5e00;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.product-box:hover .icon-wrap {
  transform: scale(1.15) rotate(5deg);
}

/* PORTFOLIO */
.portfolio-section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  padding: 40px 30px;
  width: 350px;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 94, 0, 0.6);
  box-shadow: 0 0 25px rgba(255, 94, 0, 0.25);
}

.portfolio-card h3 {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 15px;
}

.portfolio-card p {
  color: #d1d5db;
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

.portfolio-card .tagline {
  color: #ff7733;
  font-style: italic;
  margin-top: 10px;
  font-size: 0.9rem;
}

/* Contact */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ccc;
}

.contact-form button {
  background: #ff5e00;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #ffa04d;
}

.whatsapp {
  display: inline-block;
  margin-top: 20px;
  color: #25D366;
  font-weight: 600;
  text-decoration: none;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
}

.footer-logo {
  width: 60px;
  margin-bottom: 15px;
}

.social-icons a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ff5e00;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.95);
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

/* Make service icons orange */
.service-box .icon {
  font-size: 2.2rem;
  color: #ff6600; /* orange */
  margin-bottom: 15px;
}

/* Center the section titles for Services and Products */
.section-title {
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fff; /* or whatever fits your palette */
}

.portfolio-card h3 .icon {
  color: #ff6600;
  margin-right: 8px;
  font-size: 1.3em;
  vertical-align: middle;
}


