.swiper-slide img {
  width: 95%;
  border-radius: 30px;
  transition: transform 0.3s ease-in-out;
}



.swiper-slide:hover .swiper-content {
  bottom: 0; 
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .swiper-navigation {
    gap: 10px;
    margin-top: 30px;
  }
}



/* placments_swiper  */
.student-placments{
  background: url(../img/background/03.png);
  width: 100%;
  padding: 70px 0px;
}
.p_swiper-container {
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.p_swiper {
  width: 100%;
  overflow: hidden;
 
}

/* ranking slider  */
.dbs-ranking{
  padding: 40px 0px 0px;
}
.white_bg_2 {
  background: url(../img/background/02.png) no-repeat center center;
  background-size: cover;
}
.opp_bg {
  background: url(../img/background/09.png) no-repeat center center;
  background-size: cover;
}
.dbs-ranking h2{
  color: #7d0477;
}
.r_swiper {
  width: 100%;
 
}

.r_swiper .swiper-wrapper .swiper-slide img {
  width: 80%;
  border-radius: 30px;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease-in-out;
}


/* bg theme color  */

.bg-theme{
  background: #7d0477;
}

/* Student Immersion Gallery Styling */


.container_immersion {
  max-width: 1600px;
  --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}
.ii-gallery-wrapper {
    overflow: hidden;
    width: 100%;
    margin-top: 30px;
    border-radius: 8px;
}

.ii-gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.ii-image-card {
    min-width: 100%; /* Mobile par full width card */
    position: relative;
}

/* Desktop view: Grid layout (No sliding) */
@media (min-width: 768px) {
    .ii-gallery-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Image count ke hisaab se repeat(3, 1fr) bhi kar sakte hain */
        gap: 10px;
        transform: none !important; /* Desktop par slide disable karne ke liye */
    }
    .ii-image-card {
        min-width: auto;
    }
}

.ii-image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.ii-overlay-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 15px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.ii-main-title {
    color: #fff;
    font-size: 1rem !important;
    margin: 0;
}
.sg-wrapper {
        width: 100%;
        max-width: 1200px;
        margin: 2rem auto;
        font-family: system-ui, -apple-system, sans-serif;
        padding: 10px;
    }

    /* Main Heading Styles */
    .sg-main-heading {
        text-align: center;
        font-size: 1.5rem;
        font-weight: 800;
        color: #19194d;
        margin-bottom: 1.5rem;
    }

    @media (min-width: 768px) {
        .sg-main-heading {
            font-size: 1.875rem;
        }
    }

    /* Common Table Styles */
    .sg-table {
        width: 100%;
        border-collapse: collapse;
        background-color: #ffffff;
    }

    .sg-table th, .sg-table td {
        border: 1px solid #e5e7eb;
        padding: 12px 10px;
        text-align: center;
        font-size: 14px;
        color: #374151;
        vertical-align: middle;
    }

    /* ==========================================
       DESKTOP TABLE STYLES (Horizontal)
       ========================================== */
    .sg-desktop-wrapper {
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #4b1b4d;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }
    
    .sg-desktop-wrapper .sg-head-main {
        background-color: #4b1b4d; /* Dark Purple */
        color: #ffffff;
        font-weight: 700;
        font-size: 16px;
    }
    
    .sg-desktop-wrapper .sg-row-label {
        background-color: #f9fafb;
        font-weight: 700;
        color: #111827;
        text-align: left;
    }

    /* ==========================================
       MOBILE TABLE STYLES (Vertical / 3-Columns)
       ========================================== */
    .sg-mobile-wrapper {
        display: none; /* Hidden on desktop by default */
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #4b1b4d;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }

    .sg-mobile-wrapper .sg-head-top {
        background-color: #4b1b4d;
        color: #ffffff;
        font-weight: 700;
        font-size: 16px;
    }

    .sg-mobile-wrapper .sg-head-cols {
        background-color: #1f2937; /* Dark Gray for Sub-headings */
        color: #ffffff;
        font-weight: 600;
        font-size: 13px;
        padding: 12px 6px;
    }

    .sg-mobile-wrapper td {
        font-size: 13px;
        padding: 10px 4px;
    }

    /* ==========================================
       RESPONSIVE TOGGLE LOGIC
       ========================================== */
    @media (max-width: 850px) {
        .sg-desktop-wrapper {
            display: none !important; /* Forces Desktop to Hide */
        }
        .sg-mobile-wrapper {
            display: block !important; /* Forces Mobile to Show */
        }
    }