:root {
    --orange: #FEA525;
    --orange-dk: #E8931A;
    --orange-light: #fff5f0;
    --ink: #0F1021;
    --white: #ffffff;
    --line: #E8E8E8;
    --muted: #BFBAB2;
    --bg: #F7F6F3;
    --gray: #666;
    --light-gray: #f9f9f9;
    --border: #e0e0e0;
}

.leadership-page {
    padding-bottom: 80px;
    background: var(--bg);
    font-family: 'DM Sans', sans-serif;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
}

/* Tabs */
.leadership-tabs {
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.leadership-tabs .section-inner {
    display: flex;
    justify-content: center;
    padding: 0;
}

.tab-link {
    padding: 20px 40px;
    color: var(--gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-link:hover {
    color: var(--orange);
}

.tab-link.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

/* Hero Section */
.leadership-hero {
    margin-bottom: 60px;
}

.hero-content h1 {
    font-size: 32px;
    color: var(--ink);
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-description {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-primary-ck {
    background: var(--orange);
    color: #000;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, background 0.2s;
    border: none;
    display: inline-block;
}

.btn-secondary-ck {
    background: transparent;
    color: var(--orange);
    border: 1px solid var(--orange);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary-ck:hover {
    transform: translateY(-2px);
    background: var(--orange-dk);
    box-shadow: 0 4px 15px rgba(254, 165, 37, 0.3);
}

.btn-secondary-ck:hover {
    background: var(--orange-light);
}

/* Year Filter */
.year-filter-wrapper {
    margin: 40px 0;
}

.filter-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.year-bubbles {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.year-bubble {
    padding: 8px 24px;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    background: #fff;
}

.year-bubble:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.year-bubble.active {
    background: var(--orange-light);
    border-color: var(--orange);
    color: var(--orange);
    font-weight: 600;
}

/* Success Stories Grid */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.story-card {
    background: transparent;
    perspective: 1000px;
    min-height: 380px;
    cursor: pointer;
}

.static-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    min-height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.static-card:hover {
    transform: translateY(-5px);
}

.static-card .student-img-wrapper {
    margin-bottom: 20px;
}

.student-name {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
}

.static-card .college {
    color: #fea525 !important;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.story-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    background: #fff;
    border: 1px solid #eee;
}

.story-card:hover .story-card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    border-radius: 20px;
}

.card-back {
    background: #fff;
    transform: rotateY(180deg);
}

/* ELP Description Beautification */
.elp-title {
    font-size: 24px;
    font-weight: 800;
    color: #222;
    margin: 40px 0 25px;
    position: relative;
    display: inline-block;
}

.elp-title span {
    color: var(--orange);
}

.elp-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

.elp-para {
    margin-bottom: 30px;
    color: #444;
}

.elp-custom-list {
    margin: 35px 0;
}

.elp-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.elp-circle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-weight: 800;
    font-size: 15px;
    background: transparent;
}

.elp-list-item p {
    margin: 0;
    padding-top: 5px;
    font-size: 16px;
    color: #333;
}

.elp-list-item p strong {
    color: #222;
}

.student-testimony {
    font-size: 14px;
    line-height: 1.6;
    color: #fea525;
    font-style: italic;
    margin-bottom: 20px;
    font-weight: 500;
}

.view-profile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    gap: 8px;
}

.li-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.student-img-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.student-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 800;
}

.story-card .college {
    font-size: 15px;
    color: #fea525;
    font-weight: 700;
}

.view-profile-link img {
    width: 16px;
    height: 16px;
}

/* MLP Specifics */
.mlp-hero-banner {
    background: var(--ink);
    color: #fff;
    padding: 60px;
    border-radius: 20px;
    margin-bottom: 60px;
}

.banner-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.banner-text .edition {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 10px;
    font-weight: 800;
}

.banner-text h2 {
    font-size: 36px;
    margin: 0;
    line-height: 1.3;
    font-weight: 800;
}

.banner-text h2 span {
    color: #fff;
    background: linear-gradient(120deg, var(--orange) 0%, var(--orange-dk) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-students {
    display: flex;
    align-items: center;
}

.banner-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    margin-left: -30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    background: #fff;
}

.banner-circle:hover {
    transform: translateY(-10px) scale(1.1);
    z-index: 10;
}

.banner-circle:first-child {
    margin-left: 0;
}

/* Testimonials Slider */
.testimonials-section {
    padding: 15px;
    margin: 40px 0;
    background: radial-gradient(circle at 10% 20%, rgba(254, 165, 37, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.testimonial-card-ck {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 10px;
}

.testimonial-card-ck:hover {
    transform: translateY(-8px);
}

.user-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.user-img {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
    display: block;
}

.user-info {
    flex: 1;
    overflow: hidden;
}

.user-info h5 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
}

.user-info p {
    margin: 0;
    font-size: 13px;
    color: var(--orange);
    font-weight: 700;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 10px;
    flex-grow: 1;
}

.testimonial-excerpt {
    max-height: 70px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.testimonial-excerpt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(transparent, #fff);
    transition: opacity 0.3s;
    pointer-events: none;
}

.testimonial-excerpt.expanded {
    max-height: 2000px;
}

.testimonial-excerpt.expanded::after {
    opacity: 0;
}

.read-more-btn {
    color: #007bff;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    margin-top: 10px;
    display: none;
    /* Hidden by default, script will show if needed */
    transition: all 0.2s;
}

.read-more-btn:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Form Section */
.leadership-form-section {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    margin-top: 60px;
}

.leadership-form-section form {
    max-width: 100%;
    margin: 0 auto;
}

.section-title-center {
    text-align: center;
    margin-bottom: 25px;
}

.form-row-ck {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 15px;
}

.form-col-ck {
    flex: 1;
    min-width: 400px;
    /* Force wrap on small screens */
}

@media (max-width: 768px) {
    .form-col-ck {
        min-width: 100%;
    }
}

.form-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    background: #fcfcfc;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    background: #fff;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(254, 165, 37, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

input[type="file"].form-control {
    padding: 10px;
}

/* Customizing Owl Carousel Dots */
.owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #ddd !important;
    transition: all 0.3s;
}

.owl-theme .owl-dots .owl-dot.active span {
    width: 30px;
    background: var(--orange) !important;
}

/* Table */
.schedule-wrapper {
    margin-top: 100px;
}

.ck-table {
    width: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.ck-table th {
    background: var(--ink);
    color: #fff;
    padding: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.ck-table td {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

/* Trainers */
.trainers-section {
    margin-top: 100px;
    padding-bottom: 60px;
}

.trainer-card {
    text-align: center;
    padding: 20px;
}

.trainer-card img {
    width: 150px !important;
    height: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    background: #eee;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: block;
}

.trainer-card h5 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
}

.trainer-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .tab-link {
        padding: 15px 20px;
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .mlp-hero-banner {
        padding: 40px 20px;
        text-align: center;
    }

    .banner-flex {
        flex-direction: column;
        gap: 30px;
    }

    .banner-circle {
        width: 60px;
        height: 60px;
        margin-left: -20px;
    }
}