@font-face {
    font-family: 'Roboto Condensed';
    src: url('../fonts/RobotoCondensed-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Roboto Condensed Light */
@font-face {
    font-family: 'Roboto Condensed';
    src: url('../fonts/RobotoCondensed-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Roboto Condensed SemiBold */
@font-face {
    font-family: 'Roboto Condensed';
    src: url('../fonts/RobotoCondensed-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Roboto Condensed Bold */
@font-face {
    font-family: 'Roboto Condensed';
    src: url('../fonts/RobotoCondensed-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Roboto Condensed ExtraBold */
@font-face {
    font-family: 'Roboto Condensed';
    src: url('../fonts/RobotoCondensed-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input,
textarea,
label,
ul,
ol,
li,
span,
div {
    font-family: 'Roboto Condensed', Arial, sans-serif !important;
}

body {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    background-color: #fff;
    color: #111;
    padding-top: 72px;
}

/* Ensure menubar uses Roboto Condensed font */
.navbar-nav,
.navbar-nav .nav-link {
    font-family: 'Roboto Condensed', Arial, sans-serif !important;
}

/* Restrict navbar logo container to 60% width and center it */
.navbar-logo-container {
    max-width: 60vw;
    margin-left: auto;
    margin-right: auto;
}

.navbar {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

    border-bottom: 1.5px solid rgba(0, 0, 0, 0.08);
}

.navbar .nav-link {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #222 !important;
}

.btn-contact {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    background-color: #0056b3;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: #003e85;
    color: #fff;
}

.note,
.footer {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    color: #dbdbdb;
    font-size: 0.9rem;
}

.footer {
    margin-top: 80px;
}

/* Ribbon Gradient Bar */
.ribbon-gradient {
    width: 100%;
    height: 72px;
    background: linear-gradient(90deg, #0F1917 0%, #014588 100%);
    /* #0466c8 is a lighter blue for gradient effect */
    margin: 0;
    padding: 0;
}

/* Ribbon content width limitation */
.ribbon-content-container {
    max-width: 60vw;
    margin-left: auto;
    margin-right: auto;
}

.ribbon-text {
    color: #ffffff;
    font-size: 1.2rem;
    text-align: left;
    padding: 22px 0;
}

/* Ribbon button group styling */
.ribbon-btn-group .ribbon-btn {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 600;
    border-radius: 4px;
    padding: 6px 18px;
    font-size: 1rem;
    transition: 0.2s, color 0.2s;
    margin-right: 5px;
}

.ribbon-btn-group .btn-outline-light:hover {
    background: #fff;
    color: #024A8C;
}

.ribbon-btn-group .btn-light {
    background: #fff;
    color: #024A8C;
    border: 1px solid #fff;
}

.ribbon-btn-group .btn-light:hover {
    background: #0466c8;
    color: #fff;
    border: 1px solid #0466c8;
}

/* Video section horizontal black-to-transparent overlay */
.video-section {
    position: relative;
    width: 100%;
    height: 62.5vh;
    overflow: hidden;
    background-color: #000;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.video-section 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;
}

/* Video slider overlay styles */
.video-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
}

.slider-container {
    width: 60vw;
    margin: 0 auto 0 auto;
    position: relative;
    height: 62.5vh;
    overflow: hidden;
    align-items: flex-start;
}

.slide {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.7s, transform 0.7s;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    pointer-events: none;
    padding-left: 1vw;
    padding-right: 1vw;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.slide.prev {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}

.slide-title {
    font-family: 'Roboto Condensed', Arial, sans-serif !important;
    font-size: 4.6rem;
    font-weight: 800;
    margin-bottom: 0.3em;
    color: #ffffff;
    letter-spacing: 0.02em;
    padding-top: 60px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-body {
    font-family: 'Roboto Condensed', Arial, sans-serif !important;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    max-width: 30vw;
    word-break: break-word;
    white-space: normal;
    padding-top: 10px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.5);
}

.opmm-image {
    max-width: 80%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.opmm-desc {
    font-size: 1.15rem;
    color: #222;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    text-align: justify;
    max-width: 90%;
}

/* One Problem section unified box styles */
.one-problem-box {
    background: linear-gradient(180deg, #0358a6 0%, #024A8C 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 16px 0 rgba(2, 74, 140, 0.12), 0 1.5px 4px 0 rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.one-problem-title {
    font-weight: 700;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    color: #fff;
}

.one-problem-desc {
    font-size: 1rem;
    color: #fff;
    font-family: 'Roboto Condensed', Arial, sans-serif;
}

.op-icon-defence {
    font-size: 2rem;
    color: #7ecbff;
}

.op-icon-wildfire {
    font-size: 2rem;
    color: #ffb347;
}

.op-icon-logistics {
    font-size: 2rem;
    color: #e3f2fd;
}

.op-icon-agriculture {
    font-size: 2rem;
    color: #b6e388;
}

/* Section container for One Problem, Many Frontiers and similar sections */
.opmm-section-container {
    max-width: 60vw;
}

/* Section title for What’s Missing and similar headings */
.opmm-section-title {
    color: #54aacc;
    font-weight: 800;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    text-align: center;
}

#vision {
    scroll-margin-top: 135px;
}

#solution {
    scroll-margin-top: 80px;
}

#technology {
    scroll-margin-top: 100px;
}

#roadmap {
    scroll-margin-top: 65px;
}

/* --- Rich Autonomy Stack Styles --- */
.autonomy-stack-rich {
    width: 100%;
    margin-top: 0.5rem;
}

.autonomy-stack-item {
    display: flex;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.10);
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 1.08rem;
    padding: 0;
    background: #23272f;
    color: #fff;
    min-height: 90px;
    height: 90px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.autonomy-stack-item .fa-2x {
    min-width: 36px;
    min-height: 36px;
    color: #fff;
    opacity: 0.95;
}

.autonomy-stack-item .fw-bold {
    font-weight: 700;
    font-size: 1.13rem;
}

.autonomy-stack-item .stack-desc {
    font-size: 1.01rem;
    font-weight: 400;
    opacity: 0.93;
}

.autonomy-stack-item .row {
    width: 100%;
    margin: 0;
}

.autonomy-stack-item .col-auto {
    display: flex;
    align-items: center;
    justify-content: center;
}

.autonomy-stack-item .col {
    padding-left: 0.5rem;
}

/* Arrow backgrounds for each stack item */
.stack-blue {
    background: linear-gradient(90deg, #23618c 90%, #23618c00 100%);
    border-left: 8px solid #23618c;
}

.stack-orange {
    background: linear-gradient(90deg, #f6a623 90%, #f6a62300 100%);
    border-left: 8px solid #f6a623;
}

.stack-red {
    background: linear-gradient(90deg, #a94442 90%, #a9444200 100%);
    border-left: 8px solid #a94442;
}

.stack-navy {
    background: linear-gradient(90deg, #1a3c4c 90%, #1a3c4c00 100%);
    border-left: 8px solid #1a3c4c;
}

.stack-cyan {
    background: linear-gradient(90deg, #3bb3c3 90%, #3bb3c300 100%);
    border-left: 8px solid #3bb3c3;
}

.stack-green {
    background: linear-gradient(90deg, #3c963c 90%, #3c963c00 100%);
    border-left: 8px solid #3c963c;
}

/* --- Autonomy Stack Section Styles --- */
.autonomy-stack-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.autonomy-stack-item {
    background: rgba(255, 255, 255, 0.07);
    color: #494949;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1.08rem;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    text-align: center;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.10);
    transition: 0.2s;
}

.autonomy-stack-item .fw-semibold {
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .autonomy-stack-item {
        font-size: 0.98rem;
        padding: 0.65rem 0.7rem;
    }

    .opmm-section-title {
        text-align: left !important;
    }
}

/* Roboto Condensed Regular */
.autonomy-stack-item i {
    margin-right: 0.75rem;
    vertical-align: middle;
    color: #222 !important;
}

@media (prefers-color-scheme: light) {
    body {
        background-color: #f5f5f5;
        color: #111;
    }

    .note,
    .footer {
        font-family: 'Roboto Condensed', Arial, sans-serif;
        color: #dbdbdb;
    }
}

/* Roadmap year color customization */
.roadmap-year {
    color: #a0dcf3 !important;
    margin-bottom: 1rem;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 700;
}

/* Modern roadmap card style for each year */

/* Blue gradient roadmap card style */
.roadmap-card {
    background: linear-gradient(180deg, #0358a6 0%, #024A8C 100%);
    color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(21,101,192,0.12);
    border: none;
    padding: 2rem 1.5rem;
    margin-bottom: 0.5rem;
    transition: box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.roadmap-card,
.roadmap-card span,
.roadmap-card li,
.roadmap-card ul {
    color: #fff !important;
}

.roadmap-card .fa-person-digging {
    color: #B6E388 !important;
}
.roadmap-card .fa-hourglass-half {
    color: #fce46d !important;
}
.roadmap-card .fa-lightbulb,
.roadmap-card .fa-compass {
    color: #E3F2FD !important;
}

.roadmap-card:hover {
    box-shadow: 0 4px 24px rgba(2, 74, 140, 0.16);
}

.roadmap-list i.fa-hourglass-half {
    margin-top: 0.15em;
    color: #fbbf24;
    font-size: 1.1em;
}

.roadmap-list li b {
    display: inline-block;
    /* margin-bottom: 0.1em; */
}

/* Roadmap Section Styles */
#roadmap {
    background: #e7e7e7;
    color: #1a1a1a;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

#roadmap .opmm-section-title {
    color: #024A8C;
    font-weight: 700;
    margin-bottom: 2rem;
}

.roadmap-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.roadmap-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 0.6rem;
}

@media (max-width: 991.98px) {
    .roadmap-row {
        flex-wrap: wrap;
    }
}

.roadmap-row {
    margin-left: 0;
    margin-right: 0;
    align-items: stretch;
}

.roadmap-list {
    font-size: 1.1rem;
    color: #1a1a1a;
    padding-left: 0;
    margin-bottom: 0.1rem !important;
}

.roadmap-list li {
    display: flex;
    align-items: baseline;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    gap: 0.5rem;
}

.roadmap-list i {
    min-width: 1.5em;
    text-align: center;
    margin-top: 0.1em;
}

.roadmap-list b {
    color: #024A8C;
    margin-right: 0.5rem;
    font-weight: 700;
}

.roadmap-list i.fa-check {
    margin-top: 0.15em;
    color: #4ade80;
    font-size: 1.1em;
}

/* Underline style for email links */
.email-link {
    color: #666666;
    text-decoration: underline;
}

/* Styles for the Contact Information section */
.contact-info-container {
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.contact-info-title {
    color: #90caf9;
    font-weight: 500;
}

.contact-info-text {
    margin-bottom: 0.5rem; /* Reduced vertical space */
}

.contact-info-text-address {
    margin-bottom: 0.08rem !important; /* Reduced vertical space */
}

.contact-info-header {
    color: #54AACC;
    font-weight: 700;
}

.contact-info-description {
    color: #666;
    font-size: 0.9rem;
}

.contact-info-container .fa-solid {
    color: #a0a0a0; /* Dark grey */
}

@media (max-width: 767.98px) {
    #roadmap {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .roadmap-list {
        font-size: 1rem;
    }
}

@media (max-width: 1920px) {
    .contact-info-container {
        text-align: left;
        padding: 1rem;
    }

    .contact-info-title {
        font-size: 1.1rem;
    }

    .contact-info-text {
        font-size: 0.9rem;
    }

    .contact-info-header {
        font-size: 1.5rem;
    }

    .contact-info-description {
        font-size: 0.95rem;
    }
}