/* details-page.css - back button fixed, never scrolls */
body {
    background: var(--bg-light);
    transition: background 0.3s;
}

/* ========== BACK BUTTON (FIXED - NEVER MOVES) ========== */
.back-arrow-container {
    position: fixed !important;
    top: 24px !important;
    left: 24px !important;
    z-index: 10000 !important;
}

.back-arrow-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #18325c;
    backdrop-filter: blur(14px);
    padding: 12px 26px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    color: white;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.back-arrow-btn svg {
    min-width: 18px;
    min-height: 18px;
}

.dark-mode .back-arrow-btn {
    background: #18325c;
}

.back-arrow-btn:hover {
    transform: translateX(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.dark-mode .back-arrow-btn:hover {
    background: #18325c;
}

/* ========== ABOUT US SECTION ========== */
#about-us {
    position: relative;
    min-height: 72vh;
    padding: 120px 24px 80px;
    background: linear-gradient(125deg, var(--primary-dark) 0%, #18325c 100%);
    color: white;
    border-radius: 0 0 56px 56px;
    margin-bottom: 30px;
    overflow: hidden;
}

#about-us::before {
    content: '';
    position: absolute;
    inset: -40% 0 30% 40%;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.12), transparent 45%);
    opacity: 0.9;
}

.dark-mode #about-us {
    background: linear-gradient(125deg, #0f3b34 0%, #18325c 100%);
}

.page-title {
    font-size: 3.4rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.03em;
    margin-bottom: 1.6rem;
}

.about-content {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0 auto 1.4rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.94);
    max-width: 820px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    justify-content: center;
    align-items: stretch;
    margin: 3rem auto 0;
    max-width: 780px;
    position: relative;
    z-index: 10;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 138px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border-radius: 36px;
    padding: 1.8rem 1.6rem;
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.highlight-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.18);
}

.highlight-number {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.highlight-label {
    font-size: 1rem;
    opacity: 0.92;
}

/* ========== FEATURES SECTION ========== */
#features-list {
    padding: 60px 20px 80px;
}

.section-heading {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
}

.section-subheading {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0.5rem auto 3rem;
}

.features-list-container {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    background: var(--card-bg);
    border-radius: 32px;
    padding: 32px 36px;
    margin-bottom: 28px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 4px 0 0 4px;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.feature-header h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

.feature-details p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.feature-tag {
    background: var(--bg-light);
    padding: 5px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-dark);
    transition: all 0.2s;
    border: 1px solid var(--border-light);
}

.feature-tag:hover {
    background: var(--primary-light);
    color: #18325c;
}

/* back to home button (bottom of page) */
.back-to-home {
    text-align: center;
    margin-top: 60px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(95deg, var(--primary-color), #18325c);
    padding: 14px 36px;
    border-radius: 60px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 18px rgba(24, 50, 92, 0.3);
    transition: all 0.25s;
}

.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(24, 50, 92, 0.4);    
}

.btn-back svg {
    stroke: white;
    width: 20px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 700px) {
    .back-arrow-container {
        top: 16px !important;
        left: 16px !important;
    }
    .back-arrow-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    .page-title {
        font-size: 2.2rem;
    }
    .feature-item {
        padding: 24px 20px;
    }
    .feature-header h3 {
        font-size: 1.4rem;
    }
    .section-heading {
        font-size: 2rem;
    }
    .feature-tag {
        font-size: 0.7rem;
        padding: 3px 12px;
    }
}