/* Full-Page About Modal Styles */
#about-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow-y: auto;
}

/* Light theme modal background */
.light #about-modal {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
}

#about-modal.active {
    opacity: 1;
    visibility: visible;
}

#about-modal.active .modal-content-wrapper {
    animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content-wrapper {
    min-height: 100vh;
    padding: 80px 20px 40px;
    position: relative;
}

/* Close Button */
.modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.light .modal-close {
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.light .modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.modal-close::before,
.modal-close::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
}

.light .modal-close::before,
.light .modal-close::after {
    background: #1f2937;
}

.modal-close::before {
    transform: rotate(45deg);
}

.modal-close::after {
    transform: rotate(-45deg);
}

/* Animated SVG Styles */
.svg-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.svg-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Timeline Styles */
.timeline-item {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    }

    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
    }
}

/* Team Member Cards */
.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card:hover .team-avatar {
    transform: scale(1.1) rotate(5deg);
}

.team-avatar {
    transition: all 0.3s ease;
}

/* Theme-aware modal content */
.light #about-modal .bg-white\/5 {
    background: rgba(0, 0, 0, 0.03);
}

.light #about-modal .border-white\/10 {
    border-color: rgba(0, 0, 0, 0.1);
}

.light #about-modal .text-white {
    color: #1f2937;
}

.light #about-modal .text-gray-300 {
    color: #4b5563;
}

/* SVG container backgrounds for light theme */
.light .from-slate-900\/50 {
    --tw-gradient-from: rgba(241, 245, 249, 0.8);
}

.light .to-blue-900\/30 {
    --tw-gradient-to: rgba(219, 234, 254, 0.6);
}

.light .from-purple-900\/30 {
    --tw-gradient-from: rgba(243, 232, 255, 0.6);
}

.light .to-pink-900\/30 {
    --tw-gradient-to: rgba(252, 231, 243, 0.6);
}