/* Events Page Styles */
.page-events-section {
    padding: 50px 0 0 0;
    position: relative;
    overflow: hidden;
}

.page-events-header {
    margin-bottom: 35px;
}

.page-events-title {
    color: #000;
    font-family: Golden;
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: 60px;
    letter-spacing: 2.5px;
    margin: 0;
}

/* Events List */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Alternate row direction */
.event-card:nth-child(even) {
    flex-direction: row-reverse;
}

.event-image-wrap {
    flex: 1;
    overflow: hidden;
}

.event-main-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9; /* Or adjust based on photos */
}

.event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-title {
    color: #000;
    font-family: Outfit;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.5px;
    margin-top: 0px;
    margin-bottom: 10px;
}

.event-date {
    color: #9A9A9A;
    font-family: Outfit;
    font-size: 18px;
    font-style: normal;
    font-weight: 200;
    line-height: 27px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.event-date svg {
    fill: #999;
}

.event-desc {
  color: #000;
  font-family: Outfit;
  font-size: 18px;
  font-style: normal;
  font-weight: 200;
  line-height: 27px;
  margin-bottom: 25px;
}

.event-btn-wrapper {
    margin-top: auto;
}

.event-btn {
    border-radius: 900px;
    background: #F76A32;
    width: 180px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    text-align: center;
    font-family: Golden;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    transition: background-color 0.3s;
}

.event-btn:hover {
    background-color: #d95a28;
    color: #fff;
}

/* Custom Divider (Copied to be self-sufficient if missing) */
.intro-divider {
    position: relative;
    width: 100%;
    height: 1px;
    margin-top: 130px;
    margin-bottom: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.divider-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0,0,0,0.1); 
    z-index: 1;
}

.divider-image-wrapper {
    position: relative; 
    z-index: 2;
    padding: 0 10px;
}


/* Guest Teachers Section */
.events-teachers-section {
    padding: 0 0 120px 0;
}

.events-teachers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.events-teachers-heading {
    color: #000;
    font-family: Golden;
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 2.5px;
    margin: 0;
}

/* Arrows Setup */
.services-nav-arrows {
    display: flex;
    gap: 30px;
}

.teachers-prev svg, .teachers-next svg {
    transition: opacity 0.3s, transform 0.2s;
}

.teachers-prev, .teachers-next {
    cursor: pointer;
    opacity: 1; 
}

.teachers-prev:hover, .teachers-next:hover {
    opacity: 0.5;
    transform: scale(1.1);
}

/* Slider */
.swiper.teachersSwiper {
    overflow: hidden;
    padding-bottom: 20px;
}

.teacher-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.teacher-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    border-radius: 15px;
    height: 280px;
    margin-bottom: 15px;
}

.teacher-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.teacher-content {
    display: flex;
    flex-direction: column;
}

.teacher-name {
  color: #093A58;
  font-family: Outfit;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 27px;
  letter-spacing: 1px;
  margin: 0 0 0px 0;
}

.teacher-role {
  color: #40494E;
  font-family: Outfit;
  font-size: 17px;
  font-style: normal;
  font-weight: 300;
  line-height: 27px;
  letter-spacing: 0.85px;
}

/* Responsive Overrides (Teachers) */
@media screen and (max-width: 1279px) {
    .events-teachers-header {
        margin-bottom: 10px;
    }
    .events-teachers-heading {
        font-size: 40px;
    }
    .events-teachers-section {
        padding: 0 0 60px 0;
    }
    .event-card {
        gap: 20px;
    }
    .event-main-img {
        height: 250px;
    }
    .event-card {
        align-items: flex-start;
    }
    .page-events-header {
        margin-bottom: 10px;
    }
    .page-events-title {
        font-size: 40px;
    }
    .event-title {
        font-size: 25px;
    }
    .event-date {
        font-size: 16px;
    }
    .event-desc {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 15px;
    }
    .event-card:nth-child(2n) {
        flex-direction: row;
    }
    .intro-divider {
        margin-top: 80px;
        margin-bottom: 80px;
    }
}

@media screen and (max-width: 726px) {
    .events-teachers-section {
        padding: 0 0 45px 0;
    }
    .events-teachers-heading {
        font-size: 27px;
    }
    .page-events-section {
        padding: 20px 0 0 0;
    } 
    .page-events-header {
        margin-bottom: 10px;
    }
    .event-title {
        font-size: 20px;
    }
    .event-date {
        font-size: 15px;
    }
    .event-desc {
        font-size: 15px;
        line-height: 20px;
    }
    .event-card, .event-card:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .event-image-wrap {
        width: 100%;
    }
    
    .event-content {
        width: 100%;
    }
    
    .intro-divider {
        margin-top: 70px;
        margin-bottom: 70px;
    }
    .page-events-title {
        font-size: 27px;
    }
    .event-title {
        font-size: 24px;
    }
    .teachers-prev svg, .teachers-next svg {
        width: 21px;
    }
    .teacher-name {
        font-size: 17px;
    }
    .teacher-role {
        font-size: 15px;
    }
}