/* your entire <style> code pasted exactly */
.slider-video {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
}

.num-color{
    background-color: #cbdde8;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#divide{
    display: flex;
    gap:50px;
}
/* Full Section */
.mod-section {
  padding: 20px;
}

/* TABS */
.mod-header-tabs {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 10px;
    padding: 05px;
    background: #e7f0f7;
    border-radius: 40px;
}

.mod-tab {
  background: transparent;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
}

.mod-tab.active {
  background: #2c79d6;
  color: #fff;
}

/* CONTENT LAYOUT */
.mod-content-wrapper {
  display: flex;
  gap: 40px;
}

/* LEFT BOX (colored, rounded like screenshot) */
.mod-left-box {
  /*background: #e7f0f7;*/
  padding: 10px;
  border-radius: 25px;
  position: relative;
}

.mod-text p{
    padding: 0 15px;
    font-size: 16px;
}
/* Number 1. 2. 3. */
.mod-number {
  font-size: 35px;
  font-weight: 600;
  color: #a3b9c7;
}

.mod-content-section {
    width: 50%;
    background-color: #e7f0f7;
    border-radius: 20px;
}

.mod-tabs-videos-section {
  /*margin-top: 40px;*/
  width: 50%;
}

/* Existing CSS continues... */

/* LEFT TEXT */
.mod-left-content h2 {
  font-size: 28px;
  margin-bottom: 0px;
 
}

.mod-text {
  display: none;
  opacity: 0;
  transition: .35s ease;
}

.mod-text.active {
  display: block;
  opacity: 1;
}

/* RIGHT VIDEO SLIDER */
.mod-right-slider {
  width: 100%;
  position: relative;
}

.mod-carousel {
  display: none;
  opacity: 0;
  transition: .4s ease;
}

.mod-carousel.active {
  display: block;
  opacity: 1;
}

.slider-video {
  width: 100%;
  border-radius: 18px;
}

/* ARROWS */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  padding: 5px 15px;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  z-index: 10;
}

.left-arrow { left: 10px; }
.right-arrow { right: 10px; }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    /* Stack both sections */
    #divide {
        flex-direction: column-reverse;
        gap: 25px;
    }

    .mod-content-section,
    .mod-tabs-videos-section {
        width: 100%;
    }

    /* Adjust left box spacing */
    .mod-left-box {
        padding: 15px;
    }

    .num-color {
        flex-direction: row;
        justify-content: space-between;
        padding: 12px;
    }

    /* Heading size */
    .mod-left-content h2 {
        font-size: 22px;
    }

    .mod-text p {
        font-size: 14px;
        padding: 0 10px;
    }

    /* TABS mobile style */
    .mod-header-tabs {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
        border-radius: 15px;
    }

    .mod-tab {
        padding: 10px 18px;
        font-size: 14px;
        flex: 1 1 calc(33% - 10px);
        text-align: center;
        border-radius: 20px;
    }

    .mod-tab.active {
        border-radius: 20px;
    }

    /* VIDEO */
    .slider-video {
        border-radius: 10px;
    }

    /* Arrows on mobile */
    .slider-arrow {
        padding: 8px 11px;
        font-size: 18px;
        top: auto;
        bottom: 10px;
        transform: none;
    }

    .left-arrow {
        left: 15px;
    }
    .right-arrow {
        right: 15px;
    }
}