/* static/css/contact.css */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: white;
  color: #333;
  padding-top: 60px;
  /* Adjust according to header height */
  overflow-x: hidden;
  /* Prevent horizontal scrolling */
}

.di-section {
  max-width: 800px;
  margin: 0 auto;
}

.di-image {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 50%;
  height: auto;
}

.di-image2 {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 90%;
  height: auto;
}

.di-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  /* Centers the items horizontally */
  gap: 50px;
  /* Space between the items */
}

.di-nav li {
  display: flex;
  align-items: center;
  /* Centers the content vertically if needed */
}

.di-nav li a {
  text-decoration: none;
  color: #042a53;
  font-weight: bold;
  font-family: 'Aptos Narrow', 'Segoe UI', sans-serif;
  text-align: center;
  /* Ensures text inside the <a> tag is centered */
}

.di-nav li a:hover {
  text-decoration: underline;
  color: rgb(30, 30, 199);
}

.product-card {
  flex: 1 1 calc(50% - 20px);
  /* Two cards per row with spacing */
  box-sizing: border-box;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  transition: transform 0.2s ease;
}


.cta {
  padding: 40px;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 98%;
  margin: 0 auto;
  flex-wrap: wrap;
  border: 2px solid rgb(208, 204, 204);
  border-radius: 15px;
  padding: 90px;
  box-sizing: border-box;
}

.cta-text {
  flex: 1;
  min-width: 300px;
}

.cta-text h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 35px;
  margin-bottom: 20px;
  color: rgb(6, 94, 149);
}

.cta-text p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.cta-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;
  gap: 15px;
}

.cta-buttons .btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  border: 2px solid #007bff;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-secondary {
  background-color: white;
  color: #007bff;
  border: 2px solid #007bff;
}

.btn-secondary:hover {
  background-color: #e6f0ff;
}

.cta-image {
  flex: 1;
  min-width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.productinfo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 100px;
  padding: 40px;
  text-align: center;
}

.productinfo>div {
  width: 400px;
  padding: 20px;
  border-radius: 8px;

}

/* Popup overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* Popup content box */
.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  width: 95%;
  height: 80%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Close button */
.close-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 6px 12px;
  background-color: #314fe7;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.close-button:hover {
  background-color: #2421da;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  margin-top:100px; 
  overflow: hidden;
}


.slider {
  display: flex;
  width: 100%;
  height: 100%;
}

.slide {
  display: flex;                /* ✅ FLEX LAYOUT */
  align-items: center;          /* vertical center */
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 8%;
  box-sizing: border-box;
}

/* LEFT SIDE CONTENT */
.slide-content {
  max-width: 520px;
  color: #0e0e0e;
}

/* RIGHT SIDE IMAGE */
.slide-img {
  width: 45%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
}

/* BUTTONS */
.img-but {
  display: flex;
  gap: 15px;
  padding: 0;
  list-style: none;
  margin-top: 20px;
}

.img-but li a {
  padding: 12px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
}

.img-but li a:hover {
  background-color: #0056b3;
}
