﻿@media (max-width: 767px) {
    .home-results-carousel .owl-stage-outer,
    .home-results-carousel .owl-stage {
        display: block !important;
    }

    .home-results-carousel .owl-item {
        width: 100% !important;
        margin-bottom: 20px;
        display: block;
    }

    .imgSection {
        margin-bottom: 40px;
        margin-top: 40px;
    }
}

.section-fluid .post-modern-horizontal::before {
    background-color: #fff;
    border: 1px solid #d4d4d4;
}
.results-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: 3px 25px;
}

    .results-list li {
        position: relative;
        padding-left: 18px;
    }
        .results-list li a {
            color: black
        }

        .results-list li::before {
            content: "★";
            position: absolute;
            left: 0;
            top: 5px;
            font-size: 10px;
            color: black;
            line-height: 16px;
        }

.about-section {
    text-align: center;
    padding: 0px 0px 60px 00px;
    background: #fff;
}

.about-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.about-section p {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.about-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 15px;
    width: 260px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
    }

    .card img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
        margin: 0 auto 15px; /* Center image */
        display: block;
        border: 4px solid #eee;
        transition: all 0.3s ease;
    }

    .card:hover img {
        border-color: #ff6600;
        transform: scale(1.1);
    }

    .card h3 {
        font-size: 20px;
        margin: 10px 0;
        color: #222;
    }

    .card p {
        font-size: 14px;
        color: #666;
    }
/* Fullscreen Swiper */
.swiper {
    width: 100%;
    height: calc(100vh - 135px);
    position: relative;
}

/* Slide wrapper */
.swiper-slide {
    position: relative;
    overflow: hidden;
}

/* Background image with smooth zoom */
.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    transition: transform 8s ease-in-out;
}

/* Zoom on active slide */
.swiper-slide-active .slide-bg {
    transform: scale(1.12);
}

/* ----------- NEWS MARQUEE (like DPS Bopal) ----------- */
.news-marquee {
    position: absolute;
    top: 0;
    width: 100%;
    color: #FFE600;
    background: rgba(0, 0, 0, 0.8);
    font-size: 17px;
    font-weight: normal !important;
    padding: 8px 10px;
    z-index: 998;
    pointer-events: none;
}
    .news-marquee marquee {
        pointer-events: auto !important;
    }

    .news-marquee a {
        pointer-events: auto !important;
        cursor: pointer;
    }
/* ---------- SLIDE CAPTION (centered like DPS Bopal) ----------- */
.slide-content {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    text-align: left;
    color: #fff;
    z-index: 999;
}

    /* Badge above title */
    .slide-content .small-tag {
        display: inline-block;
        padding: 6px 18px;
        background: rgba(0, 0, 0, 0.45);
        border-radius: 25px;
        font-size: 15px;
        margin-bottom: 18px;
        text-shadow: 0 0 12px rgba(0,0,0,0.5);
    }

    /* Title */
    .slide-content h1 {
        font-size: 48px;
        font-weight: 700;
        padding: 6px 18px;
        background: rgba(0, 0, 0, 0.45);
        color: #fff;
        line-height: 1.2;
        margin-bottom: 12px;
        text-shadow: 0 0 18px rgba(0,0,0,0.5);
    }

    /* Subtitle */
    .slide-content h4 {
        font-size: 22px;
        font-weight: 400;
        margin-bottom: 28px;
        max-width: 700px;
        text-shadow: 0 0 14px rgba(0,0,0,0.4);
    }

    /* Apply button */
    .slide-content .btn-apply {
        display: inline-flex;
        align-items: center;
        padding: 12px 28px;
        border-radius: 50px;
        background: #fff;
        color: #000;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        gap: 10px;
        transition: 0.3s ease;
    }

        .slide-content .btn-apply:hover {
            background: #f1f1f1;
        }

/* Bottom shadow gradient for clarity */
.swiper-slide::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(transparent, rgba(0,0,0,0.55));
    z-index: 1;
}

/* Remove Swiper arrows */
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

/* Pagination dots */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: #ff5a5f;
    opacity: 1;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .slide-content h1 {
        font-size: 34px;
    }

    .slide-content h4 {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .swiper {
        height: 70vh;
    }

    .slide-content h1 {
        font-size: 26px;
    }

    .slide-content h4 {
        font-size: 16px;
    }
}


html {
    scroll-behavior: smooth;
}

.left-social-bar {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 12000;
}


    .left-social-bar .icon {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        margin: 8px 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(6px);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 15px;
        text-decoration: none;
        transition: 0.3s ease;
    }

        .left-social-bar .icon:hover {
            transform: scale(1.12);
            background: rgba(0, 0, 0, 0.7);
        }

.scroll-line {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .scroll-line span {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        color: #fff;
        background-color:rgba(0, 0, 0, 0.5);
        font-size: 12px;
        padding-top:5px;
        padding-bottom:5px;
        border-radius:8px;
        margin-bottom: 8px;
        letter-spacing: 2px;
    }

    .scroll-line .arrow {
        width: 1px;
        height: 80px;
        background-color: rgba(0, 0, 0, 0.5);
        position: relative;
    }

        .scroll-line .arrow::after {
            content: "";
            position: absolute;
            bottom: -6px;
            left: 50%;
            transform: translateX(-50%);
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 8px solid rgba(0, 0, 0, 0.5);
        }

@media (max-width: 768px) {
    .left-social-bar {
        left: auto;
        right: 10px; /* Place on right in mobile */
        top: 50%;
    }

        .left-social-bar .icon {
            width: 38px;
            height: 38px;
            font-size: 16px;
            margin: 6px 0;
        }

    .scroll-line span {
        font-size: 10px;
    }

    .scroll-line .arrow {
        height: 60px;
    }
}