:root {
    --id-blue: #134F7D;
    --id-green: #0F8245;
    --id-yellow: #ECA219;
    --id-orange: #E7492E;
    --parchment: #fdfbf7;
}

body {
    font-family: 'Lexend', sans-serif;
    background-color: var(--parchment);
    color: var(--id-blue);
    overflow-x: hidden;
}

.mono {
    font-family: 'Space Mono', monospace;
}

/* Parchment Grain Texture */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3External%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.sylvan-blur {
    backdrop-filter: blur(12px) saturate(160%);
    background: rgba(253, 251, 247, 0.75);
    border-bottom: 2px solid var(--id-yellow);
}

.parchment-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 2px solid var(--id-orange);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.parchment-card:hover {
    transform: translateY(-8px) rotate(0.5deg);
    box-shadow: 20px 20px 60px rgba(19, 79, 125, 0.08);
    /* Blue shadow */
    background: rgba(255, 255, 255, 0.9);
}

.hero-gradient {
    background: radial-gradient(circle at top right, rgba(236, 162, 25, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(15, 130, 69, 0.08), transparent 40%);
}

.btn-primary {
    background: var(--id-blue);
    color: var(--parchment);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--id-green);
    transform: scale(1.05);
}

.text-reveal {
    animation: reveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes reveal {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.sector-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--id-yellow);
    color: var(--id-blue);
    font-weight: 800;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--parchment);
}

::-webkit-scrollbar-thumb {
    background: var(--id-orange);
    border-radius: 10px;
}

/* Sectors Section */
.sector-block {
    padding: 3rem 4rem;
    border-bottom: 2px solid rgba(19, 79, 125, 0.2);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    background: transparent;
}

.sector-block:hover {
    background: #fff;
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    z-index: 10;
    position: relative;
    border-radius: 1rem;
    border-bottom-color: transparent;
}

.sector-block.health {
    border-left: 10px solid var(--id-green);
}

.sector-block.edu {
    border-left: 10px solid var(--id-yellow);
}

.sector-block.culture {
    border-left: 10px solid var(--id-orange);
}

.sector-block.business {
    border-left: 10px solid var(--id-blue);
}

.sector-block.training {
    border-left: 10px solid #9ca3af;
}

.sector-block h3 {
    font-size: 2.5rem;
    font-weight: 800;
}

.sector-content p {
    max-width: 500px;
    color: #4b5563;
    font-size: 1.1rem;
}

.sector-link {
    justify-self: end;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 1024px) {
    .sector-block {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem;
    }

    .sector-link {
        justify-self: start;
    }
}

/* Hero Strata Layer Replacement */
.strata-layer {
    flex: 1;
    height: 100%;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.layer-1 { transform: translateY(10%); }
.layer-2 { transform: translateY(-5%); }
.layer-3 { transform: translateY(15%); }
