* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #FEFDFD;
}

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

/* no scroll for burger menu */
.no-scroll {
  overflow: hidden;     
  height: 100vh;         
  width: 100%;           
}

/* styles for contact links  */
.contact-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
  margin-left: 2px;
}

.contact-link:hover {
  color: #4CA54C;
}

.contact-link2 {
  color: #4CA54C;
  text-decoration: none;
  transition: opacity 0.3s ease;
  margin-left: 2px;
}

.contact-link2:hover {
  color: #3d8e3d;
}

/* class for breaks */
.br-lg {
  display: inline;
}

/* Header */
.header {
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.header-content-right-section {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.header-contacts-info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-left: auto;
}

.header-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  font-size: 14px;
  color: #4B504B;
}

.contact-info {
  font-size: 14px;
  color: #666;
}

.header-nav-and-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 15px;
}

.nav {
  display: flex;
  list-style: none;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.nav a {
  text-decoration: none;
  color: #666;
  font-weight: 400;
}

.nav a:hover {
  color: #4CAF50;
}

.header-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border-left: 1px solid #C7CEC7;
  padding-left: 15px;
}

.btn-register {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: transparent;
  width: 95px;
  height: 35px;
  border-radius: 6px;
  padding: 10px;
  color: #666;
  border: 1px solid #4CA54C;
  font-size: 16px;
}

.btn-register:hover {
  background-color: #4CA54C;
  color: white;
}

/* Burger Icon */
.burger-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  width: 25px;
}

.burger-icon span {
  height: 2px;
  width: 100%;
  background-color: #4CA54C;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Burger Icon Animation to Cross */
.burger-icon.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-icon.active span:nth-child(2) {
  opacity: 0;
}

.burger-icon.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  width: 100%;
  overflow-y: auto;
  background-color: white;
  z-index: 999;
  padding: 15px 20px 10px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mobile-nav .nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav .nav a {
  display: block;
  width: 100%;
  color: #333;
  font-size: 16px;
  text-decoration: none;
  padding: 10px 0;
  padding-left: 10px;
}

.mobile-nav.hidden {
  display: none;
}

.mobile-auth-section {
  margin-top: 50px;
  margin-left: 10px;
}

.mobile-auth-title {
  font-size: 16px;
  font-weight: 500;
  color: #242D24;
  margin: 15px 0 10px;
}

.mobile-auth-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.auth-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #4CA54C;
  border-radius: 8px;
  color: #353C35;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.auth-button img {
  width: 18px;
  height: 18px;
}

@media (max-width: 992px) {
  body {
    padding-top: 80px;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 8px 5px 5px 5px;
    background: white;
  }

  .burger-icon {
    display: flex;
  }

  .header-content-right-section {
    display: none;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    height: calc(100vh - 65px);
    overflow-y: auto;
    padding: 15px 20px 160px 20px;
    background-color: white;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .header-content {
    justify-content: space-between;
  }

  .auth-fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px 20px;
    z-index: 1001;
  }
}


@media (max-width: 576px) {
  .mobile-nav {
    height: calc(100vh - 65px);
    padding-bottom: 160px;
  }

  .auth-fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px 20px;
    z-index: 1001;
  }
}

/* Hero Section */
.hero {
  padding: 80px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 20px;
  color: #353C35;
  font-weight: 700;
  font-size: 54px;
  line-height: 60px;
  max-width: 630px;
}

.hero-text p {
  color: #353C35;
  margin-bottom: 30px;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 660px;
  max-height: 350px;
  object-fit: contain;
}

/* Responsive for max-width: 992px */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 50px;
    line-height: 55px;
  }

  .hero-text p {
    width: 70%;
  }
}

@media (max-width: 768px) {
  .hero-text {
    margin: auto;
    padding: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

  }
  .hero-text h1 {
    font-size: 40px;
    line-height: 45px;
    text-align: center;
  }

  .hero-text p {
    text-align: center;
  }

  .hero {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 35px;
    line-height: 40px;
  }

}

@media (max-width: 375px) {
  .hero {
    padding: 40px 0;
  }

}

/* Service Section */
.service-section {
  background: #EEF5EE;
  padding: 100px 0;
  text-align: center
}

.service-section h2 {
  font-weight: 600;
  font-size: 29px;
  line-height: 150%;
  color: #242D24;
}

.service-section p {
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  margin-top: 10px;
}

.service-buttons-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.service-button {
  display: flex;
  align-items: center;   
  justify-content: center;
  cursor: pointer;
  background-color: transparent;
  width: 110px;
  height: 45px;
  border-radius: 6px;
  padding: 10px;
  font-weight: 400;
  font-size: 16px;
  gap: 10px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  border: 1px solid;
}

.green-button {
  background-color: #4CA54C;
  color: white;
  border-color: #4CA54C;
}

.green-button:hover {
  background-color: #3d8e3d;
  border-color: #3d8e3d;
}

.white-button {
  color: #353C35;
  border-color: #4CA54C;
}

.white-button:hover {
  background-color: #4CA54C;
  color: white;
}

@media (max-width: 576px) {
  .service-section {
    padding: 75px 0;
  }
} 

/* sortiments marken/partners */
.partners {
  padding: 80px 0;
  text-align: center;
}

.partners h2 {
  font-weight: 600;
  font-size: 29px;
  line-height: 150%;
  color: #242D24;
  margin-bottom: 30px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  align-items: center;
}

/* About Section */
.about-section {
  position: relative;
  overflow: hidden;
  color: white;
  padding: 50px 0;
  background-image: url("/images/about_section_background_image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-height: 480px;
}

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

.about-content {
  background: #181C18E5;
  max-width: 500px;
  padding: 50px;
  border-left: #4CA54C 4px solid;
  position: relative;
  z-index: 1;
}

.about-content h2 {
  font-weight: 600;
  font-size: 29px;
  line-height: 150%;
  margin-bottom: 10px;
}

.about-content p {
  font-weight: 300;
  font-size: 17px;
  line-height: 150%;
  margin-bottom: 15px;
  max-width: 450px;
}

.learn-more {
  color: #4CA54C;
  text-decoration: none;
  font-weight: 400;
  font-size: 17px;
}

/* Product Section */
.product-section {
  padding: 100px 0;
}

.product-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-start;
}

.product-image {
  text-align: center;
  margin-right: 10px;
  margin-top: 30px;
}

.product-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;

  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.product-text h2 {
  font-weight: 600;
  font-size: 29px;
  line-height: 150%;
  color: #242D24;
  margin-bottom: 10px;
}

.product-text h3 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
}

.bullet-green-terms {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.bullet-green-terms li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 5px;
  font-size: 16px;
  color: #242D24;
}

.bullet-green-terms li::before {
  content: "●";
  color: #4CA54C;
  position: absolute;
  top: -2px;
  left: 0;
  font-size: 16px;
}

.product-columns .column p {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #242D24;
}

.product-section .contact-box {
  border-left: 4px solid  #4CA54C;
  padding: 5px 15px;
}

.product-section .contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.product-section .contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.add-margin {
  margin-left: 10px;
}

@media (max-width: 768px) {

  .product-section {
    padding: 50px 0;
  }

  .product-image {
    margin: auto;
  }
}


/* Stats Section */
.stats {
  padding: 80px 0;
  background-color: #EAEDEA;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
  border-left: #D9D9D9 1px solid;
}

.stat-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.stat-number {
  color: #4CAF50;
  font-weight: 700;
  font-size: 45px;
}

.stat-icon {
  width: 40px;
  height: 40px;
  display: inline-block;
  margin: 0 10px;
}

.stat-label {
  font-weight: 400;
  font-size: 17px;
  color: #353C35;
}

@media (max-width: 1100px) {
  .stat-number {
    font-size: 40px;
  }
}

@media (max-width: 992px) {
  .stats {
    padding: 50px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 2fr);
    row-gap: 45px;
  }

  .stat {
    border: none;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(1, 4fr);
    row-gap: 45px;
  }
}

/* Footer */
.footer {
  background-color: #242D24;
  color: white;
  font-family: sans-serif;
  padding: 40px 60px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 10px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: 45px;
  margin-bottom: 8px;
}

.footer-menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-menu a {
  color: #EAEDEA;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s;
}

.footer-menu a:hover {
  opacity: 0.6;
}

.footer-register {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-register span {
  font-size: 14px;
  color: #EAEDEA;
}

.footer-btn {
  border: 1px solid #4CA54C;
  padding: 6px 14px;
  border-radius: 6px;
  background-color: transparent;
  color: white;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-btn:hover {
  background-color: #4CA54C;
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 20px;
}

.footer-copyright {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  font-size: 14px;
  color: #EAEDEA;
  margin-top: auto;
}

.payment-icons {
  display: flex;
  gap: 15px;
}

.payment-icons img {
  width: 65px;
  height: 43px;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
  font-size: 14px;
}

.contact-item img {
  width: 18px;
  height: 18px;
}

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

.footer-social img {
  width: 30px;
  height: 30px;
}

@media (max-width: 992px) {

  .footer {
    padding: 40px 20px;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-left {
    order: 1;
  }

  .footer-logo {
    height: 50px;
    margin-bottom: 10px;
  }

  .footer-register {
    order: 2;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
  }

  .footer-contact {
    order: 3;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .footer-menu {
    display: none; 
  }

  .footer-social {
    order: 4;
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
  }

  .payment-icons {
    order: 5;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }

  .footer-copyright {
    order: 6;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .payment-icons {
    display: none;
  }
}
  

/* Responsive Design Common */

@media (max-width: 992px) {
  .br-lg {
    display: none;
  }

}

@media (max-width: 768px) {
  .hero-content,
  .product-content {
      grid-template-columns: 1fr;
      gap: 30px;
  }

  .features-grid {
      grid-template-columns: repeat(1, 1fr);
  }

  .partners-grid {
      grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
      grid-template-columns: repeat(2, 1fr);
  }

  .nav {
      display: none;
  }

  h2 {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

  h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .hero-content,
  .product-content {
    gap: 20px;
  }

  .features-grid,
  .partners-grid {
      grid-template-columns: 1fr;
  }

  .footer-content {
      grid-template-columns: 1fr;
  }

  .service-buttons {
      flex-direction: column;
      align-items: center;
  }

  h2 {
    font-size: 18px;
  }
}


/* hero section carousel */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.carousel-slide.active {
  opacity: 1;
  position: relative;
  z-index: 1;
}

/* patners section carousel */
.partners-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scrollLogos 40s linear infinite;
  gap: 40px;
  align-items: center;
}

.carousel-track img {
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

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

/* Login modal */
.modal {
  position: absolute;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-dropdown {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 175px;
}

.modal-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  color: #333;
  padding: 8px 8px;
  transition: background-color 0.2s;
  border-bottom: 1px solid #C7CEC7;
}

.modal-link img {
  width: 18px;
  height: 18px;
}

.modal-link:hover {
  background-color: #f0f0f0;
}

/* Shop Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(34, 34, 34, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal-overlay.hidden {
  display: none;
}

/* Modal Content */
.shop-modal {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 650px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.close-modal img {
  width: 18px;
  height: 18px;
}

.shop-title {
  font-size: 29px;
  font-weight: 600;
  color: #242D24;
  margin-bottom: 10px;
}

.shop-label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #242D24;
  margin-bottom: 5px;
  text-align: left;
}

.shop-input {
  width: 100%;
  padding: 10px;
  font-size: 20px;
  border: 1px solid #C7CEC7;
  border-radius: 8px;
  margin-bottom: 15px;
}

.shop-register-text {
  font-size: 17px;
  font-weight: 400;
  color: #242D24;
  margin-bottom: 20px;
  text-align: start;
}

.shop-register-link {
  color: #4CA54C;
  text-decoration: underline;
  margin-left: 5px;
}

.shop-login-btn {
  background-color: #4CA54C;
  color: white;
  font-size: 17px;
  font-weight: 400;
  padding: 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.shop-login-btn:hover {
  background-color: #3d8e3d;
}

@media (max-width: 768px) {
  .shop-modal {
    width: 90%;
    padding: 15px;
    max-width: 100%;
  }

  .shop-title {
    font-size: 22px;
  }

  .shop-input {
    font-size: 16px;
    padding: 8px;
  }

  .shop-register-text,
  .shop-label {
    font-size: 14px;
  }

  .shop-login-btn {
    font-size: 16px;
    padding: 12px;
  }

  .close-modal {
    top: 10px;
    right: 10px;
  }

  .close-modal img {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 580px) {
  .shop-register-link {
    display: block;
    margin-left: 0;
    margin-top: 5px;
  }

  .shop-modal {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .shop-title {
    font-size: 20px;
  }

  .shop-register-text {
    text-align: left;
  }

  .shop-modal {
    border-radius: 10px;
  }
}
