/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background-color: #111111;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #dc143c;
    box-shadow: 0 2px 15px rgba(220, 20, 60, 0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1px;
}

.logo-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: #dc143c;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
    letter-spacing: 3px;
}
.logo {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #dc143c;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #dc143c;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #111111 0%, #2a0a0f 50%, #111111 100%);
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(220, 20, 60, 0.05) 2px,
            rgba(220, 20, 60, 0.05) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(220, 20, 60, 0.05) 2px,
            rgba(220, 20, 60, 0.05) 4px
        );
    pointer-events: none;
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
    text-shadow: 0 0 30px rgba(220, 20, 60, 0.5);
    letter-spacing: 2px;
}

.tagline {
    font-size: 1.5rem;
    color: #dc143c;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.4);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #dc143c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #dc143c;
    box-shadow: 0 0 25px rgba(220, 20, 60, 0.5);
}

.cta-button:hover {
    background-color: #b01030;
    border-color: #b01030;
    box-shadow: 0 0 35px rgba(220, 20, 60, 0.7);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #141414;
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #dc143c;
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.4);
}

.definition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.definition-card {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #2e2e2e;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.definition-card:hover {
    transform: translateY(-10px);
    border-color: #dc143c;
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.3);
}

.definition-card h3 {
    color: #dc143c;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.2);
}

.definition-card p {
    color: #b0b0b0;
    line-height: 1.8;
}

/* Importance Section */
.importance {
    padding: 100px 0;
    background-color: #1a1a1a;
}

.importance h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #dc143c;
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.4);
}

.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.importance-item {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #2e2e2e;
    transition: all 0.3s ease;
}

.importance-item:hover {
    transform: translateY(-5px);
    border-color: #dc143c;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

.importance-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(220, 20, 60, 0.3));
}

.importance-item h3 {
    color: #dc143c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.2);
}

.importance-item p {
    color: #a0a0a0;
    line-height: 1.7;
}

/* Analysts Section */
.analysts {
    padding: 100px 0;
    background-color: #141414;
}

.analysts h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #dc143c;
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.4);
}

.analyst-profiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.analyst-card {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #2e2e2e;
    transition: all 0.3s ease;
    text-align: center;
}

.analyst-card:hover {
    transform: translateY(-10px);
    border-color: #dc143c;
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.4);
}

.analyst-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc143c, #8b0000);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #dc143c;
    box-shadow: 0 0 25px rgba(220, 20, 60, 0.4);
}

.analyst-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.analyst-card h3 {
    color: #dc143c;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.2);
}

.analyst-description {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.suited-jobs {
    background-color: #141414;
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #dc143c;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.15);
}

.suited-jobs h4 {
    color: #dc143c;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-shadow: 0 0 8px rgba(220, 20, 60, 0.2);
}

.suited-jobs ul {
    list-style: none;
    color: #a0a0a0;
}

.suited-jobs li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #2e2e2e;
}

.suited-jobs li:last-child {
    border-bottom: none;
}

/* Careers Section */
.careers {
    padding: 100px 0;
    background-color: #1a1a1a;
}

.careers h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dc143c;
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.4);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #808080;
    margin-bottom: 3rem;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.career-card {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #2e2e2e;
    transition: all 0.3s ease;
}

.career-card:hover {
    transform: translateY(-5px);
    border-color: #dc143c;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

.career-card h3 {
    color: #dc143c;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.2);
}

.aka {
    color: #ff4d6d;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.career-card p:last-child {
    color: #a0a0a0;
    line-height: 1.7;
}

/* Showcase Section */
.showcase {
    padding: 100px 0;
    background-color: #141414;
}

.showcase h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dc143c;
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.4);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.showcase-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #2e2e2e;
    transition: all 0.3s ease;
    cursor: pointer;
}

.showcase-item:hover {
    border-color: #dc143c;
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.5);
    transform: scale(1.02);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-item:hover img {
    transform: scale(1.1);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(180, 10, 40, 0.95), transparent);
    padding: 2rem;
    transform: translateY(70%);
    transition: transform 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

.showcase-overlay h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.showcase-overlay p {
    color: #f0f0f0;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #0d0d0d;
    padding: 3rem 0 1rem;
    border-top: 3px solid #dc143c;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #dc143c;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.4);
}

.footer-section p {
    color: #808080;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #808080;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #dc143c;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2e2e2e;
    color: #555555;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: #dc143c;
    cursor: pointer;
    z-index: 2001;
    position: relative;
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        height: auto;
        padding: 120px 20px 80px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .tagline {
        font-size: 1rem;
    }

    .about h2,
    .importance h2,
    .analysts h2,
    .careers h2,
    .showcase h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .definition-grid,
    .importance-grid,
    .analyst-profiles,
    .career-grid,
    .showcase-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .definition-card,
    .importance-item,
    .analyst-card,
    .career-card {
        padding: 1.2rem;
    }

    .analyst-image {
        width: 110px;
        height: 110px;
    }

    .showcase-item {
        height: 220px;
    }

    .showcase-overlay {
        transform: translateY(0);
        padding: 1rem;
    }

    .showcase-overlay h3 {
        font-size: 1.2rem;
    }

    .showcase-overlay p {
        font-size: 0.9rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 10px;
        background: #1a1a1a;
        flex-direction: column;
        width: 170px;
        padding: 0.8rem;
        border-radius: 12px;
        border: 2px solid #dc143c;
        box-shadow: 0 4px 20px rgba(220, 20, 60, 0.3);
        gap: 0.8rem;
        text-align: center;
    }

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

    .menu-toggle {
        display: block;
    }

    header {
        padding: 0.7rem 0;
    }

    .logo-img {
        width: 42px;
        height: 42px;
    }

    .logo-text {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
}

/* ==========================
   MERIT SYSTEM PAGE
========================== */

.section {
    background: #1e1e1e;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    border: 2px solid #2e2e2e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.section h2 {
    color: #dc143c;
    margin-bottom: 1rem;
}

.section h3 {
    color: #ff4d6d;
    margin: 1rem 0;
}

.section p,
.section li {
    color: #b0b0b0;
    line-height: 1.8;
}

.section ul,
.section ol {
    padding-left: 20px;
}

.highlight {
    color: #dc143c;
    font-weight: bold;
}

.back-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 12px 30px;
    background: #dc143c;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: all .3s ease;
}

.back-btn:hover {
    background: #b01030;
    transform: translateY(-2px);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

table th {
    background: #dc143c;
    color: white;
    padding: 12px;
    text-align: left;
}

table td {
    border: 1px solid #2e2e2e;
    padding: 12px;
    color: #b0b0b0;
}

table tr:nth-child(even) {
    background: #161616;
}

@media (max-width:768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
