/* =============================================================
   ALUMNI PAGE STYLES
   ============================================================= */


/* ===== SHARED SECTION HEADER ===== */
.alumni-section-header {
    margin-bottom: 52px;
}

.alumni-section-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--theme_color);
    margin-bottom: 8px;
}

.alumni-section-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--text_color);
    margin: 0;
    line-height: 1.2;
}

.alumni-section-bar {
    height: 3px;
    width: 44px;
    background-color: var(--theme_color);
    margin-top: 12px;
    border-radius: 2px;
}


/* =============================================================
   SECTION 0 — ALUMNI INTRO (PHOTO + CONTENT)
   ============================================================= */
.alumni-intro {
    background-color: #fff;
    padding: 88px 0;
}

.alumni-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

/* Left: visual */
.alumni-intro-visual {
    position: relative;
}

.alumni-intro-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e5e7eb;
    box-shadow: 0 24px 64px rgba(56, 55, 70, 0.16);
}

.alumni-intro-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--theme_color);
    color: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(217, 0, 13, 0.35);
    min-width: 140px;
}

.alumni-intro-badge-num {
    font-family: 'Open Sans', sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.alumni-intro-badge-num span {
    font-size: 24px;
}

.alumni-intro-badge-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.9;
    line-height: 1.3;
}

/* Right: content */
.alumni-intro-eyebrow {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--theme_color);
    margin-bottom: 12px;
}

.alumni-intro-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--text_color);
    line-height: 1.2;
    margin: 0 0 4px;
}

.alumni-intro-bar {
    height: 3px;
    width: 44px;
    background-color: var(--theme_color);
    border-radius: 2px;
    margin: 14px 0 24px;
}

.alumni-intro-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.85;
    margin: 0 0 16px;
}

.alumni-intro-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0 36px;
}

.alumni-intro-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text_color);
    line-height: 1.5;
}

.alumni-intro-feature-icon {
    color: var(--theme_color);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.alumni-intro-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--theme_color);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 18px rgba(217, 0, 13, 0.30);
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.alumni-intro-cta:hover {
    background: #b8000b;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(217, 0, 13, 0.42);
    color: #fff;
    text-decoration: none;
}


/* =============================================================
   SECTION 1 — ALUMNI STATS
   ============================================================= */
.alumni-stats {
    background-color: #111827;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.13) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    padding: 80px 0;
}

.alumni-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.alumni-stats-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px 24px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.alumni-stats-card:hover {
    border-color: rgba(217, 0, 13, 0.4);
    background: rgba(217, 0, 13, 0.04);
}

.alumni-stats-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 20px;
    flex-shrink: 0;
}

.alumni-stats-number {
    font-family: 'Open Sans', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.alumni-stats-suffix {
    color: var(--theme_color);
}

.alumni-stats-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* =============================================================
   SECTION 2 — FEATURED ALUMNI CARDS
   ============================================================= */
.alumni-featured {
    background-color: #fff;
    padding: 80px 0;
}

.alumni-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.alumni-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px 28px;
    box-shadow: 0 4px 24px rgba(56, 55, 70, 0.08);
    border: 1px solid rgba(56, 55, 70, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.alumni-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(56, 55, 70, 0.14);
}

.alumni-card-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #e5e7eb;
    border: 4px solid var(--theme_color);
    flex-shrink: 0;
    margin-bottom: 18px;
}

.alumni-card-batch {
    display: inline-block;
    background: var(--theme_color);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.alumni-card-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text_color);
    line-height: 1.2;
    margin-bottom: 6px;
}

.alumni-card-designation {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 2px;
}

.alumni-card-company {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #9ca3af;
    margin-bottom: 0;
}

.alumni-card {
    cursor: pointer;
}


/* =============================================================
   SECTION 3 — ALUMNI VOICES CAROUSEL
   ============================================================= */
.alumni-voices {
    background-color: #f8f9fa;
    padding: 80px 0 72px;
}

/* Clips the sliding track */
.voices-viewport {
    overflow: hidden;
}

.voices-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Outer card: transparent flex item — padding creates the visual gap */
.alumni-quote-card {
    flex: 0 0 50%;
    min-width: 0;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Inner card: the visible styled surface */
.aq-inner {
    background: #fff;
    border-left: 4px solid var(--theme_color);
    border-radius: 0 16px 16px 0;
    box-shadow: 0 4px 24px rgba(56, 55, 70, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.alumni-quote-mark {
    font-size: 88px;
    color: var(--theme_color);
    opacity: 0.10;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 0.55;
    margin-bottom: 16px;
    display: block;
    user-select: none;
    padding: 32px 32px 0;
}

.alumni-quote-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-style: italic;
    color: #4b5563;
    line-height: 1.85;
    margin: 0 0 24px;
    flex: 1;
    padding: 0 32px;
}

.alumni-quote-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #f0f0f0;
    padding: 18px 32px 28px;
}

.alumni-quote-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center top;
    background-color: #e5e7eb;
    border: 3px solid var(--theme_color);
    flex-shrink: 0;
}

.alumni-quote-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.alumni-quote-author-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text_color);
}

.alumni-quote-author-meta {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #9ca3af;
    line-height: 1.5;
}

/* Controls row: square-btn | dots | square-btn */
.voices-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

/* Square nav buttons */
.voices-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    border: 1.5px solid rgba(56, 55, 70, 0.15);
    color: var(--text_color);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(56, 55, 70, 0.08);
    transition: background 0.22s ease, border-color 0.22s ease,
                color 0.22s ease, box-shadow 0.22s ease;
}

.voices-nav:hover {
    background: var(--theme_color);
    border-color: var(--theme_color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(217, 0, 13, 0.28);
}

/* Dots */
.voices-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.voices-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(56, 55, 70, 0.20);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}

.voices-dot.active {
    background: var(--theme_color);
    width: 24px;
    border-radius: 4px;
}


/* =============================================================
   SECTION 4 — CONNECT CTA
   ============================================================= */
.alumni-connect {
    background-color: var(--text_color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cline x1='22' y1='13' x2='22' y2='31' stroke='rgba(255,255,255,0.07)' stroke-width='1.5'/%3E%3Cline x1='13' y1='22' x2='31' y2='22' stroke='rgba(255,255,255,0.07)' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: 44px 44px;
    padding: 96px 0;
    text-align: center;
}

.alumni-connect-inner {
    max-width: 640px;
    margin: 0 auto;
}

.alumni-connect-eyebrow {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--theme_color);
    margin-bottom: 14px;
}

.alumni-connect-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.2;
}

.alumni-connect-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.85;
    margin: 0 0 40px;
}

.alumni-connect-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.alumni-btn-primary {
    display: inline-block;
    background: var(--theme_color);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 4px 18px rgba(217, 0, 13, 0.35);
}

.alumni-btn-primary:hover {
    background: #b8000b;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(217, 0, 13, 0.45);
    color: #fff;
    text-decoration: none;
}

.alumni-btn-outline {
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.alumni-btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
    text-decoration: none;
}


/* =============================================================
   ALUMNI MODAL
   ============================================================= */
.alumni-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.70);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.alumni-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.alumni-modal-box {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    max-width: 760px;
    width: 100%;
    display: flex;
    box-shadow: 0 32px 80px rgba(17, 24, 39, 0.30);
    position: relative;
    animation: modalSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modalSlideIn {
    from { transform: scale(0.88) translateY(24px); opacity: 0; }
    to   { transform: scale(1)    translateY(0);    opacity: 1; }
}

.alumni-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.alumni-modal-close:hover {
    background: var(--theme_color);
    border-color: var(--theme_color);
    color: #fff;
    transform: scale(1.08);
}

/* Left — dark photo panel */
.alumni-modal-left {
    flex: 0 0 280px;
    background: #111827;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 28px;
    gap: 20px;
}

.alumni-modal-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-size: cover;
    background-position: center top;
    background-color: #374151;
    border: 4px solid var(--theme_color);
    box-shadow: 0 8px 32px rgba(217, 0, 13, 0.30);
}

.alumni-modal-batch {
    display: inline-block;
    background: var(--theme_color);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: 100px;
    text-align: center;
}

/* Right — content panel */
.alumni-modal-right {
    flex: 1;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.alumni-modal-quote-icon {
    font-size: 80px;
    color: var(--theme_color);
    opacity: 0.12;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 0.6;
    margin-bottom: 16px;
    display: block;
    user-select: none;
}

.alumni-modal-quote {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-style: italic;
    color: #4b5563;
    line-height: 1.85;
    margin: 0 0 28px;
}

.alumni-modal-divider {
    height: 1px;
    background: #f0f0f0;
    margin-bottom: 20px;
}

.alumni-modal-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text_color);
    margin-bottom: 4px;
}

.alumni-modal-designation {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--theme_color);
    margin-bottom: 2px;
}

.alumni-modal-company {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #9ca3af;
}


/* =============================================================
   RESPONSIVE — ≤ 991px
   ============================================================= */
@media (max-width: 991px) {

    .campus-tour {
        padding: 68px 0;
    }

    .campus-tour-title {
        font-size: 28px;
    }

    .alumni-intro-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .alumni-intro-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .alumni-intro-img {
        aspect-ratio: 16 / 9;
    }

    .alumni-intro-badge {
        right: -12px;
        bottom: -16px;
    }

    .alumni-intro-title {
        font-size: 28px;
    }

    .alumni-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .alumni-featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .alumni-section-title {
        font-size: 26px;
    }

    .alumni-connect-title {
        font-size: 28px;
    }

    .alumni-modal-box {
        flex-direction: column;
        max-width: 480px;
    }

    .alumni-modal-left {
        flex: none;
        padding: 36px 24px 28px;
        flex-direction: row;
        gap: 20px;
        justify-content: flex-start;
    }

    .alumni-modal-photo {
        width: 80px;
        height: 80px;
    }

    .alumni-modal-close {
        background: rgba(56, 55, 70, 0.15);
        color: var(--text_color);
    }

    .alumni-modal-right {
        padding: 24px 28px 36px;
    }
}


/* =============================================================
   RESPONSIVE — ≤ 600px
   ============================================================= */
@media (max-width: 600px) {

    .alumni-intro {
        padding: 64px 0;
    }

    .alumni-intro-title {
        font-size: 24px;
    }

    .alumni-stats {
        padding: 60px 0;
    }

    .alumni-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .alumni-stats-card {
        padding: 28px 16px 24px;
    }

    .alumni-stats-number {
        font-size: 38px;
    }

    .alumni-stats-label {
        font-size: 11px;
    }

    .alumni-stats-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 14px;
    }

    .alumni-featured {
        padding: 60px 0;
    }

    .alumni-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .alumni-voices {
        padding: 60px 0 48px;
    }

    /* 1 card per view on mobile */
    .alumni-quote-card {
        flex: 0 0 100%;
        padding: 0 4px;
    }

    .alumni-quote-mark {
        font-size: 72px;
        padding: 24px 24px 0;
    }

    .alumni-quote-text {
        font-size: 14px;
        padding: 0 24px;
    }

    .alumni-quote-author {
        padding: 16px 24px 24px;
        gap: 12px;
    }

    .alumni-quote-avatar {
        width: 42px;
        height: 42px;
    }

    .alumni-connect {
        padding: 72px 0;
    }

    .alumni-connect-title {
        font-size: 24px;
    }

    .alumni-connect-desc {
        font-size: 14px;
    }

    .alumni-connect-actions {
        flex-direction: column;
        gap: 12px;
    }

    .alumni-btn-primary,
    .alumni-btn-outline {
        width: 100%;
        text-align: center;
    }

    .alumni-section-title {
        font-size: 22px;
    }

    .alumni-modal-box {
        max-width: 100%;
        border-radius: 16px;
    }

    .alumni-modal-right {
        padding: 20px 20px 28px;
    }

    .alumni-modal-quote {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .alumni-featured-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
