/* ==========================================================================
   RESOURCES PAGE LAYOUT
   ========================================================================== */

/* Utility classes for Resources header */
.justify-start {
    justify-content: flex-start;
}

.text-3xl {
    font-size: 1.875rem; /* 30px */
}

.leading-10 {
    line-height: 2.5rem; /* 40px */
}

.text-2xl {
    font-size: 1.5rem; /* 24px */
}

.leading-8 {
    line-height: 2rem; /* 32px */
}

.h-8 {
    height: 2rem; /* 32px */
}

.self-stretch {
    width: 100%;
    align-self: stretch;
}

.text-center {
    text-align: center;
}

.text-Color-Text-default-primary--text {
    color: var(--Color-Text-default-primary--text);
}

.font-normal {
    font-weight: 400;
}

[class*="font-['Helvetica_Now_Display']"] {
    font-family: 'Helvetica Now Display', sans-serif;
}

/* ==========================================================================
   SMOOTH LOADING ANIMATIONS
   ========================================================================== */

/* Initial state - hidden for main elements (above the fold) */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Content sections - hidden until scroll */
.content-section,
.content-block {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* FAQ items - fade in with slight stagger */
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Loaded state - visible */
.text-loaded {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.resources-page {
    min-height: 100vh;
    background: black;
    font-family: 'Helvetica Now Display', sans-serif;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: auto; /* Remove fixed height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    padding-bottom: 128px; /* Add bottom padding instead of full height */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(180deg);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, black 0%, rgba(0, 0, 0, 0.90) 13%, rgba(0, 0, 0, 0.40) 35%, rgba(0, 0, 0, 0.50) 64%);
    backdrop-filter: blur(2px);
}

/* ==========================================================================
   HERO CONTENT
   ========================================================================== */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 136px;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    color: white;
    font-size: 63px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 100;
    line-height: 76.80px;
    margin: 0;
}

.hero-subtitle {
    color: white;
    font-size: 24px;
    font-family: 'Helvetica Now Display', sans-serif;
    font-weight: 300;
    line-height: 32px;
    margin: 0;
}

/* ==========================================================================
   CONTENT SECTION
   ========================================================================== */
.content-section {
    padding: 0 0 80px 0;
    background: black;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.content-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section-title {
    color: white;
    font-size: 20px;
    font-family: 'Helvetica Now Display', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

.section-text {
    color: #DBD9D9;
    font-size: 16px;
    font-family: 'Helvetica Now Display', sans-serif;
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
}

.divider {
    width: 100%;
    height: 1px;
    background: #868686;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.content-section .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background: white;
    color: black;
    font-size: 16px;
    font-family: 'Helvetica Now Display', sans-serif;
    font-weight: 500;
    line-height: 15.31px;
    border: none;
    border-radius: 34.21px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
}

.content-section .btn-primary:hover {
    background-color: #d0d0d0;
}

/* ==========================================================================
   FAQ STYLES
   ========================================================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 10px;
}

.faq-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    font-family: 'Helvetica Now Display', sans-serif;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
}

.faq-question:hover {
    color: #DBD9D9;
}

.faq-arrow {
    width: 20px;
    height: 20px;
    background: url('assets/icons/arrow-up.svg') no-repeat center;
    background-size: contain;
    transform: rotate(-180deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-arrow {
    transform: rotate(0deg);
}

.faq-answer {
    color: #9D9C9C;
    font-size: 16px;
    font-family: 'Helvetica Now Display', sans-serif;
    font-weight: 300;
    line-height: 24px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust based on content */
}

.faq-item:not(:last-child)::after {
    content: '';
    width: 100%;
    height: 1px;
    background: #3F3F3F;
    margin-top: 22px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 128px;
    }
}

@media (max-width: 968px) {
    .container {
        padding: 0 64px;
    }
    
    .hero-title {
        font-size: 72px;
        line-height: 60px;
    }
    
    .hero-subtitle {
        font-size: 24px;
        line-height: 28px;
    }
}

@media (max-width: 768px) {
    /* Mobile-specific animations - fade only, no translation */
    .hero-content,
    .content-section,
    .content-block,
    .faq-item {
        transform: none !important;
    }
    
    .container {
        padding: 0 20px !important;
    }
    
    .hero-title {
        font-size: 64px !important;
        line-height: 56px !important;
    }
    
    .hero-subtitle {
        font-size: 20px;
        line-height: 24px;
    }
    
    .section-title {
        font-size: 18px !important;
        line-height: 22px !important;
    }
    
    .section-text {
        font-size: 16px !important;
        line-height: 20px !important;
    }
    
    .faq-question {
        font-size: 20px !important;
        line-height: 26px !important;
        justify-content: space-between !important;
        gap: 24px !important; /* w-24 = 96px - Fixed spacing between text and arrow */
    }
    
    .faq-question > span {
        flex: 1 1 auto !important;
        min-width: 0 !important; /* Allow text to wrap if needed */
    }
    
    .faq-question .faq-arrow {
        flex-shrink: 0 !important;
        width: 20px !important;
    }
    
    .faq-answer {
        font-size: 16px;
        line-height: 20px;
    }
    
    /* Mobile hero section - show more background image */
    .hero-section {
        min-height: 50vh !important; /* Show more of the background image vertically on mobile */
        margin-top: 50px !important; /* Start background image below navbar */
    }
    
    /* Mobile content section - overlay on background image */
    .content-section {
        margin-top: -100px !important; /* Position content section over background image */
        position: relative !important;
        z-index: 10 !important; /* Ensure content appears above background image */
        background: transparent !important; /* Remove any background to show image behind */
    }
    
    /* Mobile hero overlay - remove blur effect */
    .hero-overlay {
        backdrop-filter: none !important; /* Remove blur effect */
    }
}

/* ==========================================================================
   SECTION DIVIDER
   ========================================================================== */
.section-divider {
    width: 100%;
    height: 1px;
    background-color: #3F3F3F;
    margin: 60px 0;
}

