* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1;
    letter-spacing: -0.04em;
}

body {
    font-family: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background-color: #000;
    overflow-x: hidden;
}

/* =====================
   NAVIGATION
   ===================== */
.gov-nav {
    padding: 24px 40px;
    background-color: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.gov-logo {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
}

.gov-fo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    letter-spacing: -2px;
    color: #fff;
    padding-right: 5px;
}

.gov-label-text {
    font-family: 'Albert Sans', sans-serif;
    font-weight: 500;
    font-size: 19px;
    line-height: 1;
    letter-spacing: -2px;
    color: #fff;
    padding-left: 22px;
}

/* =====================
   HERO
   ===================== */
.gov-hero {
    height: 100vh;
    overflow: hidden;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 60px 80px 60px;
    gap: 0;
    position: relative;
}

/* Left content — takes up roughly left half */
.gov-hero-content {
    flex: 0 0 48%;
    max-width: 48%;
    z-index: 2;
}

.gov-hero-title {
    font-family: 'Albert Sans', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 22px;
}

.gov-hero-desc {
    font-family: 'Albert Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255);
    margin-bottom: 44px;
    max-width: 360px;
}

.gov-cta-btn {
    display: inline-block;
    background-color: #fff;
    color: #000;
    border: 3px solid rgba(233, 233, 233, 1);
    padding: 18px 28px;
    font-size: 15px;
    font-family: 'Albert Sans', sans-serif;
    font-weight: 500;
    font-style: Medium;
    line-height: 100%;
    letter-spacing: -4%;
    border-radius: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.gov-cta-btn:hover {
    background-color: #f0f0f0;
}

/* =====================
   PHOTOS GRID
   Right half — staggered 3-photo layout matching design
   ===================== */
.gov-photos-grid {
    /* Takes right ~48% of page */
    flex: 0 0 48%;
    max-width: 48%;
    position: relative;
    /* Tall enough to fill most of the viewport */
    height: calc(100vh - 160px);
    max-height: 680px;
}

.gov-photo {
    position: absolute;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.gov-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*
  Design layout (right-aligned stagger):
  - Photo 1 (officials):   top-right,  ~55% width, ~40% height
  - Photo 2 (building):    mid-left,   ~58% width, ~40% height  (offset down, inset left)
  - Photo 3 (training):    bottom-right,~55% width, ~40% height
*/

/* Top photo — crowds/officials — pushed to the far right */
.gov-photo-1 {
    width: 69%;
    height: 45%;
    top: 0;
    right: 0;
}

/* Middle photo — building — offset left and down */
.gov-photo-2 {
    width: 69%;
    height: 45%;
    top: 30%;
    left: 0;
}

/* Bottom photo — training room — far right, near bottom */
.gov-photo-3 {
    width: 69%;
    height: 45%;
    bottom: 0;
    right: 0;
}

/* =====================
   SCHEDULE DEMO PAGE — SHARED NAV OVERRIDES
   (used in schedule-demo.html which has white bg)
   ===================== */
body.demo-page {
    background-color: #fff;
}

body.demo-page .gov-nav {
    background-color: #fff;
}

body.demo-page .gov-fo-text,
body.demo-page .gov-label-text {
    color: #000;
}


/* =====================
   FORM STYLES (used on schedule-demo.html)
   These strictly mirror outfifth-edu/request_access.html
   ===================== */
.request-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 100px 40px 40px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.request-heading {
    font-family: 'Albert Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #000;
}

.request-form {
    width: 100%;
}

.gov-demo-header {
    margin-bottom: 32px;
}

.gov-demo-header .gov-fo-text {
    color: #000;
    font-size: 36px;
    letter-spacing: -1.5px;
}

.gov-demo-header .gov-label-text {
    color: #000;
    font-size: 30px;
    letter-spacing: -1.5px;
}

.form-group {
    margin-bottom: 24px;
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
    width: 100%;
}

.form-group label {
    display: block;
    font-family: 'Albert Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 7px;
    color: #000;
    line-height: 1.4;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-family: 'Albert Sans', sans-serif;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    background: #FAFAFA;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);
    outline: none;
    color: #333;
    text-align: left;
}

.form-group input::placeholder {
    color: #333;
    text-align: left;
}

.form-group textarea {
    resize: none;
    height: 80px;
}

.form-group textarea::placeholder {
    color: #aaa;
}

.form-group select {
    appearance: auto;
    cursor: pointer;
}

.input-error {
    border: 1px solid #d32f2f !important;
}

.error-message {
    color: #d32f2f;
    font-size: 11px;
    font-family: 'Albert Sans', sans-serif;
    margin-top: 5px;
    display: none;
    letter-spacing: 0;
    line-height: 1.4;
}

.error-message.visible {
    display: block;
}

.gov-form-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.gov-submit-btn {
    background-color: #000;
    color: #fff;
    border: 3px solid rgba(233, 233, 233, 1);
    margin-top: 20px;
    padding: 16px 40px;
    font-size: 15px;
    font-family: 'Albert Sans', sans-serif;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -4%;
    border-radius: 13px;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    display: inline-block;
    justify-self: center;
}

.gov-submit-btn:hover {
    background-color: #333;
}

.gov-submit-btn:disabled {
    opacity: 0.60;
    cursor: not-allowed;
}

/* Button loading state */
.button-loading {
    opacity: 0.65;
    cursor: not-allowed;
}

/* =====================
   MOBILE RESPONSIVE
   ===================== */
@media (max-width: 768px) {

    /* Nav */
    .gov-nav {
        padding: 18px 20px;
    }

    .gov-fo-text {
        font-size: 26px;
        padding-right: 3px;
        letter-spacing: -1px;
    }

    .gov-label-text {
        font-size: 22px;
        letter-spacing: -1px;
    }

    /* === LANDING PAGE HERO: stack vertically === */
    .gov-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 20px 60px 20px;
        gap: 48px;
        min-height: 100vh;
        height: auto;
        overflow: visible;
    }

    .gov-hero-content {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .gov-hero-title {
        font-size: 34px;
        margin-bottom: 18px;
    }

    .gov-hero-desc {
        font-size: 13px;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .gov-cta-btn {
        padding: 15px 26px;
        font-size: 14px;
    }

    /* Photos: full-width relative container */
    .gov-photos-grid {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        height: 340px;
    }

    .gov-photo-1 {
        width: 62%;
        height: 40%;
        top: 0;
        right: 0;
    }

    .gov-photo-2 {
        width: 65%;
        height: 40%;
        top: 30%;
        left: 0;
    }

    .gov-photo-3 {
        width: 62%;
        height: 40%;
        bottom: 0;
        right: 0;
    }

    .request-container {
        padding: 80px 40px 40px 40px;
    }

    .gov-demo-header .gov-fo-text {
        font-size: 26px;
    }

    .gov-demo-header .gov-label-text {
        font-size: 22px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 13px;
    }

    .gov-submit-btn {
        font-size: 13px;
        justify-self: center;
        display: block;
    }
}

@media (max-width: 480px) {
    .gov-hero-title {
        font-size: 28px;
    }

    .gov-photos-grid {
        height: 260px;
    }
}