/* Hero Banner */
#hero {
  background-color: #E2E7F3;
  height: 90vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide img {
  position: absolute;
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
  z-index: 1;
  width: 34%;
}

.indicators {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.indicator.active {
  background-color: #088178;
}

/* Keep existing hero styles for text and button */
#hero h4 { padding-bottom: 15px; }
#hero h1 { color: #088178; }
#hero button {
  background-image: url('../img/button.png');
  background-color: transparent;
  color: #088178;
  border: 0;
  padding: 14px 80px 14px 65px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  position: relative;
  z-index: 1;
}

/* Services Section */
#feature {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px !important;
}

#feature button{
  background-image: url('../img/button.png');
  background-color: transparent;
  color: #088178;
  border: 0;
  padding: 14px 80px 14px 65px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  margin-top: 20px;
}

/* Center Service Text */
.service-text {
    text-align: center;
}

/* Features Container */
.feature-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 55px;
    padding: 20px 0;
}

/* Feature Box */
#feature .fe-box {
    width: 180px;
    text-align: center;
    padding: 25px 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #cce7d0;
    border-radius: 4px;
    transition: 0.3s ease-in-out;
}

#feature .fe-box:hover {
    box-shadow: 5px 5px 30px rgba(70, 62, 221, 0.2);
}

/* Image Style */
#feature .fe-box img {
    width: 50%;
    margin-bottom: 15px;
}

/* Styled Text */
#feature .fe-box h6 {
    display: inline-block;
    padding: 9px 12px;
    border-radius: 4px;
    color: #088178;
    background-color: #fddde4;
    font-weight: bold;
    font-size: 13px;
}

/* Unique Background Colors */
#feature .fe-box:nth-child(1) h6 { background-color: #fddde4; }
#feature .fe-box:nth-child(2) h6 { background-color: #cdebbc; }
#feature .fe-box:nth-child(3) h6 { background-color: #d1e8f2; }
#feature .fe-box:nth-child(4) h6 { background-color: #cdd4f8; }
#feature .fe-box:nth-child(5) h6 { background-color: #f6dbf6; }
#feature .fe-box:nth-child(6) h6 { background-color: #fff2e5; }


/* About Section */
.about_section {
  display: flex;
}

/* Row Layout */
.about_section .about_row {
  display: flex;
  align-items: center;
  position: relative;
}

/* Image Section */
.about_section .img_container {
  flex: 1;
  position: relative;
  max-width: 50%;
}

.about_section .img_container img {
  width: 100%;
  height: 440px;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Detail Box */
.about_section .detail-box {
  flex: 1;
  background-color: #ffffff;
  padding: 40px;
  position: relative;
  margin-left: -45px;
  z-index: 2;
}

.about_section .detail-box p{
  text-align: left;
}

/* Heading */
.about_section .heading {
  position: relative;
  display: inline-block;
}

/* Button */
.about_section button{
  background-image: url('../img/button.png');
  background-color: transparent;
  color: #088178;
  border: 0;
  padding: 14px 80px 14px 65px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  margin-top: 20px;
}


/* Feature Products  */

#product1 {
  position: relative;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  margin: 0 -35px; /* Compensate for gap */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 25px; /* Space between items */
  padding: 0 35px; /* Compensate for container margin */
}

#product1 .pro {
  width: calc(25% - 15px); /* 4 items per row with gap */
  flex-shrink: 0;
  box-sizing: border-box;
  margin: 0 0 15px 0;
  border: 1px solid #cce7d0;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
  transition: 0.2s ease;
  overflow: hidden;
}

.carousel-nav {
  position: absolute;
  top: 20px;
  right: 5%;
  z-index: 2;
  display: flex;
  gap: 10px;
}

#product1 .carousel-btn {
  background: #088178 !important;
  border: none !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0;
  transition: background 0.3s ease !important;
}

#product1 .carousel-btn:hover {
  background: #333 !important;
}

.carousel-btn:disabled {
  background: #cce7d0;
  cursor: not-allowed;
  opacity: 0.7;
}

.carousel-btn:hover:not(:disabled) {
  background: #06695f;
}

#product1 .pro:hover{
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.06);
}

#product1 .pro img{
 width: 100%;
 height: inherit;
 object-fit: cover;
}

#product1 .pro .images{
  width: 100%;
  height: 220px;
  background-color: #f3f3f3;
  display: flex;
  align-items: center;
}

#product1 .pro .des{
  text-align: center;
  padding: 25px 0;
  background-color: #088178;
}

#product1 .pro .des h5 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}


#product1 button{
  background-image: url('../img/button.png');
  background-color: transparent;
  color: #088178;
  border: 0;
  padding: 14px 80px 14px 65px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  margin-top: 20px;
  background-repeat: no-repeat;
}

/* Client Section */

.client_section {
  text-align: center;
  background-color: #f9f9f9;
  padding: 80px !important;
}

/* Heading */
.heading_container h2 {
  margin-bottom: 20px;
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
}

/* Testimonial Box */
.box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  margin: 10px 0;
}

.img-box {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 50%;
  margin-bottom: 15px;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-box h4 {
  margin-bottom: 5px;
}

.detail-box p {
  text-align: center;
  padding: 0 10px;
}

/* Navigation Buttons */
.carousel-btn-box {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.prev-btn, .next-btn {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  margin: 5px;
  transition: background 0.3s;
}

.prev-btn:hover, .next-btn:hover {
  background-color: #088178;
}

/* Blog Section */
#blog h2{
  text-align: center;
  margin-bottom: 40px;
}
.blog-container {
  display: flex;
  gap: 20px;
}

/* Featured Blog Post */
.blog-featured {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.blog-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
}

.blog-content .category {
  background: #2c3e50;
  padding: 8px 10px;
  font-size: 14px;
}

#blog .blog-container .blog-content h2 {
  font-size: 24px;
  margin-top: 15px;
  line-height: 1.3;
  color: #fff;
  text-align: left !important;
  margin-bottom: 0;
}

.blog-content .author {
  font-size: 14px;
  margin-top: 10px;
  color: #fff;
}

/* Sidebar Blog Posts */
.blog-sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-item {
  display: flex;
  gap: 20px;
  align-items: center;
}

.blog-item img {
  width: 260px;
  height: 155px;
  object-fit: cover;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.25);
}

.blog-info {
  flex: 1;
}

.blog-info .category {
  font-size: 12px;
  padding: 6px 10px;
  display: inline-block;
  margin-bottom: 5px;
}

.blog-info .tech {
  background: #34495e;
  color: #fff;
}

.blog-info .health {
  background: #27ae60;
  color: #fff;
}

.blog-info h3 {
  font-size: 16px;
  margin-bottom: 5px;
  line-height: 1.4;
}
.blog-info p {
  margin-bottom: 0px;
  line-height: 1.4;
}

.blog-info .date {
  font-size: 12px;
  color: gray;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-container {
      flex-direction: column;
  }

  .blog-featured {
      flex: 1;
  }

  .blog-sidebar {
      flex-direction: column;
  }

  .blog-item {
      flex-direction: column;
  }

  .blog-item img {
      width: 100%;
      height: auto;
  }
}


/* Add these media queries at the end of your existing CSS */
@media (max-width: 1000px) { /* Tablet */
  #hero {
      height: 100vh !important;
      padding: 0 40px;
  }

  .slide {
      padding: 60px 40px;
      justify-content: start;
      align-items: center;
      text-align: center;
  }

  .slide img {
      position: absolute;
      bottom: 0;
      width: 40%;
      right: auto;
      transform: translateY(0);
  }

  #hero h1 {
      font-size: 32px;
  }

  #hero h2 {
      font-size: 24px;
  }

  #hero h4 {
      font-size: 16px;
  }

  #hero button {
      padding: 12px 40px;
      margin: 0 auto;
  }

  .indicators {
      bottom: 40px;
  }
}

@media (max-width: 660px) { /* Mobile */
  #hero {
      height: 110vh;
      padding: 0 30px;
  }

  .slide {
      padding: 40px 30px !important;
  }

  .slide img {
    margin-top: 20px;
    width: 60%;
  }

  #hero h1 {
      font-size: 28px;
      line-height: 1.2;
  }

  #hero h2 {
      font-size: 20px;
  }

  #hero h4 {
      font-size: 14px;
      padding-bottom: 10px;
  }

  #hero p {
      font-size: 14px;
      margin: 10px 0;
  }

  #hero button {
      padding: 10px 30px;
      font-size: 14px;
      margin-top: 15px;
  }

  .indicators {
      bottom: 20px;
      gap: 8px;
  }

  .indicator {
      width: 10px;
      height: 10px;
  }
}


