/* --- Global Reset & Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f2c59;    /* Armor Navy */
    --secondary-color: #dac0a3;  /* Shield Gold / Sand */
    --text-dark: #0f172a;        /* High-contrast Blue-Black text */
    --text-light: #475569;       /* Slate Stone text */
    --bg-dark-fortress: #0a1833; /* The Keep Dark Midnight */
    --bg-stone-panel: #f1f5f9;   /* Clean Stone-tint Grey */
    --white: #ffffff;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--primary-color);
}

body {
    font-family: var(--font-stack);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Interactive Scroll Reveal Mechanical Transforms --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Fortress Interface Buttons --- */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.btn-primary:hover {
    background-color: var(--bg-dark-fortress);
    border-color: var(--bg-dark-fortress);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(15, 44, 89, 0.25);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #ccb091;
    border-color: #ccb091;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

/* --- Fortress Navigation Header --- */
header {
    background-color: var(--white);
    border-bottom: 3px solid var(--bg-stone-panel);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    height: 100px;
    width: auto;
    max-height: 100px;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- Cinematic Video Hero Setup --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 24, 51, 0.88), rgba(5, 12, 26, 0.95));
    z-index: 2;
}

.hero-container {
    position: relative;
    max-width: 850px;
    z-index: 3;
}

.fortress-emblem {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2.75rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.hero-cta .btn {
    margin: 0 0.5rem;
}

/* --- Section Title Structural Accents --- */
.section-title {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '\f44d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary-color);
    font-size: 1.25rem;
    background-color: var(--white);
    padding: 0 10px;
}

.section-title h2::before {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background-color: var(--primary-color);
}

.services-section .section-title h2::after { background-color: var(--white); }
.process-section .section-title h2::after { background-color: var(--white); }
.pricing-section .section-title h2::after { background-color: var(--bg-dark-fortress); }
.contact-section .section-title h2::after { background-color: var(--white); }

.section-title p {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-top: 2.25rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Separator Headers for Service Tracks --- */
.services-track-title {
    margin-bottom: 2rem;
    width: 100%;
}

.services-track-title h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.services-track-title h3 i {
    color: var(--secondary-color);
}

.track-line {
    width: 100%;
    height: 2px;
    background-color: #cbd5e1;
    margin-top: 0.75rem;
}

.promo-banner-text {
    margin-top: 1.5rem;
    display: inline-block;
    background-color: rgba(218, 192, 163, 0.22);
    color: #70583b;
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--secondary-color);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* --- Services Layout --- */
.services-section {
    padding: 7.5rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-stone-panel) 100%);
}

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

.service-card {
    background-color: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: 4px;
    border: 2px solid #e2e8f0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -5px rgba(15, 44, 89, 0.12);
    border-color: var(--primary-color);
}

.analytical-premium {
    border: 2px solid var(--secondary-color);
    background-color: rgba(218, 192, 163, 0.04);
}

.analytical-premium:hover {
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 800;
}

.service-card p {
    color: #334155;
    font-size: 1rem;
    line-height: 1.65;
}

/* --- Treasury Pricing Grid Block Layout --- */
.pricing-section {
    padding: 7.5rem 0;
    background-color: var(--bg-dark-fortress);
    color: var(--white);
    border-top: 4px solid var(--secondary-color);
    border-bottom: 4px solid var(--secondary-color);
}

.pricing-section .section-title h2 { color: var(--white); }
.pricing-section .section-title h2::before { background-color: var(--secondary-color); }
.pricing-section .section-title p { color: #94a3b8; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    color: var(--text-dark);
    border-radius: 4px;
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid #e2e8f0;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 35px -5px rgba(0,0,0,0.4);
}

.pricing-card.featured {
    background: linear-gradient(185deg, #0d254c 0%, var(--bg-dark-fortress) 100%);
    color: var(--white);
    border: 3px solid var(--secondary-color);
}

/* Plan Badges for separation */
.plan-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.business-badge { background-color: #e2e8f0; color: var(--primary-color); }
.individual-badge { background-color: rgba(218, 192, 163, 0.3); color: #70583b; }
.featured-badge { background-color: rgba(255,255,255,0.15); color: var(--white); }

.pricing-card.featured .price, 
.pricing-card.featured h3 {
    color: var(--white);
}

.pricing-card.featured .price span,
.pricing-card.featured .price-desc {
    color: #94a3b8;
}

.pricing-card.featured .price-features li {
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.popular-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.35rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.2px;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-card .price span {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

.price-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    min-height: 45px;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
}

.price-features li {
    font-size: 1rem;
    color: #334155;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-features li i {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* --- Process Blueprint Section --- */
.process-section {
    padding: 7.5rem 0;
    background-color: var(--white);
}

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

.process-card {
    background: var(--bg-stone-panel);
    padding: 3.5rem 2.5rem;
    border-radius: 4px;
    text-align: center;
    position: relative;
    border: 2px solid #e2e8f0;
    border-top: 4px solid var(--primary-color);
}

.process-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 1.3rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 12px rgba(15, 44, 89, 0.15);
}

.process-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.85rem;
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
}

.process-card p {
    color: #475569;
    font-size: 0.95rem;
}

/* --- Tech Infrastructure Banner --- */
.tech-banner {
    background: linear-gradient(135deg, var(--bg-dark-fortress) 0%, #050f21 100%);
    color: var(--white);
    padding: 4.5rem 0;
    text-align: center;
    border-bottom: 4px solid var(--secondary-color);
}

.tech-title {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.tech-logos {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    align-items: center;
    flex-wrap: wrap;
    font-weight: 600;
    font-size: 1.1rem;
}

.tech-logos i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* --- About Section --- */
.about-section {
    padding: 7.5rem 0;
    background-color: var(--bg-stone-panel);
    border-bottom: 2px solid #e2e8f0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4.5rem;
    align-items: flex-start;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.about-headshot {
    width: 100%;
    max-width: 340px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 25px 35px -10px rgba(15, 44, 89, 0.25);
    border: 6px solid var(--white);
    display: block;
}

.edu-logos {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 360px;
    background-color: var(--white);
    padding: 1.75rem;
    border-radius: 4px;
    border-top: 4px solid var(--primary-color);
    border-bottom: 4px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.edu-logo {
    height: 75px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.about-text .sub-heading {
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.about-text h2 {
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.about-text p {
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.availability-callout {
    background-color: var(--white);
    border-left: 5px solid var(--primary-color);
    border-right: 2px solid #e2e8f0;
    border-top: 2px solid #e2e8f0;
    border-bottom: 2px solid #e2e8f0;
    padding: 2.25rem;
    border-radius: 0 4px 4px 0;
    margin: 3rem 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.availability-callout h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.availability-callout p {
    font-size: 1rem;
    color: #475569;
    margin: 0;
}

.badges {
    display: flex;
    justify-content: flex-start;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.badge {
    background-color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-color);
    border: 2px solid #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge i {
    margin-right: 6px;
    color: #b59b79;
}

/* --- Contact Section --- */
.contact-section {
    padding: 7.5rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-stone-panel) 100%);
}

.contact-container {
    max-width: 650px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 4rem;
    border-radius: 4px;
    border: 2px solid #e2e8f0;
    border-top: 5px solid var(--primary-color);
    box-shadow: 0 20px 30px -5px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.85rem;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-stack);
    background-color: #f8fafc;
    transition: all 0.25s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(15, 44, 89, 0.12);
}

/* --- Footer --- */
footer {
    background-color: #030a17;
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    border-top: 4px solid var(--secondary-color);
}

.footer-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.footer-subtext {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    opacity: 0.4;
    letter-spacing: 0.5px;
}

/* --- Mobile Responsive Adjustments --- */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }

    .nav-container {
        flex-direction: column;
        gap: 1.25rem;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
        width: 100%;
        padding: 0;
    }

    .nav-links li {
        margin-left: 0;
    }

    .hero-section {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-cta .btn {
        display: block;
        margin: 1rem 0;
    }

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

    .about-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .badges {
        justify-content: center;
    }

    .contact-container {
        padding: 2.5rem 1.5rem;
    }
}