@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color: #3a86ff;
  --secondary-color: #ff006e;
  --background-light: #ffffff;
  --background-dark: #1a1a2e;
  --text-light: #333333;
  --text-dark: #f1f1f1;
  --nav-bg-light: #ffffff;
  --nav-bg-dark: #16213e;
  --border-light: #e1e1e1;
  --border-dark: #2d4059;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.3);
  --search-bg-light: #f5f5f5;
  --search-bg-dark: #2d4059;
  --transition: all 0.3s ease;
}

[data-theme="dark"] {
  --background: var(--background-dark);
  --text-color: var(--text-dark);
  --nav-bg: var(--nav-bg-dark);
  --border-color: var(--border-dark);
  --shadow: var(--shadow-dark);
  --search-bg: var(--search-bg-dark);
}

[data-theme="light"] {
  --background: var(--background-light);
  --text-color: var(--text-light);
  --nav-bg: var(--nav-bg-light);
  --border-color: var(--border-light);
  --shadow: var(--shadow-light);
  --search-bg: var(--search-bg-light);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background);
  color: var(--text-color);
  line-height: 1.6;
  padding: 0;
  margin: 0;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--nav-bg);
  box-shadow: 0 2px 10px var(--shadow);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header .container {
  display: flex;
  height: 90px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

/* Logo */
.logo img {
  height: 220px;
  display: block;
  object-fit: contain;
  width: 220px;
  margin-top: 1.7vw;
  transition: var(--transition);
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-list a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Search Box */
.search-box {
  position: relative;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background-color: var(--search-bg);
  border-radius: 25px;
  padding: 8px 15px;
  transition: var(--transition);
}

.input-wrapper input {
  border: none;
  background: transparent;
  color: var(--text-color);
  outline: none;
  width: 180px;
  padding: 0 10px;
  font-family: "Poppins", sans-serif;
}

.input-wrapper input::placeholder {
  color: var(--text-color);
  opacity: 0.7;
}

.search-button {
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--nav-bg);
  z-index: 1001;
  padding: 60px 30px 30px;
  box-shadow: -5px 0 15px var(--shadow);
  transition: right 0.4s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-color);
  cursor: pointer;
  z-index: 1002;
}

.mobile-nav .nav-list {
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.mobile-search {
  display: flex;
  margin-bottom: 30px;
  background-color: var(--search-bg);
  border-radius: 25px;
  overflow: hidden;
}

.mobile-search input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  background-color: transparent;
  color: var(--text-color);
  outline: none;
  font-family: "Poppins", sans-serif;
}

.mobile-search button {
  padding: 0 15px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
}

.mobile-icons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-icon-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  color: var(--text-color);
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
}

.mobile-icon-item i {
  font-size: 20px;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .search-box {
    display: none;
  }

  .header .container {
    height: 80px;
  }

  .logo img {
    height: 220px;
    display: block;
    object-fit: contain;
    width: 220px;
    margin-right: 2vw;
    margin-top: 4vw !important;
    transition: var(--transition);
  }
}

@media (max-width: 768px) {
  .header .container {
    height: 70px;
    padding: 10px 15px;
  }

  .logo img {
    height: 220px;
    display: block;
    object-fit: contain;
    width: 220px;
    margin-right: 2vw;
    margin-top: 4vw !important;
    transition: var(--transition);
  }

  .header-actions {
    gap: 15px;
  }

  .mobile-menu {
    width: 280px;
  }
}

@media (max-width: 576px) {
  .header .container {
    height: 60px;
  }

  .logo img {
    height: 220px;
    display: block;
    object-fit: contain;
    width: 220px;
    margin-right: 2vw;
    margin-top: 4vw !important;
    transition: var(--transition);
  }

  .mobile-menu {
    width: 100%;
    padding: 50px 20px 20px;
  }

  .theme-toggle {
    font-size: 18px;
  }
}

/* Active state for menu toggle */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}
/* Main Section End Here */
.footer {
  background: linear-gradient(to right, #1a2e35, #0d1c22);
  color: #fff;
  padding: 3rem 1.5rem 1rem;
  font-family: "Poppins", sans-serif;
}

.footer a {
  color: #c1c9d2;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #28a745;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-para {
  color: #c1c9d2;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-heading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #fff;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #28a745;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.8rem;
  color: #c1c9d2;
  display: flex;
  align-items: center;
}

.footer-contact i {
  color: #28a745;
  margin-right: 0.8rem;
  font-size: 1.1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #28a745;
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.newsletter-input {
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.newsletter-input::placeholder {
  color: #c1c9d2;
}

.newsletter-btn {
  padding: 0.8rem 1rem;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: #219e3d;
}

.payment-methods {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.payment-icon {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: 4px;
  width: 50px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: #c1c9d2;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #c1c9d2;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.back-to-top:hover {
  color: #28a745;
}

.made-with {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.made-with img {
  height: 16px;
  width: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr; /* single column for tablets */
    gap: 2.5rem;
  }

  .footer-column {
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 1rem;
  }

  .social-icons {
    justify-content: center;
    margin-top: 1rem;
  }

  .newsletter-form {
    justify-content: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}
.payment-methods {
  margin-bottom: 1vw;
}
@media (max-width: 480px) {
  .footer {
    padding: 2rem 1rem;
  }

  .footer-heading {
    font-size: 1rem;
  }

  .footer-links li,
  .footer-contact li {
    font-size: 0.9rem;
  }

  .newsletter-input,
  .newsletter-btn {
    width: 100%; /* full width for mobile */
  }

  .payment-methods {
    justify-content: center;
    flex-wrap: wrap;
  }
}
