#section-3 {
  padding: 60px 40px;
}

/* Overall Layout */
.sec3-layout {
  flex-direction: row;
}

.sec3-text-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sec3-headings-con {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  font-style: italic;
  font-size: x-small;
  margin-right: 35px;
}

.sec3-txt-heading {
  text-align: end;
}

.sec3-subhead-con {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.sec3-subhead-con hr {
  width: 70px;
  opacity: 1;
  color: #ffff;
}

.sec3-middle-txt-con {
  display: flex;
  flex-direction: column;
  gap: 0px;
  font-family: var(--font1);
  color: var(--secondary-green);
}
.sec3-middle-txt1 {
  font-size: 3rem;
}
.sec3-middle-txt2 {
  font-size: 3rem;
}

.sec3-para-con {
  width: 80%;
}
.sec3-para-text {
  line-height: 1.6;
  font-size: large;
}
/* Carousel Column */
.sec3-carousel-col {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.sec3-carousel-container {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.sec3-carousel-inner {
  border-radius: 15px;
  overflow: hidden;
}

.carousel-item {
  position: relative;
}

.carousel-item img {
  height: 550px;
  width: 450px;
}

.carousel-item-text-con {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px;
  height: 40%;
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.carousel-item-text-con span {
  color: var(--secondary-green);
  display: block;
  font-family: var(--font1);
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 5px;
}

.carousel-item-text-con p {
  color: var(--secondary-col);
  margin: 0;
  font-size: small;
  line-height: 1.6;
  font-size: medium;
}

/* Carousel Indicators */
.sec3-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  gap: 8px;
}

.sec3-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sec3-indicators button.active {
  background-color: var(--teritary-col);
  width: 30px;
  border-radius: 6px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Desktop (1200px and up) */
@media (max-width: 1200px) {
  #section-3 {
    padding: 20px 10px;
  }

  .sec3-headings-con {
    font-size: x-small;
  }

  .sec3-txt-heading {
    text-align: left;
  }

  .sec3-middle-txt1,
  .sec3-middle-txt2 {
    font-size: 2rem;
  }

  .sec3-para-text {
    font-size: medium;
    line-height: 1.6;
  }

  .sec3-carousel-container {
    max-width: 550px;
  }

  .carousel-item img {
    height: 500px;
    width: 550px;
  }

  .carousel-item-text-con {
    width: 70%;
    height: 35%;
    padding: 6px;
  }

  .carousel-item-text-con span {
    font-size: 1.8rem;
    margin-top: 20px;
  }
}

/* Large Tablet (900px - 1199px) */
@media (max-width: 899px) {
  #section-3 {
    padding: 10px 5px;
  }

  .sec3-headings-con {
    font-size: x-small;
  }

  .sec3-txt-heading {
    text-align: left;
  }

  .sec3-middle-txt1,
  .sec3-middle-txt2 {
    font-size: 1.5rem;
  }

  .sec3-para-text {
    font-size: medium;
    line-height: 1.6;
  }

  .sec3-carousel-container {
    max-width: 550px;
  }

  .carousel-item img {
    height: 500px;
    width: 550px;
  }

  .carousel-item-text-con {
    width: 70%;
    height: 35%;
    padding: 6px;
  }

  .carousel-item-text-con span {
    font-size: 1.8rem;
    margin-top: 15px;
  }
}

/* Tablet (768px - 899px) */
@media (max-width: 768px) {
  #section-3 {
    padding: 50px 20px;
  }

  .sec3-layout {
    flex-direction: column;
    gap: 30px !important;
  }

  .sec3-text-col {
    padding: 10px;
  }

  .sec3-headings-con {
    margin-right: 0;
    align-items: flex-start;
  }

  .sec3-txt-heading {
    text-align: start;
  }

  .sec3-middle-txt1,
  .sec3-middle-txt2 {
    font-size: 1.8rem;
  }

  .sec3-para-con {
    width: 100%;
  }

  .sec3-para-text {
    font-size: 14px;
  }

  .carousel-item img {
    height: 350px;
    width: 300px;
  }

  .sec3-carousel-container {
    max-width: 100%;
    width: 100%;
  }

  .carousel-item-text-con {
    width: 80%;
    height: 40%;
    padding: 10px;
  }

  .carousel-item-text-con span {
    font-size: 1.3rem;
  }

  .carousel-item-text-con p {
    font-size: 12px;
  }
}

/* Mobile (520px - 767px) */
@media (max-width: 519px) {
  #section-3 {
    padding: 20px 10px;
  }

  .sec3-layout {
    flex-direction: column;
    gap: 20px !important;
  }

  .sec3-text-col {
    padding: 8px;
    order: 1;
  }

  .sec3-carousel-col {
    order: 2;
    padding: 10px 0;
  }

  .sec3-headings-con {
    margin-top: 20px;
    margin-right: 0;
    align-items: flex-start;
  }

  .sec3-txt-heading {
    text-align: start;
    font-size: 12px;
  }

  .sec3-middle-txt1,
  .sec3-middle-txt2 {
    font-size: 1.5rem;
  }

  .sec3-para-con {
    width: 100%;
  }

  .sec3-para-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .carousel-item img {
    height: 280px;
    width: 100%;
  }

  .sec3-carousel-container {
    max-width: 100%;
    width: 100%;
  }

  .sec3-carousel-col {
    padding: 5px;
  }

  .carousel-item-text-con {
    width: 100%;
    height: 35%;
    padding: 8px;
  }

  .carousel-item-text-con span {
    font-size: 1.1rem;
    margin-bottom: 3px;
  }

  .carousel-item-text-con p {
    font-size: 11px;
    line-height: 1.3;
  }

  .sec3-indicators {
    bottom: 10px;
    gap: 5px;
  }

  .sec3-indicators button {
    width: 8px;
    height: 8px;
  }

  .sec3-indicators button.active {
    width: 18px;
  }
}

/* Small Mobile (< 375px) */
@media (max-width: 374px) {
  #section-3 {
    padding: 30px 10px;
  }

  .sec3-layout {
    flex-direction: column;
    gap: 15px !important;
  }

  .sec3-text-col {
    padding: 5px;
  }

  .sec3-headings-con {
    margin-top: 15px;
    font-size: 10px;
  }

  .sec3-txt-heading {
    font-size: 11px;
  }

  .sec3-middle-txt1,
  .sec3-middle-txt2 {
    font-size: 1.2rem;
  }

  .sec3-para-text {
    font-size: 12px;
    line-height: 1.4;
  }

  .carousel-item img {
    height: 240px;
    width: 100%;
  }

  .carousel-item-text-con {
    width: 100%;
    height: 30%;
    padding: 6px;
  }

  .carousel-item-text-con span {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }

  .carousel-item-text-con p {
    font-size: 10px;
    line-height: 1.2;
  }

  .sec3-indicators {
    bottom: 8px;
    gap: 4px;
  }

  .sec3-indicators button {
    width: 6px;
    height: 6px;
  }

  .sec3-indicators button.active {
    width: 14px;
  }
}
