:root {
    --primary-color: #4d5d53;       /* Military Olive Green */
    --primary-dark: #3a4a3f;        /* Darker Olive */
    --accent-color: #8b0000;        /* Deep Red - representing sacrifice */
    --accent-hover: #6d0000;        /* Darker Red */
    --secondary-color: #1c2e4a;     /* Navy Blue - representing service */
    --secondary-light: #2c4366;     /* Lighter Navy */
    --text-color: #333333;          /* Dark text for readability */
    --light-bg: #f5f5f5;            /* Light background */
    --white: #ffffff;               /* White */
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Styles */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    scroll-behavior: smooth;
}

.header {
    background-color: var(--primary-color);
    background-image: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
    padding: 1.5rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.logo-main {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0;
    text-transform: uppercase;
    line-height: 1.1;
}

.logo-sub {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-badge {
    margin-right: 15px;
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.7);
}

.logo-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240,240,240,0.7) 0%, rgba(255,255,255,0) 50%, rgba(210,210,210,0.7) 100%);
    pointer-events: none;
}

.hero-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
    background-image: linear-gradient(to bottom, var(--white), var(--light-bg));
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color), var(--secondary-color));
}

.section-title {
    font-weight: bold;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.credentials-box {
    background-color: var(--white);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    border-top: 4px solid var(--accent-color);
}

@media (max-width: 768px) {
    .credentials-box {
        padding: 30px 20px;
    }
}

.credentials-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.credential-item {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
}

.credential-label {
    color: var(--secondary-color);
    font-weight: bold;
}

.footer-note {
    font-size: 1.2rem;
    margin-top: 40px;
    color: var(--text-color);
    text-align: center;
}

.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    color: var(--white);
    font-size: 1rem;
}

.footer a {
    color: var(--white);
}

/* Skip to content link for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 15px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background-color: white;
    color: var(--primary-color);
    z-index: 9999;
    text-decoration: none;
    font-weight: bold;
}

/* Custom button styles */
.btn-primary-custom {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transition: all 0.3s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

.btn-primary-custom:hover, 
.btn-primary-custom:focus {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transition: all 0.3s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

.btn-secondary-custom:hover, 
.btn-secondary-custom:focus {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Navbar Styling Enhancements */
.navbar {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    padding: 0.8rem 1.2rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active {
    color: white;
}

/* Improve section titles */
.section-title {
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* Responsive improvements */
@media (max-width: 576px) {
    .logo-main {
        font-size: 2.2rem;
    }
    
    .logo-sub {
        font-size: 1.2rem;
    }
    
    .logo-badge {
        width: 55px;
        height: 55px;
        margin-right: 12px;
    }
}
