/* =========================================================
   BIRDS OF KENYA
   PREMIUM PAGE STYLES
========================================================= */

:root {

    --bird-green: #176b4d;
    --bird-green-dark: #0b3d2e;
    --bird-green-light: #2e9d70;

    --bird-yellow: #f5c542;
    --bird-orange: #f28c28;

    --bird-blue: #168aad;
    --bird-sky: #7bdff2;

    --bird-red: #d94f4f;

    --bird-dark: #10231d;
    --bird-text: #40534c;

    --bird-light: #f5faf7;
    --bird-white: #ffffff;

}


/* =========================================================
   GENERAL
========================================================= */

.birds-page {

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5faf7 100%
        );

    color: var(--bird-dark);

}

.birds-page section {

    position: relative;

}

.section-title h2 {

    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: clamp(2rem, 4vw, 3.2rem);

    font-weight: 800;

    color: var(--bird-dark);

    margin-bottom: 15px;

}

.section-title p {

    color: var(--bird-text);

    font-size: 1.05rem;

    max-width: 700px;

    margin: auto;

    line-height: 1.8;

}


/* =========================================================
   BIRD HERO
========================================================= */

.birds-hero {

    position: relative;

    width: 100%;

    height: 88vh;

    min-height: 600px;

    overflow: hidden;

    background: #10231d;

}


/* VIDEO */

.birds-hero .hero-video {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transform: scale(1.04);

    filter:
        brightness(1.08)
        contrast(1.02)
        saturate(1.12);

}


/* OVERLAY */

.birds-hero .hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:

        linear-gradient(
            180deg,
            rgba(0,0,0,.12) 0%,
            rgba(0,0,0,.08) 35%,
            rgba(5,35,25,.48) 100%
        );

}


/* HERO CONTENT */

.birds-hero .hero-content {

    position: relative;

    z-index: 2;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: white;

    padding: 120px 20px 80px;

}

.birds-hero .hero-inner {

    max-width: 900px;

}


/* HERO TAG */

.bird-hero-tag {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 10px 20px;

    border-radius: 999px;

    background: rgba(255,255,255,.16);

    border: 1px solid rgba(255,255,255,.35);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    color: #fff;

    font-size: .9rem;

    font-weight: 700;

    letter-spacing: .8px;

    margin-bottom: 25px;

}

.bird-hero-tag i {

    color: var(--bird-yellow);

}


/* HERO HEADING */

.birds-hero h1 {

    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: clamp(2.8rem, 6vw, 6rem);

    line-height: 1.05;

    font-weight: 800;

    margin: 0 0 25px;

    color: #fff;

    text-shadow:

        0 5px 25px rgba(0,0,0,.35);

}

.birds-hero h1 span {

    color: var(--bird-yellow);

}


/* HERO DESCRIPTION */

.birds-hero p {

    max-width: 720px;

    margin: 0 auto;

    color: rgba(255,255,255,.94);

    font-size: 1.1rem;

    line-height: 1.8;

}


/* =========================================================
   HERO SCROLL INDICATOR
========================================================= */

.birds-hero .scroll-indicator {

    position: absolute;

    z-index: 5;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    width: 34px;

    height: 55px;

    border: 2px solid rgba(255,255,255,.8);

    border-radius: 30px;

    display: flex;


    justify-content: center;

    padding-top: 10px;

}

.birds-hero .scroll-indicator span {

    width: 5px;

    height: 10px;

    border-radius: 20px;

    background: #fff;

    animation: birdScroll 1.7s infinite;

}


@keyframes birdScroll {

    0% {

        transform: translateY(0);

        opacity: 1;

    }

    70% {

        transform: translateY(20px);

        opacity: .2;

    }

    100% {

        transform: translateY(0);

        opacity: 1;

    }

}


/* =========================================================
   QUICK FACTS
========================================================= */

.bird-facts {

    padding: 80px 0;

    background: #fff;

}

.bird-fact-card {

    position: relative;

    height: 100%;

    padding: 35px 25px;

    border-radius: 25px;

    background: #fff;

    border: 1px solid rgba(23,107,77,.10);

    box-shadow:

        0 15px 45px rgba(16,35,29,.08);

    transition:

        transform .4s ease,

        box-shadow .4s ease,

        border-color .4s ease;

    overflow: hidden;

}

.bird-fact-card::before {

    content: "";

    position: absolute;

    width: 100px;

    height: 100px;

    border-radius: 50%;

    background: rgba(245,197,66,.12);

    top: -40px;

    right: -30px;

}

.bird-fact-card:hover {

    transform: translateY(-10px);

    border-color: rgba(23,107,77,.25);

    box-shadow:

        0 25px 60px rgba(16,35,29,.14);

}

.bird-fact-card i {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 65px;

    height: 65px;

    border-radius: 20px;

    background:

        linear-gradient(
            135deg,
            var(--bird-green),
            var(--bird-green-light)
        );

    color: #fff;

    font-size: 1.6rem;

    margin-bottom: 20px;

}

.bird-fact-card h2 {

    font-size: 2.1rem;

    font-weight: 800;

    margin-bottom: 5px;

    color: var(--bird-dark);

}

.bird-fact-card p {

    margin: 0;

    color: #687a72;

}


/* =========================================================
   BIRD SPECIES SECTION
========================================================= */

.bird-species {

    padding: 100px 0;

    background:

        radial-gradient(
            circle at top right,
            rgba(123,223,242,.14),
            transparent 35%
        ),

        #f5faf7;

}


/* =========================================================
   BIRD CARDS
========================================================= */

.bird-card {

    position: relative;

    height: 100%;

    background: #fff;

    border-radius: 28px;

    overflow: hidden;

    box-shadow:

        0 15px 45px rgba(16,35,29,.09);

    transition:

        transform .45s cubic-bezier(.22,1,.36,1),

        box-shadow .45s ease;

}

.bird-card:hover {

    transform: translateY(-12px);

    box-shadow:

        0 30px 65px rgba(16,35,29,.18);

}

.bird-card-image {

    position: relative;

    height: 280px;

    overflow: hidden;

}

.bird-card-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:

        transform .7s cubic-bezier(.22,1,.36,1);

}

.bird-card:hover .bird-card-image img {

    transform: scale(1.1);

}


/* IMAGE OVERLAY */

.bird-card-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            180deg,
            transparent 50%,
            rgba(0,0,0,.4) 100%
        );

}


/* BIRD LABEL */

.bird-label {

    position: absolute;

    z-index: 2;

    top: 18px;

    left: 18px;

    padding: 8px 14px;

    border-radius: 999px;

    background: rgba(255,255,255,.92);

    color: var(--bird-green-dark);

    font-size: .78rem;

    font-weight: 800;

    backdrop-filter: blur(8px);

}



/* CARD CONTENT */

.bird-card-content {

    padding: 28px;

}

.bird-card-content span {

    display: inline-block;

    color: var(--bird-green);

    font-size: .8rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 8px;

}

.bird-card-content h3 {

    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: 1.5rem;

    font-weight: 800;

    margin-bottom: 12px;

    color: var(--bird-dark);

}

.bird-card-content p {

    color: var(--bird-text);

    line-height: 1.75;

    margin-bottom: 20px;

}


/* CARD BUTTON */

.bird-card-content .btn {

    border-radius: 999px;

    padding: 10px 20px;

    font-weight: 700;

}


/* =========================================================
   BIRD HABITATS
========================================================= */

.bird-habitats {

    padding: 100px 0;

    background: #fff;

}

.habitat-image {

    position: relative;

    overflow: hidden;

    border-radius: 30px;

    min-height: 500px;

}

.habitat-image img {

    width: 100%;

    height: 100%;

    min-height: 500px;

    object-fit: cover;

    transition: transform .8s ease;

}

.habitat-image:hover img {

    transform: scale(1.05);

}

.habitat-content {

    padding-left: 20px;

}

.habitat-content h2 {

    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: clamp(2rem, 4vw, 3.4rem);

    font-weight: 800;

    color: var(--bird-dark);

    line-height: 1.15;

    margin-bottom: 20px;

}

.habitat-content p {

    color: var(--bird-text);

    line-height: 1.9;

    font-size: 1.05rem;

}

.habitat-list {

    margin-top: 25px;

}

.habitat-list li {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 15px;

    color: var(--bird-text);

    font-weight: 600;

}

.habitat-list i {

    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(23,107,77,.1);

    color: var(--bird-green);

}


/* =========================================================
   BIRD EXPERIENCES
========================================================= */

.bird-experiences {

    padding: 100px 0;

    background:

        linear-gradient(
            135deg,
            #0b3d2e,
            #176b4d
        );

    color: #fff;

}

.bird-experiences .section-title h2 {

    color: #fff;

}

.bird-experiences .section-title p {

    color: rgba(255,255,255,.78);

}

.experience-card {

    height: 100%;

    padding: 35px 30px;

    border-radius: 25px;

    background: rgba(255,255,255,.09);

    border: 1px solid rgba(255,255,255,.14);

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);

    transition: .4s ease;

}

.experience-card:hover {

    transform: translateY(-10px);

    background: rgba(255,255,255,.14);

    border-color: rgba(255,255,255,.3);

}

.experience-card i {

    font-size: 2rem;

    color: var(--bird-yellow);

    margin-bottom: 22px;

}

.experience-card h4 {

    font-weight: 800;

    margin-bottom: 12px;

}

.experience-card p {

    color: rgba(255,255,255,.76);

    line-height: 1.8;

    margin: 0;

}


/* =========================================================
   TRAVEL TIPS
========================================================= */

.bird-tips {

    padding: 100px 0;

    background: #f7fbf9;

}

.bird-tip-card {

    height: 100%;

    padding: 32px 25px;

    background: #fff;

    border-radius: 25px;

    border: 1px solid rgba(23,107,77,.08);

    box-shadow:

        0 12px 40px rgba(16,35,29,.07);

    transition: .4s ease;

}

.bird-tip-card:hover {

    transform: translateY(-8px);

    box-shadow:

        0 25px 55px rgba(16,35,29,.13);

}

.bird-tip-card i {

    color: var(--bird-green);

    font-size: 1.8rem;

    margin-bottom: 20px;

}

.bird-tip-card h5 {

    font-size: 1.15rem;

    font-weight: 800;

    margin-bottom: 12px;

}

.bird-tip-card p {

    color: var(--bird-text);

    line-height: 1.7;

    margin: 0;

}


/* =========================================================
   BIRD GALLERY
========================================================= */

.bird-gallery {

    padding: 100px 0;

    background: #fff;

}

.bird-gallery-item {

    position: relative;

    height: 280px;

    overflow: hidden;

    border-radius: 22px;

    cursor: pointer;

}

.bird-gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:

        transform .7s ease,

        filter .5s ease;

}

.bird-gallery-item::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            180deg,
            transparent 45%,
            rgba(0,0,0,.55)
        );

    opacity: .7;

    transition: .4s;

}

.bird-gallery-item:hover img {

    transform: scale(1.1);

    filter: saturate(1.15);

}

.bird-gallery-item:hover::after {

    opacity: 1;

}


/* =========================================================
   CONSERVATION SECTION
========================================================= */

.bird-conservation {

    padding: 100px 0;

    background:

        radial-gradient(
            circle at left center,
            rgba(245,197,66,.12),
            transparent 35%
        ),

        #f5faf7;

}

.conservation-box {

    padding: 60px;

    border-radius: 35px;

    background: #fff;

    box-shadow:

        0 20px 65px rgba(16,35,29,.09);

}

.conservation-box h2 {

    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 800;

    color: var(--bird-dark);

}

.conservation-box p {

    color: var(--bird-text);

    line-height: 1.9;

    font-size: 1.05rem;

}

.conservation-icon {

    width: 80px;

    height: 80px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 25px;

    background:

        linear-gradient(
            135deg,
            var(--bird-green),
            var(--bird-blue)
        );

    color: #fff;

    font-size: 2rem;

    margin-bottom: 25px;

}


/* =========================================================
   CTA
========================================================= */

.birds-cta {

    position: relative;

    padding: 120px 20px;

    overflow: hidden;

    color: #fff;

    text-align: center;

    background:

        radial-gradient(
            circle at top left,
            rgba(245,197,66,.35),
            transparent 30%
        ),

        radial-gradient(
            circle at bottom right,
            rgba(123,223,242,.25),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #0b3d2e,
            #176b4d,
            #168aad
        );

}

.birds-cta h2 {

    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: clamp(2rem, 5vw, 4rem);

    font-weight: 800;

    margin-bottom: 20px;

}

.birds-cta p {

    max-width: 700px;

    margin: 0 auto 30px;

    color: rgba(255,255,255,.85);

    line-height: 1.8;

}

.birds-cta .btn {

    border-radius: 999px;

    padding: 14px 30px;

    font-weight: 800;

    box-shadow:

        0 15px 35px rgba(0,0,0,.18);

}


/* =========================================================
   BACK TO TOP
========================================================= */

#backToTop {

    background:

        linear-gradient(
            135deg,
            var(--bird-green),
            var(--bird-blue)
        );

}

#backToTop:hover {

    background:

        linear-gradient(
            135deg,
            var(--bird-green-dark),
            var(--bird-green)
        );

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .birds-hero {

        height: 78vh;

        min-height: 550px;

    }

    .habitat-content {

        padding-left: 0;

        margin-top: 20px;

    }

    .conservation-box {

        padding: 40px 30px;

    }

}


@media (max-width: 768px) {

    .birds-hero {

        height: 75vh;

        min-height: 500px;

    }

    .birds-hero .hero-content {

        padding: 110px 20px 70px;

    }

    .birds-hero h1 {

        font-size: 2.7rem;

    }

    .birds-hero p {

        font-size: .98rem;

    }

    .bird-facts,
    .bird-species,
    .bird-habitats,
    .bird-experiences,
    .bird-tips,
    .bird-gallery,
    .bird-conservation {

        padding: 70px 0;

    }

    .habitat-image,
    .habitat-image img {

        min-height: 350px;

    }

    .bird-gallery-item {

        height: 240px;

    }

}


@media (max-width: 576px) {

    .birds-hero {

        height: 70vh;

        min-height: 480px;

    }

    .birds-hero h1 {

        font-size: 2.25rem;

    }

    .bird-hero-tag {

        font-size: .78rem;

        padding: 8px 14px;

    }

    .bird-card-image {

        height: 230px;

    }

    .conservation-box {

        padding: 30px 22px;

        border-radius: 25px;

    }

    .birds-cta {

        padding: 85px 20px;

    }

}