/* Extracted from Components/Web/Pages/Objective.razor; loaded only by that component. */
/* ── Reset & Base ── */


:root {
    --color-primary: #c0392b;
    --color-primary-dark: #a93226;
    --color-secondary: #f39c12;
    --color-accent: #2980b9;
    --color-bg: #fdf8f4;
    --color-white: #ffffff;
    --color-text: #1e1e2a;
    --color-text-muted: #4a4a5a;
    --color-border: #e8e0d8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.10);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
}



body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}



/* ── Buttons ── */

.btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 57, 43, 0.30);
}

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

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}

/* ── Header / Navbar ── */
header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

/* ── Dropdown Menu ── */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
    border: 1px solid var(--color-border);
    pointer-events: none;
}

/* ── Page Banner ── */
.page-banner {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #1e1e2a 0%, #2d2d44 100%);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path fill="none" stroke="%23ffffff" stroke-width="0.5" d="M10 10 L90 10 L90 90 L10 90 Z M20 20 L80 20 L80 80 L20 80 Z M30 30 L70 30 L70 70 L30 70 Z"/></svg>');
    background-size: 60px 60px;
}

.page-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-banner-content h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-white);
    margin-bottom: 12px;
}

.page-banner-content h1 .highlight {
    color: var(--color-secondary);
}

.page-banner-content .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 400;
}

.page-banner-content .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.page-banner-content .breadcrumb a:hover {
    color: var(--color-secondary);
}

.page-banner-content .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ── Section Shared ── */
section {
    padding: 70px 0;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(192, 57, 43, 0.08);
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-title .highlight {
    color: var(--color-primary);
}

.section-sub {
    color: var(--color-text-muted);
    max-width: 640px;
    font-size: 1.05rem;
}

.section-header {
    margin-bottom: 48px;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-sub {
    margin-left: auto;
    margin-right: auto;
}

/* ── Aim Banner ── */
.aim-banner {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 40px 0;
    text-align: center;
}

.aim-banner .aim-text {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto;
}

.aim-banner .aim-text i {
    color: var(--color-secondary);
    margin: 0 10px;
}

/* ── Objectives Page Specific ── */
.objectives-page {
    background: var(--color-white);
}

.objectives-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.objective-item {
    display: flex;
    gap: 20px;
    padding: 28px 32px;
    background: var(--color-bg);
    border-radius: var(--radius);
    border-left: 5px solid var(--color-primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    align-items: flex-start;
}

.objective-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-secondary);
}

.objective-item .num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.25;
    line-height: 1;
    flex-shrink: 0;
    min-width: 48px;
    text-align: center;
}

.objective-item .content p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.objective-item .content p strong {
    color: var(--color-text);
    font-weight: 600;
}

.objective-item .content .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    background: rgba(192, 57, 43, 0.08);
    padding: 2px 14px;
    border-radius: 50px;
    margin-bottom: 6px;
    text-decoration: none;
    cursor: pointer;
}

a.tag.objective-detail-link:hover {
    background: rgba(192, 57, 43, 0.16);
    text-decoration: underline;
}

.objective-item .content .tag i {
    font-size: 0.6rem;
}

/* ── Call to Action ── */
.cta-section {
    background: var(--color-bg);
    text-align: center;
    padding: 60px 0;
}

.cta-section .cta-box {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.cta-section .cta-box h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-section .cta-box p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 24px;
}

.cta-section .cta-box .btn-white {
    background: var(--color-white);
    color: var(--color-primary);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.cta-section .cta-box .btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
}

/* ── Footer ── */
footer {
    background: #1e1e2a;
    color: rgba(255, 255, 255, 0.75);
    padding: 50px 0 30px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .nav-links a {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .nav-links .btn-login {
        padding: 6px 16px;
        font-size: 0.78rem;
    }

    .mega-dropdown .dropdown-menu {
        min-width: 320px;
    }

    .dropdown-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-banner-content h1 {
        font-size: 2.4rem;
    }

    .aim-banner .aim-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 2px;
        padding: 12px 0 16px;
        border-top: 1px solid var(--color-border);
        background: var(--color-white);
        margin-left: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 10px 16px;
        font-size: 0.9rem;
        text-align: left;
        border-radius: 8px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: rgba(192, 57, 43, 0.08);
    }

    .nav-links .btn-login {
        display: flex;
        justify-content: center;
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        font-size: 0.9rem;
        margin-top: 4px;
        border-radius: 8px;
    }

    .nav-links .btn-login:hover {
        transform: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        pointer-events: auto;
        padding-left: 16px;
        border-left: 2px solid var(--color-border);
        margin-left: 16px;
        border-radius: 0;
    }

    .dropdown.show>.dropdown-menu {
        display: block;
        transform: none;
    }

    .dropdown-menu a {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .mega-dropdown .dropdown-menu {
        min-width: auto;
        left: 0;
        transform: none;
        padding: 8px 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .mega-dropdown.show>.dropdown-menu {
        transform: none;
    }

    .dropdown-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }

    .dropdown-item {
        padding: 6px 10px;
    }

    .dropdown-item img {
        width: 32px;
        height: 32px;
    }

    .hamburger {
        display: block;
    }

    .header-inner {
        min-height: 60px;
        padding: 8px 0;
    }

    .page-banner {
        padding: 50px 0 40px;
    }

    .page-banner-content h1 {
        font-size: 1.8rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo img {
        height: 34px;
        width: 34px;
    }

    .objective-item {
        padding: 20px 22px;
        flex-direction: column;
        align-items: stretch;
    }

    .objective-item .num {
        text-align: left;
        min-width: auto;
        font-size: 1.6rem;
    }

    .cta-section .cta-box {
        padding: 30px 20px;
    }

    .cta-section .cta-box h3 {
        font-size: 1.5rem;
    }

    .aim-banner .aim-text {
        font-size: 1.1rem;
    }

    .aim-banner {
        padding: 28px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .page-banner-content h1 {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo img {
        height: 28px;
        width: 28px;
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
    }

    .objective-item {
        padding: 16px 18px;
    }

    .objective-item .num {
        font-size: 1.3rem;
    }

    .cta-section .cta-box h3 {
        font-size: 1.3rem;
    }

    .aim-banner .aim-text {
        font-size: 1rem;
    }
}
