@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800&display=swap");


/* =========================================
   HOMELAND SECURITY INFO - COMPLETE DESIGN
========================================= */

:root {
    --blue: #075487;
    --dark-blue: #032d48;
    --light-blue: #2d79a8;
    --gold: #edba51;
    --white: #ffffff;
    --text: #17354c;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: white;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font: inherit;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

/* TOP NOTICE */

.top-notice {
    background: var(--dark-blue);
    color: white;
    min-height: 34px;
    display: flex;
    align-items: center;
    padding: 0 9%;
    font-size: 12px;
}

.notice-inner {
    display: flex;
    align-items: center;
    gap: 9px;
}

.notice-inner a {
    color: white;
    text-decoration: underline;
    margin-left: 5px;
}

/* HEADER */

.header {
    height: 62px;
    width: 100%;
    background: var(--blue);
    color: white;
    position: relative;
    z-index: 20;
}

.header-inner {
    width: 96%;
    height: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.header-left {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .2px;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    min-width: 0;
}

.brand-logo {
    display: block;
    width: min(250px, 28vw);
    max-height: 48px;
    object-fit: contain;
    object-position: center;
}

.brand-symbol {
    width: 36px;
    height: 36px;
    border: 2px solid white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: bold;
}

.brand-name {
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: .98;
}

.hamburger {
    justify-self: end;
    border: 0;
    background: transparent;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 4px;
}

/* FULL SCREEN MENU */

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #03446d;
    color: white;
    padding: 110px 8% 45px;
    overflow-y: auto;
    display: none;
}

.menu-overlay.active {
    display: block;
}

.menu-close {
    position: absolute;
    top: 28px;
    right: 5%;
    width: 55px;
    height: 55px;
    border: 2px solid white;
    background: transparent;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.menu-navigation {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.menu-navigation a {
    font-size: 20px;
    font-weight: bold;
    color: white;
    transition: .2s;
}

.menu-navigation a:hover {
    color: var(--gold);
    padding-left: 8px;
}

.menu-search {
    display: flex;
    max-width: 650px;
    margin-top: 65px;
    border-bottom: 2px solid white;
}

.menu-search input {
    flex: 1;
    min-width: 0;
    padding: 15px 5px;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 25px;
}

.menu-search input::placeholder {
    color: #c5d8e5;
}

.menu-search button {
    border: 0;
    background: var(--gold);
    color: #062e48;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: bold;
}

/* HERO */

.hero {
    position: relative;
    width: 100%;
    min-height: 730px;
    background: var(--blue);
    color: white;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.hero-background {
    position: absolute;
    inset: 0 0 auto 0;
    height: 520px;
    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;
    transition: background-image .3s ease;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(3, 40, 65, .05) 0%,
        rgba(3, 50, 78, .12) 28%,
        rgba(5, 73, 116, .65) 48%,
        #075487 70%,
        #075487 100%
    );
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 205px 25px 45px;
}

.hero-kicker {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: #e9f3fa;
}

.hero-content h1 {
    max-width: 1200px;
    margin: 0 auto 42px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6.2vw, 90px);
    line-height: 1.13;
    font-weight: 800;
    color: white;
    text-shadow: 0 3px 12px rgba(0,0,0,.18);
}

.hero-description {
    max-width: 1040px;
    margin: auto;
    font-size: 19px;
    line-height: 1.65;
    color: white;
}

.hero-button {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 23px;
    background: var(--gold);
    color: #082e47;
    font-size: 12px;
    font-weight: bold;
    transition: .25s;
}

.hero-button:hover {
    background: white;
    transform: translateY(-2px);
}

/* SLIDER DOTS */

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 19px;
    margin-top: 65px;
}

.dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
    cursor: pointer;
    padding: 0;
    transition: .2s;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.12);
}

/* COMMON SECTION */

.section-container {
    width: min(1200px, 90%);
    margin: auto;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: #27739e;
    letter-spacing: 1.7px;
    margin-bottom: 15px;
}

.section-container h2 {
    font-family: Georgia, serif;
    font-size: clamp(30px, 4vw, 45px);
    color: #073c60;
    line-height: 1.15;
}

/* INTRO */

.intro-section {
    padding: 95px 20px;
    text-align: center;
    background: #f2f5f7;
}

.intro-section p {
    max-width: 750px;
    margin: 20px auto 0;
    font-size: 17px;
    line-height: 1.8;
    color: #566b7b;
}

/* TOPICS */

.topics-section {
    padding: 85px 0 100px;
    background: white;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 35px;
}

.text-link {
    font-size: 12px;
    font-weight: bold;
    color: #075487;
    padding-bottom: 8px;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.topic-card {
    background: white;
    border: 1px solid #e0e6eb;
    transition: .25s;
}

.topic-card:hover,
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,40,70,.10);
}

.topic-card img {
    height: 230px;
}

.topic-card-content {
    padding: 25px;
}

.topic-card-content span,
.news-content span {
    color: #317aa3;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.topic-card-content h3,
.news-content h3 {
    margin: 13px 0;
    font-family: Georgia, serif;
    font-size: 23px;
    color: #083e60;
}

.topic-card-content p,
.news-content p {
    color: #627381;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.topic-card-content a,
.news-content a {
    font-size: 11px;
    color: #075487;
    font-weight: bold;
}

/* NEWS */

.news-section {
    padding: 85px 0 100px;
    background: #f1f4f6;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.news-card {
    background: white;
    transition: .25s;
}

.news-card img {
    height: 290px;
}

.news-content {
    padding: 28px;
}

/* RESOURCES */

.resources-section {
    padding: 90px 0 100px;
    background: white;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.resource-item {
    display: block;
    padding: 30px;
    border: 1px solid #dce5eb;
    border-top: 4px solid #075487;
    transition: .25s;
}

.resource-item:hover {
    background: #f3f7fa;
    transform: translateY(-4px);
}

.resource-item span {
    color: #3480a9;
    font-size: 13px;
    font-weight: bold;
}

.resource-item h3 {
    font-family: Georgia, serif;
    color: #083e60;
    font-size: 22px;
    margin: 20px 0 12px;
}

.resource-item p {
    font-size: 14px;
    color: #647785;
    line-height: 1.6;
    margin-bottom: 22px;
}

.resource-item b {
    color: #075487;
    font-size: 11px;
}

/* SUBSCRIBE */

.subscribe-section {
    background: #347da9;
    color: white;
    padding: 55px 8%;
}

.subscribe-inner {
    max-width: 1220px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.subscribe-inner h2 {
    font-family: Georgia, serif;
    font-size: 55px;
    margin-bottom: 10px;
}

.subscribe-inner p {
    font-size: 18px;
}

.subscribe-form {
    display: flex;
    width: 48%;
    gap: 5px;
}

.subscribe-form input {
    min-width: 0;
    flex: 1;
    height: 52px;
    padding: 0 15px;
    border: none;
    outline: none;
    background: white;
    color: #18374c;
}

.subscribe-form button {
    height: 52px;
    padding: 0 23px;
    background: #032d48;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.subscribe-form button:hover {
    background: #001e32;
}

.form-message {
    max-width: 1220px;
    margin: 15px auto 0;
    font-size: 13px;
}

/* FOOTER */

.footer {
    background: #032d48;
    color: white;
}

.footer-top {
    max-width: 1200px;
    width: 90%;
    margin: auto;
    padding: 55px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Georgia, serif;
    font-size: 26px;
    line-height: 1;
}

.footer-brand-logo {
    display: block;
    width: min(280px, 55vw);
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
}

.footer-symbol {
    width: 55px;
    height: 55px;
    border: 2px solid white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-links a {
    color: white;
    font-size: 13px;
    text-decoration: underline;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.2);
    padding: 25px 5%;
    text-align: center;
    color: #d2e0e9;
    font-size: 12px;
    line-height: 1.8;
}

.footer-bottom p {
    margin: 5px 0;
}

/* BACK TO TOP */

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 50;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #075487;
    color: white;
    font-size: 25px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}

.back-to-top.visible {
    display: block;
}

/* TABLET */

@media(max-width: 900px) {

    .topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        padding-top: 190px;
    }

    .hero-content h1 {
        font-size: 60px;
    }

}

/* MOBILE */

@media(max-width: 600px) {

    .top-notice {
        padding: 0 12px;
        font-size: 10px;
    }

    .header {
        height: 65px;
    }

    .header-inner {
        width: 94%;
    }

    .brand-logo {
        width: min(210px, 58vw);
        max-height: 44px;
    }

    .header-left {
        display: none;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .brand {
        justify-self: start;
    }

    .brand-symbol {
        width: 31px;
        height: 31px;
        font-size: 18px;
    }

    .brand-name {
        font-size: 17px;
    }

    .hero {
        min-height: 650px;
    }

    .hero-background {
        height: 410px;
        background-position: center;
    }

    .hero-shade {
        background: linear-gradient(
            to bottom,
            rgba(3,40,65,.05) 0%,
            rgba(3,50,78,.20) 35%,
            rgba(5,73,116,.80) 58%,
            #075487 78%,
            #075487 100%
        );
    }

    .hero-content {
        padding: 185px 18px 35px;
    }

    .hero-kicker {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .hero-content h1 {
        font-size: clamp(36px, 9vw, 48px);
        margin-bottom: 25px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .hero-button {
        font-size: 10px;
    }

    .slider-dots {
        margin-top: 55px;
        gap: 14px;
    }

    .dot {
        width: 9px;
        height: 9px;
    }

    .intro-section,
    .topics-section,
    .news-section,
    .resources-section {
        padding: 60px 0;
    }

    .section-container {
        width: 90%;
    }

    .section-heading {
        align-items: start;
        gap: 15px;
    }

    .section-container h2 {
        font-size: 31px;
    }

    .topic-grid,
    .news-grid,
    .resource-grid {
        grid-template-columns: 1fr;
    }

    .topic-card img {
        height: 220px;
    }

    .news-card img {
        height: 220px;
    }

    .subscribe-section {
        padding: 45px 20px;
    }

    .subscribe-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .subscribe-inner h2 {
        font-size: 43px;
    }

    .subscribe-inner p {
        font-size: 15px;
    }

    .subscribe-form {
        width: 100%;
    }

    .subscribe-form button {
        padding: 0 13px;
        font-size: 11px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        gap: 17px;
    }

}

/* ACCESSIBILITY */

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid #edba51;
    outline-offset: 3px;
}
/* Footer logo size fix */
.footer .footer-brand-logo {
    width: 280px !important;
    max-width: 75vw !important;
    height: auto !important;
    max-height: 75px !important;
    object-fit: contain;
}


/* Consistent professional typography across Homeland Security Info */
:root {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}
html, body, body * {
  font-family: "Roboto", Arial, Helvetica, sans-serif !important;
}
