@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --primary-blue: #2a2b77;;
  --light-blue: #e0e7ff;
  --accent-blue: #2a2b77;
  --dark-blue: #1e40af;
  --light-purple: #f3f4f6;
}

/* Animation classes for product rows */
.product-row-animate {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card-animate {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Form message styles */
.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideIn 0.3s ease;
}

.form-message.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

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


body {
  font-family: "Archivo";
  background-color: #f7f8ff;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* General mobile image constraints */
img {
  max-width: 100%;
  height: auto;
}

/* Navbar */
.navbar {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}




.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-blue) !important;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 150px;
}

.logo-d {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  margin-right: 0.2rem;
}

.navbar-nav .nav-link {
  color: var(--primary-blue);
  margin: 0 1rem;
  font-weight: 500;
}

.btn-uzb {
  background-color: var(--primary-blue);
  color: white;
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  border: none;
  transition: all 0.3s ease;
}

/* Language Switcher */
.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-dropdown .btn {
  background-color: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 0.5rem 1.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.language-dropdown .btn:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
}

.language-dropdown .btn i.bi-chevron-down {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.language-dropdown .btn:hover i.bi-chevron-down {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.language-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 1rem;
  background-color: transparent;
  border: none;
  border-radius: 8px;
  color: var(--primary-blue);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.language-option:hover {
  background-color: var(--light-blue);
  transform: translateX(5px);
}

.language-option i {
  font-size: 1rem;
}

/* Hero Section */
.hero-section {
  background-color: #e0e8f7;
  color: var(--primary-blue);
  padding: 4rem 0;
  margin: 2rem 0 0 0;
  border-radius: 0;
  width: 100%;
}

/* Mobile buttons container positioning */
.mobile-buttons-container {
  position: relative;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  width: 100%;
}

.mobile-view-prices-btn {
  background-color: #2c3e7b;
  border: none;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-family: "Archivo";
  font-weight: 700;
  font-size: 0.85rem;
  width: auto;
  min-width: 140px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 180px;
  line-height: 1.2;
  white-space: nowrap;
  height: 44px;
}

.mobile-view-prices-btn:hover {
  background-color: #1e2a5e;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 62, 123, 0.3);
}

.mobile-phone-btn {
  background-color: #e0e8f7;
  border: 2px solid #2c3e7b;
  color: #2c3e7b;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  width: auto;
  min-width: 140px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 180px;
  height: 44px;
}

.mobile-phone-btn:hover {
  background-color: #2c3e7b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 62, 123, 0.3);
}





.hero-section .container {
  max-width: 100%;
  padding: 0 2rem;
  width: 100%;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.hero-section img {
  border-radius: 25px;
  border: 4px solid var(--light-blue);
  transition: all 0.3s ease;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-section img:hover {
  transform: scale(1.02);
}

.hero-content h1 span {
  font-family: "Archivo";
  font-weight: 700;
  font-style: Bold;
  font-size: 42.15px;
  line-height: 45.66px;
  letter-spacing: 0px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Specific styling for trigger and dispenser text */
.hero-content h1 span.info {
  font-family: "Archivo";
  font-weight: 400;
  font-style: Regular;
  font-size: 32.54px;
  line-height: 100%;
  letter-spacing: 0px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-section h1 span {
  font-family: "Archivo";
  font-weight: 700;
  font-style: Bold;
  font-size: 42.15px;
  line-height: 45.66px;
  letter-spacing:0px;
  text-transform: uppercase;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.btn-primary-custom {
  background-color: #2c3e7b;
  border: none;
  color: white;
  padding: 0.75rem 1.5rem 0.75rem 2rem;
  border-radius: 8px;
  font-family: "Archivo";
  font-weight: 700;
  font-style: Bold;
  font-size: 25.16px;
  line-height: 100%;
  letter-spacing: 0px;
  width: 300px;
  text-align: center;
  white-space: nowrap;
}

.phone-number {
  background-color: #e0e8f7;
  border: 2px solid #2c3e7b;
  color: #2c3e7b;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  width: 300px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

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

/* Features Section */
.features-section {
  padding: 4rem 0;
  background-color: #e8eaf6;
}

.features-section h2 {
  font-family: "Archivo";
  font-weight: 700;
  font-style: Bold;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0px;
  margin-bottom: 1rem;
  color: #000000;
  text-align: left;
}

h2.dozmo-title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0px;
  color: #000;
  margin-bottom: 1rem; /* xohlasangiz o‘chirib tashlashingiz mumkin */
}



.features-section .text-muted {
  font-family: "Archivo";
  font-weight: 300;
  font-style: Light;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0px;
  color: #000000 !important;
  text-align: left;
  max-width: 800px;
}

/* New feature card design matching the provided image */
.feature-card-new {
  background-color: #3f3f7f;
  color: white;
  padding: 2.5rem;
  border-radius: 20px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(63, 63, 127, 0.2);
}

.feature-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(63, 63, 127, 0.3);
  background-color: #35356b;
}

.feature-icon-box {
  background-color: #7b7be0;
  position: relative;
  z-index: 1;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
}



.feature-icon-box img {
  width: 100%;
  object-fit: contain;
}


.feature-content {
  flex: 1;
  padding-top: 0.5rem;
}

.feature-content h5 {
  font-family: "Archivo";
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: white;
}

.feature-content p {
  font-family: "Archivo";
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.95);
}

/* Remove old feature card styles */
.feature-card {
  display: none;
}

.feature-icon {
  display: none;
}

/* Responsive adjustments for new feature cards */
@media (max-width: 768px) {
  .features-section {
    padding: 2rem 0;
  }

  .features-section .container {
    padding: 0 1rem;
  }

  .features-section h2 {
    font-size: 28px;
    margin-bottom: 1rem;
  }

  .features-section .text-muted {
    font-size: 16px;
    margin-bottom: 2rem;
  }

  .feature-card-new {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 1.5rem;
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 1rem;
    gap: 1rem;
  }

  .feature-icon-box {
    width: 120px;
    height: 120px;
    padding: 1rem;
    flex-shrink: 0;
  }

  .feature-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .feature-content h5{
    font-size: 20px;
    margin-bottom: 0.5rem;
  }

  .feature-content p {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* Product Section */
.product-section {
  padding: 3rem 0;
}

.product-section h3 {
  font-family: "Archivo";
  font-weight: 700;
  font-style: Bold;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0px;
  margin-bottom: 0.5rem;
  color: #000000;
}

/* Specific styling for Dozatorlar description */
.dozatorlar-description {
  font-family: "Archivo";
  font-weight: 300;
  font-style: Light;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0px;
  color:#f5f5f5
}

.product-grid-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-grid {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.product-slider {
  display: flex;
  transition: transform 0.3s ease;
  gap: 1rem;
}

.product-slider .product-card-twotone {
  flex: 0 0 calc(25% - 0.75rem);
  min-width: 0;
}

.nav-arrow {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  border-radius: 12px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-arrow:hover {
  background-color: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.nav-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.nav-arrow:disabled:hover {
  background-color: transparent;
  color: var(--primary-blue);
  transform: none;
  box-shadow: none;
}

/* Navigation arrow container with images */
.nav-arrow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.nav-arrow-image {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: #f8f9fa;
  border: 2px solid var(--primary-blue);
  transition: all 0.3s ease;
}

.nav-arrow-image:hover {
  background-color: var(--light-blue);
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

.nav-arrow-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

/* New two-tone product card design matching the provided image */
.product-card-twotone {
  position: relative;
  z-index: 1;
  border: 8px solid #2A2B77;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  background-color: white;
  box-shadow: 0 4px 15px rgba(57, 73, 171, 0.15);
  display: flex;
  flex-direction: column;
  height: 380px;
}


.product-image-top {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2rem;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.product-image-top img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* .product-card-twotone:hover .product-image-top img {
  transform: scale(1.08);
} */

.product-footer-blue {
  background-color: #2A2B77;
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Added product model name styling with specified typography */
.product-model-name {
  font-family: "Archivo";
  font-weight: 600;
  font-style: normal;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
  color: white;
}

/* Responsive adjustments for two-tone cards */
@media (max-width: 768px) {
  .product-section .container {
    padding: 0 1rem;
  }

  .product-card-twotone {
    width: 100%;
    max-width: 183.86px;
    height: 217.74px;
    border-radius: 5.53px;
    border-width: 0.55px;
  }

  .product-image-top {
    height: 150px;
    padding: 1rem;
  }

  .product-image-top img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .product-footer-blue {
    height: 40px;
  }

  /* Responsive font size for product model name */
  .product-model-name {
    font-size: 18px;
  }

  /* Mobile layout for trigger elements - 2 columns without horizontal scroll */
  .product-grid .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-grid .col-md-4 {
    flex: 0 0 calc(50% - 0.5rem);
    min-width: calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }

  /* Center navigation buttons on mobile */
  .product-grid-container {
    flex-direction: column;
    align-items: center;
    /* gap: 1.5rem; */
  }

  .product-grid {
    width: 100%;
  }

  /* Mobile navigation buttons styling */
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #e0e8f7;
    border-radius: 15px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .mobile-nav-buttons .nav-arrow {
    position: static;
    margin: 0;
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
  }

  .mobile-nav-buttons .nav-arrow:hover {
    background-color: var(--primary-blue);
    color: white;
  }

  /* Mobile navigation arrow images */
  .mobile-nav-buttons .nav-arrow-container {
    gap: 0.3rem;
  }

  .mobile-nav-buttons .nav-arrow-image {
    width: 30px;
    height: 30px;
  }

  .mobile-nav-buttons .nav-arrow-img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 576px) {
  .features-section {
    padding: 1.5rem 0;
  }

  .features-section h2 {
    font-size: 24px;
    margin-bottom: 0.8rem;
  }

  .features-section .text-muted {
    font-size: 14px;
    margin-bottom: 1.5rem;
  }

  .feature-card-new {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 1.2rem;
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 0.8rem;
    gap: 0.8rem;
  }

  .feature-icon-box {
    width: 100px;
    height: 100px;
    padding: 0.8rem;
    flex-shrink: 0;
  }

  .feature-content h5 {
    font-size: 20px;
    margin-bottom: 0.4rem;
  }

  .feature-content p {
    font-size: 13px;
    line-height: 1.3;
  }

  .product-card-twotone {
    width: 100%;
    max-width: 183.86px;
    height: 217.74px;
    border-radius: 5.53px;
    border-width: 8px;
  }
  
  .product-image-top {
    height: 140px;
    padding: 0.8rem;
  }

  .product-image-top img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .product-footer-blue {
    height: 35px ;
  }

  /* Smaller font size for mobile */
  .product-model-name {
    font-size: 16px;
  }

  /* Ensure 2 columns on smaller mobile devices */
  .product-grid .col-md-4 {
    flex: 0 0 calc(50% - 0.375rem);
    min-width: calc(50% - 0.375rem);
  }

  /* Adjust navigation button spacing for smaller screens */
  .nav-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

/* Keep old product card styles for Dozatorlar section */
.product-card {
  border: 3px solid var(--primary-blue);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  background-color: white;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.2);
  border-color: var(--accent-blue);
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(42, 43, 119, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.product-card:hover::before {
  opacity: 1;
}

.product-image {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2.5rem;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  border-radius: 15px;
  margin: 8px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1)); */
  transition: transform 0.3s ease;
  overflow: hidden;
  display: block;
}

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

/* Gallery Section */
.gallery-section {
  padding: 1rem 0;
  background-color: #e8eaf6;
}

.gallery-section h3 {
  font-family: "Archivo";
  font-weight: 700;
  font-style: Bold;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0px;
  margin-bottom: 1rem;
  color: #000000;
  text-align: left;
}

.gallery-section .text-muted {
  font-family: "Archivo";
  font-weight: 300;
  font-style: Light;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #333333;
  text-align: left;
  max-width: 900px;
}

.gallery-section {
  overflow: hidden;
  background: #f8f9fa;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-row {
  overflow: hidden;
}

.track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.track img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.track img:hover {
  transform: scale(1.05);
}

/* --- Cheksiz silliq animatsiyalar --- */
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* 1 va 3-qator o‘ngdan chapga */
.row1 .track, .row3 .track {
  animation: scrollLeft 25s linear infinite;
}

/* 2-qator chapdan o‘ngga */
.row2 .track {
  animation: scrollRight 25s linear infinite;
}

/* Hoverda to‘xtash */
.gallery-row:hover .track {
  animation-play-state: paused;
}

/* Responsivlik */
@media (max-width: 1200px) {
  .track img { 
    width: 160px; 
    height: 110px; 
    max-width: 100%;
    object-fit: cover;
  }
}
@media (max-width: 992px) {
  .track img { 
    width: 140px; 
    height: 100px; 
    max-width: 100%;
    object-fit: cover;
  }
}
@media (max-width: 768px) {
  .track img { 
    width: 140px; 
    height: 110px; 
    max-width: 100%;
    object-fit: cover;
  }
}
@media (max-width: 576px) {
  .track img { 
    width: 160px; 
    height: 110px; 
    max-width: 100%;
    object-fit: cover;
  }
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background-color: #f8f9fa;
  position: relative;
  z-index: 1;
}

.contact-section h3 {
  color: #000000;
  text-align: left;
  font-family: "Archivo";
  font-weight: 700;
  font-style: Bold;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0%;
}

.contact-form h5 {
  font-family: "Archivo";
  font-weight: 700;
  font-style: normal;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0%;
}

.contact-section .text-muted {
  font-family: "Archivo";
  font-weight: 300;
  font-style: Light;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #6c757d;
}

.contact-wrapper {
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form {
  background-color: #2a2b77;
  color: white;
  padding: 3rem 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form h5 {
  color: white;
  font-weight: 600;
  font-size: 1.3rem;
}

.contact-form .form-control {
  border-radius: 10px;
  margin-bottom: 0;
  padding: 0.9rem 1rem;
  border: none;
  background-color: white;
  font-size: 0.95rem;
}

.contact-form .form-control::placeholder {
  color: #6c757d;
}

.address-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.address-section h6 {
  font-family: "Archivo";
  font-weight: 700;
  font-style: Bold;
  font-size: 26.61px;
  line-height: 100%;
  letter-spacing: 0%;
}

.address-text {
  color: white;
  font-family: "Archivo";
  font-weight: 400;
  font-style: italic;
  font-size: 17.61px;
  line-height: 100%;
  letter-spacing: 0px;
  margin-bottom: 0;
}

.contact-form .btn-submit {
  background-color: white;
  color: var(--primary-blue);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  width: 100%;
  margin-top: 1.5rem;
}

.map-container {
  border-radius: 0;
  overflow: hidden;
  min-height: 500px;
  height: auto; /* 100% emas */
  position: relative;
  border: 20px solid #2a2b77;
  box-sizing: border-box;
}

#yandex-map {
  width: 100%;
  height: 500px; /* majburiy o‘lcham */
}


.address-info {
  display: none;
}

/* Footer */
.footer {
  background-color: var(--primary-blue);
  color: white;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: white;
}

.footer-logo-img {
  height: 35px;
  width: auto;
  max-width: 120px;
  filter: brightness(0) invert(1);
}

.footer .logo-d {
  background-color: white;
  color: var(--primary-blue);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  margin-right: 0.2rem;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Mobile responsive contact and footer */
@media (max-width: 768px) {
  .contact-section .container {
    padding: 0 1rem;
  }

  .footer .container {
    padding: 0 1rem;
  }

  .footer .row {
    text-align: center;
  }

  .footer .col-md-6:first-child {
    margin-bottom: 1.5rem;
  }

  .social-links {
    justify-content: center;
  }
}

.social-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.social-link:hover {
  color: var(--light-blue);
}

/* Form Message Styling */
.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideIn 0.3s ease;
}

.form-message i {
  font-size: 1.2rem;
}

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

/* Enhanced Button Styling */
.btn-submit {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Dispenser Card Specific Styling */
.dispenser-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 3px solid var(--primary-blue);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dispenser-card::before {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.08) 0%, rgba(42, 43, 119, 0.08) 100%);
}

.dispenser-card .product-image {
  background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ff 100%);
  padding: 1.5rem;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 15px;
  margin: 8px;
}

.dispenser-card .product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dispenser-card:hover .product-image img {
  transform: scale(1.1) rotate(3deg);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

.product-info {
  padding: 1rem 1rem 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-top: 1px solid #e9ecef;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-info h6 {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.product-description {
  color: #6c757d;
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 0;
  line-height: 1.3;
  font-weight: 400;
}

/* Enhanced hover effects for dispenser cards */
.dispenser-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.3);
  border-color: var(--accent-blue);
}

.dispenser-card:hover .product-info {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
}

.dispenser-card:hover .product-info h6 {
  color: var(--accent-blue);
}

/* Responsive adjustments for dispenser cards */
@media (max-width: 768px) {
  .dispenser-card .product-image {
    height: 180px;
    padding: 1.2rem 1rem;
  }

  .product-info {
    padding: 0.8rem 1rem 1rem;
    min-height: 70px;
  }

  .product-info h6 {
    font-size: 1rem;
  }

  .product-description {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .dispenser-card .product-image {
    height: 160px;
    padding: 1rem 0.8rem;
  }

  .product-info {
    padding: 0.6rem 0.8rem 0.8rem;
    min-height: 60px;
  }

  .product-info h6 {
    font-size: 0.9rem;
  }

  .product-description {
    font-size: 0.75rem;
  }

  .dispenser-card:hover {
    transform: translateY(-5px) scale(1.02);
  }
}

/* Special styling for different dispenser series */
.dispenser-card:nth-child(1) {
  border-color: #28a745;
}

.dispenser-card:nth-child(2) {
  border-color: #17a2b8;
}

.dispenser-card:nth-child(3) {
  border-color: #ffc107;
}

.dispenser-card:nth-child(4) {
  border-color: #dc3545;
}

.dispenser-card:nth-child(5) {
  border-color: #6f42c1;
}

.dispenser-card:nth-child(6) {
  border-color: #fd7e14;
}

/* Product info styling for different series */
.dispenser-card:nth-child(1) .product-info h6 {
  color: #28a745;
}

.dispenser-card:nth-child(2) .product-info h6 {
  color: #17a2b8;
}

.dispenser-card:nth-child(3) .product-info h6 {
  color: #ffc107;
}

.dispenser-card:nth-child(4) .product-info h6 {
  color: #dc3545;
}

.dispenser-card:nth-child(5) .product-info h6 {
  color: #6f42c1;
}

.dispenser-card:nth-child(6) .product-info h6 {
  color: #fd7e14;
}

/* Mobile Navigation Layout */
@media (max-width: 991.98px) {
  .navbar {
    position: relative;
    z-index: 1000;
  }

  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
  }

  /* Mobile menu button (left) */
  .navbar-toggler {
    order: 1;
    margin-right: auto;
    border: none;
    padding: 0.25rem 0.5rem;
    z-index: 1001;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  /* Mobile logo (center) */
  .mobile-logo-center {
    order: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
  }

  .mobile-logo-center .logo-img {
    height: 35px;
  }

  /* Mobile language selector (right) */
  .mobile-language-right {
    order: 3;
    margin-left: auto;
  }

  .mobile-language-right .btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    z-index: 1001;
  }

  /* Ensure proper spacing */
  .navbar-toggler,
  .mobile-language-right {
    flex-shrink: 0;
  }

  /* Mobile menu dropdown - positioned below navbar and full width */
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 15px 15px;
    z-index: 999;
    padding: 1.5rem;
    margin-top: 0;
    width: 100%;
  }

  .navbar-collapse .navbar-nav {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .navbar-collapse .nav-item {
    margin: 0.25rem 0;
    width: 100%;
    text-align: center;
  }

  .navbar-collapse .nav-link {
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 500;
  }

  .navbar-collapse .nav-link:hover {
    background-color: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  /* Add border between menu items */
  .navbar-collapse .nav-item:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.25rem;
  }

  /* Adjust language menu position for mobile */
  .mobile-language-right .language-menu {
    right: 0;
    left: auto;
    z-index: 1002;
  }
}
/* Responsive hero section */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
  }

  .hero-section .container {
    padding: 0 1rem;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  /* Responsive font sizes for hero title */
  .hero-content h1 span {
    font-size: 28px !important;
    line-height: 32px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-content h1 span.info {
    font-size: 22px !important;
    line-height: 26px !important;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }

  .btn-primary-custom {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Hide desktop phone button on mobile */
  .phone-number.d-none.d-lg-block {
    display: none !important;
  }

  .mobile-buttons-container {
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-wrap: nowrap;
  }

.mobile-view-prices-btn,
.mobile-phone-btn {
  min-width: 130px;
  font-size: 0.8rem;
  padding: 0.6rem 0.7rem;
  max-width: 45%;
  width: 45%;
  flex: 1;
  flex-shrink: 1;
  white-space: normal;
  box-sizing: border-box;
  line-height: 1.3;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
}
/* Extra small mobile devices */
@media (max-width: 576px) {
  .mobile-logo-center .logo-img {
    height: 30px;
  }

  .mobile-language-right .btn {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
  }

  .navbar-toggler {
    padding: 0.2rem 0.4rem;
  }
}

/* Additional responsive styles for smaller mobile devices */
@media (max-width: 576px) {
  /* Even smaller font sizes for very small mobile devices */
  .hero-content h1 span {
    font-size: 24px !important;
    line-height: 28px !important;
  }

  .hero-content h1 span.info {
    font-size: 20px !important;
    line-height: 24px !important;
  }

  .hero-buttons {
    padding: 0 1rem;
  }

  .btn-primary-custom {
    max-width: 280px;
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }

  .mobile-buttons-container {
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-wrap: nowrap;
  }

  .mobile-view-prices-btn,
  .mobile-phone-btn {
    min-width: 120px !important;
    font-size: 1rem !important;
    padding: 0.5rem 0.5rem !important;
    max-width: 45% !important;
    width: 45% !important;
    flex: 1;
    flex-shrink: 1;
    white-space: normal;
    box-sizing: border-box;
    line-height: 1.3;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    height: 44px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Extra small screens - apply 576px layout for screens smaller than 412px */
@media (max-width: 390px) {
  .product-card-twotone {
    width: 100%;
    max-width: 183.86px;
    height: 217.74px;
    border-radius: 5.53px;
    border-width: 8px;

  }
  
  .product-image-top {
    height: 140px;
    padding: 0.8rem;
  }

  .product-image-top img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .product-footer-blue {
    height: 35px;
  }

  /* Smaller font size for mobile */
  .product-model-name {
    font-size: 16px;
  }

  /* Ensure 2 columns on smaller mobile devices */
  .product-grid .col-md-4 {
    flex: 0 0 calc(50% - 0.375rem);
    min-width: calc(50% - 0.375rem);
  }

  /* Adjust navigation button spacing for smaller screens */
  .nav-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    gap: 10px;
  }
}

/* Extra small screens - ensure buttons never overflow */
@media (max-width: 480px) {
  .hero-section .container {
    padding: 0 1rem;
  }

  .mobile-buttons-container {
    gap: 0.3rem;
    padding: 0 0.5rem;
  }

  .mobile-view-prices-btn,
  .mobile-phone-btn {
    min-width: 110px;
    font-size: 0.7rem;
    padding: 0.5rem 0.4rem;
    max-width: 47%;
    width: 47%;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .features-section {
    padding: 1rem 0;
  }

  .features-section h2 {
    font-size: 22px;
    margin-bottom: 0.6rem;
  }

  .features-section .text-muted {
    font-size: 13px;
    margin-bottom: 1.2rem;
  }

  .feature-card-new {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 1rem;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 0.6rem;
    gap: 0.6rem;
  }

  .feature-icon-box {
    width: 106px;
    height: 106px;
    /* padding: 0.7rem; */
    flex-shrink: 0;
  }

  .feature-content h5 {
    font-size: 20px;
    margin-bottom: 0.3rem;
  }

  .feature-content p {
    font-size: 13px;
    line-height: 1.2;
  }
}