


/* ===== Animations ===== */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.fade-in {
    animation: fade-in 0.6s ease-out forwards;
}

.fade-out {
    animation: fade-out 0.3s ease-out forwards;
}

.scale-in {
    animation: scale-in 0.6s ease-out forwards;
}

.hidden {
    display: none !important;
}

.w-full {
    width: 100%;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* ===== Gradient Text ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background: var(--muted);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.glow {
    box-shadow: 0 0 40px hsl(262 83% 58% / 0.3);
}


/* ===== Sections ===== */
.section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 70px; 
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}


@media (min-width: 640px) {
    .section {
        padding: 5rem 0;
    }

    .section-title {
        font-size: 3rem;
    }

    .section-subtitle {
        font-size: 1.125rem;
    }
}

/* ===== Filters ===== */
.filters {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 4rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 500;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid rgba(47, 8, 55, 0.327);
    background: transparent;
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.filter-btn:hover {
    background: var(--muted);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: transparent;
}

@media (min-width: 640px) {
    .filters {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

/* ===== Alumni Grid ===== */
.alumni-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .alumni-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .alumni-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.alumni-card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.alumni-card:hover {
    transform: scale(1.25);
    box-shadow: 0 0 40px hsl(262 83% 58% / 0.3);
    cursor: pointer;
}

.alumni-photo {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover; 
    border: 4px solid rgba(168, 85, 247, 0.2);
}

.alumni-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.badge-gradient {
    background: linear-gradient(135deg, hsl(190, 95%, 45%), hsl(262, 83%, 58%));
    color: white;
}

.badge-outline {
    border: 1px solid var(--border);
    color: var(--foreground);
    margin-top: 0.75rem;
}
.badge-outline:hover {
    background: var(--muted);
}

.alumni-role {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}


.contact-btn {
    margin-top: 1rem;
    margin-left:0;
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-family: 'Tilt Neon', cursive;
    letter-spacing: 1px;
}

.contact-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 0 40px hsl(262 83% 58% / 0.3);
}

.alumni-role {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.contact-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    text-align: left;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    margin-left: 0;
    animation: fade-in 0.6s ease-out forwards;
}

.contact-link:hover {
    text-decoration: underline;
}

#mentorship, #stories {
    padding-top: 0; 
}

/* ===== Tabs ===== */
.tab-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.tab-buttons {
    display: inline-flex;
    background: var(--card);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    border-radius: 1rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: none;
    background: transparent;
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 0 40px hsl(262 83% 58% / 0.3);
}

@media (min-width: 640px) {
    .tab-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}

/* ===== Mentor Cards ===== */
.mentor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .mentor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .mentor-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mentor-card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.mentor-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px hsl(262 83% 58% / 0.3);
}

.become-mentor-card {
    max-width: 42rem;
    margin: 0 auto;
    background: var(--card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.mentor-icon-wrapper {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, hsl(190, 95%, 45%), hsl(262, 83%, 58%));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-list {
    text-align: left;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.benefit-dot {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-dot-inner {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--primary);
}

/* ===== Stories ===== */
.stories-container {
    max-width: 56rem;
    margin: 0 auto;
}

.story-card {
    background: var(--card);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.story-card:hover {
    box-shadow: 0 0 40px hsl(262 83% 58% / 0.3);
}

.story-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.story-photo {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover; /* Prevents image stretching */
    border: 4px solid rgba(168, 85, 247, 0.2);
}

.story-title-section {
    margin-left:10px;
    padding-top: 1.75rem;
    flex: 1;
    text-align: left;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.story-icon-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.story-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-name {
    font-size: 1.125rem;
    font-weight: bold;
}

.story-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.story-summary {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.story-full {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    line-height: 1.7;
}

.expand-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: none;
    background: transparent;
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.expand-btn:hover {
    background: rgba(168, 85, 247, 0.1);
}

.expand-icon {
    transition: transform 0.3s ease;
}

.expand-icon.rotated {
    transform: rotate(180deg);
}

@media (min-width: 640px) {
    .story-header {
        flex-direction: row;
        align-items: center;
    }

    .story-photo {
        width: 5rem;
        height: 5rem;
    }

    .story-card {
        padding: 2rem;
    }

    .story-name {
        font-size: 1.25rem;
    }

    .story-title {
        font-size: 1.125rem;
    }

    .story-summary,
    .story-full {
        font-size: 1rem;
    }
}



@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== Modal Animations ===== */
@keyframes modal-pop-in {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes checkmark-pop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
/* Scheduling Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.modal-overlay:not(.hidden) {
    opacity: 1;
}

.modal-content {
    background: var(--card);
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}
.modal-overlay:not(.hidden) .modal-content {
    animation: modal-pop-in 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted-foreground);
    transition: transform 0.3s ease, color 0.3s ease;
}
.modal-close:hover {
    transform: rotate(90deg);
    color: var(--primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-header-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.modal-title { text-align: center; margin-bottom: 0.5rem; font-size: 1.25rem; font-weight: bold; }
.modal-subtitle { text-align: center; color: var(--muted-foreground); margin-bottom: 2rem; }
.modal-form { 
    display: flex; 
    flex-direction: column; 
    gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; text-align: left; }
.form-group label { font-weight: 500; color: var(--foreground); }
.form-group input { 
    padding: 0.75rem; 
    border-radius: 0.5rem; 
    border: 2px solid var(--border); 
    background: var(--muted);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

[data-theme="dark"] .form-group input[type="date"],
[data-theme="dark"] .form-group input[type="time"] {
    color-scheme: dark;
}

.schedule-btn{
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
    margin-left:0;
    
}

.confirmation-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.confirmation-icon { 
    color: hsl(142, 76%, 46%); 
    background: hsla(142, 76%, 46%, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkmark-pop 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.confirmation-icon svg { stroke-width: 2; }
.mentor-contact-info { background: var(--muted); padding: 1rem; border-radius: 0.5rem; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.mentor-contact-info .contact-item { display: flex; align-items: center; gap: 0.5rem; }
.mentor-contact-info svg { flex-shrink: 0; }