@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables & Design System */
:root {
  --bg-color: #050505;
  --bg-card: rgba(20, 20, 20, 0.6);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-tag: rgba(255, 255, 255, 0.4);
  --accent-color: #ffffff;
  --font-family: 'Inter', sans-serif;
  --transition-speed: 0.3s;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Noise Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  z-index: 9999;
}

/* Base Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

/* Typography Utilities */
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tag);
  margin-bottom: 16px;
  display: inline-block;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background-color: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color var(--transition-speed) ease, padding var(--transition-speed) ease;
}

header.scrolled {
  padding: 12px 0;
  background-color: rgba(5, 5, 5, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color var(--transition-speed) ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

/* Mobile Menu Toggle button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001; /* Must sit above mobile menu */
  outline: none;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: #000000;
  border-color: var(--accent-color);
  transform: translateY(-1px);
}

/* Sections Base */
section {
  padding: 120px 0;
  position: relative;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  background-image: url('assets/bg (1).jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-content {
  max-width: 800px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 120px 0 40px 0; /* padding-top for header clearance, padding-bottom for scroll indicator spacing */
}

.hero-main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  margin-bottom: auto;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-main);
  font-weight: 600;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 40px;
  font-weight: 300;
}

.scroll-indicator {
  font-size: 0.8rem;
  color: var(--text-tag);
  letter-spacing: -0.01em;
  padding-top: 20px;
}

/* Split Columns / Intro layout (Process & Services) */
.section-intro-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.section-intro-text {
  max-width: 500px;
}

.section-intro-text h2 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.section-intro-text p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
}

.section-intro-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  filter: grayscale(1);
  transition: filter var(--transition-speed) ease;
}

.section-intro-img:hover {
  filter: grayscale(0.2);
}

/* Steps (Process Section) */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 50px;
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  gap: 32px;
  align-items: flex-start;
  transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.step-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.02);
}

.icon-wrapper svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-main);
  fill: none;
  stroke-width: 1.5;
}

.step-info {
  display: flex;
  flex-direction: column;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-tag);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.section-btn-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Services Section Specifics */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.service-card .icon-wrapper {
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.services-footer {
  text-align: center;
  margin-top: 60px;
}

.services-footer-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  font-weight: 300;
}

/* Section Background Styling (Solid vs Not Solid Alternation) */
.process {
  background-color: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.services {
  background-image: url('assets/bg (3).jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Client Reviews Section */
.reviews {
  background-image: url('assets/bg (4).jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.reviews-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px auto;
}

.reviews-header h2 {
  font-size: 3rem;
  line-height: 1.15;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.review-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition-speed) ease;
}

.review-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.star {
  width: 14px;
  height: 14px;
  fill: #ffffff;
}

.review-quote {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 32px;
  font-weight: 400;
  line-height: 1.6;
}

.review-author {
  margin-top: auto;
}

.author-name {
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.author-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 300;
}

.stats-section {
  background-color: #000000;
  padding: 60px 0;
}

/* Stats Banner */
.stats-banner-container {
}

.stats-banner {
  background-image: url('assets/bg (5).jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 60px 40px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Glossy sweep effect */
.stats-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: sweep 8s infinite ease-in-out;
}

@keyframes sweep {
  0% {
    left: -150%;
  }
  30% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-color);
}

.stat-num {
  font-size: 3.5rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
}

/* Contact / Work Together Section */
.contact {
  background-image: url('assets/bg (6).jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}

.contact-info h2 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-main);
}

.form-group label::after {
  content: "";
}

.form-group input,
.form-group textarea {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.04);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form .btn-outline {
  align-self: flex-start;
  margin-top: 10px;
  padding: 16px 36px;
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer-logo-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-main);
}

.footer-tagline {
  color: var(--text-tag);
  font-size: 0.85rem;
  font-weight: 400;
}

.social-links {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.social-links a {
  color: var(--text-muted);
  transition: color var(--transition-speed) ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  color: var(--text-main);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-email {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color var(--transition-speed) ease;
}

.footer-email:hover {
  color: var(--text-main);
}

.footer-bottom {
  text-align: center;
}

.footer-copy {
  color: var(--text-tag);
  font-size: 0.8rem;
  font-weight: 300;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .section-intro-row {
    gap: 40px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .contact-layout {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  
  section {
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-intro-row {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .section-intro-img {
    aspect-ratio: 16/9;
  }
  
  .section-intro-text h2 {
    font-size: 2.2rem;
  }
  
  .step-card {
    padding: 24px;
    gap: 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
  
  .stats-section {
    padding: 40px 0;
  }

  .stats-banner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px;
  }
  
  .stat-item:not(:last-child)::after {
    display: none;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .contact-info h2 {
    font-size: 2.2rem;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .footer-logo-block {
    align-items: center;
  }
  
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    padding: 40px;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.5rem;
    font-weight: 500;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background-color: rgba(10, 10, 10, 0.7);
  border: 2px solid rgba(37, 211, 102, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 15px rgba(37, 211, 102, 0.15);
  z-index: 9999;
  transition: transform var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1), border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #25D366; /* Vibrant green outline logo */
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  background-color: rgba(10, 10, 10, 0.85);
  border-color: #25D366;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 25px rgba(37, 211, 102, 0.45);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
  }
  
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* Clients Section & Infinite Marquee */
.clients-section {
  padding: 100px 0;
  background-color: #000000; /* Solid black matching theme */
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.clients-header {
  text-align: center;
  margin-bottom: 60px;
}

.clients-header h2 {
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--text-main);
}

.marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0;
}

/* Fades at the left and right edges for premium glass look */
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #000000, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #000000, transparent);
}

.marquee-track {
  display: flex;
  width: calc(240px * 15); /* 5 logos * 3 sets = 15 logos */
  animation: scrollMarquee 25s linear infinite;
}

.marquee-logo {
  width: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  padding: 0 40px;
}

.marquee-logo img {
  max-width: 170px;
  max-height: 65px;
  object-fit: contain;
  transition: transform var(--transition-speed) ease;
}

.marquee-logo img:hover {
  transform: scale(1.05);
}

/* Animation keyframes */
@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-240px * 5)); /* Shift by one set of 5 logos */
  }
}

/* Hover pauses the marquee */
.marquee-track:hover {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .clients-section {
    padding: 60px 0;
  }
  
  .clients-header h2 {
    font-size: 1.8rem;
  }
  
  .marquee-logo {
    width: 180px;
    padding: 0 25px;
  }
  
  .marquee-logo img {
    max-width: 130px;
    max-height: 50px;
  }
  
  .marquee-track {
    width: calc(180px * 15);
  }
  
  @keyframes scrollMarquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-180px * 5));
    }
  }
}
