@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

:root {
    --pink: #E91E63;
    --pink-light: #F48FB1;
    --pink-dark: #AD1457;
    --red: #F44336;
    --red-light: #EF9A9A;
    --red-dark: #C62828;
    --green: #2ECC71;
    --green-light: #A5D6A7;
    --green-dark: #1B7A34;
    --gold: #D4AF37;
    --gold-light: #F0D060;
    --gold-dark: #B8860B;
    --yellow: #FFC107;
    --yellow-light: #FFE082;
    --yellow-dark: #FF8F00;
    --bhagva: #FF6D00;
    --bhagva-light: #FF9E40;
    --bhagva-dark: #E65100;
    --white: #ffffff;
    --dark: #0F0F1A;
    --dark2: #1A1A2E;
    --gray: #6c757d;
    --card-bg: #ffffff;
}

.premium-hero-section {
    position: relative;
    width: 100%;
    min-height: 420px;
    background: linear-gradient(135deg, #0F0F1A 0%, #1A0A0A 30%, #2D0A15 60%, #0F0F1A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 48px;
    margin-top: 34px;
    overflow: hidden;
}

.premium-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 40%, rgba(212,175,55,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(233,30,99,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(255,109,0,0.06) 0%, transparent 40%);
    z-index: 1;
}

.premium-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--red), var(--gold), var(--green), var(--bhagva));
    z-index: 2;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(212,175,55,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(212,175,55,0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(212,175,55,0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(212,175,55,0.03) 75%);
    background-size: 60px 60px;
    z-index: 1;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}
.hero-orb.o1 { width: 400px; height: 400px; background: rgba(212,175,55,0.08); top: -150px; right: -100px; }
.hero-orb.o2 { width: 300px; height: 300px; background: rgba(233,30,99,0.06); bottom: -100px; left: -80px; }
.hero-orb.o3 { width: 200px; height: 200px; background: rgba(255,109,0,0.05); top: 20%; left: 50%; }

.hero-content { position: relative; z-index: 3; max-width: 820px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
    background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.05));
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 12px;
    font-family: 'Cinzel', serif;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-content h1 span {
    background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--bhagva-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 20px;
    font-weight: 400;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--bhagva));
    color: var(--white);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.25);
    border: none;
    position: relative;
    overflow: hidden;
}
.hero-cta::after {
    content: '';
    position: absolute; inset: -50% -50%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shine 4s ease-in-out infinite;
}
@keyframes shine {
    0%, 100% { transform: translateX(-100%) rotate(25deg); }
    50% { transform: translateX(100%) rotate(25deg); }
}
.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.4);
}

.search-filter-section {
    background: linear-gradient(135deg, var(--dark), var(--dark2));
    padding: 8px 16px;
    position: sticky;
    top: 42px;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(212,175,55,0.15);
}
.search-filter-container { max-width: 1100px; margin: 0 auto; }

.search-box-wrapper { display: flex; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }

.search-input {
    flex: 1;
    min-width: 220px;
    padding: 10px 20px;
    border: 1.5px solid rgba(212, 175, 55, 0.15);
    border-radius: 50px;
    font-size: 13px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-weight: 500;
}
.search-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.search-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.filter-buttons { display: flex; gap: 6px; flex-wrap: wrap; }

.filter-btn {
    padding: 6px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}
.filter-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-light);
    border-color: var(--gold);
    transform: translateY(-1px);
}
.filter-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--bhagva));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 3px 15px rgba(212, 175, 55, 0.25);
}

.achievers-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px 0px;
    background: linear-gradient(180deg, #f8f6f0 0%, #ffffff 100%);
    min-height: 100vh;
}

.student-section {
    margin-bottom: 28px;
    padding: 0;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.04), 0 8px 40px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    transform: translateY(24px);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.student-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--bhagva), var(--pink), var(--green), var(--gold));
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite;
    z-index: 2;
}

.student-section.visible { opacity: 1; transform: translateY(0); }
.student-section:hover {
    box-shadow: 0 4px 40px rgba(212, 175, 55, 0.08), 0 12px 60px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.2);
}

.student-main-row {
    display: flex;
    align-items: stretch;
    gap: 0;
}
.student-main-row.image-left { flex-direction: row; }
.student-main-row.image-right { flex-direction: row-reverse; }

.student-image-wrapper {
    flex: 0 0 260px;
    aspect-ratio: 3/4;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f0e8;
    overflow: hidden;
    border-radius: 12px 0 0 12px;
}

.student-image {
    max-width: calc(100% - 12px);
    max-height: calc(100% - 12px);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 2px;
    margin-bottom: auto;
    transform: scale(1.04);
}

.image-right .student-image-wrapper {
    border-radius: 0 12px 12px 0;
}

.government-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: linear-gradient(135deg, var(--gold), var(--bhagva));
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.image-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(transparent, rgba(0,0,0,0.4));
    z-index: 1;
}

.student-content {
    flex: 1;
    padding: 24px;
    min-width: 0;
}

.student-name {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
    font-family: 'Cinzel', serif;
    position: relative;
    display: inline-block;
}
.student-name::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--bhagva));
    border-radius: 2px;
}

.student-course {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.student-course span {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
}
.course-badge-bed { background: rgba(233, 30, 99, 0.08); color: var(--pink-dark); border: 1px solid rgba(233,30,99,0.15); }
.course-badge-deled { background: rgba(46, 204, 113, 0.08); color: var(--green-dark); border: 1px solid rgba(46,204,113,0.15); }

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #faf8f5, #fff);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}
.info-item:hover {
    background: linear-gradient(135deg, #f5f0e8, #faf8f5);
    border-color: rgba(212,175,55,0.15);
}

.info-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.info-icon.pink { background: linear-gradient(135deg, rgba(233,30,99,0.08), rgba(233,30,99,0.04)); color: var(--pink); }
.info-icon.red { background: linear-gradient(135deg, rgba(244,67,54,0.08), rgba(244,67,54,0.04)); color: var(--red); }
.info-icon.green { background: linear-gradient(135deg, rgba(46,204,113,0.08), rgba(46,204,113,0.04)); color: var(--green); }
.info-icon.yellow { background: linear-gradient(135deg, rgba(255,193,7,0.08), rgba(255,193,7,0.04)); color: var(--yellow-dark); }
.info-icon.bhagva { background: linear-gradient(135deg, rgba(255,109,0,0.08), rgba(255,109,0,0.04)); color: var(--bhagva); }

.info-label { font-size: 10px; color: var(--gray); font-weight: 500; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.5px; }
.info-value { font-size: 13px; color: var(--dark); font-weight: 700; line-height: 1.3; }

.section-title {
    font-size: 13px;
    font-weight: 700;
    margin: 8px 0 4px;
    padding-bottom: 4px;
    border-bottom: 2px solid;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title.summary { color: var(--pink); border-color: var(--pink); }
.section-title.story { color: var(--bhagva); border-color: var(--bhagva); }
.section-title.journey { color: var(--green); border-color: var(--green); }
.section-title.appreciation { color: var(--red); border-color: var(--red); }
.section-title i { font-size: 12px; }

.section-text {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 4px;
    font-weight: 400;
}

.quote-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.04), rgba(255, 109, 0, 0.04));
    border-left: 3px solid var(--gold);
    padding: 12px 16px;
    border-radius: 0 12px 12px 0;
    margin: 8px 0;
    font-style: italic;
    position: relative;
}
.quote-box::before {
    content: '"';
    position: absolute;
    top: -4px; left: 8px;
    font-size: 40px;
    color: rgba(212, 175, 55, 0.1);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}
.quote-box p { padding-left: 8px; font-size: 13px; color: #555; font-style: italic; }

.timeline-section {
    margin: 0;
    padding: 16px 24px;
    background: linear-gradient(135deg, #faf8f5, #f5f0e8);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.timeline-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.timeline-title i { color: var(--gold); }

.career-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 8px;
    justify-content: center;
}

.timeline-card {
    flex: 0 0 calc((100% - 6 * 8px) / 7);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    position: relative;
    min-height: 48px;
}
.timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(212, 175, 55, 0.2);
}
.timeline-card.bhagva-bd { border-left: 3px solid var(--bhagva); }
.timeline-card.pink-bd { border-left: 3px solid var(--pink); }
.timeline-card.yellow-bd { border-left: 3px solid var(--gold); }
.timeline-card.green-bd { border-left: 3px solid var(--green); }
.timeline-card.red-bd { border-left: 3px solid var(--red); }

.timeline-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}
.timeline-icon.bhagva { background: linear-gradient(135deg, var(--bhagva), var(--bhagva-dark)); }
.timeline-icon.pink { background: linear-gradient(135deg, var(--pink), var(--pink-dark)); }
.timeline-icon.yellow { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.timeline-icon.green { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.timeline-icon.red { background: linear-gradient(135deg, var(--red), var(--red-dark)); }

.timeline-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.timeline-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.2;
}

.timeline-desc {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    word-break: break-word;
}

.timeline-arrow {
    flex: 0 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 11px;
    position: relative;
}
.timeline-card:last-child .timeline-arrow {
    display: none;
}

@media (max-width: 992px) {
    .timeline-card {
        flex: 0 0 calc((100% - 8px) / 2);
    }
    .timeline-card .timeline-arrow { display: none; }
}
@media (max-width: 576px) {
    .timeline-card {
        flex: 0 0 100%;
    }
}

.story-slide-wrapper {
    overflow: hidden;
    transition: height 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    height: 0;
}


.full-story-content {
    opacity: 0;
    transition: opacity 0.5s ease 0.1s;
}
.story-slide-wrapper.expanded .full-story-content {
    opacity: 1;
}

.read-more-wrapper {
    text-align: center;
    padding: 8px 24px 4px;
    background: transparent;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--pink), var(--red));
    color: var(--white);
    padding: 10px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.2);
    letter-spacing: 0.5px;
}
.read-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.35);
    color:#fff;
}

.congratulations-section {
    background: linear-gradient(135deg, var(--gold), var(--bhagva-dark));
    padding: 10px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.congratulations-section::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    animation: shine 5s ease-in-out infinite;
}

.congratulations-text {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    margin-bottom: 0px;
}
.congratulations-text i { color: rgba(255,255,255,0.9); margin-right: 8px; }

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(212,175,55,0.1);
}
.no-results i {
    font-size: 56px;
    background: linear-gradient(135deg, var(--gold), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}
.no-results h3 { font-size: 24px; color: var(--dark); margin-bottom: 8px; font-weight: 700; }
.no-results p { color: var(--gray); font-size: 15px; }

@media (max-width: 992px) {
    .student-main-row { flex-direction: column !important; }
    .student-image-wrapper { flex: none; width: 100%; max-width: 300px; aspect-ratio: auto; min-height: 200px; margin: 0 auto; }
    .student-image { padding: 4px; }
    .hero-content h1 { font-size: 36px; }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .student-content { padding: 20px; }
}
@media (max-width: 768px) {
    .premium-hero-section { min-height: 340px; padding: 40px 16px 32px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; }
    .student-name { font-size: 24px; }
    .search-box-wrapper { flex-direction: column; }
    .search-input { min-width: 100%; }
    .student-content { padding: 16px; }
    .student-image-wrapper { max-width: 260px; min-height: 180px; }
    .student-image { padding: 4px; }
    .timeline-section { padding: 12px 16px; }
    .timeline-card { min-height: 44px; }
}
@media (max-width: 576px) {
    .hero-content h1 { font-size: 24px; }
    .student-name { font-size: 20px; }
    .info-grid { grid-template-columns: 1fr; }
    .student-image-wrapper { max-width: 220px; min-height: 160px; }
    .student-image { padding: 3px; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }
