/* --- 1. VARIABLES & RESET --- */
:root {
  --primary: #d4af37; /* Metallic Gold */
  --primary-dark: #b8860b; /* Dark Goldenrod */
  --secondary: #1a1a1a; /* Rich Black */
  --bg-body: #0a0a0a; /* Pitch Black */
  --bg-card: #141414; /* Slate Black */
  --text-main: #ffffff;
  --text-muted: #a0a0a0;

  --font-head: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- 2. UTILITY CLASSES --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.2;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.highlight {
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

a {
  text-decoration: none !important;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- 3. NAVIGATION --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.2rem 0;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-main);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

/* --- 4. HERO SLIDER --- */
/* --- 4. HERO SLIDER (Logo-Aligned) --- */
.hero {
  position: relative;
  height: 80vh;
  width: 100%;
  overflow: hidden;
}

/* Keep the nav logo and hero text on the same vertical line */
.hero .container {
  margin-left: 0;
  margin-right: auto;
  max-width: 100%; /* Allows the container to sit at the edge */
  padding-left: 1.5rem; /* Matches your nav padding exactly */
}

/* On very large screens, align with the start of the standard container */
@media (min-width: 1200px) {
  .hero .container {
    padding-left: calc((100vw - var(--container-width)) / 2 + 1.5rem);
  }
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center; /* Vertically centered */
  justify-content: flex-start; /* Aligns content to the start of the container */
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Deeper dark gradient on the left to make gold text pop */
  background: linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: left; /* Essential for logo alignment */
  /* No margin: auto here; let the container handle the left bound */
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  opacity: 0;
  transform: translateX(-40px); /* Entrance from the left */
  transition: 0.8s ease 0.3s;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 2.5rem;
  max-width: 600px;
  opacity: 0;
  transform: translateX(-40px);
  transition: 0.8s ease 0.5s;
}

.slide.active .hero-content h1,
.slide.active .hero-content p {
  opacity: 1;
  transform: translateX(0);
}

.slider-nav {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
  display: flex;
  gap: 1rem;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* --- 5. CORE SERVICES --- */
.section-header {
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.section-header p {
  color: var(--text-muted);
}

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

.service-card {
  background: var(--bg-card);
  padding: 3rem 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- 6. ABOUT US --- */
.about-wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-img {
  flex: 1;
  position: relative;
}

.about-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.about-content {
  flex: 1;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item h4 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.stat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- 7. WHY CHOOSE US --- */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
  margin-top: 3rem;
}

.step {
  position: relative;
  padding: 2rem;
}

.step-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.step-content {
  position: relative;
  z-index: 1;
}
.step-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* --- 8. CTA SECTION --- */
.cta-section {
  background: linear-gradient(135deg, var(--bg-card), var(--secondary));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

/* --- 9. TESTIMONIALS MARQUEE (UPDATED) --- */
.marquee-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  /* Fade effect on sides */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll 40s linear infinite;
}

/* Pause scroll on hover */
.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* Shift half way because content is doubled */
}

.testi-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  width: 400px; /* Fixed width for smooth marquee */
  flex-shrink: 0; /* Prevent squishing */
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stars {
  color: #facc15;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.client-img {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 1.2rem;
}

/* --- 10. FOOTER --- */
footer {
  background: #000;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h5 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.8rem;
}
.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.3s;
  display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: start;
    word-wrap: break-word;
}

.footer-col ul li a i{
  padding-top: 5px;
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

footer ul.footer-links li {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: start;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  margin-right: 0.5rem;
  transition: 0.3s;
}

.social-links a:hover {
  background: var(--primary);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 992px) {
  .about-wrapper {
    flex-direction: column;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}




@media only screen and (min-width: 1024px) and (max-width: 1179px) {


.hero{
  height: 60vh;
}

.workflow-steps{
  grid-template-columns: repeat(2, 1fr);
}

  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 2rem;
  }
  .about-img img {
    width: 100%;
  }

  /* Faster scroll on mobile, narrower cards */
  .testi-card {
    width: 300px;
    padding: 1.5rem;
  }
  .marquee-track {
    animation: scroll 20s linear infinite;
  }

  footer ul.footer-links li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: start;
    gap: 10px;
  }
}


@media only screen and (min-width: 768px) and (max-width: 1023px) {


.hero{
  height: 60vh;
}

  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 2rem;
  }
  .about-img img {
    width: 100%;
  }

  /* Faster scroll on mobile, narrower cards */
  .testi-card {
    width: 300px;
    padding: 1.5rem;
  }
  .marquee-track {
    animation: scroll 20s linear infinite;
  }

  footer ul.footer-links li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: start;
    gap: 10px;
  }
}


@media only screen and (min-width: 320px) and (max-width: 767px) {


h2{
  font-size: 30px !important;
}



.hero{
  height: 90vh;
}

.hero-content p{
  margin: 10px;
  font-size: 16px;
  color: var(--text-main);
;
}

  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 2rem;
  }
  .about-img img {
    width: 100%;
  }

  /* Faster scroll on mobile, narrower cards */
  .testi-card {
    width: 300px;
    padding: 1.5rem;
  }
  .marquee-track {
    animation: scroll 20s linear infinite;
  }

  footer ul.footer-links li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: start;
    gap: 10px;
  }
}
