/* About Page Custom Styles */

/* 1. Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    position: relative;
}

/* 1.1 Scrolling Text Banner */
.scrolling-text-banner-section {
    transform: rotate(-1.49deg) !important;
    margin: -3rem 0 -2rem 0 !important;
}

.scrolling-text-wrapper {
    overflow: hidden;
    white-space: nowrap;
}

.scrolling-text {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
}

.scrolling-text-item {
    display: inline-flex;
    align-items: center;
    padding: 0 3rem;
    font-family: 'Saiga Trial Black', 'Inter', sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 2.1px;
    text-align: center;
    color: #F5F5F7;
}

@media (min-width: 1024px) {
    .scrolling-text-item {
        font-family: 'Saiga Trial Black', 'Inter', sans-serif;
        font-weight: 900;
        font-size: 23.35px;
        line-height: 46.12px;
        letter-spacing: 2.1px;
        text-align: center;
        color: #F5F5F7;
        padding: 0 4rem;
    }

    .scrolling-text-item .inline-flex {
        margin-right: 12px;
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) rotate(0deg);
    }
}

/* 2. Gradient Text for Hero Title */
.ai-collab-bg {
    background: linear-gradient(180deg, #FFFFFF 0%, #9C9C9C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 3. Mobile Menu Animations */
#mobileMenuBackdrop {
    transition: opacity 0.3s ease;
}

#mobileMenuBackdrop.active {
    opacity: 1;
    pointer-events: auto;
}

#mobileMenu {
    transition: transform 0.3s ease;
}

#mobileMenuBackdrop.active #mobileMenu {
    transform: translate(-50%, 0);
}

/* 4. Section Background Colors */
section#brutal-truth,
section#mission-vision,
section#team,
section#cta {
    background-color: #070F39;
}

/* 5. Smooth Transitions for Interactive Elements */
a,
button {
    transition: all 0.2s ease;
}

/* 6. Card Hover Effects */
.bg-card-bg {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-card-bg:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 7. Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

/* 8. Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
    white-space: nowrap;
}

/* 9. Responsive Breakpoints */
@media (min-width: 1024px) {
    /* Desktop-specific styles */
    .container {
        max-width: 1280px;
    }
}

/* 10. Custom Animations */
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}

/* 11. Team Member Photo Styling */
#team img {
    object-fit: cover;
    object-position: center;
}

/* 12. Button Hover Effects */
.bg-blue-600:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

/* 13. Mobile Menu Close Button */
#closeMobileMenuBtn:hover {
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 0.5rem;
}

/* 14. Social Media Icon Hover Effects */
footer a[aria-label]:hover svg {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* 15. Responsive Typography */
@media (max-width: 1023px) {
    h1 {
        line-height: 1.2;
    }

    h2 {
        line-height: 1.2;
    }
}

/* 16. Backdrop Blur Support */
@supports (backdrop-filter: blur(12px)) {
    header nav {
        backdrop-filter: blur(12px);
    }
}

/* 17. Print Styles */
@media print {
    header,
    footer,
    #mobileMenuBtn,
    #mobileMenuBackdrop {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    section {
        page-break-inside: avoid;
    }
}
