/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Urbanist", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: white;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 0;
}

/* Loader Styles */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Arial", sans-serif;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.euph-loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.euph-loader {
    position: relative;
    width: 60px;
    height: 60px;
}

.euph-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #009653;
    background: transparent;
    animation: euph-pulse-animation 2s ease-in-out infinite;
}

.euph-pulse:nth-child(1) {
    animation-delay: 0s;
}

.euph-pulse:nth-child(2) {
    animation-delay: 0.3s;
}

.euph-pulse:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes euph-pulse-animation {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    50% {
        transform: scale(0.7);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.main-page-content {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.main-page-content.loaded {
    opacity: 1;
}

/* Button Styles */
.btn {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #009653;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #007a44;
}

.btn-secondary {
    background-color: transparent;
    color: #009653;
    border: 2px solid #009653;
    margin-right: 10px;
}

.btn-secondary:hover {
    background-color: rgba(246, 146, 32, 0.1);
}

.trusted-brands {
    padding: 20px;
    max-width: 1200px !important;
    margin: 10px auto;
    border-radius: 10px;
}

.trusted-brands-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trusted-brands-header h2 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.trusted-brands-slider {
    position: relative;
    width: 100%;
    height: 6rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.trusted-brands-slider::before,
.trusted-brands-slider::after {
    position: absolute;
    content: "";
    height: 100%;
    width: 12rem;
}

.trusted-brands-slider::before {
    left: 0;
    background: linear-gradient(to right, #e9ecef 0%, #fff0 100%);
}

.trusted-brands-slider::after {
    right: 0;
    background: linear-gradient(to left, #e9ecef 0%, #fff0 100%);
}

.trusted-brands-slider ul.brands {
    list-style: none;
    width: calc(12rem * 14 * 2);
    display: flex;
    animation: slideLeft 200s linear infinite;
}

@keyframes slideLeft {
    100% {
        transform: translateX(calc(-100% / 2));
    }
}

.brands .brand-logo {
    width: 12rem;
    font-size: 2rem;
    text-align: center;
}

.brand-logo img {
    height: 30px !important;
    width: 120px;
    filter: grayscale(100%) brightness(0.8);
    transition: filter 0.3s ease;
    opacity: 0.7;
}

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

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 11px;
        border-radius: 4px;
    }

    .btn-secondary {
        margin-right: 0;
    }

    /* Trusted Brands Section */
    .trusted-brands {
        padding: 15px 10px;
        margin: 5px auto;
    }

    .trusted-brands-header h2 {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .trusted-brands-slider {
        height: 4rem;
    }

    .trusted-brands-slider::before,
    .trusted-brands-slider::after {
        width: 8rem;
    }

    .brands .brand-logo {
        width: 8rem;
    }

    .brand-logo img {
        height: 20px !important;
        width: 80px;
    }
}

/* Extra small screens - 320px and below */
@media (max-width: 320px) {
    .btn {
        padding: 8px 16px;
        font-size: 10px;
    }

    .trusted-brands-header h2 {
        font-size: 12px;
    }

    .brand-logo img {
        height: 18px !important;
        width: 70px;
    }
}

/* Navbar Styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  color: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease, box-shadow .3s ease;
}

.navbar-scrolled {
  border-bottom: none;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: fixed;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: auto;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s;
  font-size: .9rem;
}

.nav-links a:hover {
  color: #009653;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-btn {
  position: relative;
  background: none;
  border: none;
  color: #000;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s;
  margin-right: 15px;
}

.cart-btn:hover {
  color: #009653;
}

.cart-btn span {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 10px;
  background-color: #009653;
  padding: 2px 5px;
  border-radius: 2px;
  color: #fff;
}

/* Menu Toggle Button */
.menu-toggle {
  display: none;
  position: fixed;
  top: 35px;
  right: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  z-index: 3000;
}

.hamburger {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: #000;
  display: block;
  z-index: 2001;
  transition: transform 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: transform 0.3s ease;
}

.hamburger::before {
  transform: translateY(-8px);
}

.hamburger::after {
  transform: translateY(8px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  width: 100%;
  max-width: 400px;
  padding: 0 20px;
  text-align: center;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.mobile-nav-links a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  transition: color 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
}

.mobile-nav-links a:hover {
  color: #009653;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mobile-nav-actions .cart-btn {
  font-size: 24px;
  margin-right: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards 0.2s;
}

.mobile-nav-actions .btn {
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards 0.3s;
}

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

/* Menu Toggle Animation */
.menu-toggle.active .hamburger {
  background-color: transparent;
}

.menu-toggle.active .hamburger::before {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle.active .hamburger::after {
  transform: translateY(0) rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 1000px) {
  .nav-links, 
  .nav-actions {
      display: none;
  }
  
  .menu-toggle {
      display: block;
      margin: auto;
  }
  
  .navbar {
      padding: 15px 5%;
  }
}

.cart-modal {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-modal.cart-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.cart-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.7);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
    position: relative;
}

.cart-modal.cart-active .cart-container {
    transform: scale(1);
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.cart-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 5px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cart-close:hover {
    color: #dc2626;
    background: #fee2e2;
}

.cart-content {
    padding: 20px;
    max-height: 50vh;
    overflow-y: auto;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.cart-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #d1d5db;
}

.cart-empty p {
    font-size: 16px;
    margin: 0;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    animation: slideInCart 0.3s ease;
}

.cart-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

@keyframes slideInCart {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 4px;
}

.cart-item-price {
    color: #059669;
    font-weight: 600;
    font-size: 14px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #dc2626;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 16px;
}

.cart-item-remove:hover {
    background: #fee2e2;
    transform: scale(1.1);
}

.cart-summary {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.cart-total-price {
    color: #059669;
}

.cart-checkout {
    width: 100%;
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.cart-checkout:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

.cart-checkout:active {
    transform: translateY(0);
}

.cart-counter {
    background: #dc2626;
    color: white;
    font-size: 12px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -8px;
    right: -8px;
    animation: cartBounce 0.3s ease;
}

@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

body.cart-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .cart-container {
        max-width: 95%;
        margin: 20px;
        max-height: 90vh;
    }

    .cart-header {
        padding: 16px;
    }

    .cart-content {
        padding: 16px;
        max-height: 60vh;
    }

    .cart-summary {
        padding: 16px;
    }

    .cart-item {
        padding: 12px;
    }

    .cart-title {
        font-size: 18px;
    }

    .cart-total {
        font-size: 16px;
    }
}

.footer-container {
    background: #e9ecef;
    padding: 80px 0 0;
    border-top: 1px solid #f0f0f0;
    width: 100%;
    overflow: hidden;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
    width: 100%;
}

.footer-content.footer-animated {
    opacity: 1;
    transform: translateY(0);
}

.footer-left {
    display: flex;
    gap: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out 0.2s;
    flex-shrink: 0;
}

.footer-left.footer-animate-left {
    opacity: 1;
    transform: translateY(0);
}

.footer-menu-section {
    min-width: 140px;
}

.footer-menu-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.footer-menu-list {
    list-style: none;
}

.footer-menu-item {
    margin-bottom: 16px;
}

.footer-menu-link {
    color: #666666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.25s ease;
    display: inline-block;
}

.footer-menu-link:hover {
    color: #009653;
    transform: translateX(2px);
}

.footer-right {
    flex: 1;
    max-width: 400px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out 0.4s;
    min-width: 0;
}

.footer-right.footer-animate-right {
    opacity: 1;
    transform: translateY(0);
}

.footer-brand {
    font-size: 32px;
    font-weight: 300;
    color: #000000;
    text-decoration: none;
    display: block;
    margin-bottom: 40px;
    transition: color 0.3s ease;
    letter-spacing: -0.02em;
}

.footer-brand:hover {
    color: #009653;
}

.footer-social-section {
    margin-bottom: 50px;
}

.footer-social-title {
    font-size: 13px;
    color: #999999;
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    border-radius: 2px;
    flex-shrink: 0;
}

.footer-social-link:hover {
    color: #009653;
    transform: translateY(-2px);
}

.footer-company-description {
    font-size: 16px;
    color: #666666;
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 300px;
}

.footer-newsletter-column {
    flex: 1;
    max-width: 320px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out 0.6s;
    min-width: 0;
}

.footer-newsletter-column.footer-animate-newsletter {
    opacity: 1;
    transform: translateY(0);
}

.footer-newsletter-section {
    max-width: 320px;
    margin-bottom: 40px;
    width: 100%;
}

.footer-newsletter-title {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 8px;
    line-height: 1.3;
}

.footer-newsletter-subtitle {
    font-size: 13px;
    color: #999999;
    margin-bottom: 24px;
    line-height: 1.4;
}

.footer-email-wrapper {
    position: relative;
    display: flex;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    width: 100%;
}

.footer-email-wrapper:focus-within {
    border-color: #009653;
}

.footer-email-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: #333333;
    min-width: 0;
}

.footer-email-input::placeholder {
    color: #cccccc;
    font-size: 16px;
}

.footer-email-button {
    padding: 14px 18px;
    background: #009653;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    margin: 2px;
    flex-shrink: 0;
}

.footer-email-button:hover {
    background: #007a44;
    transform: translateX(1px);
}

.footer-email-button i {
    font-size: 16px;
}

.footer-contact-section {
    margin-top: 0;
}

.footer-contact-item {
    margin-bottom: 20px;
}

.footer-contact-label {
    font-size: 13px;
    color: #999999;
    margin-bottom: 6px;
    font-weight: 500;
}

.footer-contact-value {
    font-size: 16px;
    color: #666666;
    line-height: 1.4;
    word-wrap: break-word;
}

.footer-contact-value:hover {
    color: #009653;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid #888;
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out 0.6s;
}

.footer-bottom-content.footer-animate-bottom {
    opacity: 1;
    transform: translateY(0);
}

.footer-copyright {
    font-size: 12px;
    color: #222;
    text-align: center;
}

.footer-copyright-link {
    color: #009653;
    text-decoration: none;
    font-weight: 500;
}

.footer-copyright-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-wrapper {
        padding: 0 30px;
        font-size: 14px;
    }

    .footer-content {
        gap: 40px;
    }

    .footer-left {
        gap: 40px;
    }
}

@media (max-width: 875px) {
    .footer-container {
        padding: 60px 0 0;
    }

    .footer-wrapper {
        padding: 0 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 50px;
    }

    .footer-left {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    .footer-right {
        max-width: 100%;
        width: 100%;
    }

    .footer-newsletter-column {
        max-width: 100%;
        width: 100%;
    }

    .footer-newsletter-section {
        max-width: 100%;
    }

    .footer-brand {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .footer-menu-section {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 40px 0 0;
    }

    .footer-wrapper {
        padding: 0 15px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-left {
        gap: 25px;
    }

    .footer-menu-section {
        min-width: auto;
        width: 100%;
    }

    .footer-brand {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .footer-company-description {
        max-width: 100%;
    }

    .footer-email-wrapper {
        border-radius: 12px;
    }

    .footer-email-input {
        padding: 16px 20px;
        font-size: 16px;
    }

    .footer-email-button {
        padding: 16px 18px;
        border-radius: 12px;
        margin: 2px;
    }

    .footer-newsletter-title {
        font-size: 15px;
    }

    .footer-contact-value {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .footer-wrapper {
        padding: 0 12px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-brand {
        font-size: 22px;
    }

    .footer-menu-title {
        font-size: 13px;
    }

    .footer-menu-link {
        font-size: 13px;
    }
}

