/* ==========================================================================
   Sabak Harbor - Success Stories & Alumni Placements Page Styles
   ========================================================================== */

/* -------------------------------------------------------------
   Hero Banner Area
   ------------------------------------------------------------- */
.h-success-story {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    padding: 60px 0 80px;
    overflow: hidden;
}

.h-success-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 22, 38, 0.92) 0%, rgba(11, 122, 108, 0.82) 100%);
    z-index: 1;
}

.h-success-story .container {
    position: relative;
    z-index: 2;
}

.success-story-content {
    color: #ffffff;
}

.success-story-content .brand-logo-hero {
    max-width: 190px;
    height: auto;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.success-story-content h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.success-story-content h1 span {
    color: #2dd4bf;
}

.success-story-content p {
    font-size: 17px;
    line-height: 1.65;
    color: #e2e8f0;
    max-width: 540px;
    margin-bottom: 32px;
}

.success-story-content a.btn-banner-enq,
.success-story-content .btn-banner-enq {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    background: #2dd4bf;
    color: #0b2e2b !important;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2 !important;
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    min-height: 52px;
    padding: 13px 30px;
    border-radius: 50px;
    border: 1.5px solid transparent;
    box-shadow: 0 10px 25px rgba(45, 212, 191, 0.35);
    transition: all 0.3s ease;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
}

.success-story-content a.btn-banner-enq:hover,
.success-story-content .btn-banner-enq:hover {
    background: #ffffff;
    color: #0b7a6c !important;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.success-story-content a.btn-banner-enq.btn-banner-secondary,
.success-story-content .btn-banner-enq.btn-banner-secondary {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.success-story-content a.btn-banner-enq.btn-banner-secondary:hover,
.success-story-content .btn-banner-enq.btn-banner-secondary:hover {
    background: #ffffff !important;
    color: #0b7a6c !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

/* -------------------------------------------------------------
   Hiring Partners Section
   ------------------------------------------------------------- */
.partner-section-wrapper {
    background: #ffffff;
}

.partner-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 30px;
    padding-bottom: 8px;
}

.partner-tabs-nav .nav-link {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    padding: 10px 24px;
    border-radius: 30px;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
}

.partner-tabs-nav .nav-link.active {
    background: #0b7a6c;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(11, 122, 108, 0.25);
}

/* -------------------------------------------------------------
   Metrics / Stats Section
   ------------------------------------------------------------- */
.metrics-section {
    position: relative;
    background: linear-gradient(135deg, #092c28 0%, #064038 50%, #0b7a6c 100%);
    padding: 70px 0 60px;
    color: #ffffff;
}

.metrics-section .section-title {
    color: #ffffff;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 45px;
    letter-spacing: -0.01em;
}

.metric-stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.metric-stat-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-5px);
    border-color: rgba(45, 212, 191, 0.5);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.metric-stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(45, 212, 191, 0.2);
    color: #2dd4bf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.metric-stat-number {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.metric-stat-label {
    font-size: 14.5px;
    color: #cbd5e1;
    font-weight: 500;
}

/* -------------------------------------------------------------
   Placement Highlights / Graph Data Section
   ------------------------------------------------------------- */
.graph-data-section {
    padding: 60px 0 50px;
    background: #f8fafc;
}

.placement-headline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e6f4f1;
    color: #0b7a6c;
    font-weight: 700;
    font-size: 15px;
    padding: 8px 20px;
    border-radius: 50px;
    margin: 0 auto 30px;
    border: 1px solid rgba(11, 122, 108, 0.2);
}

.graph-display-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
    height: 100%;
}

.graph-display-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    border-color: #0b7a6c;
}

.graph-display-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.graph-display-card h6 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 18px;
    margin-bottom: 0;
}

/* -------------------------------------------------------------
   Alumni Network Section
   ------------------------------------------------------------- */
.alumni-network-section {
    padding: 70px 0 60px;
    background: #ffffff;
}

.alumni-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
}

.alumni-card:hover {
    transform: translateY(-5px);
    border-color: #0b7a6c;
    box-shadow: 0 16px 36px rgba(11, 122, 108, 0.1);
}

.alumni-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.alumni-avatar-box {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2.5px solid #0b7a6c;
    box-shadow: 0 4px 12px rgba(11, 122, 108, 0.15);
}

.alumni-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alumni-meta {
    flex-grow: 1;
}

.alumni-meta h4 {
    font-size: 17.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.alumni-meta .alumni-role {
    font-size: 13.5px;
    font-weight: 600;
    color: #0b7a6c;
    display: block;
    margin-bottom: 6px;
}

.alumni-meta .company-badge-img {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.alumni-transition-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    margin-top: auto;
}

.flow-step {
    text-align: left;
}

.flow-step.step-after {
    text-align: right;
}

.flow-step .step-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.flow-step.step-before .step-badge {
    background: #e2e8f0;
    color: #475569;
}

.flow-step.step-after .step-badge {
    background: #dcfce7;
    color: #15803d;
}

.flow-step .step-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.flow-arrow {
    color: #0b7a6c;
    font-size: 18px;
    padding: 0 10px;
}

.alumni-linkedin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f0f7ff;
    color: #0a66c2;
    border: 1px solid #cce4fc;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.alumni-linkedin-btn:hover {
    background: #0a66c2;
    color: #ffffff;
    border-color: #0a66c2;
    box-shadow: 0 6px 16px rgba(10, 102, 194, 0.25);
}

.alumni-linkedin-btn i {
    font-size: 16px;
}

/* =============================================================
   SUCCESS STORIES - TAB-WISE SECTION (Core Redesign)
   ============================================================= */
.ss-main-section {
    padding: 80px 0 90px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.ss-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px;
}

.ss-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e6f4f1;
    color: #0b7a6c;
    font-size: 13.5px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(11, 122, 108, 0.25);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ss-main-title {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.ss-main-title span {
    color: #0b7a6c;
}

.ss-sub-title {
    font-size: 16.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Tab Navigation Bar */
.ss-tabs-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 0 10px;
}

.ss-tab-btn {
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 14.5px;
    font-weight: 600;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.ss-tab-btn:hover {
    background: #f8fafc;
    border-color: #0b7a6c;
    color: #0b7a6c;
    transform: translateY(-2px);
}

.ss-tab-btn.active {
    background: linear-gradient(135deg, #0b7a6c 0%, #06554b 100%);
    border-color: #0b7a6c;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(11, 122, 108, 0.35);
}

.ss-tab-btn .tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #334155;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    min-width: 22px;
    line-height: 1.2;
    transition: all 0.25s ease;
}

.ss-tab-btn.active .tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Category Notification Banner inside Tab Pane */
.ss-tab-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 20px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.ss-tab-banner-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: #334155;
    font-weight: 600;
}

.ss-tab-banner-left i {
    color: #0b7a6c;
    font-size: 18px;
}

.ss-tab-banner-right {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* Success Card */
.ss-story-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px 24px 22px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ss-story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(11, 122, 108, 0.13);
    border-color: rgba(11, 122, 108, 0.4);
}

/* Top Bar: Domain Badge & Rating */
.ss-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.ss-domain-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ss-domain-badge.ds {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.ss-domain-badge.de {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.ss-domain-badge.cyber {
    background: #f5f3ff;
    color: #5b21b6;
    border: 1px solid #ddd6fe;
}

.ss-domain-badge.bi {
    background: #f0fdfa;
    color: #115e59;
    border: 1px solid #99f6e4;
}

.ss-stars-box {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ss-stars-box i {
    color: #f59e0b;
    font-size: 13.5px;
}

.ss-stars-box .star-score {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    margin-left: 4px;
}

/* Quote Text Body */
.ss-quote-wrap {
    position: relative;
    margin-bottom: 20px;
    flex-grow: 1;
}

.ss-quote-mark-icon {
    position: absolute;
    top: -8px;
    right: 0;
    font-size: 28px;
    color: #0b7a6c;
    opacity: 0.12;
    pointer-events: none;
}

.ss-quote-body {
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
    margin: 0;
    position: relative;
    z-index: 1;
    font-style: italic;
}

/* Transition Chip */
.ss-transition-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    color: #475569;
    font-weight: 500;
    margin-bottom: 18px;
}

.ss-transition-chip i {
    color: #0b7a6c;
}

.ss-transition-chip strong {
    color: #0f172a;
    font-weight: 700;
}

/* Alumnus Footer */
.ss-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-top: auto;
}

.ss-author-flex {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ss-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #0b7a6c;
    box-shadow: 0 4px 10px rgba(11, 122, 108, 0.15);
}

.ss-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ss-author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.ss-author-info h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ss-author-info h4 a:hover {
    color: #0b7a6c;
}

.ss-author-info span {
    font-size: 13px;
    font-weight: 600;
    color: #0b7a6c;
    display: block;
}

.ss-verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.ss-verified-pill i {
    color: #10b981;
    font-size: 12px;
}

/* Tab Pane Animation */
.tab-pane.fade {
    transition: opacity 0.25s linear;
}

.tab-pane.fade.show {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .h-success-story {
        padding: 50px 0 60px;
    }
    .success-story-content h1 {
        font-size: 34px;
    }
    .ss-main-title {
        font-size: 30px;
    }
    .ss-tabs-container {
        gap: 8px;
    }
    .ss-tab-btn {
        padding: 8px 16px;
        font-size: 13.5px;
    }
}

@media (max-width: 767px) {
    .ss-tabs-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
    }
    .ss-tabs-container::-webkit-scrollbar {
        height: 4px;
    }
    .ss-tabs-container::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }
    .ss-tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    .ss-tab-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .metric-stat-card {
        margin-bottom: 20px;
    }
    .alumni-card {
        margin-bottom: 24px;
    }
}

@media (max-width: 576px) {
    .success-story-content .btn-banner-enq {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px 20px !important;
        font-size: 15px !important;
    }
}

