.teacher-message-slider {
    padding: 60px 0;
    background-color: #f4f4f4;
}

.teacher-message-slider .carousel-inner {
    padding: 30px 0;
}

.teacher-message-slider .section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.teacher-message-slider .message {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.teacher-message-slider .name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.teacher-message-slider .designation {
    font-size: 14px;
    font-weight: 400;
    color: #888;
}

.teacher-message-slider .carousel-control-prev-icon,
.teacher-message-slider .carousel-control-next-icon {
    background-color: #333;
}

.teacher-message-slider .carousel-control-prev,
.teacher-message-slider .carousel-control-next {
    width: 5%;
}

.teacher-message-slider img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.teacher-message-slider .carousel-item {
    padding: 30px 0;
}

.teacher-message-slider .col-md-2 {
    text-align: center;
}

.teacher-message-slider .carousel-item .row {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.teacher-message-slider .carousel-item .col-md-2 {
    margin-bottom: 30px;
}

.hero-slider {
    margin-top: -2px;
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 400px;
    overflow: hidden;
}
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    text-align: left;
    color: #fff;
    z-index: 3;
    width: 90%;
    max-width: 900px;

    /* glass effect */
    background: rgba(0, 139, 139, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 40px 50px;
    border-radius: 16px;
    border: 1px solid rgba(0, 139, 139, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
@media (max-width: 768px) {
    .hero-content {
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        padding: 25px;
    }
}

.hero-content h1 {
    font-size: 5.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}
.hero-content p {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #f9f9f9;
}
.dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}
.dot.active {
    background: #1ab69d;
}

@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.6rem; }
    .hero-content p { font-size: 1.1rem; }
}
@media (max-width: 768px) {
    .hero-slider { height: 70vh; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
}
@media (max-width: 480px) {
    .hero-slider { height: 65vh; }
    .hero-content h1 { font-size: 1.6rem; }
    .hero-content p { font-size: 0.95rem; }
}