/* School Overview Section Styles */
.school-overview-section {
    padding: 100px 20px;
    background: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow: hidden;
    position: relative;
}

/* Background Pattern */
.school-overview-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 130, 33, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.overview-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    /* Center vertically unless stacked */
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

/* --- Left Panel: Intro --- */
.overview-intro {
    flex: 0 0 35%;
    /* Takes about a third */
    position: relative;
    padding: 40px;
    background: #fff;
    /* White bg for clean look or textured */
    border-left: 5px solid #F58221;
    /* Accent border like in reference */
}

/* Decorative Background Shape on Left Panel */
.intro-bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bg-pattern.png');
    /* Pattern if available, or gradient */
    background-size: cover;
    opacity: 0.05;
    z-index: -1;
}

.overview-title {
    font-size: 48px;
    /* Large title */
    line-height: 1.2;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.overview-title .highlight {
    color: #F58221;
    /* Orange highlight */
    display: inline-block;
    position: relative;
}

/* Underline decoration for highlight */
.overview-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(245, 130, 33, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

.overview-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
}

.decorative-dots {
    margin-top: 30px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(#F58221 2px, transparent 2px);
    background-size: 10px 10px;
    opacity: 0.5;
}


/* --- Right Panel: Slider Wrapper --- */
.overview-slider-wrapper {
    flex: 0 0 60%;
    /* Takes remaining space */
    position: relative;
    min-height: 500px;
    /* Ensure height for content */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.overview-slides {
    position: relative;
    width: 100%;
    height: 100%;
    /* overflow: visible for potential overlapping elements */
}

/* Individual Slide */
.overview-slide {
    display: none;
    /* Hidden by default */
    flex-direction: row;
    align-items: center;
    gap: 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
    /* Basic transition, GSAP takes over */
}

.overview-slide.active {
    display: flex;
    opacity: 1;
}

/* Image Wrapper */
.slide-image-wrapper {
    flex: 0 0 40%;
    position: relative;
    z-index: 2;
}

.slide-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    object-fit: cover;
    aspect-ratio: 3/4;
    /* Portrait ratio */
}

/* Decorative Shape Behind Image */
.img-shape-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: #F58221;
    border-radius: 10px;
    z-index: 1;
    transform: rotate(-3deg);
    transition: transform 0.4s ease;
}

/* Border decoration */
.img-shape-border {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80%;
    height: 80%;
    border: 3px solid #F58221;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.3;
}

.overview-slide:hover .img-shape-bg {
    transform: rotate(-6deg) scale(1.05);
}

/* Slide Content */
.slide-content {
    flex: 1;
    padding-left: 20px;
    position: relative;
}

.quote-icon {
    font-size: 40px;
    color: #F58221;
    opacity: 0.2;
    margin-bottom: 20px;
}

.slide-text {
    font-size: 18px;
    /* Slightly larger for readability */
    line-height: 1.8;
    font-style: italic;
    color: #444;
    margin-bottom: 30px;
    border-left: 4px solid #F58221;
    padding-left: 20px;
}

.author-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.author-title {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 5px;
}

/* --- Navigation Controls --- */
.overview-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    /* Space from content */
    padding-left: 40%;
    /* Align under text area roughly */
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #F58221;
    background: transparent;
    color: #F58221;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #F58221;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(245, 130, 33, 0.3);
}

.nav-dots {
    display: flex;
    gap: 8px;
}

.nav-dots .dot {
    width: 10px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-dots .dot.active {
    background: #F58221;
    transform: scale(1.3);
}


/* --- Responsive Styles --- */
@media screen and (max-width: 992px) {
    .overview-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .overview-intro,
    .overview-slider-wrapper {
        flex: 1 1 100%;
        width: 100%;
        min-height: auto;
    }

    .overview-intro {
        border-left: none;
        border-bottom: 5px solid #F58221;
        padding: 30px 0;
    }

    .overview-nav {
        padding-left: 0;
        justify-content: center;
        /* Center nav on mobile */
    }

    .overview-slide {
        /* Keep flex row for tablet if space allows, otherwise wrap */
    }
}

@media screen and (max-width: 768px) {
    .overview-slide {
        flex-direction: column;
        /* Stack image and text */
        text-align: center;
        gap: 30px;
    }

    .slide-image-wrapper {
        width: 200px;
        /* Fixed width for centered image */
        margin: 0 auto;
    }

    .slide-content {
        padding-left: 0;
    }

    .slide-text {
        border-left: none;
        /* Remove side border */
        border-top: 4px solid #F58221;
        /* Add top border instead */
        padding-top: 20px;
        padding-left: 0;
    }

    .quote-icon {
        margin: 0 auto 20px auto;
    }

    .overview-title {
        font-size: 36px;
    }
}