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

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: #333;
  background: #fff;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}


/* Sticky Header Wrapper */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Top Contact Bar */
.top-bar {
  background: #9C2007;
  color: white;
  padding: 10px 0;
  font-size: 0.9rem;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
}

.top-bar-text {
  font-weight: 500;
}

.top-bar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-link {
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.3s ease;
  font-weight: 500;
  line-height: 1;
}

.top-bar-link:hover {
  opacity: 0.8;
}

.top-bar-link i {
  font-size: 1rem;
  display: flex;
  align-items: center;
}

/* Navbar */
.navbar {
  width: 100%;
  background: #ffffff !important;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #9C2007;
  text-decoration: none;
}

.logo-icon {
  color: #333;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #9C2007;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: #9C2007;
  transition: width 0.3s ease;
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  
}

.bar {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

.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(7px, -6px);
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem 15px;
  }
  
  .top-bar-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 0 15px;
  }
  
  .top-bar-right {
    flex-direction: column;
    gap: 10px;
  }
  
  .nav-menu {
    position: fixed;
    top: 120px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 120px);
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  }

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

  .hamburger {
    display: flex;
  }

  .nav-link {
    font-size: 1.3rem;
    padding: 1rem 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-contact {
    align-items: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.4rem; margin: 1rem 0; }

p { font-size: 1.1rem; }

.section-title {
  position: relative;
  display: block;
  text-align: center;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #9C2007;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 112px;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  animation: fadeInUp 1.2s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.highlight {
  color: #9C2007;
}

.tagline {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  background: #9C2007;
  color: white;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(156, 32, 7, 0.3);
}

.cta-btn:hover {
  background: #7a1a05;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(156, 32, 7, 0.4);
}

.cta-btn.secondary {
  background: #9C2007;
  border: 2px solid #9C2007;
  color: white;
}

.cta-btn.secondary:hover {
  background: #7a1a05;
  border-color: #7a1a05;
}

/* Features */
.features {
  padding: 100px 0;
  background: #f8f9fa;
  opacity: 0;
  transform: translateY(50px);
  position: relative;
}

.features.animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

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

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

/* Our Partners */
.partners {
  padding: 100px 0;
  background: #f8f9fa;
  overflow-x: hidden;
  width: 100%;
  opacity: 0;
  transform: translateX(-50px);
}

.partners.animate {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s ease;
}

.partners-slider {
  margin-top: 3rem;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
}

.partners-track {
  display: flex;
  gap: 60px;
  animation: scroll 20s linear infinite;
  width: fit-content;
}

.partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 60px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 1px solid #e8e8e8;
  min-height: 220px;
}

.partner-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.partner-logo img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  opacity: 0.9;
  transition: all 0.3s ease;
 
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

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

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



/* How It Works */
.how-it-works {
  padding: 50px 0; /* 👈 Reduced top/bottom padding to reduce gap with Partners - adjust this value */
  opacity: 0;
  transform: translateX(50px);
}

.how-it-works.animate {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s ease;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}

.step.animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #9C2007;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* About */
.about {
  padding: 100px 0;
  margin-top: 80px; /* 👈 Gap between How It Works and About - adjust this value */
  background: #f8f9fa;
  text-align: center;
  opacity: 0;
  transform: translateX(-50px);
}

.about.animate {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s ease;
}

.about .container {
  max-width: 1200px;
}

.about-text {
  max-width: 1000px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: #555;
  line-height: 1.8;
}

/* Contact */
.contact {
  padding: 100px 0;
  background: #fff;
  opacity: 0;
  transform: translateY(50px);
}

.contact.animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #9C2007;
}

.contact-form button {
  justify-self: start;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.contact-form button:active {
  transform: translateY(-1px);
}

/* Footer */
.footer {
  background: #111;
  color: #aaa;
  padding: 50px 0 20px;
  font-size: 0.9rem;
 
  
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #9C2007;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-section p {
  line-height: 1.6;
  color: #aaa;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: #aaa;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
  line-height: 1.8;
}

.footer-link:hover {
  color: #9C2007;
}

.footer-link i {
  font-size: 1.1rem;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #222;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #aaa;
}

.social-link:hover {
  background: #9C2007;
  transform: translateY(-3px);
  color: white;
}

.social-link i {
  font-size: 1.3rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  margin-top: 20px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #9C2007;
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(156, 32, 7, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #7a1a05;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(156, 32, 7, 0.5);
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { 
    font-size: 2rem;
    line-height: 1.3;
  }
  .tagline { 
    font-size: 1rem;
    line-height: 1.5;
  }
  .steps { flex-direction: column; }
  .feature-card { padding: 25px; }
  
  .partner-logo {
    padding: 30px 35px;
    min-height: 140px;
  }
  
  .partner-logo img {
    max-width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    width: 95%;
    padding: 0 15px;
  }
  
  .hero h1 { 
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    width: 100%;
  }
  .tagline {
    font-size: 0.85rem;
    line-height: 1.5;
    width: 100%;
  }
  .cta-btn { padding: 12px 24px; font-size: 0.95rem; }
  
  .partner-logo {
    padding: 40px 45px;
    min-height: 160px;
    width: 280px;
    flex-shrink: 0;
  }
  
  .partner-logo img {
    width: 100%;
    max-width: 200px;
    height: 120px;
    object-fit: contain;
  }
  
  .partners-track {
    gap: 25px;
  }
  
  .partners-slider {
    padding: 20px 10px;
    margin: 0 -10px;
  }
  
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    left: 20px;
    font-size: 1.8rem;
  }
  
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
  }
}