* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}


body {
    background-color: #131313;
   
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* login page */

    .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(5px);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      animation: fadeIn 1s ease-in-out;
    }

    .popup {
      border-radius: 10px;
      width: 450px;
      height: 550px;
      max-width: 95%;
      box-shadow: 0 0 15px rgba(36, 34, 34, 0.904);
      position: relative;
      overflow: hidden;
    }

    .popup iframe {
      width: 100%;
      height: 100%;
      border: none;
      
    }

    .close-popup {
      position: absolute;
      top: 5px;
      right: 10px;
      font-size: 20px;
      color: #ffffff;
      cursor: pointer;
      z-index: 1001;
      
    }
 


/* loading */
#loading {
    background: black;
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}




.bg-video {

    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 16px rgba(30, 47, 233, 0.18);
    transition: background-clor 0.3s, box-shadow 0.3s;
}

nav.scrolled .nav-links a {
    color: #000 !important;
}

nav.scrolled .nav-links a:hover {
    color: #fffefe;
    box-shadow: 1px 1px 5px #000000;
    background-color: #5460e2;
    ;


}

nav.scrolled .mode-btn,
nav.scrolled .nav-btn:hover {
    color: #fff;
    box-shadow: 1px 1px 5px #f8f8f8;
}

nav.scrolled .mode-btn,
nav.scrolled .nav-btn {
    color: #000 !important;
    box-shadow: 1px 1px 5px #000000;

}

nav.scrolled .nav-links a {
    background: transparent;
}



nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    z-index: 2;
    background: rgba(250, 250, 250, 0);
    padding: 0 40px;
    transition: background-color 0.3s;
}

.logo {
    width: 75px;
    margin-left: 0;
}

.nav-links {
    display: flex;
    gap: 20px;
    padding-left: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 10px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover {
    color: #fff;
    background-color: #2566d6;
    box-shadow: 1px 1px 5px #ffffff;
}

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

.welcome-text {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.13);
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    border-radius: 20px;
    padding: 6px 16px;
    margin-right: 8px;
    box-shadow: 0 2px 8px #1e2fe933;
    transition: background-color 0.3s, color 0.3s;
    animation: fadeIn 1s ease-in-out;
}

.user-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 8px;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 2px 8px #1e2fe933;
    animation: fadeIn 1s ease-in-out;
}

.mode-btn,
.nav-btn {
    background-color: transparent;
    border: 2px solid #ffffff;
    cursor: pointer;
    font-size: 1em;
    padding: 10px 22px;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
      animation: fadeIn 1s ease-in-out;
    box-shadow: 1px 1px 5px #ffffff;
}

.mode-btn:hover,
.nav-btn:hover {
    background: #1e2fe9;
    color: #fff;
    box-shadow: 0 4px 16px #1e2fe9aa;
}

.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    margin-top: 150px;


}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    margin-top: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 5px #ffffff;
      animation: fadeIn 1s ease-in-out;

}

.hero-content p {
    font-size: 20px;
    margin-bottom: 50px;
  animation: fadeIn 1s ease-in-out;
}

.cta-button {
    padding: 12px 30px;
    background-color: #1e2fe9;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 1px 1px 5px #ffffff;
      animation: fadeIn 1s ease-in-out;
}

.cta-button:hover {
    background-color: #ffffff;
    color: #1e2fe9;
}

.logos-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
    margin-top: 100px;
    color: #f7f7f7;
    font-weight: bold;
    text-shadow: 1px 1px 5px #ffffff;
      animation: fadeIn 1s ease-in-out;
}

.logos-title p {
    text-align: center;
    width: 800px;
    font-size: 20px;
    margin-left: 370px;
    font-weight: lighter;
    text-shadow: none;
      animation: fadeIn 1s ease-in-out;
}


.logos {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
    margin: 40px 0 20px 0;
    flex-wrap: wrap;
      animation: fadeIn 1s ease-in-out;

}

.logos img {
    width: 120px;
    height: auto;
    transition: transform 0.3s cubic-bezier(.68, -0.55, .27, 1.55), box-shadow 0.3s;
    cursor: pointer;
    animation: bounce 2s infinite;
    
}

.logos img:hover {
    transform: translateY(-20px) scale(1.08);
    animation: bounce 0.6s;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    20% {
        transform: translateY(-18px);
    }

    40% {
        transform: translateY(0);
    }

    60% {
        transform: translateY(-10px);
    }

    80% {
        transform: translateY(0);
    }
}

.card-section {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 60px 0;
}

.info-card {
    background: rgba(247, 247, 247, 0.736);
    border-radius: 20px;
    box-shadow: 0 6px 24px white;
    padding: 32px 40px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeIn 1s ease-in-out;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 32px #1e2fe9aa;
}

.card-logo {
    width: 300px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 18px;
}

.card-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 12px;
    font-weight: bold;
      animation: fadeIn 1s ease-in-out;
}

.card-desc {
    color: #000000;
    font-size: 1em;
    line-height: 1.7;
      animation: fadeIn 1s ease-in-out;
}


.slider-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto;
    flex-wrap: wrap;
    margin-top: 150px;
    background: rgba(58, 58, 58, 0.329);
      animation: fadeIn 1s ease-in-out;

}

.slideshow-container {
    width: 780px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    overflow: hidden;
}

#slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;

}

.slider-desc {
    max-width: 540px;
    height: 400px;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(30, 47, 233, 0.08);
    padding: 28px 30px;
    color: #fffefe;
    font-size: 25px;
      animation: fadeIn 1s ease-in-out;
}

.slider-desc h2 {
    color: #ffffff;
    margin-bottom: 14px;
    font-size: 40px;
      animation: fadeIn 1s ease-in-out;
}

.slider-desc ul {
    margin: 12px 0 0 18px;
    padding: 0;
    color: #e0e0e0;
    font-weight: bold;
      animation: fadeIn 1s ease-in-out;
}

/* lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
      animation: fadeIn 1s ease-in-out;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 5px 5px 20px #ffffff;
      animation: fadeIn 1s ease-in-out;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}





#scrollTopBtn,
#scrollDownBtn {
    position: fixed;
    width: 70px;
    cursor: pointer;
    z-index: 999;
    transition: opacity 0.3s ease;
}

#scrollTopBtn {
    bottom: 30px;
    right: 30px;
    opacity: 0;
}

#scrollDownBtn {
    top: 500px;
    right: 3px;
}

#scrollTopBtn:hover,
#scrollDownBtn:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}




/* footer */


.footer-car-img-wrap {
    width: 100vw;
    display: flex;
    justify-content: center;
    background: transparent;
    position: relative;
    z-index: 1;
    margin-bottom: -40px;
    overflow: visible;
}





.footer-car-img {
    width: 100vw;
    max-width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    opacity: 0.95;
    height: auto;
    margin-bottom: -300px;
    object-fit: contain;
}

.main-footer {
    position: relative;
    background: rgba(0, 0, 0, 0.71);
    color: #fff;
    padding: 60px 0 30px 0;
    margin-top: 0;
    overflow: hidden;
    min-height: 120px;
    z-index: 2;
    backdrop-filter: blur(8px);
    box-shadow: 0 -2px 24px #0004;
    padding-bottom: 80px;
    

}

.footer-content {

    position: relative;
    z-index: 2;
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
}

.footer-content h3 {
    
    margin: 80px 0 10px 0;
    font-size: 2em;
    letter-spacing: 2px;
}

.footer-content p {
    margin: 0;
    font-size: 1.1em;
}

footer a{
    width: 28px;
    height: 28px;
    margin: 0 6px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
    transition: filter transform 0.3s ease ;


}

footer a:hover {
    filter: brightness(1) invert(0.2) drop-shadow(0 0 6px #0040ff);
      transform: scale(1.5);
}




/* //light model */
body.light-mode {
    background-color: #f7f7f7;
    color: #222;
}

body.light-mode .hero-section,
body.light-mode nav {
    background: rgba(255, 255, 255, 0.85);
    color: #222;
}

body.light-mode .nav-links a,
body.light-mode .card-title {
    color: #000000;
}

body.light-mode .info-card {
    background: #afaeae;
    color: #000000;
}

body.light-mode .cta-button {
    background-color: #1e2fe9;
    color: #fff;
}

body.light-mode .cta-button:hover {
    background-color: #fff;
    color: #1e2fe9;
}

/* Featured Products Section */
.featured-products {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-header p {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.view-all-btn {
  display: inline-block;
  background: linear-gradient(135deg, #242fff 0%, #1a1fd9 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(36, 47, 255, 0.3);
}

.view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(36, 47, 255, 0.4);
  background: linear-gradient(135deg, #1a1fd9 0%, #242fff 100%);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 15px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.product-card .price {
  color: #27ae60;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.product-card .description {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.product-card .view-details {
  background: linear-gradient(135deg, #242fff 0%, #1a1fd9 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}

.product-card .view-details:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(36, 47, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .product-card {
    padding: 20px;
  }
}