.top-slider {
    width: 100%;
    height: 270px;
    position: relative;
    background: #1e8dd2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.swiper {
    width: 100%;
    height: 270px;
}
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 270px;
}
.slider-img {
    width: 1000px;
    height: 2700px;
    object-fit: cover;
}
.slider-text-box {
    position: absolute;
    top: 32px;
    left: 48px;
    background: #fff;
    padding: 22px 30px 22px 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    max-width: 340px;
    z-index: 2;
    border-radius: 2px;
}
.slider-text-box p {
    font-size: 1.08rem;
    color: #222;
    margin: 0;
    line-height: 1.6;
}
.section {
    padding: 48px;
    /* max-width: 1100px; */
    margin: 0 auto;
    margin-bottom: 50px;
}
.section-title {
    font-size: 54px;
    font-weight: 800;
    color: #1e8dd2;
    margin-bottom: 36px;
    letter-spacing: 1px;
    text-align: left;
}
.about-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
}
.about-vertical-line {
    width: 4px;
    background: #f7a600;
    border-radius: 2px;
    margin-right: 32px;
    min-height: 220px;
    margin-top: 8px;
}
.about-texts {
    flex: 1;
}
.about-content {
    font-size: 1.08rem;
    color: #444;
    margin-bottom: 18px;
    line-height: 1.8;
    text-align: justify;
}

.mission-vision-row {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    justify-content: center;
}
.mission-vision-box {
    flex: 1;
    background: #fafbfc;
    border: 1px solid #e6e6e6;
    padding: 38px 28px 32px 28px;
    text-align: center;
    min-width: 240px;
    min-height: 120px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.mission-vision-title {
    color: #f7a600;
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
    text-align: center;
}
.mission-vision-box div:last-child {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}
.mission-vision-box:hover {
    transform: translateY(-3px);
}
.history-section {
    background: #1e8dd2;
    color: #fff;
    padding: 0;
    position: relative;
    padding: 48px;
}
.history-box {
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.history-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}
.history-title-dot {
    width: 16px;
    height: 16px;
    background: #3380a7;
    border-radius: 50%;
    margin-right: 16px;
}
.history-title {
    color: #f7a600;
    font-weight: 700;
    font-size: 54px;
    letter-spacing: 1px;
    margin: 0;
    text-align: center;
}
.history-content-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
    width: 100%;
}
.history-slider-col {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.history-slider-line {
    position: absolute;
    left: -32px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #3380a7;
    border-radius: 3px;
    height: 100%;
    content: "";
    z-index: 1;
}
.history-slider {
    width: 100%;
    max-width: 540px;
    margin: 0 auto 18px auto;
    border-radius: 8px;
    overflow: hidden;
    z-index: 2;
}
.history-img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.history-slider .swiper-pagination {
    position: static;
    margin-top: 12px;
    text-align: center;
}
/* Custom Swiper pagination bullets for history slider */
.history-slider .swiper-pagination-bullet {
    width: 14px;
    height: 8px;
    background: #fff;
    opacity: 1;
    border-radius: 8px;
    margin: 0 6px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}
.history-slider .swiper-pagination-bullet-active {
    width: 32px;
    height: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.history-text-col {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.history-text-block {
    font-size: 1.08rem;
    color: #eaeaea;
    line-height: 1.7;
    margin-bottom: 0;
    text-align: justify;
}

@media (max-width: 1500px) {
    .history-box {
        width: 100%;
    }
}
@media (max-width: 900px) {
    .history-content-row {
        flex-direction: column;
        gap: 32px;
        padding: 0 12px;
    }
    .history-slider {
        max-width: 80vw;
    }
    .history-img {
        height: 180px;
    }
    .history-slider-line {
        display: none;
    }

    .section {
        padding: 32px 8px 0 8px;
    }
    .about-row {
        flex-direction: column;
    }
    .about-vertical-line {
        display: none;
    }
    .mission-vision-row {
        flex-direction: column;
        gap: 24px;
    }
}
@media (max-width: 600px) {
    .history-title {
        font-size: 1.3rem;
    }
    .history-title-dot {
        width: 10px;
        height: 10px;
        margin-right: 8px;
    }
    .history-content-row {
        padding: 0 2vw;
    }
    .history-img {
        height: 120px;
    }
}
/* .angled-divider {
    background: #6d0d0d;
    height: 100px;
    width: 25%;

} */
.angled-divider {
    height: 130px;
    width: 25%;
    background: linear-gradient(
        to top left,
        #1e8dd2 0%,
        #1e8dd2 50.1%,
        white 49.9%,
        white 100%
    );
    transform: rotate(180deg);
}
.slider-hero-section {
    background: #1e8dd2;
    padding: 50px;
    /* width: 100vw; */
    min-height: 520px;
    display: flex;
    justify-content: center;
}
.slider-hero-box {
    width: 90%;
    top: -33px;
    /* max-width: 1440px; */
    min-height: 420px;
    position: relative;
    padding: 0px 0 0px 30px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
}
.slider-hero-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    width: 420px;
    min-height: 260px;
    margin-right: -60px;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.slider-hero-card-bar {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 8px;
    background: #f7a600;
    border-radius: 0 8px 0 8px;
}
.slider-hero-card-text {
    padding: 48px 36px 36px 36px;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    text-align: left;
}
.slider-hero-apply-tab {
    position: absolute;
    top: 0;
    right: 0;
    background: #f7a600;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 32px 8px 8px 8px;
    writing-mode: vertical-rl;
    text-align: center;
    border-radius: 0 0 8px 8px;
    z-index: 3;
    height: 120px;
    cursor: pointer;
}
@media (max-width: 900px) {
    .slider-hero-box {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 24px 0;
    }
    .slider-hero-card {
        width: 100%;
        margin: 0 0 16px 0;
    }
    .slider-hero-img {
        height: 180px;
    }
    .slider-hero-img img {
        height: 180px;
    }
    .slider-hero-apply-tab {
        top: 0;
        right: 0;
        height: 80px;
        font-size: 0.9rem;
    }
}
.container {
    min-height: 100px;
    margin: 200px 0 0 0;
    box-sizing: border-box;
    position: relative;
}
.slider-hero-img-outline {
    background: #1e8dd2;
    margin-bottom: 32px;
    align-items: flex-end;
    justify-content: flex-end;
    margin-left: 72px;
    height: 500px;
}
.slider-hero-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.slider-hero-img img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 8px;
}
.message-container {
    width: 100%;
    background-color: #f8f8f8;
    /* padding: 80px 0; */
}

.content-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.message-title {
    text-align: center;
    font-family: Mallanna;
    font-weight: 400;
    font-size: 40px;
    line-height: 60px;
    letter-spacing: 0px;
    text-align: center;
    color: #004675;
    margin-bottom: 20px;
}

.message-text-title {
    text-align: center;
    font-family: Mallanna;
    font-weight: 400;
    font-size: 28px;
    line-height: 38px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: #36384e;
    margin-bottom: 40px;
}

.message-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.principle-image {
    flex: 0 0 450px;
}

.principle-image img {
    width: 100%;
    aspect-ratio: 1/1.1;
    object-fit: cover;
    border-radius: 30px;
}

.message-text {
    flex: 1;
    position: relative;
    padding: 20px 40px;
}

.quote-marks {
    position: relative;
    margin-top: 35px;
}

.quote-left {
    font-size: 120px;
    line-height: 1;
    font-family: "Poppins";
    color: #0082d6;
    position: absolute;
}

.quote-left {
    top: -60px;
    left: -10px;
}

.quote-right {
    font-size: 20px;
    line-height: 1;
    font-family: "Poppins";
    color: #0082d6;
    position: absolute;
}

.testimonial-text {
    font-family: Mallanna;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: justify;
    vertical-align: middle;
    color: #666666;
}

.principle-message {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 40px;
}

.principle-info {
    margin-top: 10%;
}

.principle-name {
    color: #404040;
    margin: 0 0 15px 0;
    font-family: Mallanna;
    font-weight: 400;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
}

.college-name {
    color: #666666;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-family: Mallanna;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
}

.designation {
    color: #ff870a;
    margin: 0;
    font-family: Mallanna;
    font-weight: 400;
    font-size: 22px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .message-content {
        gap: 60px;
    }

    .principle-image {
        flex: 0 0 400px;
    }
}

@media screen and (max-width: 768px) {
    .message-container {
        padding: 60px 0;
    }

    .message-content {
        flex-direction: column;
    }

    .principle-image {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    .message-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .message-text {
        padding: 40px 20px;
    }

    .quote-mark {
        font-size: 60px;
    }
}

@media screen and (max-width: 480px) {
    .message-container {
        padding: 40px 0;
    }

    .content-wrapper {
        padding: 0 16px;
    }

    .message-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .message-text {
        padding: 30px 15px;
    }

    .principle-message {
        font-size: 14px;
        line-height: 1.6;
    }

    .quote-mark {
        font-size: 48px;
    }
}
