/* ==========================
   BASE
========================== */

html, body {
    overflow-x: hidden;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f8fafc;
}

/* ==========================
   SCROLL REVEAL
========================== */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================
   SHARED TOKENS
========================== */

.section-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 4px;
}

.section-header {
    text-align: center;
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -.5px;
    margin: 0;
}

.section-sub {
    color: #64748b;
    margin-top: 4px;
    font-size: 14px;
}

/* ==========================
   SECTION CTA BUTTONS
========================== */

.section-cta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 8px;
    padding-right: 0%;
}

.section-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.btn-primary {
    display: inline-block;
    text-decoration: none;
    background: #2563eb;
    color: white;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    transition: .25s;
    box-shadow: 0 4px 16px rgba(37,99,235,.3);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37,99,235,.4);
}

.btn-secondary {
    display: inline-block;
    text-decoration: none;
    background: rgba(255,255,255,.15);
    color: white;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid rgba(255,255,255,.5);
    backdrop-filter: blur(6px);
    transition: .25s;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    border-color: white;
}

/* ==========================
   HERO
========================== */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background:
        linear-gradient(rgba(5,10,30,.72), rgba(5,10,30,.72)),
        url('../images/idea-lab.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Circuit-grid overlay — the signature element */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37,99,235,.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,.15) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 16px;
    animation: fadeUp .5s ease forwards;
}

.hero-content h1 {
    color: white;
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    animation: fadeUp .6s ease .08s both;
}

.hero-accent {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    color: #cbd5e1;
    font-size: 18px;
    margin-top: 14px;
    animation: fadeUp .6s ease .16s both;
}

.hero-buttons {
    margin-top: 34px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp .6s ease .24s both;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    animation: bounce 1.8s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity:.6; }
    50% { transform: translateY(-10px); opacity:1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================
   ABOUT
========================== */

.about {
    padding: 18px 2% 12px;
    text-align: center;
    background: white;
}

.about-inner {
    width: 100%;
    max-width: 1350px;
    margin: auto;
    padding: 0 20px;
}

.about-inner.with-image{

    max-width:1200px;
    gap:60px;
    align-items:center;
    text-align:left;
}

.about-content{
    width:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-image{
    width:100%;
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.about-image img{
    width:30%;
    border-radius:20px;
    object-fit:cover;
    box-shadow:0 20px 50px rgba(0,0,0,.12);
    

}

.about h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.about p {
    max-width: 1250px;
    margin: 0 auto;
    font-size: 18px;
    color: #475569;
    line-height: 1.8;
    text-align: justify;
}

/* ==========================
   STATS
========================== */

.stats {
    padding: 28px 5%;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    background: #0f172a;
}

.stat-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    padding: 26px 34px;
    text-align: center;
    border-radius: 16px;
    backdrop-filter: blur(6px);
    min-width: 160px;
    transition: .3s;
    position: relative;
}

.stat-card:hover {
    background: rgba(37,99,235,.2);
    border-color: rgba(37,99,235,.5);
    transform: translateY(-4px);
}

.stat-card h2 {
    color: #60a5fa;
    font-size: 48px;
    font-weight: 900;
    display: inline;
}

.stat-plus {
    color: #60a5fa;
    font-size: 32px;
    font-weight: 900;
    vertical-align: super;
}

.stat-card p {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================
   PROJECTS
========================== */

.projects {
    padding: 20px 5% 14px;
    background: #f8fafc;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
    text-decoration: none;
    color: inherit;
    border: 1px solid #eef2f7;
    transition: .3s;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,.12);
}

.project-image-wrap {
    position: relative;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: .4s;
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(37,99,235,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .3s;
    color: white;
    font-weight: 700;
    font-size: 15px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-body {
    padding: 18px;
    flex: 1;
}

.project-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.project-body p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

/* ==========================
   EVENTS
========================== */

.events {
    padding: 20px 5%;
    background: white;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    justify-content: center;
}

.single-event {
    display: flex;
    justify-content: center;
}

.single-event .event-card {
    max-width: 360px;
    width: 100%;
}

.event-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
    border: 1px solid #eef2f7;
    transition: .3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0,0,0,.11);
}

.event-image-wrap {
    overflow: hidden;
}

.event-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: .4s;
}

.event-card:hover img {
    transform: scale(1.05);
}

.event-body {
    padding: 14px 16px 10px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-date-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.event-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.event-meta-top .event-date-tag {
    margin-bottom: 0;
}

.user-reg-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.event-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
}

.event-card a {
    text-decoration: none;
    color: inherit;
}

.event-buttons {
    display: flex;
    gap: 8px;
    padding: 12px 14px 14px;
}

.view-btn,
.register-btn {
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 9px 10px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    transition: .25s;
}

.view-btn {
    background: #2563eb;
}

.view-btn:hover { background: #1d4ed8; }

.register-btn {
    background: #16a34a;
}

.register-btn:hover { background: #15803d; }

.registered-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    background: #ecfdf5;
    color: #047857;
    border: 1.5px solid #10b981;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: default;
    user-select: none;
    box-shadow: 0 1px 2px rgba(16, 185, 129, 0.12);
}

.closed-btn {
    flex: 1;
    display: block;
    text-align: center;
    background: #f1f5f9;
    color: #94a3b8;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

/* ==========================
   ACHIEVEMENTS
========================== */

.achievements {
    padding: 22px 5% 14px;
    background: #f8fafc;
}

.achievement-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.achievement-card {
    flex: 0 1 calc((100% - (22px * 3)) / 4);
    max-width: 320px;
    min-width: 250px;
    width: 100%;
    background: white;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,.07);
    border: 1px solid #eef2f7;
    transition: .3s;
    text-align: left;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 26px rgba(0,0,0,.10);
}

.achievement-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 14px;
}

.achievement-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.achievement-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

/* ==========================
   TEAM & FACULTY
========================== */

.team {
    padding: 16px 5% 12px;
    background: white;
}

.faculty-section {
    padding-top: 22px;
    padding-bottom: 8px;
}

#team.team {
    padding-top: 8px;
    padding-bottom: 10px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* TEAM CARD */
.team-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: all .3s ease;
    display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
}

/* HOVER */
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(0,0,0,.14);
}

/* IMAGE CONTAINER */
.team-avatar {
    width: 100%;
    height: 280px;
    overflow: hidden;
    margin: 0;
    border: none;
    border-radius: 0;
}

/* IMAGE */
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .4s ease;
}

/* IMAGE HOVER EFFECT */
.team-card:hover .team-avatar img {
    transform: scale(1.06);
}

/* MEMBER NAME */
.team-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    padding: 18px 15px 5px;
    text-align: center;
}

/* DESIGNATION */
.team-card p {
    font-size: 13px;
    color: #2563eb;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin: 0;
    padding: 0 15px 20px;
    text-align: center;
}

/* ==========================
   FACILITIES
========================== */

.facilities {
    padding: 18px 5% 14px;
    background: #f8fafc;
    text-align: center;
}

.facility-slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.facility-slider {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.facility-slider::-webkit-scrollbar {
    display: none;
}

.facility-slider .facility-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 26px;
    width: max-content;
    min-width: 100%;
    padding: 16px 4px 20px;
}

.facility-slider .facility-card {
    flex: 0 0 320px;
    max-width: 340px;
    min-width: 280px;
    padding: 22px 20px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f7;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.facility-slider .facility-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    border-color: #bfdbfe;
}

.facility-img-wrap {
    width: 100%;
    height: 185px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f1f5f9;
    position: relative;
    border: 1px solid #e2e8f0;
}

.facility-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.facility-slider .facility-card:hover .facility-img-wrap img {
    transform: scale(1.05);
}

.facility-img-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
}

.facility-slider .facility-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.facility-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.facility-prev {
    left: -15px;
}

.facility-next {
    right: -15px;
}

/* ==========================
   E-CORNERS CTA
========================== */

.ecorner-section {
    padding: 24px 5%;
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    text-align: center;
    color: white;
}

.ecorner-inner {
    max-width: 560px;
    margin: auto;
}

.ecorner-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.ecorner-section p {
    color: #93c5fd;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ==========================
   CONTACT
========================== */

.contact {
    padding: 24px 5%;
    text-align: center;
    background: white;
}

.contact-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 14px 24px;
    border-radius: 12px;
    border: 1px solid #eef2f7;
    color: #334155;
    transition: .25s;
}

.contact-item:hover {
    border-color: #dbeafe;
    background: #eff6ff;
}

.contact-item svg { color: #2563eb; flex-shrink: 0; }
.contact-item a {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 14px;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    color: #94a3b8;
}

.empty-state{
    width:100%;
    background:#ffffff;
    border-radius:20px;
    padding:60px 30px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.empty-state h2{
    color:#2563eb;
    margin-bottom:15px;
}

.empty-state p{
    color:#64748b;
    font-size:16px;
    line-height:1.7;
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {

    .hero {
        min-height: 75vh;
        background:
            linear-gradient(rgba(5,10,30,.75), rgba(5,10,30,.75)),
            url('../images/idea-lab-mobile.jpg');
        background-size: cover;
        background-position: center;
    }

    .hero-content h1 { font-size: 34px; letter-spacing: -1px; }
    .hero-content p  { font-size: 14px; }

    .stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .stat-card { padding: 24px 20px; }
    .stat-card h2 { font-size: 36px; }

    .project-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .project-card img { height: 130px; }
    .project-body h3  { font-size: 13px; }
    .project-body p   { font-size: 12px; display: none; }

    .event-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .event-card img  { height: 110px; }
    .event-body h3   { font-size: 13px; }
    .view-btn        { display: none; }

    .achievement-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .achievement-card {
        flex: initial;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 14px 12px 16px;
        border-radius: 14px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

    .achievement-card img {
        height: 165px;
        border-radius: 10px;
        margin-bottom: 12px;
        object-fit: cover;
    }

    .achievement-card h3 {
        font-size: 14.5px;
        font-weight: 700;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    .achievement-card p {
        font-size: 12px;
        line-height: 1.5;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .team-avatar {
        width: 100%;
        height: 190px;
    }

    .team-card h3 {
        font-size: 14px;
        padding: 14px 8px 4px;
    }

    .team-card p {
        font-size: 10px;
        padding: 0 8px 14px;
    }

    .facility-slider .facility-card {
        flex: 0 0 calc(100vw - 90px);
        max-width: 320px;
        min-width: 240px;
        padding: 16px 14px;
    }

    .facility-slider .facility-img-wrap {
        height: 160px;
    }
    .section-header h2 { font-size: 26px; }
    .about-image img{
        width: 60%;
    }

    .about{
        padding: 25px 0%;
    }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
}


/* ==========================================
   HOME HERO BANNER CAROUSEL
========================================== */

.hero-banner {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
    background: #07111f;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* ==========================================
   LEFT / RIGHT ARROWS
========================================== */

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.65);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}


/* ==========================================
   SLIDER DOTS
========================================== */

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-dot.active {
    width: 28px;
    border-radius: 10px;
    background: #ffffff;
}


/* ==========================================
   TABLET / MOBILE
========================================== */

@media (max-width: 768px) {

    .hero-banner {
        height: 430px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .hero-prev {
        left: 12px;
    }

    .hero-next {
        right: 12px;
    }

    .hero-dots {
        bottom: 16px;
        gap: 7px;
    }
}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .hero-banner {
        height: 300px;
    }

    .hero-arrow {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .hero-prev {
        left: 8px;
    }

    .hero-next {
        right: 8px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-dot.active {
        width: 22px;
    }
}

/* =========================================
   TEAM SLIDER
========================================= */
.team-slider-wrapper{
    position:relative;
    width:100%;
    display:flex;
    align-items:center;
}

/* =========================================
   UNLIMITED TEAM SLIDER
========================================= */

.team-slider-wrapper{
    position:relative;
    width:100%;
    display:flex;
    align-items:center;
}

/* SLIDER VIEWPORT */
.team-slider{
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    scrollbar-width:none;
}

/* Hide Scrollbar */
.team-slider::-webkit-scrollbar{
    display:none;
}

/* ALL TEAM MEMBERS */
.team-slider .team-grid{
    display:flex;
    flex-wrap:nowrap;
    gap:30px;
    width:max-content;
    min-width:100%;
    padding:10px 0;
}

@media(min-width: 1025px) {
    .team-slider .team-grid.team-grid-center{
        justify-content:center;
        width:100%;
    }
}

/* EACH MEMBER CARD */

.team-slider .team-card{

    /*
       Desktop:
       4 cards visible
       but unlimited cards allowed
    */

    flex:0 0 calc((100vw - 160px) / 4);
    max-width:340px;
    min-width:220px;
}

/* =========================================
   ARROWS
========================================= */
.team-slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:#2563eb;
    color:white;
    font-size:28px;
    cursor:pointer;
    z-index:10;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:
        0 6px 18px
        rgba(37,99,235,0.30);
    transition:.3s;
}

.team-slider-btn:hover{
    background:#1d4ed8;
    transform:
        translateY(-50%)
        scale(1.08);
}

/* LEFT ARROW */
.team-prev,
.faculty-prev{
    left:-24px;
}

/* RIGHT ARROW */
.team-next,
.faculty-next{
    right:-24px;
}

.faculty-card-exp {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 12px;
    margin: 0 auto 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
    max-width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-avatar-ph {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    font-size: 3.5rem;
    font-weight: 700;
}

/* =========================================
   TABLET
========================================= */
@media(max-width:1024px){
    .team-slider .team-card{
        flex:0 0 calc((100vw - 120px) / 3);
        min-width:200px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:768px){
    .team-slider-wrapper{
        padding:0 5px;
    }

    .team-slider .team-grid,
    .team-slider .team-grid.team-grid-center{
        gap:15px;
        justify-content:flex-start;
        width:max-content;
    }

    .team-slider .team-card{
        flex:0 0 calc((100vw - 70px) / 2);
        min-width:140px;
        max-width:260px;
    }

    .team-slider-btn{
        width:38px;
        height:38px;
        font-size:22px;
    }

    .team-prev{
        left:-10px;
    }

    .team-next{
        right:-10px;
    }
}


/* Team Cards Horizontal */

.team-slider .team-grid{

    display:flex;

    gap:30px;

    transition:transform 0.5s ease;

    width:max-content;

}


/* Individual Card */

.team-slider .team-card{

    flex:0 0 calc((100vw - 160px) / 4);

    max-width:340px;

}


/* =========================================
   SLIDER ARROWS
========================================= */

.team-slider-btn{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:48px;

    height:48px;

    border:none;

    border-radius:50%;

    background:#2563eb;

    color:white;

    font-size:28px;

    font-weight:bold;

    cursor:pointer;

    z-index:10;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:0 6px 18px rgba(37,99,235,0.30);

    transition:0.3s;

}


.team-slider-btn:hover{

    background:#1d4ed8;

    transform:translateY(-50%) scale(1.08);

}


/* LEFT BUTTON */

.team-prev{

    left:-24px;

}


/* RIGHT BUTTON */

.team-next{

    right:-24px;

}


/* =========================================
   TABLET
========================================= */

@media(max-width:1024px){

    .team-slider .team-card{

        flex:0 0 calc((100vw - 120px) / 3);

    }

}


/* =========================================
   MOBILE
========================================= */

@media(max-width:768px){

    .team-slider-wrapper{

        padding:0 5px;

    }


    .team-slider .team-grid,
    .team-slider .team-grid.team-grid-center{

        gap:15px;

        justify-content:flex-start;

        width:max-content;

    }


    .team-slider .team-card{

        flex:0 0 calc((100vw - 70px) / 2);

        min-width:140px;

        max-width:260px;

    }


    .team-slider-btn{

        width:38px;

        height:38px;

        font-size:22px;

    }


    .team-prev{

        left:-10px;

    }


    .team-next{

        right:-10px;

    }

}

/* =========================================
   HIDE TEAM SLIDER ARROWS ON MOBILE
========================================= */

@media(max-width:768px){

    .team-slider-btn{

        display:none;

    }

}

/* =========================================
   FACULTY SECTION - CENTER CARDS IN DESKTOP
========================================= */

@media(min-width: 769px){
    .faculty-slider .team-grid,
    .team-slider .team-grid.team-grid-center{
        justify-content: center;
        justify-content: safe center;
        width: 100%;
        min-width: 100%;
    }
}

@media(max-width: 768px){
    .faculty-slider .team-grid{
        justify-content: flex-start;
        width: max-content;
    }
}