html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}

.price-current {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1850a0;
}

.price-old {
  text-decoration: line-through;
  text-decoration-color: red;
  text-decoration-thickness: 2px;
  font-weight: bold;
  color: #333;
  font-size: 1.3rem;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   HEADER
===================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1850a0;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  /* Removed negative margin to prevent hero overlap issues */
  padding-bottom: 0;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.logo img {
  height: 52px;
}

.nav a {
  margin-left: 26px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: white;
  transition: color 0.3s;
}

.nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* =====================================================
   HERO CAROUSEL
===================================================== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: block;
  background: #fff;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease-in-out, visibility 1.5s;
  z-index: 1;
}

.carousel-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================================================
   HERO CONTENT
===================================================== */
.carousel-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 60px;
  text-align: center;
  color: #fff;
}

.carousel-content h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-btn {
  padding: 12px 30px;
  background: linear-gradient(135deg, #1850a0, #40b1b6);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  display: inline-block;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(24, 80, 160, 0.4);
}

/* =====================================================
   HERO ARROWS
===================================================== */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  color: #333;
  font-size: 24px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.9);
}

.carousel-arrow.left {
  left: 20px;
}

.carousel-arrow.right {
  right: 20px;
}

/* =====================================================
   PRODUCTS SECTION
===================================================== */
.products {
  padding: 90px 0;
  margin: 0;
  background: #f9f9f9;
}

.products h3 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 10px;
  margin-top: -90px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #1850a0, #40b1b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Product slider */
.product-slider {
  overflow: hidden;
  width: 100%;
}

.product-track {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  animation: none;
  justify-content: center;
  flex-wrap: wrap;
}

.product-track:hover {
  animation-play-state: paused;
}

/* Product card */
.product-card {
  flex: 0 0 calc(25% - 15px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-card h4 {
  padding: 15px 15px 5px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
}

.product-card p {
  padding: 0 15px 15px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1850a0;
}

.product-actions {
  display: flex;
  gap: 10px;
  padding: 15px;
}

/* Buttons */
.btn-cart {
  flex: 1;
  padding: 10px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-cart:hover {
  background: #e0e0e0;
}

.btn-buy {
  flex: 1;
  padding: 10px;
  background: linear-gradient(135deg, #1850a0, #40b1b6);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s;
}

.btn-buy:hover {
  transform: translateY(-2px);
}

/* =====================================================
   BRANDS SECTION
===================================================== */
.brands {
  padding: 60px 0;
  background: #fff;
}

.brands h3 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 50px;
  font-weight: 800;
  background: linear-gradient(135deg, #1850a0, #40b1b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.brand-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}

.brand-card:hover {
  transform: translateY(-8px);
}

.brand-card img {
  height: 150px;
  margin-bottom: 20px;
}

.brand-card h4 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #1850a0;
}

.brand-card p {
  color: #666;
  margin-bottom: 20px;
}

.brand-card a {
  color: #40b1b6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.brand-card a:hover {
  color: #1850a0;
}

/* =====================================================
   ANNOUNCEMENT BAR
===================================================== */
.announcement-bar {
  width: 100%;
  height: 38px;
  background: linear-gradient(135deg, #667eea 0%, #40b1b6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  z-index: 99;
}

.announcement-bar p {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
  background: #1850a0;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 15px;
}

.footer-brand p {
  color: #fff;
  font-size: 0.95rem;
}

.footer-column h5 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #18fdfd;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
  color: #fff;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #40b1b6;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #18fdfd;
  font-size: 0.9rem;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
  .carousel-content {
    padding-top: 50px;
  }

  .carousel-content h2 {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero-carousel {
    height: 35vh;
    min-height: 200px;
    max-height: 300px;
  }

  .carousel-content {
    padding-top: 40px;
  }

  .carousel-content h2 {
    font-size: 1.8rem;
  }

  .carousel-content p {
    font-size: 0.9rem;
  }

  .nav a {
    margin-left: 12px;
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .announcement-bar p {
    font-size: 0.85rem;
    padding: 0 15px;
  }

  /* Product card layout */
  .product-card {
    flex: 0 0 calc(25% - 15px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding: 16px;
  }

  /* Fully fit image (no zoom, no crop) */
  .product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
    margin-bottom: 10px;
  }

  /* Center product name */
  .product-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 6px 0 4px;
    color: #2c3e50;
  }

  .product-card p {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1850a0;
  }


  /* Center price */
  .product-card p {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
  }

  /* Center buttons */
  .product-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
  }


  .product-card {
    flex: 0 0 220px;
  }


}

@media (max-width: 1200px) {
  .product-card {
    flex: 0 0 calc(33.33% - 15px);
  }
}

@media (max-width: 768px) {
  .product-card {
    flex: 0 0 calc(50% - 10px);
  }

  .product-track {
    gap: 15px;
    padding: 15px 0;
  }
}

@media (max-width: 600px) {
  .product-card {
    flex: 0 0 100%;
  }
}

/* ============================
   PRODUCT CARD ALIGNMENT FIX
============================ */

/* Center all text inside product card */
.product-card {
  text-align: center;
  padding: 16px;
}

/* Fully fit product image */
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f6f8fc;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
}

/* Center product name */
.product-card h4 {
  margin: 8px 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #2c3e50;
}

/* Center price */
.product-card p {
  margin: 0 0 14px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1850a0;
}

/* Center buttons */
.product-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* ===============================
   HEADER RIGHT ACTIONS
================================ */

.header-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Contact Us */
.contact-us {
  font-size: 1.3rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-us:hover {
  text-decoration: underline;
}

/* Login pill button */
.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border: 2px solid white;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
}

.login-btn span {
  font-size: 1.1rem;
}

.login-btn:hover {
  background: #1850a0;
  color: #fff;
}

/* Icon buttons */
.icon-btn {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  transform: scale(1.15);
  color: #40b1b6;
}

.header-wrapper {
  display: flex;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* =====================================================
   LATEST NEWS SECTION
===================================================== */
.news-section {
  padding: 80px 0;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 60px;
  font-weight: 800;
  background: linear-gradient(135deg, #1850a0, #40b1b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #1850a0, #40b1b6);
  border-radius: 2px;
}

.news-grid {
  display: flex;
  gap: 25px;
  width: max-content;
  animation: slideLeft 30s linear infinite;
  padding: 20px 0;
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.news-grid:hover {
  animation-play-state: paused;
  /* Pause on hover */
}

.news-section {
  overflow: hidden;
  /* Hide cards sliding off-screen */
}

/* Keep card sizes consistent */
.news-card {
  flex: 0 0 320px;
  height: 350px;
}


.news-grid::-webkit-scrollbar {
  height: 8px;
}

.news-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.news-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #1850a0, #40b1b6);
  border-radius: 4px;
}

.news-card {
  flex: 0 0 380px;
  /* Fixed width, no shrink/grow */
  height: 420px;
}


.news-card {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-card.tall {
  grid-row: span 2;
  height: 730px;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover img {
  transform: scale(1.05);
}

.news-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: #fff;
  padding: 30px 25px 25px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.news-card:hover .news-overlay {
  transform: translateY(0);
}

.news-overlay h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #40b1b6;
}

.news-overlay p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  background: rgba(24, 80, 160, 0.8);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.read-more:hover {
  background: #1850a0;
  transform: translateX(5px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
  }

  .news-card.tall {
    grid-row: span 1;
    height: 350px;
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }

  .news-card {
    height: 300px;
  }

  .news-card.tall {
    height: 300px;
  }
}

/* =====================================================
   CONTACT PAGE
===================================================== */
.contact-page {
  padding-top: 180px;
  padding-bottom: 100px;
  min-height: calc(100vh - 200px);
  background: #fff;
}

.contact-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row input,
.form-row textarea {
  flex: 1;
  width: 100%;
  padding: 15px 25px;
  border: 1px solid #ccc;
  border-radius: 30px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #f26522;
}

.form-row textarea {
  border-radius: 20px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 0 10px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
  cursor: pointer;
}

.selection-blue {
  background-color: transparent;
}

.selection-blue::selection {
  background: #3367d6;
  color: #fff;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.submit-btn {
  background-color: #f26522;
  color: #fff;
  border: none;
  padding: 15px 50px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  text-transform: uppercase;
}

.submit-btn:hover {
  background-color: #d1561a;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}