@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=IBM+Plex+Mono:wght@400;500;600&family=Bebas+Neue&family=Inter:wght@700;800;900&display=swap');

:root {
    --burnt-orange: #C55A3A;
    --forest-green: #4A6741;
    --tan-bg: #E8D4B0;
    --cream: #F5E6D3;
    --dark-brown: #3A2F28;
    --yellow-accent: #E8B04B;
    --shadow: rgba(58, 47, 40, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier Prime', 'IBM Plex Mono', monospace;
    background-color: var(--tan-bg);
    color: var(--dark-brown);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Removed scan line and static overlay effects */

header {
    background: linear-gradient(180deg, var(--cream) 0%, var(--tan-bg) 100%);
    border-bottom: 4px solid var(--forest-green);
    box-shadow: 0 4px 12px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 35px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.subject-portal-link {
    font-size: 12px;
    color: var(--burnt-orange);
    text-decoration: none;
    letter-spacing: 1px;
    padding: 8px 15px;
    border: 1px solid var(--burnt-orange);
    border-radius: 3px;
    transition: all 0.3s;
    align-self: flex-start;
    margin-top: 10px;
}

.subject-portal-link:hover {
    background: var(--burnt-orange);
    color: var(--cream);
}

.logo {
    width: 120px;
    height: auto;
    margin-right: 30px;
    filter: drop-shadow(2px 2px 4px var(--shadow));
}

.header-text {
    padding-top: 0;
}

.logotype {
    height: 65px;
    width: auto;
    margin-bottom: 8px;
    display: block;
}

.tagline {
    font-size: 14px;
    color: var(--burnt-orange);
    font-weight: bold;
    letter-spacing: 2px;
}

nav {
    background: var(--forest-green);
    padding: 0 40px;
    display: flex;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

nav a {
    color: var(--cream);
    text-decoration: none;
    padding: 15px 25px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-right: 1px solid rgba(232, 212, 176, 0.2);
    position: relative;
}

nav a:hover {
    background: var(--burnt-orange);
}

nav a.active {
    background: var(--burnt-orange);
}

nav a.restricted {
    background: var(--dark-brown);
    color: var(--yellow-accent);
    margin-left: auto;
    border-right: none;
}

.mobile-menu-toggle {
    display: none;
    background: var(--forest-green);
    border: none;
    color: var(--cream);
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
}

.mobile-menu-toggle:hover {
    background: var(--burnt-orange);
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background: var(--cream);
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 5px 5px 15px var(--shadow);
    position: relative;
    overflow: hidden;
}

/* Removed rotating background pattern */

.typewriter-container {
    margin-bottom: 20px;
    min-height: 50px;
}

#typewriter-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    color: var(--forest-green);
}

.cursor {
    display: inline-block;
    animation: blink-cursor 1s infinite;
    font-size: 42px;
    color: var(--burnt-orange);
    margin-left: 2px;
}

@keyframes blink-cursor {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.subheading {
    font-size: 18px;
    color: var(--burnt-orange);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-top: 10px;
}

.announcement {
    margin: 40px 0;
}

.announcement-box {
    background: linear-gradient(135deg, var(--yellow-accent), var(--burnt-orange));
    color: var(--cream);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
    overflow: hidden;
}

/* Removed sweep animation */

.announcement-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.service-card {
    background: var(--cream);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px var(--shadow);
    position: relative;
    border: 2px solid var(--forest-green);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 15px;
    filter: grayscale(50%);
}

.service-card h3 {
    color: var(--forest-green);
    margin-bottom: 15px;
    font-size: 22px;
}

.service-code {
    display: inline-block;
    background: var(--forest-green);
    color: var(--cream);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    margin-top: 10px;
    font-family: 'IBM Plex Mono', monospace;
}

.badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--burnt-orange);
    color: var(--cream);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
}

.testimonials {
    margin: 60px 0;
    padding: 40px;
    background: var(--forest-green);
    border-radius: 10px;
    color: var(--cream);
}

.testimonials h2 {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 0 var(--dark-brown);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.testimonial {
    background: rgba(232, 212, 176, 0.1);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--burnt-orange);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.8;
}

.testimonial cite {
    display: block;
    text-align: right;
    color: var(--yellow-accent);
    font-size: 14px;
}

.statistics {
    margin: 60px 0;
}

.statistics h2 {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: var(--forest-green);
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat {
    background: var(--cream);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px var(--shadow);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--burnt-orange);
    font-family: 'Bebas Neue', sans-serif;
    margin-bottom: 10px;
}

.process {
    margin: 60px 0;
}

.process h2 {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: var(--forest-green);
    margin-bottom: 40px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--burnt-orange);
    color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px var(--shadow);
}

.step h4 {
    color: var(--forest-green);
    margin-bottom: 10px;
    font-size: 18px;
}

.cta {
    background: linear-gradient(135deg, var(--forest-green), var(--dark-brown));
    padding: 60px 40px;
    border-radius: 10px;
    text-align: center;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0,0,0,0.1) 10px,
        rgba(0,0,0,0.1) 20px
    );
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: var(--cream);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 var(--dark-brown);
}

.cta p {
    color: var(--cream);
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background: var(--burnt-orange);
    color: var(--cream);
    border: none;
    padding: 20px 50px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    font-family: 'Bebas Neue', sans-serif;
}

.cta-button:hover {
    background: var(--yellow-accent);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.fine-print {
    font-size: 10px !important;
    opacity: 0.7;
    margin-top: 20px;
    line-height: 1.4;
}

footer {
    background: var(--dark-brown);
    color: var(--cream);
    padding: 40px 40px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--yellow-accent);
    margin-bottom: 15px;
    font-size: 18px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--burnt-orange);
}

.address {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

.warning {
    color: var(--burnt-orange);
    font-style: italic;
    font-size: 12px;
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(232, 212, 176, 0.2);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.counter {
    background: var(--forest-green);
    padding: 5px 15px;
    border-radius: 3px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
}

#visitor-count {
    color: var(--yellow-accent);
    font-weight: bold;
}

.floating-eye {
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-size: 40px;
    cursor: pointer;
    z-index: 1000;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.floating-eye:hover {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        align-items: center;
        padding: 20px;
    }

    .header-left {
        flex: 1;
    }

    .subject-portal-link {
        font-size: 10px;
        padding: 6px 10px;
        margin-top: 0;
    }

    .logo {
        width: 60px;
        height: auto;
        margin-right: 15px;
    }

    .header-text {
        flex: 1;
    }

    .logotype {
        height: 35px;
        width: auto;
        margin-bottom: 5px;
    }

    .tagline {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .mobile-menu-toggle {
        display: block;
        width: 100%;
        font-size: 16px;
        font-weight: bold;
        letter-spacing: 1px;
    }

    nav {
        flex-direction: column;
        padding: 0;
        display: none;
    }

    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(232, 212, 176, 0.1);
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }

    nav a.restricted {
        margin-left: 0;
    }
    
    main {
        padding: 20px;
    }
    
    .hero {
        padding: 40px 20px;
        margin-bottom: 30px;
    }
    
    #typewriter-text {
        font-size: 28px;
    }
    
    .cursor {
        font-size: 28px;
    }
    
    .subheading {
        font-size: 14px;
        letter-spacing: 4px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .service-icon {
        font-size: 36px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    .testimonials {
        padding: 30px 20px;
        margin: 40px 0;
    }
    
    .testimonials h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .statistics h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .process h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .step h4 {
        font-size: 16px;
    }
    
    .cta {
        padding: 40px 20px;
        margin: 40px 0;
    }
    
    .cta h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .cta p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .fine-print {
        font-size: 9px !important;
        line-height: 1.3;
    }
    
    footer {
        padding: 30px 20px 15px;
        margin-top: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 20px;
    }
    
    .footer-section h4 {
        font-size: 16px;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    .address {
        font-size: 13px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        font-size: 12px;
    }
    
    .counter {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .floating-eye {
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
    
    .announcement-box {
        padding: 20px;
    }
    
    .announcement-box h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 15px;
        flex-direction: row;
        align-items: center;
    }
    
    .logo {
        width: 50px;
        height: auto;
        margin-right: 12px;
    }
    
    .header-text {
        flex: 1;
    }
    
    .logotype {
        height: 28px;
        width: auto;
        margin-bottom: 3px;
    }
    
    .tagline {
        font-size: 10px;
    }
    
    main {
        padding: 15px;
    }
    
    .hero {
        padding: 30px 15px;
    }
    
    #typewriter-text {
        font-size: 24px;
    }
    
    .cursor {
        font-size: 24px;
    }
    
    .subheading {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .cta h2 {
        font-size: 26px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}