/* ==========================================
   HDBR ATLAS REDESIGN
   Dreamweaver Friendly (Flexbox)
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ==========================================
   COOKIE BANNER
   ========================================== */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 99999;

    background: #ffffff;
    color: #222222;

    border-top: 1px solid #d5d5d5;

    box-shadow:
        0 -4px 18px rgba(0, 0, 0, 0.12);

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


.cookie-banner-inner {

    max-width: 1200px;

    margin: 0 auto;

    padding: 18px 24px;

    display: flex;

    align-items: center;

    gap: 30px;

}


.cookie-banner-text {

    flex: 1;

    font-size: 14px;

    line-height: 1.5;

}


.cookie-banner-text strong {

    display: block;

    margin-bottom: 4px;

    font-size: 16px;

}


.cookie-banner-text a {

    color: #005eb8;

    text-decoration: underline;

}


.cookie-banner-buttons {

    display: flex;

    align-items: center;

    gap: 10px;

    white-space: nowrap;

}


/* =========================================================
   BUTTONS
   ========================================================= */


.cookie-button {

    padding: 11px 18px;

    border-radius: 3px;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

}


.cookie-button-accept {

    border: 0;

    background: #005eb8;

    color: #ffffff;

}


.cookie-button-accept:hover {

    background: #004b91;

}


.cookie-button-settings {

    background: #ffffff;

    color: #005eb8;

    border: 1px solid #005eb8;

}


.cookie-button-settings:hover {

    background: #f1f6fb;

}


.cookie-button:focus {

    outline: 3px solid #ffbf47;

    outline-offset: 2px;

}


/* =========================================================
   MODAL BACKGROUND
   ========================================================= */

.cookie-modal {

    position: fixed;

    inset: 0;

    z-index: 100000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background:
        rgba(0, 0, 0, 0.55);

}


.cookie-modal[hidden] {

    display: none;

}


/* =========================================================
   MODAL BOX
   ========================================================= */

.cookie-modal-box {

    position: relative;

    width: 100%;

    max-width: 620px;

    background: #ffffff;

    color: #222222;

    padding: 35px;

    border-radius: 6px;

    box-shadow:
        0 10px 40px
        rgba(0, 0, 0, 0.3);

}


.cookie-modal-box h2 {

    margin-top: 0;

    margin-bottom: 15px;

    font-size: 26px;

}


.cookie-modal-box > p {

    line-height: 1.6;

    font-size: 15px;

}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.cookie-modal-close {

    position: absolute;

    top: 12px;
    right: 15px;

    width: 35px;
    height: 35px;

    border: 0;

    background: transparent;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;

    color: #555555;

}


.cookie-modal-close:hover {

    color: #000000;

}


/* =========================================================
   ANALYTICS SETTING
   ========================================================= */

.cookie-setting {

    margin-top: 25px;

    padding: 20px;

    border: 1px solid #dddddd;

    border-radius: 5px;

}


.cookie-setting-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

}


.cookie-setting h3 {

    margin: 0 0 7px 0;

    font-size: 18px;

}


.cookie-setting p {

    margin: 0;

    font-size: 14px;

    line-height: 1.5;

    color: #555555;

}


/* =========================================================
   TOGGLE SWITCH
   ========================================================= */

.cookie-switch {

    position: relative;

    display: inline-block;

    width: 50px;

    min-width: 50px;

    height: 28px;

}


.cookie-switch input {

    opacity: 0;

    width: 0;
    height: 0;

}


.cookie-slider {

    position: absolute;

    inset: 0;

    cursor: pointer;

    background: #999999;

    border-radius: 28px;

    transition: 0.2s;

}


.cookie-slider:before {

    content: "";

    position: absolute;

    width: 20px;
    height: 20px;

    left: 4px;
    top: 4px;

    background: #ffffff;

    border-radius: 50%;

    transition: 0.2s;

}


.cookie-switch input:checked + .cookie-slider {

    background: #005eb8;

}


.cookie-switch input:checked + .cookie-slider:before {

    transform: translateX(22px);

}


/* =========================================================
   MODAL BUTTONS
   ========================================================= */

.cookie-modal-buttons {

    display: flex;

    justify-content: flex-end;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #dddddd;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .cookie-banner-inner {

        display: block;

        padding: 18px;

    }


    .cookie-banner-buttons {

        margin-top: 15px;

        display: flex;

        flex-wrap: wrap;

    }


    .cookie-button {

        flex: 1;

    }


    .cookie-modal-box {

        padding: 25px;

    }


    .cookie-setting-header {

        align-items: flex-start;

    }

}






/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 700px) {

    .cookie-banner-inner {

        display: block;

        padding: 18px;

    }

    .cookie-banner-buttons {

        margin-top: 15px;

        display: flex;

    }

    .cookie-button {

        flex: 1;

    }

}

body{

    font-family:Arial,Helvetica,sans-serif;

    background:#ececf8;

    color:#333;

}

/* ==========================================
   HEADER
========================================== */

.site-header{

    background:#ffffff;
    box-shadow:0 2px 8px rgba(0,0,0,.08);

}

.topbar{

    max-width:1400px;
    margin:0 auto;
    padding:20px 35px;

    display:flex;
    align-items:center;
}

.site-logo{

    flex-shrink:0;

}

.site-logo img{

    height:90px;
    width:auto;
    display:block;

}


/* ==========================================
   NAVIGATION
========================================== */

.navbar{

    background:#3c5abe;

    box-shadow:0 2px 6px rgba(0,0,0,.08);

}

.nav-links{

    max-width:1400px;

    margin:0 auto;

    padding:0;

    list-style:none;

    display:flex;

    justify-content:center;

    align-items:center;

}

.nav-links li{

    margin:0;

}

.nav-links a{

    display:block;

    padding:16px 22px;

    color:white;

    text-decoration:none;

    font-size:0.95rem;

    font-weight:600;

    letter-spacing:.3px;

    transition:background .25s,color .25s;

}

.nav-links a:hover{

    background:rgba(255,255,255,.10);
    color:orange;

}

.nav-links a.active{

    border-bottom:2px solid #f28c28;

}

/* ==========================================
   DROPDOWN
========================================== */

.dropdown{

    position:relative;

}

.dropdown-toggle{

    display:flex;

    align-items:center;

}

.dropdown-button{

 

    background:none;

    border:none;

    color:white;

    padding:16px 10px;

    cursor:pointer;

/*    font-size:.8rem;*/
    
    font-size:0.95rem;

    font-weight:600;

    letter-spacing:.3px;

}

.dropdown-button:hover{

    background:rgba(255,255,255,.10);
color: orange;
}

.dropdown-menu{

    display:none;

    position:absolute;

    top:100%;

    left:0;

    min-width:250px;

    background:white;

    list-style:none;

    padding:8px 0;

    border-radius:0 0 8px 8px;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

    z-index:999;

}

.dropdown-menu li{

    width:100%;

}

.dropdown-menu a{

    display:block;

    padding:12px 18px;

    text-decoration:none;

    color:#444;

    font-weight:500;

}

.dropdown-menu a:hover{

    background:#ececf8;

    color:#3c5abe;

}


.partner-logos{

    margin-left:auto;

    display:flex;

    justify-content:flex-end;

    align-items:center;

}

.partner-logos img{

    display:block;

    height:60px;

    width:auto;

}




.tagline{

    font-size:1.2rem;

    margin-bottom:20px;

}

.intro{

    max-width:750px;

    margin:0 auto 35px;

    font-size:1.1rem;

}

.featured{

    max-width:1400px;

    margin:50px auto;

    padding:0 30px;

}

.featured-card{

    display:flex;

    background:white;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 8px 20px rgba(0,0,0,.12);

}

.featured-card img{

    width:50%;

    object-fit:cover;

    min-height:350px;

}

.featured-text{


    padding:50px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.featured-text h2{

    color:#3c5abe;

    font-size:2rem;

    margin-bottom:30px;

}

/* ==========================================
   RESOURCES
========================================== */

.resources{

    max-width:1450px;

    margin:40px auto;

    padding:0 30px;

}

.resources h2{

    color:#3c5abe;

    font-size:2rem;

    margin-bottom:30px;

}

.gallery{

    display:flex;

    flex-wrap:wrap;

    gap:30px;

    justify-content:center;

}

.card{

    width:320px;

    background:white;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 5px 15px rgba(0,0,0,.10);

    transition:all .25s ease;

}

.card:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 24px rgba(0,0,0,.16);

}

.card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.card-body{

    padding:24px;

}

.card-body h3{

    color:#3c5abe;

    margin-bottom:12px;

    font-size:1.3rem;

}

.card-body p{

    color:#555;

    min-height:70px;

    margin-bottom:20px;

}


.card-toggle {
    display: inline-block;
    padding: 0;
    margin-top: 10px;

    background: none;
    border: none;

    font: inherit;
    font-weight: 600;
    text-align: left;

    color: #3c5abe;

    cursor: pointer;
}

.card-toggle:hover {
    color:#243672;
}

.card-arrow {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.2s ease;
}



.card-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;

    margin-top: 0;

    transition:
        max-height 0.3s ease,
        opacity 0.2s ease,
        margin-top 0.3s ease;
}




.card-menu.open {
    max-height: 500px;
    opacity: 1;
    margin-top: 10px;
}

.card-arrow {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.25s ease;
}

.card-toggle.open .card-arrow {
    transform: rotate(90deg);
}



/* Dropdown links */

.card-menu a {
    display: block;
    margin: 6px 0;
}

.card-menu a:hover{

    color:#3c5abe;

}


.button{

    display:inline-block;

    background:#3c5abe;

    color:white;

    text-decoration:none;

    padding:14px 26px;

    border-radius:6px;

    margin-top:25px;

    font-weight:bold;

}



/* ==========================================
   HERO
========================================== */


.hero{

	
	background:linear-gradient(to bottom, #3c5abe, #768cd2 );

    color:white;

    text-align:center;

/*    padding:20px 20px 25px;*/
     padding:10px 15px 20px;

}





.hero-content{

    max-width:900px;

    margin:auto;

    text-align:center;

}

.hero h1{

color: white;
    font-size:2.3rem;

    margin-bottom:10px;

    font-weight:700;

}

.hero-text{

    max-width:750px;

    margin:0 auto 18px;

    font-size:1.05rem;

    line-height:1.5;

}

/* ==========================================
   SEARCH
========================================== */

#searchBox{

    width:100%;
    max-width:650px;

    padding:14px 22px;

    border:none;
    border-radius:30px;

    font-size:1rem;

    outline:none;

    box-shadow:0 4px 12px rgba(0,0,0,.15);

}

#searchBox:focus{

    border-color:#3c5abe;

    box-shadow:0 0 0 4px rgba(60,90,190,.15);

}

/* ==========================================
   STATS
========================================== */

.stats{

    max-width:1300px;

    margin:50px auto;

    display:flex;

    flex-wrap:wrap;

    justify-content:space-between;

    gap:25px;

    padding:0 30px;

}

.stat{

    flex:1;

    min-width:220px;

    background:white;

    padding:30px;

    text-align:center;

    border-radius:15px;

    box-shadow:0 6px 15px rgba(0,0,0,.08);

}



/* ==========================================
   SECTION TITLE
========================================== */

.section-title{

    max-width:1400px;

    margin:auto;

    padding:20px 30px;

}

.section-title h2{

   color:#243672;
  
	

    font-size:2rem;

}

/* ==========================================
   RESOURCE CARDS
========================================== */

.gallery{

    max-width:1450px;

    margin:auto;

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:30px;

    padding:20px 30px 60px;

}

.card {
    display: flex;
    flex-direction: column;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card{

    width:340px;

    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 6px 15px rgba(0,0,0,.12);

    transition:.3s;

}

.card:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 30px rgba(0,0,0,.18);

}

.card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

/*
.card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}
*/

.card-body > a,
.card-body > .card-toggle {
    margin-top: auto;
}

.card-body{

    padding:25px;

}

.card-body h3{

    color:#243672;

    margin-bottom:15px;

}

.card-body p{

    color:#555;

    margin-bottom:20px;

}

.card-body a{

    text-decoration:none;

    color:#3c5abe;

    font-weight:bold;

}

.card-body a:hover{

    color:#243672;

}

/* ==========================================
   SEARCH RESULTS
========================================== */

#searchResults{

    display:none;

    max-width:1100px;

    margin:25px auto;

    padding:25px;

    background:white;

    border-radius:15px;

    box-shadow:0 6px 18px rgba(0,0,0,.1);

}

#searchResults h2{

    color:#3c5abe;

    margin-bottom:20px;

}

.search-result{

    padding:15px 0;

    border-bottom:1px solid #ececf8;

}

.search-result:last-child{

    border-bottom:none;

}

.search-result a{

    color:#3c5abe;

    font-weight:bold;

    text-decoration:none;

}

.search-result a:hover{

    text-decoration:underline;

}

/* ==========================================
   SEARCH MESSAGE
========================================== */

#noResults{

    display:none;

    text-align:center;

    padding:50px;

    color:#777;

}



/* ==========================================
   FOOTER
========================================== */

footer {
/*    background: #243672;*/
/*	background: #3c5abe;*/
/*	background:linear-gradient(to bottom, #768cd2, #3c5abe);*/
    color: white;
    margin-top: 60px;
}

.footer-grid {
	background: #3c5abe;
/*	background:linear-gradient(to bottom, #768cd2, #3c5abe);*/
    max-width: none;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 30px;
}

.footer-grid > div {
    flex: 1;
    min-width: 250px;
}

.footer-grid h3 {
    margin-bottom: 18px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid li {
    margin-bottom: 10px;
}

.footer-grid a {
    color: white;
    text-decoration: none;
}

.footer-grid a:hover {
    color: #febd60;
}

.footer-bottom {
	background: #243672;
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, .25);
}

.footer-bottom a {
    color: white;
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #febd60;
}







/* ==========================================
   RESPONSIVE
========================================== */

@media screen and (max-width:800px){

.topbar{

    flex-direction:column;

    gap:20px;

}

.site-logo img{

    height:70px;
    

}



}

@media screen and (max-width:1000px){

.topbar{

    flex-direction:column;

    text-align:center;

}

.nav-links{

    margin-top:20px;

    flex-wrap:wrap;

    justify-content:center;

}

.hero h2{

    font-size:2.3rem;

}

/*
.stats{

    justify-content:center;

}

.stat{

    min-width:260px;
*/

/*}*/

}

@media screen and (max-width:700px){

.hero{

    padding:60px 20px;

}

.hero h2{

    font-size:2rem;

}



.card{

    width:100%;

}

.stat{

    width:100%;

}

.footer-grid{

    flex-direction:column;

}

}