/* VIBESYS Global Styles */
:root {
  /* Indian Theme: Green, Navy, Gold */
  --brand-primary: #1B5E20; /* Logo Green */
  --brand-primary-rgb: 27, 94, 32;
  --brand-secondary: #1a237e; /* Deep Navy */
  --brand-secondary-rgb: 26, 35, 126;
  --brand-accent: #ffd600; /* Gold */
  --gradient-primary: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
  --gradient-soft: linear-gradient(135deg, #E8F5E9 0%, #FAFAFA 100%);

  --text-main: #1e293b;
  --text-muted: #64748b;
  --heading-color: #0f172a;

  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --bg-glass: rgba(255, 255, 255, 0.7);

  --border-light: rgba(226, 232, 240, 0.8);
  --glass-border: rgba(255, 255, 255, 0.3);

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-extra:
    0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-md: 12px;
  --radius-lg: 20px;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-weight: 700;
}

/* Custom Utilities */
.text-brand-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.micro-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.micro-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.micro-badge i {
  color: var(--brand-primary);
  font-size: 0.85rem;
}

.micro-badge:hover {
  background: var(--bg-white);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.bg-brand-primary {
  background-color: var(--brand-primary);
}
.bg-brand-dark {
  background-color: var(--bg-dark);
}
.bg-light-tint {
  background-color: var(--bg-light);
}

.bg-soft-primary {
  background-color: rgba(var(--brand-primary-rgb), 0.04);
}

.bg-soft-gradient {
  background: linear-gradient(
    180deg,
    rgba(var(--brand-primary-rgb), 0.05) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.bg-deep-dark {
  background-color: #0b1120;
}

.glass-card {
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}

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

.btn-brand {
  background: var(--gradient-primary);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-brand:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  color: white;
}

.btn-brand-outline {
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  background: transparent;
  transition: var(--transition);
}

.btn-brand-outline:hover {
  background: var(--brand-primary);
  color: white;
  transform: translateY(-3px);
}

/* Legacy Compat (To be phased out) */
.text-primary-custom {
  color: var(--brand-primary);
}
.bg-primary-custom {
  background-color: var(--brand-primary);
}
/* Fixed legacy buttons */
.btn-primary-custom {
  background: var(--gradient-primary);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.btn-outline-custom {
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  background: transparent;
  transition: var(--transition);
}

/* Navbar Customization */
.navbar {
  background-color: var(--bg-white);
  transition: var(--transition);
  padding: 20px 0;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background: var(--bg-glass) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo {
  height: 32px;
  width: auto;
  transition: var(--transition);
}

.nav-link {
  color: var(--text-main);
  font-weight: 500;
  margin: 0 15px;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-primary) !important;
}

/* Hero Section */
.hero-section {
  padding: 180px 0 120px;
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent),
    radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.1), transparent);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.1);
  filter: blur(100px);
  border-radius: 50%;
  z-index: -1;
}

.hero-title {
  font-size: 4rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

/* Card Enhancements */
.card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-extra);
}

.icon-box {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--bg-light);
  transition: var(--transition);
}

.card:hover .icon-box {
  background: var(--brand-primary);
  color: white !important;
  transform: scale(1.1);
}

.card:hover .icon-box i {
  color: white !important;
}

/* Section Headings */
.section-title {
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* Alternating Section Backgrounds */
.section-alternate {
  background-color: var(--bg-light);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--bg-white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.section-dark h2,
.section-dark h4 {
  color: white;
}

/* Logo Marquee */
.marquee-container {
  overflow: hidden;
  padding: 60px 0;
  position: relative;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-left-right 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  width: 200px;
  height: 100px;
  background: transparent;
  margin: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8; /* Darkened from 0.5 */
  transition: var(--transition);
  filter: grayscale(100%) contrast(1.2);
}

.marquee-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.marquee-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes scroll-left-right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-240px * 6));
  } /* Adjust based on item width + margin */
}

/* Uniform Inner Banner */
.inner-banner {
  height: 350px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
  margin-top: 80px;
}

.inner-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.8) 0%,
    rgba(99, 102, 241, 0.4) 100%
  );
  z-index: 1;
}

.inner-banner .banner-content {
  position: relative;
  z-index: 2;
}

.inner-banner h1 {
  color: white;
  font-size: 4rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -2px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.zoom-in.active {
  opacity: 1;
  transform: scale(1);
}

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
}

.active .stagger-item {
  animation: staggerFadeUp 0.6s forwards;
}

@keyframes staggerFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Our Process Section */
.process-steps {
  position: relative;
}

.process-step {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.process-card {
  height: 100%;
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-10px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-extra);
}

/* Testimonials Section */
.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-extra);
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--brand-primary);
  opacity: 0.15;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
}

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

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

.client-name {
  font-weight: 700;
  margin: 0;
  font-size: 1rem;
}

.client-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Why Choose VIBESYS */
.stat-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* Call to Action */
.cta-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.15), transparent);
  z-index: -1;
}

/* Footer Re-designed */
footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 100px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer h5 {
  color: var(--bg-white);
  font-weight: 700;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
  display: block;
  margin-bottom: 1rem;
}

footer a:hover {
  color: var(--brand-primary);
  transform: translateX(5px);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-right: 12px;
  transition: var(--transition);
  color: #94a3b8;
}
.footer-logo {
  width: auto;
  height: 50px;
  margin-bottom: 20px;
}
.footer-social a:hover {
  background: var(--brand-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.05);
  margin: 60px 0 30px;
}

/* New Section: How We Build */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.process-item {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.process-item:hover {
  border-color: var(--brand-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.process-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--brand-primary);
  font-size: 1.5rem;
  transition: var(--transition);
}

.process-item:hover .process-icon {
  background: var(--brand-primary);
  color: white;
}

.process-item h5 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.process-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Strategic Bullets for "Why VIBESYS" */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-list li:hover {
  background: var(--bg-white);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(5px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.feature-text {
  font-weight: 600;
  font-size: 1rem;
}

/* --- Mobile Responsiveness --- */

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .inner-banner h1 {
    font-size: 2.5rem;
  }
  .navbar {
    padding: 15px 0;
    background: var(--bg-white) !important;
    box-shadow: var(--shadow-md);
  }
  .nav-link {
    margin: 10px 0;
  }
  .section-padding {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 120px 0 60px;
    text-align: center;
  }
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .d-flex.gap-3 {
    justify-content: center;
  }
  .section-title {
    font-size: 2rem;
  }
  .stat-number {
    font-size: 2.5rem;
  }
  .footer-logo {
    height: 40px;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .btn-brand,
  .btn-brand-outline {
    width: 100%;
    margin-bottom: 10px;
  }
  .d-flex.gap-3 {
    flex-direction: column;
    gap: 0 !important;
  }
  .marquee-item {
    width: 150px;
    margin: 0 20px;
  }
  .marquee-container {
    padding: 30px 0; /* Reduced space after marquee on mobile */
  }
  .hero-powered-by {
    flex-direction: column !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
  }
}

