/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* ========== HEADER/NAVBAR ========== */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ea580c;
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(135deg, #ea580c 0%, #8d5018 100%);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: #ea580c;
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid white;
}

.cta-button:hover {
  background-color: transparent;
  color: white;
}

.cta-subtext {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ========== ABOUT SECTION ========== */
.about {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  font-size: 2.2rem;
  color: #ea580c;
  margin-bottom: 1rem;
}

.about > p {
  font-size: 1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #fff;
  border: 2px solid #ea580c;
  padding: 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.feature-card:hover {
  background-color: #fff5e6;
  box-shadow: 0 10px 30px rgba(255, 153, 51, 0.2);
  transform: translateY(-5px);
}

.feature-card h3 {
  font-size: 1.3rem;
  color: #ea580c;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== IMPACT SECTION ========== */
.impact {
  background-color: #fff5e6;
  padding: 4rem 2rem;
  text-align: center;
}

.impact h2 {
  font-size: 2.2rem;
  color: #ea580c;
  margin-bottom: 1rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.impact > p {
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #666;
  font-size: 1rem;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background-color: white;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: 0 10px 30px rgba(255, 153, 51, 0.3);
  transform: translateY(-5px);
}

.stat-card h3 {
  font-size: 2.5rem;
  color: #ea580c;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.stat-card p {
  color: #666;
  font-size: 0.95rem;
}

/* ========== TRUSTED SECTION ========== */
.trusted {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

.trusted h2 {
  font-size: 2.2rem;
  color: #ea580c;
  margin-bottom: 1rem;
}

.trusted > p {
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #666;
  font-size: 1rem;
}

.brand-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.brand-logos img {
  max-height: 60px;
  width: auto;
  filter: grayscale(50%);
  transition: all 0.3s ease;
}

.brand-logos img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* ========== WHY CHOOSE SECTION ========== */
.why-choose {
  background: linear-gradient(135deg, #ea580c 0%, #ffb347 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.why-choose h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: white;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.why-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.why-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-5px);
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== PLATFORMS SECTION ========== */
.platforms {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

.platforms h2 {
  font-size: 2.2rem;
  color: #ea580c;
  margin-bottom: 1rem;
}

.platforms > p {
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #666;
  font-size: 1rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.platform-card {
  background-color: #fff5e6;
  border-left: 4px solid #ea580c;
  padding: 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: left;
}

.platform-card:hover {
  box-shadow: 0 10px 30px rgba(255, 153, 51, 0.2);
  transform: translateX(10px);
}

.platform-card h3 {
  font-size: 1.3rem;
  color: #ea580c;
  margin-bottom: 1rem;
}

.platform-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== PARTNERS SECTION ========== */
.partners {
  background-color: #fff5e6;
  padding: 4rem 2rem;
  text-align: center;
}

.partners h2 {
  font-size: 2.2rem;
  color: #ea580c;
  margin-bottom: 1rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.partners > p {
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #666;
  font-size: 1rem;
  line-height: 1.8;
}

.partner-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.partner-card:hover {
  box-shadow: 0 10px 30px rgba(255, 153, 51, 0.2);
  transform: translateY(-5px);
}

.partner-card h3 {
  font-size: 1.3rem;
  color: #ea580c;
  margin-bottom: 1rem;
}

.partner-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== CONTACT SECTION ========== */
.contact {
  background: linear-gradient(135deg, #ea580c 0%, #ffb347 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact > p {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.8;
}

.contact .cta-button {
  margin-bottom: 1.5rem;
  display: inline-block;
}

.contact-note {
  font-size: 0.95rem;
  margin-top: 1rem;
}

.contact-note b {
  color: white;
  font-weight: 600;
}

/* ========== FOOTER ========== */
.footer {
  background-color: white;
  color: black;
  padding: 3rem 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  color: #ea580c;
  margin-bottom: 1rem;
}

.footer-section p {
  color: black;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ea580c;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #555;
  padding-top: 2rem;
  color: #000000;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-links {
    gap: 1rem;
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero {
    padding: 3rem 1rem;
    min-height: 350px;
  }

  .about h2,
  .impact h2,
  .trusted h2,
  .platforms h2,
  .partners h2,
  .why-choose h2,
  .contact h2 {
    font-size: 1.8rem;
  }

  .features-grid,
  .stats-grid,
  .brand-logos,
  .why-grid,
  .platform-grid,
  .partner-options {
    grid-template-columns: 1fr;
  }

  .stat-card h3 {
    font-size: 2rem;
  }

  .about,
  .impact,
  .trusted,
  .platforms,
  .partners,
  .contact {
    padding: 3rem 1.5rem;
  }
}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {
  .nav-links {
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }

  .about > p,
  .impact > p,
  .trusted > p,
  .platforms > p,
  .partners > p,
  .contact > p {
    font-size: 0.9rem;
  }

  .feature-card,
  .stat-card,
  .platform-card,
  .partner-card {
    padding: 1.5rem 1rem;
  }

  .stat-card h3 {
    font-size: 1.8rem;
  }

  .brand-logos img {
    max-height: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Extra small devices (below 320px) */
@media (max-width: 320px) {
  .hero-content h1 {
    font-size: 1.2rem;
  }

  .nav-links {
    font-size: 0.75rem;
    gap: 0.25rem;
  }

  .cta-button {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
}

/* ========== NAVBAR IMPROVEMENTS ========== */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section img {
  height: 50px;
  width: auto;
}

/* Updated nav-links to hide on mobile and added hamburger button styling */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: flex-start;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ea580c;
}

/* Added hamburger menu button styling */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== SCROLLING BRANDS SECTION ========== */
/* Added infinite scroll carousel for brand logos */
.brands-scroll-container {
  width: 100%;
  overflow: hidden;
  background-color: #f9f9f9;
  padding: 2rem 0;
  margin: 2rem 0;
}

.brands-scroll {
  display: flex;
  gap: 3rem;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.brand-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.brand-item img {
  max-height: 60px;
  width: auto;
  filter: grayscale(50%);
  transition: all 0.3s ease;
}

.brand-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets (768px and below) */
@media (max-width: 768px) {
  /* Show hamburger menu on tablets */
  .hamburger {
    display: flex;
  }

  /* Hide nav-links by default, show when active */
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #fff;
    gap: 0;
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    white-space: normal;
  }

  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero {
    padding: 3rem 1rem;
    min-height: 350px;
  }

  .about h2,
  .impact h2,
  .trusted h2,
  .platforms h2,
  .partners h2,
  .why-choose h2,
  .contact h2 {
    font-size: 1.8rem;
  }

  .features-grid,
  .stats-grid,
  .why-grid,
  .platform-grid,
  .partner-options {
    grid-template-columns: 1fr;
  }

  .stat-card h3 {
    font-size: 2rem;
  }

  .about,
  .impact,
  .trusted,
  .platforms,
  .partners,
  .contact {
    padding: 3rem 1.5rem;
  }

  /* Adjust brand scroll for mobile */
  .brands-scroll-container {
    padding: 1.5rem 0;
    margin: 1.5rem 0;
  }

  .brand-item {
    min-width: 140px;
    gap: 2rem;
  }

  .brands-scroll {
    gap: 2rem;
    animation: scroll 25s linear infinite;
  }
}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }

  .about > p,
  .impact > p,
  .trusted > p,
  .platforms > p,
  .partners > p,
  .contact > p {
    font-size: 0.9rem;
  }

  .feature-card,
  .stat-card,
  .platform-card,
  .partner-card {
    padding: 1.5rem 1rem;
  }

  .stat-card h3 {
    font-size: 1.8rem;
  }

  .brand-item {
    min-width: 120px;
    gap: 1.5rem;
  }

  .brand-item img {
    max-height: 45px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .brands-scroll {
    gap: 1.5rem;
    animation: scroll 20s linear infinite;
  }
}

/* Extra small devices (below 320px) */
@media (max-width: 320px) {
  .hero-content h1 {
    font-size: 1.2rem;
  }

  .cta-button {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .brand-item {
    min-width: 100px;
    gap: 1rem;
  }
}

