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

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem;
}

h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
}

/* Hero Section Styling */

.hero .logo {
  max-width: 180px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  color: #555;
}

.btn-primary {
  display: inline-block;
  background-color: #e63946;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #d62839;
}

/* Project Section */

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #7a0f15;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #7a0f15;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: transparent;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.section-description {
  color: #4b5563;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.projects h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.projects p {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.project-card .tag {
  font-size: 0.85rem;
  color: #e63946;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Placeholder Styles */
.placeholder .placeholder-box {
  width: 100%;
  height: 180px;
  background: #e0e0e0;
  border-radius: 8px;
  margin-bottom: 1rem;
}
/* Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
}

/* Base Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: #f1f1f1;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  padding: 0px 8px;
  z-index: 1;
}
.hamburger .bar {
  width: 100%;
  height: 3px;
  background-color: #4b5563; 
  margin: 3px 0;
  transition: all 0.4s ease;
}

/* Animate into "X" */
.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* Mobile Nav */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 75%;
    max-width: 400px;
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    transition: right 0.4s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 2000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin-bottom: 1.2rem;
  }

  .nav-button {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  /* Overlay when menu is open */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1000;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* Nav container */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo size */
.nav-logo img {
  height: 60px;
}


/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

/* Nav link styling */
.nav-menu a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

/* Light red hover for nav menu items */
.nav-menu li a:hover {
  color: #d60000;            /* Optional: red text on hover */
  transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
  .nav-menu li a:hover {
    background-color: #ffe5e5;
  border-radius: 6px;
  padding: 6px 12px;
  transition: background-color 0.3s ease;
  }
}



/* Call to Action Button */
.nav-button {
  background-color: #e63946;
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.nav-button:hover {
  background-color: #d62839;
}


/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}
/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
}

/* Hero Section */
.hero {
  position: relative;
  background: url('https://www.ultra-generation.com/assets/img/hero_01.jpg') center/cover no-repeat;
  min-height: 100vh; /* Full screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
/* Overlay to make text stand out */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 0.5), 
    rgba(0, 0, 0, 0.5)
  );
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-title {
  font-size: 3rem;
  font-weight: 600;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: #fff;
  opacity: 90%;
  margin-bottom: 2rem;
  font-family: 'Inter', sans-serif;
}

.hero-content .btn-primary {
  background-color: #e63946;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.hero-content .btn-primary:hover {
  background-color: #d62839;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.badge {
  display: inline-block;
  border: 1px solid #e63946;
  color: #e63946;
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1rem;
  color: #4b5563;
}
/* Google Font for Poppins ONLY */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');


.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
}

.project-card h3 {
  font-size: 1.1rem;
  margin: 1rem 1rem 0.25rem;
  color: #111827;
}

.project-card .project-type {
  font-size: 0.85rem;
  color: #6b7280;
  margin-left: 1rem;
  display: block;
}

.project-card p {
  font-size: 0.95rem;
  margin: 0.5rem 1rem 1rem;
  color: #4b5563;
}

/* Why Choose Us Section */
.why-us-section {
  padding: 100px 20px;
  background-color: #0d0d0d;
}

.section-label {
  display: inline-block;
  border: 1px solid #e63946;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  background-image: linear-gradient(105deg, #e63946, #be202e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.why-us-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
}ƒ

.section-description {
  font-size: 1rem;
  color: #ccc;
  margin-top: 10px;
  max-width: 640px;
}

.why-us-section .section-description {
  font-size: 1rem;
  color: #808080;
  margin-top: 10px;
  max-width: 640px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  padding: 1.8rem;
  border-radius: 20px;
  background: radial-gradient(circle at top left, #FFE3EA, #FFE3E3, #FFD6FC, #FFC2D7);
  background-size: 300% 300%;
  animation: gradientAnimation 10s ease infinite;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  color: #1f2937;
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.why-card .icon {
  font-size: 1.8rem;
  color: #e63946;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* Scrolling tags section */
.scroll-tags {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 3rem;
}

.tag-track {
  display: flex;
  width: fit-content;
  animation: scrollLoop 20s linear infinite;
}

.scroll-tags:hover .tag-track {
  animation-play-state: paused;
}

.tag-list {
  display: flex;
}

.tag {
display: inline-block;
  white-space: nowrap;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.4rem 1rem;
  margin: 0 0.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 80%;
}

@keyframes scrollLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 20px;
  background-color: #f3f4f6; /* Light neutral tone to distinguish section */
}

.section-header.center {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-text {
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-user img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

/* Our Steps Section */
.steps-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* exactly 2 columns */
  gap: 32px;
  margin-top: 40px;
}

.step-item {
  border: 1px solid #e5e7eb; /* Light gray border */
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}

.step-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ef4444;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-title i {
  font-size: 1.2rem;
  color: #ef4444;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/*FAQ Section*/
.faq-section {
  background: #f9fafb;
  padding: 80px 20px;
  text-align: center;
}

.faq-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.faq-section .section-desc {
  font-size: 1rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto 40px;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #111827;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  padding: 20px;
  max-height: 500px; /* Enough space to reveal content */
}

.faq-item.open .faq-question i {
  transform: rotate(45deg); /* Turns + into − */
}

/*Contact Section*/
.contact-section {
  padding: 80px 20px;
  background: #f3f4f6;
  text-align: left;
}

.contact-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-section .section-desc {
  max-width: 700px;
  margin: 0 auto 10px;
  font-size: 1rem;
  color: #4b5563;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.contact-form .form-group {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}

.contact-form .form-group.full {
  flex: 1 1 100%;
}

.contact-form label {
  margin-bottom: 8px;
  font-weight: 500;
  text-align: left;
  color: #111827;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
  background-color: #ffffff;
}

.contact-form textarea {
  min-height: 120px;
}

.submit-btn {
  padding: 12px 28px;
  background-color: #4f46e5;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #4338ca;
}

.contact-section {
  padding: 80px 50px;
  background: #f3f4f6;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1 1 45%;
}

.contact-info .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-info .section-desc {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 10px;
}

.contact-info .section-note {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 30px;
}

.contact-detail h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 20px;
  color: #111827;
}

.contact-detail p {
  margin-bottom: 6px;
  color: #374151;
}

.contact-form {
  flex: 1 1 45%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-form .form-group {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}

.contact-form .form-group.full {
  flex: 1 1 100%;
}

.contact-form label {
  margin-bottom: 8px;
  font-weight: 500;
  text-align: left;
  color: #111827;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #ffffff;
  resize: vertical;
}

.contact-form textarea {
  min-height: 120px;
}

.contact-detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.contact-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  flex: 1 1 45%;
  
}

.contact-box i {
  font-size: 1.5rem;
  color: #ef4444;
  margin-top: 4px;
}

.contact-box h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-box a {
  color: #808080;
  text-decoration: none;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #ef4444;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #dc2626;
}

@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }
}

/* Footer */
.footer {
  font-family: Inter, sans-serif;
}

/* Main white background footer area */
.footer-main {
  background-color: #ffffff;
  padding: 2rem 1rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo {
  height: 40px;
}

/* Footer Menu */
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid #e6e6e6;
  border-right: 1px solid #e6e6e6;
}

.footer-menu li {
  padding: 0 1rem;
  border-right: 1px solid #e6e6e6;
}

.footer-menu li:last-child {
  border-right: none;
}

.footer-menu a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: #000;
}

/* Social + CTA */
.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-socials a {
  color: #555;
  margin-right: 0.75rem;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: #000;
}

/* Copyright - dark background */
.footer-bottom {
  background-color: #111;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: #ccc;
}
/* Hide mobile social icons on desktop */
.footer-email .mobile-icons {
  display: none;
}

/* Show icons beside email only on mobile */
@media (max-width: 768px) {
  .footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .footer-email .mobile-icons {
    display: flex;
    gap: 10px;
  }

  .footer-email .mobile-icons a {
    color: #111;
    font-size: 1rem;
  }

  .footer-right .footer-socials {
    display: none; /* hide desktop social on mobile */
  }

  .footer-right .btn-primary {
    margin-top: 1rem;
    display: block;
  }
}

/*Scroll to the top*/
#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border: 2px solid #e63946;
  background: transparent;
  color: #e63946;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

#scrollToTop:hover {
  background-color: rgba(230, 57, 70, 0.1);
}
