:root{
    --blue:#087da4;
    --dark:#111;
    --pale:#e1f5ff;
    --line:#aedce8
}

*{
    box-sizing:border-box
}

body{
    margin: 0px;
    color:var(--dark);
    font-family:Montserrat,Arial,sans-serif
}

a{
    color:inherit
}

.site-header{
    height:64px;
    padding:0 2.5%;
    display:flex;
    align-items:center;
    gap:30px;
    background:#fff
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: 105px;
  height: auto;
  padding: 10px;
}

.main-nav{
    display:flex;
    gap:24px;
    flex:1
}

.main-nav a{
    text-decoration:none;
    font-size:14px
}

.search{
    display:flex;
    border:1px solid #444;
    border-radius:20px;
    overflow:hidden
}

.search input{
    width:135px;
    border:0;
    outline:0;
    padding:5px 10px
}

.search button{
    border:0;
    background:#fff;
    padding-right:9px
}

.hero {
    width: 100%;
    height: 500px;

    background-image:
        linear-gradient(
            rgba(0, 40, 55, 0.15),
            rgba(0, 40, 55, 0.15)
        ),
        url("images/Conservation\ Status\ VULNERABLE.jpg");

    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    color: white;
}

.hero-content {
    padding: 70px 5%;
}

.hero-content h1 {
    margin: 0;
    max-width: 700px;

    font-size: 50px;
    line-height: 1.5;
    font-weight: 700;
}

.hero-description {
    margin: 0;
    padding: 20px 4%;

    background-color: rgba(0, 0, 0, 0.45);

    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.stats {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;

    display: flex;
    justify-content: space-evenly;
    align-items: center;

    padding: 20px;
    border: 2px solid #8bc5d5;
    border-radius: 35px;
}

.stat-item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    padding: 0 20px;
    border-right: 1px solid #bcbcbc;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.stat-item strong {
    display: block;
    color: #087da4;
    font-size: 20px;
}

.stat-item p {
    margin: 3px 0 0;
    font-size: 14px;
    line-height: 1.3;
}

.involved {
    height: 570px;
    min-height: 0;

    background-color: #e2f0ff;

    display: grid;
    grid-template-columns: 65% 35%;

    overflow: hidden;
}

.involved > img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: 50% 0 0 50%;
}

.involved-content{
    padding:45px 3% 25px 15%;
}

.eyebrow,.section-heading h2{
    text-transform:uppercase;
    color:var(--blue);
    font-size:17px;
    font-weight:800;
    text-decoration:underline;
    text-underline-offset:6px
}

.involved h2{
    font-size:31px;
    margin:22px 0
}

.involved-content>p:not(.eyebrow){
    font-size:14px;
    line-height:1.6
}

.steps{
    display:flex;
    gap:22px;
    margin-top:20px
}

.steps article{
    position:relative;
    width:180px;
    min-height:190px;
    padding:18px 15px;
    border-radius:20px;
    background:#ffffff;
    text-align:center;
    box-shadow:5px 8px 10px #0003
}

.steps b{
    position:absolute;
    left:16px;
    top:-16px;
    width:34px;
    height:34px;
    padding-top:7px;
    border-radius:50%;
    background:var(--blue);
    color:#fff
}

.step-icon {
    display: block;
    width: 65px;
    height: 65px;
    margin: 0 auto 10px;

    object-fit: contain;
}

.steps h3{
    margin:5px;
    color:var(--blue);
    font-size:14px
}

.steps p{
    font-size:9px;
    line-height:1.5
}

.steps a{
    text-transform:uppercase;
    text-decoration:none;
    color:var(--blue);
    font-size:8px;
    font-weight:700
}

.help{
    margin-top:35px;
    display:flex;
    gap:24px;
    align-items:center;
    flex-wrap:wrap
}

.help h3{
    width:100%;
    margin:0
}

.help a{
    text-decoration:none;
    color:#087593;
    font-weight:700
}

.help-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.help-links a {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #087da4;
    font-weight: 700;
    text-decoration: none;
}

.help-links img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.help-links strong {
    color: #111;
    font-size: 20px;
}

.spotlights{
    max-width:1100px;
    margin:55px auto 70px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px
}

.section-heading{
    display:flex;
    justify-content:space-between;
    align-items:center
}

.section-heading h2{
    text-decoration:none
}

.section-heading a{
    text-transform:uppercase;
    font-size:9px
}

.site-card>img{
    width:100%;
    height:auto;
    object-fit:cover;
    border-radius:28px
}

.site-card h3,.species-card h3{
    color:var(--blue);
    font-size:24px;
    margin:15px 0 3px
}

.site-card>p{
    font-size:12px
}

.species-layout{
    display:grid;
    grid-template-columns:44% 56%;
    gap:18px
}

.species-layout>img{
    width:100%;
    height:350px;
    object-fit:cover;
    border-radius:25px
}

.species-layout em{
    color:var(--blue);
    font-size:12px
}

.species-layout p{
    font-size:11px;
    line-height:1.5
}

.mini-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 25px 0;
    width: 100%;
}

.site-mini-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.species-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
}

.species-mini-stats .mini-stat {
    min-width: 0;
    min-height: 58px;
    padding: 0 7px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    border-right: 1px solid #bcbcbc;
}

.species-mini-stats .mini-stat:last-child {
    border-right: none;
}

.species-mini-stats .mini-stat img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    object-fit: contain;
}

.species-mini-stats .mini-stat strong {
    display: block;
    color: #087da4;
    font-size: 11px;
    white-space: nowrap;
}

.species-mini-stats .mini-stat span {
    display: block;
    margin-top: 2px;
    color: #111;
    font-size: 7px;
    line-height: 1.2;
}

.mini-stat {
    min-width: 0;
    min-height: 65px;
    padding: 0 12px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border-right: 1px solid #bcbcbc;
}

.mini-stat:first-child {
    padding-left: 0;
}

.mini-stat:last-child {
    padding-right: 0;
    border-right: none;
}

.mini-stat img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
}

.mini-stat strong {
    display: block;
    color: #087da4;
    font-size: 13px;
    white-space: nowrap;
}

.mini-stat span {
    display: block;
    margin-top: 3px;
    color: #111;
    font-size: 8px;
    line-height: 1.2;
}

.button{
    display:block;
    width:max-content;
    margin:20px auto 0;
    padding:10px 28px;
    border-radius:6px;
    background:var(--blue);
    color:#fff;
    text-transform:uppercase;
    text-decoration:none;
    font-size:11px;
    font-weight:700
}

.survey-map h2{
    margin:0;
    background:var(--blue);
    color:#fff;
    text-align:center;
    padding:10px;
    font-size:21px
}

.survey-map img{
    display:block;
    width:100%;
    max-height:500px;
    object-fit:cover;
    object-position: center;
}

footer{
    padding:28px 20px;
    text-align:center;
    background:#fafafa
}

footer h2{
    text-transform:uppercase
}

footer img{
    width:min(720px,90%)
}

footer p{
    font-size:10px;
    line-height:1.5
}

.licence{
    margin-top:20px;
    font-size:11px
}

@media(max-width:800px){
    .site-header{
        height:auto;
        min-height:60px;
        flex-wrap:wrap
    }
    
    .menu-button{
        display:block;
        margin-left:auto
    }
    
    .main-nav{
        display:none;
        width:100%;
        flex-direction:column;
        padding-bottom:18px
    }
    
    .main-nav.open{
        display:flex
    }
    
    .search{
        display:none
    }
    
    .hero{
        height:430px
    }
    
    .hero h1{
        font-size:34px
    }
    
    .stats{
        margin:25px 15px;
        grid-template-columns:1fr
    }
    
    .stats article{
        border-right:0;
        border-bottom:1px solid #ccc;
        padding:12px
    }
    
    .involved{
        grid-template-columns:1fr
    }
    
    .involved>img{
        display:none
    }
    
    .steps{
        flex-direction:column
    }
    
    .steps article{
        width:100%
    }
    
    .spotlights{
        grid-template-columns:1fr;
        margin:40px 20px;
        gap:50px
    }
    
    .species-layout{
        grid-template-columns:1fr
    }
    
    .species-layout>img{
        height:270px
    }
    
    .survey-map h2{
        font-size:15px
    }

    .bird-card {
        padding: 15px;
    }
}

