﻿/* Optimized campus.css
 * - Normalized blank lines
 * - Preserved original rules
 * NOTE: Full semantic deduplication of CSS selectors requires manual review
 * because later duplicate selectors intentionally override earlier ones.
 * This file is safe as a starting point.
 */

﻿/* =============================================
   CAMPUS PAGE  —  css/pages/campus.css
   Styles for individual campus pages
============================================= */

/* ── HERO BACKGROUND ── */

/* ── HERO BACKGROUND ── */
.hero-campus {
    background: url("../websiteImage/DSC_5839.JPG") center / cover no-repeat;
    position: relative;
}
.mumbai{
    background-image: url("../websiteImage/Campuses/Mumbai.webp");
     position: relative;
}
.Gurgaon{
    background-image: url("../websiteImage/Campuses/Gurgaon.webp");
     position: relative;
}
.kolkata{
    background-image: url("../websiteImage/Campuses/Kolkata.webp");
     position: relative;
}
.Pune{
    background-image: url("../websiteImage/Campuses/Pune.webp");
     position: relative;
}
.Ahmedabad{
    background-image: url("../websiteImage/Campuses/Ahmedabad.webp");
     position: relative;
}
.Jaipur{
    background-image: url("../websiteImage/Campuses/Jaipur.webp");
     position: relative;
}
.Banglore{
    background-image: url("../websiteImage/Campuses/Banglore.webp");
     position: relative;
}
.Dehradun{
    background-image: url("../websiteImage/Campuses/Dehradun.webp");
     position: relative;
}
.hero-campus::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 18, 41, .88) 0%,
            rgba(0, 30, 72, .80) 55%,
            rgba(26, 35, 126, .75) 100%);
}

.hero-campus .hero-inner {
    position: relative;
    z-index: 1;
}

.hero-campus .hero-text h1 em {
    color: var(--primary-red);
}

.hero-campus .hero-subtitle {
    font-size: 1.4rem;
    color: var(--primary-gold);
    font-weight: 500;
    margin-top: 12px;
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
}

/* ── DIRECTOR PROFILE SECTION ── */
.director-profile-section {
    background: var(--off-white);
}

.profile-card {
    background: var(--white);
    padding: 48px;
    box-shadow: 0 24px 64px rgba(33, 39, 122, .08);
    border: 1px solid var(--border-light);
}

.profile-header .ey2 {
    justify-content: center;
}

.profile-body {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.profile-intro {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.director-name-lg {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.director-title-lg {
    font-size: 1.1rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 20px;
}

.profile-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-red));
    border-radius: 2px;
    margin: 0 auto;
}

.profile-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.profile-text p {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 18px;
}

.profile-credentials {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px;
    background: var(--off-white);
    border-radius: 16px;
    border-left: 4px solid var(--primary-gold);
    text-align: center;
    margin-top: -40px;
}

.credentials-photo {
    position: relative;
    margin-bottom: 20px;
}

.credentials-photo img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 8px 24px rgba(33, 39, 122, .2);
    position: relative;
    z-index: 2;
}

.photo-ring {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.credentials-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.credentials-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
}

.credentials-title {
    font-size: .95rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.credentials-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-red));
    border-radius: 2px;
    margin: 12px auto;
}

.credentials-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--white);
    border-radius: 8px;
    font-size: .9rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all .3s;
    border: 1px solid var(--border-light);
}

.credentials-contact i {
    color: var(--primary-red);
    font-size: 14px;
}

.credentials-contact:hover {
    border-color: var(--primary-navy);
    color: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 39, 122, .1);
}

/* ── DIRECTOR'S MESSAGE SECTION ── */
.director-message-section {
    background: var(--off-white);
}

/* ── ACADEMIC LEADERSHIP SECTION ── */
.leadership-section {
    background: var(--off-white);
    padding: 60px 40px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.leader-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all .3s;
    box-shadow: 0 8px 32px rgba(33, 39, 122, .06);
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 56px rgba(33, 39, 122, .12);
    border-color: rgba(33, 39, 122, .15);
}

.leader-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    position: relative;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 8px 24px rgba(33, 39, 122, .15);
}

.leader-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 6px;
}

.leader-title {
    font-size: .95rem;
    color: var(--primary-red);
    font-weight: 600;
    margin: 0;
}

/* ── FACULTY PROFILES SECTION ── */
.faculty-section {
    background: var(--white);
    padding: 60px 40px;
}

/* Faculty Carousel */
.faculty-carousel-wrapper {
    position: relative;
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.faculty-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 20px 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.faculty-carousel::-webkit-scrollbar {
    display: none;
}

.faculty-carousel-card {
    flex: 0 0 calc(25% - 18px);
    background: var(--off-white);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    border: 1px solid var(--border-light);
    scroll-snap-align: start;
    transition: all .3s;
    min-height: 280px;
}

.faculty-carousel-card:hover {
    background: var(--white);
    transform: translateY(-8px);
    box-shadow: 0 20px 56px rgba(33, 39, 122, .12);
    border-color: rgba(33, 39, 122, .15);
}

.fc-photo {
    width: 90px;
    height: 90px;
    margin: 0 auto 12px;
}

.fc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 8px 24px rgba(33, 39, 122, .15);
}

.fc-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.fc-role {
    font-size: .95rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 12px;
}

.fc-qual {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Carousel Arrows */
.carousel-arrow {
    width: 48px;
    height: 48px;
    background: var(--primary-navy);
    border: none;
    border-radius: 50%;
    color: var(--primary-gold);
    font-size: 18px;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(33, 39, 122, .2);
}

.carousel-arrow:hover {
    background: var(--primary-red);
    transform: scale(1.1);
}

.carousel-arrow:disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* ── FACILITIES SECTION ── */
.facilities-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
    padding: 80px 0;
}

.facilities-section .skills-head .stit {
    color: #fff;
}

.facilities-section .skills-head .ssub {
    color: rgba(255, 255, 255, .7);
}

.facilities-section .facility-card {
    background: rgba(255, 255, 255, .95);
    border-color: rgba(255, 255, 255, .2);
}

.facilities-section .facility-card:hover {
    background: #fff;
}

.facilities-wrap {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.facilities-grid {
    display: grid;
    gap: 24px;
}

/* Row layouts */
.facilities-row-4 {
    grid-template-columns: repeat(4, 1fr);
}

.facilities-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

.facilities-row-2 {
    grid-template-columns: repeat(2, 1fr);
}

.facilities-row-1 {
    grid-template-columns: 1fr;
}

.facility-full {
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.facility-card {
    background: var(--off-white);
    border: 1.5px solid var(--border-light);
    border-radius: 16px;
    padding: 28px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    position: relative;
    overflow: hidden;
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy), var(--primary-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 56px rgba(33, 39, 122, .12);
    border-color: rgba(33, 39, 122, .18);
    background: #fff;
}

.facility-card:hover::before {
    transform: scaleX(1);
}

.facility-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #bdc1ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 20px;
    margin-bottom: 16px;
}

.facility-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-navy-dark);
    margin-bottom: 10px;
}

.facility-card p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.hostel-note {
    margin-top: 40px;
    padding: 20px 24px;
    background: var(--off-white);
    border-left: 4px solid var(--primary-navy);
    border-radius: 0 12px 12px 0;
}

.hostel-note p {
    font-size: .95rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

/* ── PLACEMENTS SECTION ── */
.placements-section-redesign {
    background: var(--off-white);
    padding: 80px 0;
}

.placements-wrapper {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
}

.placements-header {
    text-align: center;
    margin: 0 auto 48px;
}

.placements-header .ey2 {
    justify-content: center;
}

.placements-header .stit {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.placements-intro {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-top: 16px;
}

.placements-body {
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: start;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* Mumbai Placements - 6 stat cards */
.mumbai-stats {
    grid-template-columns: repeat(3, 1fr);
}

.salary-note {
    font-size: .9rem;
    color: var(--text-muted);
    margin-top: 16px;
    font-style: italic;
}

.stat-card {
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(33, 39, 122, .12);
    border-color: rgba(33, 39, 122, .2);
}

.stat-card.highlight {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    color: #fff;
}

.stat-card.featured {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
    border-color: var(--primary-navy);
    color: #fff;
}

.stat-card.highlight .stat-value,
.stat-card.featured .stat-value {
    color: var(--primary-gold);
}

.stat-card.highlight .stat-label,
.stat-card.featured .stat-label {
    color: rgba(255, 255, 255, .85);
}

.stat-year {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.stat-badge {
    right: 12px;
    background: var(--primary-red);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary-navy);
    color: var(--primary-gold);
    border-radius: 12px;
    margin: 0 auto 12px;
    font-size: 18px;
}

.stat-card.highlight .stat-icon,
.stat-card.featured .stat-icon {
    background: rgba(255, 255, 255, .15);
    color: var(--primary-gold);
}

.stat-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    display: block;
    font-size: .85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stats-note {
    text-align: center;
    font-size: .9rem;
    color: var(--text-muted);
    margin-top: 20px;
}

.placements-visual {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(33, 39, 122, .15);
}

.placements-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 450px;
}

/* ── MUMBAI DIRECTOR'S MESSAGE (FLOAT LAYOUT) ── */
.mumbai-message-section {
    background: var(--off-white);
}

.mumbai-message-wrapper {
    background: var(--white);
    padding: 48px;
    box-shadow: 0 24px 64px rgba(33, 39, 122, .08);
    border: 1px solid var(--border-light);
}

.mumbai-message-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.mumbai-message-body {
    position: relative;
}

.mumbai-message-float {
    float: left;
    margin-right: 32px;
    margin-bottom: 16px;
    text-align: center;
}

.mumbai-float-photo {
    width: 220px;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(33, 39, 122, .2);
    margin-bottom: 16px;
}

.mumbai-float-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mumbai-float-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.mumbai-float-title {
    font-size: 1rem;
    color: var(--primary-red);
    font-weight: 600;
}

.mumbai-message-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.mumbai-message-text p {
    margin-bottom: 18px;
}

.mumbai-message-text p:last-child {
    margin-bottom: 0;
}

/* Clear float after content */
.mumbai-message-body::after {
    content: '';
    display: table;
    clear: both;
}

/* ── SKILLS GRID 3-CARD ROW ── */
.skills-grid-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── INITIATIVES SECTION ── */
/*.initiatives-section {
    padding: 40px 40px;
    background: var(--white);
}*/

.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* 3 cards: use 3 columns to fill full width */
.initiatives-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

/* 2 cards: use 2 columns */
.initiatives-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

/* 1 card: full width */
.initiatives-grid:has(> :nth-child(1):only-child) {
    grid-template-columns: 1fr;
}

.initiative-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(33, 39, 122, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.initiative-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(33, 39, 122, .12);
}

.initiative-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.initiative-icon i {
    font-size: 1.6rem;
    color: var(--primary-gold);
}

.initiative-content h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.initiative-content p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

/* ── RANKINGS SECTION ── */
.rankings-content {
    max-width: 1000px;
    margin: 0 auto;
}

.Rankings {
    text-align: center;
}

.rankings-list {
    margin: 0 0 24px;
    padding-left: 24px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.rankings-list li {
    margin-bottom: 12px;
}

.rankings-list strong {
    color: var(--primary-navy);
    font-weight: 600;
}

.rankings-table-wrap {
    overflow-x: auto;
    margin: 24px 0;
}

.rankings-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: .95rem;
}

.rankings-table thead {
    background-color: var(--primary-navy);
    color: var(--white);
}

.rankings-table th,
.rankings-table td {
    border: 1px solid var(--border-light);
    padding: 12px;
}

.rankings-table th {
    font-weight: 600;
}

.rankings-table td {
    background-color: var(--light-blue);
    color: var(--white);
}

.rankings-note {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin: 24px 0;
    font-style: italic;
}

.rankings-intro {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin: 24px 0;
}

.rankings-table td {
    color: var(--primary-dark) !important;
}

.rankings-section {
    background: var(--off-white);
    padding: 60px 40px;
    margin:5px
}

.alumni-section{
padding: 60px 40px;
    margin:5px
}

.rankings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.ranking-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all .3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.ranking-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(33, 39, 122, .1);
    border-color: rgba(33, 39, 122, .1);
}

.ranking-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1;
    margin-bottom: 8px;
}

.ranking-grade {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 8px;
}

.ranking-text {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.5;
}

.ranking-by {
    font-size: .85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── TOP RECRUITERS SECTION ── */
.recruiters-section {
    background: var(--white);
    padding: 0px 40px;
}

.recruiters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
    padding: 20px;
}

.recruiter-item {
    background: var(--off-white);
    padding: 16px 20px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all .3s;
}

.recruiter-item:hover {
    background: var(--white);
    border-color: var(--primary-navy);
    color: var(--primary-navy);
    box-shadow: 0 4px 16px rgba(33, 39, 122, .1);
    transform: translateY(-2px);
}

/* ── CTA SECTION ── */
.cta-section {
    background: var(--primary-navy);
    padding: 80px 0;
    text-align: center;
}

.cta-section .stit {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.cta-section .stit em {
    color: var(--primary-gold);
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .7);
    margin-top: 12px;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-outline {
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
}

/* ── RESPONSIVE ── */
@media(max-width:960px) {
    .sip-grid-director {
        grid-template-columns: 1fr;
    }

    .sip-grid-director .sip-img {
        min-height: 300px;
        padding: 24px;
    }

    .sip-grid-director .sip-img img {
        max-height: 300px;
    }

    /* Leadership responsive - 2 columns on tablet */
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .leader-photo {
        width: 120px;
        height: 120px;
    }

    /* Faculty responsive - 2 columns on tablet */
    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Facilities responsive - 2 columns on tablet (except single card rows) */
    .facilities-row-4,
    .facilities-row-3,
    .facilities-row-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .facilities-row-1 {
        grid-template-columns: 1fr;
    }

    /* Skills grid 3-card to 2 columns on tablet */
    .skills-grid-row-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Initiatives grid tablet - 2 columns */
    .initiatives-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .initiative-card {
        padding: 24px;
    }

    /* Placements responsive */
    .placements-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid,
    .mumbai-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .placements-visual {
        order: -1;
        max-height: 350px;
    }

    /* Recruiters to 3 columns */
    .recruiters-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Faculty carousel tablet - show 3 cards */
    .faculty-carousel-card {
        flex: 0 0 calc(33.333% - 16px);
        padding: 18px 14px;
        min-height: 260px;
    }

    .fc-photo {
        width: 80px;
        height: 80px;
    }

    /* Rankings tablet - 2 columns */
    .rankings-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ranking-number {
        font-size: 2.5rem;
    }

    .ranking-grade {
        font-size: 2rem;
    }

    /* Director Profile responsive */
    .profile-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .profile-credentials {
        border-left: none;
        border-top: 4px solid var(--primary-gold);
    }
}

@media(max-width:640px) {
    .director-message-section {
        padding: 60px 0;
    }

    .message-card {
        padding: 24px;
        margin: 0 16px;
        border-radius: 16px;
    }

    .quote-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .message-text p {
        font-size: 1rem;
    }

    .message-portrait img {
        width: 180px;
        height: 180px;
    }

    .portrait-frame {
        width: 200px;
        height: 200px;
    }

    .portrait-frame::before {
        width: 220px;
        height: 220px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    /* Recruiters to 2 columns on mobile */
    .recruiters-grid {
        grid-template-columns: repeat(1, 1fr);
      
    }

    .recruiter-item {
        padding: 12px 16px;
        font-size: .85rem;
    }

    /* Skills grid 3-card to 1 column on mobile */
    .skills-grid-row-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Initiatives grid mobile - 1 column */
    .initiatives-grid {
        grid-template-columns: 1fr!important;
        gap: 16px;
    }

    .initiative-card {
        padding: 20px;
    }

    .initiative-icon {
        width: 50px;
        height: 50px;
    }

    .initiative-icon i {
        font-size: 1.4rem;
    }

    .initiative-content h3 {
        font-size: 1.1rem;
    }

    /* Leadership mobile - 1 column */
    .leadership-grid {
        grid-template-columns: 1fr!important;
        gap: 20px;
    }

    .leader-card {
        padding: 24px;
    }

    .leader-photo {
        width: 100px;
        height: 100px;
    }

    .leader-name {
        font-size: 1.1rem;
    }

    /* Faculty carousel mobile - show 2 cards */
    .faculty-carousel-wrapper {
        gap: 8px;
    }

    .faculty-carousel-card {
        flex: 0 0 calc(50% - 12px);
        padding: 16px 12px;
        min-height: 240px;
    }

    .fc-photo {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .fc-name {
        font-size: 1rem;
    }

    .fc-role {
        font-size: .85rem;
    }

    .fc-qual {
        font-size: .8rem;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Rankings mobile - 1 column */
    .rankings-section {
        /*padding: 60px 0;*/
    }

    .rankings-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }

    .ranking-card {
        padding: 24px 20px;
        min-height: auto;
    }

    .ranking-number {
        font-size: 2rem;
    }

    .ranking-grade {
        font-size: 1.75rem;
    }

    /* Mumbai Director's Message mobile */
    .mumbai-message-section {
        padding: 60px 0;
    }

    .mumbai-message-wrapper {
        padding: 24px;
        margin: 0 16px;
    }

    .mumbai-message-header {
        margin-bottom: 24px;
        padding-bottom: 16px;
    }

    .mumbai-message-float {
        float: none;
        margin: 0 auto 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mumbai-float-photo {
        width: 180px;
        height: 180px;
    }

    .mumbai-float-name {
        font-size: 1.2rem;
    }

    .mumbai-message-text {
        font-size: 1rem;
    }

    /* Director Profile mobile */
    .director-profile-section {
        padding: 60px 0;
    }

    .profile-card {
        padding: 32px 24px;
        margin: 0 16px;
    }

    .profile-credentials {
        padding: 24px;
    }

    .credentials-photo img {
        width: 120px;
        height: 120px;
    }

    .photo-ring {
        width: 136px;
        height: 136px;
    }

    .credentials-name {
        font-size: 1.25rem;
    }

    .credentials-contact {
        padding: 8px 14px;
        font-size: .85rem;
    }

    .director-photo-sm {
        width: 120px;
        height: 120px;
    }

    .facilities-row-4,
    .facilities-row-3,
    .facilities-row-2,
    .facilities-row-1 {
        grid-template-columns: 1fr;
    }

    .facility-full {
        min-height: auto;
    }

    .director-contact {
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .initiatives-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .initiatives-grid:has(> :nth-child(2):last-child) {
        grid-template-columns: repeat(1, 1fr);
    }

    .initiatives-grid:has(> :nth-child(1):only-child) {
        grid-template-columns: 1fr;
    }

    .rankings-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    @media(max-width:520px) {

        .facilities-section,
        .cta-section {
            padding: 60px 0;
        }

        .facility-card {
            padding: 20px;
        }

        .initiatives-grid {
            grid-template-columns: 1fr;
        }

        .initiative-card {
            padding: 24px;
        }

        .rankings-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }

        .ranking-card {
            padding: 20px 16px;
        }
    }
}
.prog-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.prog-image{
    width:100%;
    display:block !important;
    visibility:visible !important;
}
@media (max-width:768px){

    .prog-grid{
        grid-template-columns:1fr;
    }

    .prog-text{
        order:1;
    }

    .prog-image{
        order:2;
        width:100%;
        min-height:250px;
    }

    .prog-image video{
        width:100%;
        min-height:250px !important;
        height:250px;
        object-fit:cover;
        display:block;
    }
}
.leadership-wrapper{
    position:relative;
}

.leadership-grid{
    display:flex;
    gap:24px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scrollbar-width:none;
    padding:10px 5px;
}

.leadership-grid::-webkit-scrollbar{
    display:none;
}

.leader-card{
    flex:0 0 calc(25% - 18px);
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:20px;
    padding:25px;
    text-align:center;
    transition:.3s;
}

.leader-card:hover{
    transform:translateY(-5px);
}

.leader-photo{
    width:140px;
    height:140px;
    margin:0 auto 20px;
    border-radius:50%;
    overflow:hidden;
    border:4px solid #f3f4f6;
}

.leader-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.leader-name{
    font-size:1.25rem;
    font-weight:700;
    margin-bottom:8px;
}

.leader-title{
    color:#666;
    margin:0;
}

/* Buttons */
.slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:#0056b3;
    color:#fff;
    z-index:10;
    cursor:pointer;
}

.prev-btn{
    left:-20px;
}

.next-btn{
    right:-20px;
}

/* Large Screens */
@media (min-width:1200px){
    .leader-card{
        flex:0 0 calc(25% - 18px);
    }
}

/* Tablet */
@media (max-width:991px){
    .leader-card{
        flex:0 0 calc(50% - 12px);
    }

    .leader-photo{
        width:120px;
        height:120px;
    }
}

/* Mobile */
@media (max-width:576px){

    .leader-card{
        flex:0 0 85%;
    }

    .leader-photo{
        width:100px;
        height:100px;
    }

    .leader-name{
        font-size:1.05rem;
    }

    .slider-btn{
        width:40px;
        height:40px;
    }

    .prev-btn{
        left:-10px;
        background-color:#21277a;
    }

    .next-btn{
        right:-10px;
    }
     .leadership-grid {
        grid-template-columns: repeat(1, 1fr)!important;
        gap: 24px;
    }
       .faculty-grid {
        grid-template-columns: repeat(1, 1fr)!important;
        gap: 24px;
    }
}
.leadership-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.leadership-grid::-webkit-scrollbar {
    display: none;
}

.leader-card {
    flex: 0 0 calc(25% - 18px);
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border: 1px solid #eee;
}

.leader-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
}

.video-thumbnail img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.9);
    color: #fff;
    font-size: 32px;
    text-align: center;
    line-height: 70px;
    transition: 0.3s;
}

.video-thumbnail:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

/* Tablet */
@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .play-button {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 22px;
    }

    .video-thumbnail {
        border-radius: 8px;
    }
}

@media(max-width:991px){

    .leader-card{
        flex:0 0 calc(50% - 15px);
    }
}

@media(max-width:576px){

    .leader-card{
        flex:0 0 85%;
    }
}
.slider-btn {
    background-color: #21277a !important; /* IBS Blue */
    color: #ffca70;
    border: 1px solid #21277a;
}

.slider-btn:hover {
    background-color: #e02020 !important;
    border-color: #1a1f63;
    color: #ffca70;
}

.alumni-section,
.campus-contact-section{
   background: var(--white);
    padding: 0px 40px;
}

.alumni-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr))!important;
    gap:30px;
    margin-top:40px;
}

.alumni-card,
.reach-card,
.reach-card,
.contact-card,
.initiative-card{
    background:#fff;
    border-radius:18px;
    padding:30px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border-top:4px solid #d71920;
}

.alumni-top h3{
    color:#21277a;
    margin-bottom:6px;
    font-size:24px;
}

.alumni-top span{
    color:#d71920;
    font-weight:600;
    display:block;
    margin-bottom:15px;
}

.reach-number{
    font-size:4rem;
    font-weight:800;
    color:#21277a;
    margin-bottom:15px;
}

.initiatives-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:25px;
    margin-top:40px;
}

.initiative-card h4{
    color:#21277a;
    margin-bottom:12px;
}

.contact-card{
    max-width:850px;
    /*margin:40px auto 0;*/
}

.contact-card h3{
    color:#21277a;
    margin-bottom:15px;
}

.contact-info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
    margin-top:25px;
}

.contact-card a{
    color:#d71920;
    text-decoration:none;
    font-weight:600;
}

.mt-5{
    margin-top:70px;
}

#leadershipSlider,
#facultySlider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

#leadershipSlider::-webkit-scrollbar,
#facultySlider::-webkit-scrollbar {
    display: none;
}
.prog-image iframe{
    width:100%;
    aspect-ratio:16/9;
    border-radius:12px;
    border:none;
    display:block;
}
