:root {
    --navy: #0b083a;
    --blue: #0043fe;
    --royal: #001fb9;
    --light-blue: #bdcdfd;
    --orange: #fb9704;
    --white: #ffffff;
    --off-white: #f6f7fb;
    --text: #171923;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: white;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.section-container {
    width: min(1280px, 92%);
    margin: 0 auto;
}


/* HEADER */

.site-header {
    position: relative;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid rgba(11, 8, 58, 0.08);
}

.header-container {
    width: min(1380px, 94%);
    min-height: 94px;
    margin: auto;

    display: flex;
    align-items: center;
    gap: 30px;
}

/* =====================================
   BRAND LOGO DESIGN
===================================== */


.site-branding {

    display:flex;
    align-items:center;

    gap:20px;

}


/* Northern Samar Logo */

.site-logo {

    width:95px;
    height:95px;

    object-fit:contain;

}



/* Divider */

.brand-divider {

    width:1px;

    height:55px;

    background:rgba(11,8,58,.20);

}



/* UNESCO */

.unesco-brand {

    display:flex;

    align-items:center;

}



.unesco-logo {

    width:auto;

    height:58px;

    object-fit:contain;

}


/* NAVIGATION */

.main-navigation {
    margin-left: auto;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 27px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    display: block;
    padding: 35px 0;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .7px;
    text-decoration: none;
    text-transform: uppercase;

    color: var(--navy);
}

.primary-menu > li > a:hover {
    color: var(--blue);
}


/* DROPDOWN */

.sub-menu {
    position: absolute;
    top: 100%;
    left: -20px;

    min-width: 240px;

    margin: 0;
    padding: 12px 0;

    list-style: none;

    background: var(--white);

    box-shadow:
        0 15px 40px rgba(0,0,0,.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: .25s ease;
}

.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu a {
    display: block;
    padding: 12px 20px;

    font-size: 14px;
    text-decoration: none;

    color: var(--navy);
}

.sub-menu a:hover {
    background: var(--off-white);
    color: var(--blue);
}


/* HEADER TOOLS */

.header-tools {
    display: flex;
    align-items: center;
    gap: 12px;

    padding-left: 20px;

    border-left: 1px solid #ddd;
}

.social-link,
.search-toggle {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(11,8,58,.15);
    border-radius: 50%;

    background: white;

    color: var(--navy);

    font-weight: 700;
    text-decoration: none;

    cursor: pointer;

    transition: .25s ease;
}

.social-link:hover,
.search-toggle:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
}


/* SEARCH */

.search-panel {
    display: none;

    padding: 20px;

    background: var(--navy);
}

.search-panel.active {
    display: block;
}

.search-panel form {
    width: min(700px, 92%);
    margin: auto;

    display: flex;
}

.search-panel input {
    flex: 1;
    padding: 14px 16px;

    border: 0;
    outline: none;

    font-size: 16px;
}

.search-panel button {
    padding: 0 25px;

    border: 0;

    background: var(--orange);

    color: var(--navy);
    font-weight: 700;

    cursor: pointer;
}


/* HERO */

.hero-slider {
    position: relative;
    min-height: 780px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;

    background-size: cover;
    background-position: center;

    opacity: 0;
    transform: scale(1.03);

    transition:
        opacity .8s ease,
        transform 5s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(6, 7, 40, .85),
            rgba(6, 7, 40, .44),
            rgba(6, 7, 40, .15)
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(1280px, 92%);
    margin: auto;

    color: white;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 16px;

    color: var(--orange);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h1,
.hero h2 {
    max-width: 900px;

    margin: 0;

    font-size: clamp(58px, 8vw, 110px);
    line-height: .92;

    letter-spacing: -4px;
}

.hero h1 span {
    display: block;

    color: var(--light-blue);
}

.hero-text {
    max-width: 620px;

    margin: 30px 0;

    font-size: 20px;
    line-height: 1.65;
}

.primary-button {
    display: inline-block;

    padding: 15px 25px;

    border-radius: 3px;

    background: var(--blue);

    color: white;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;

    transition: .25s ease;
}

.primary-button:hover {
    background: var(--orange);
    color: var(--navy);
}


/* SLIDER CONTROLS */

.slider-prev,
.slider-next {
    position: absolute;
    z-index: 5;

    top: 50%;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;

    background: rgba(0,0,0,.18);

    color: white;

    font-size: 34px;

    cursor: pointer;
}

.slider-prev {
    left: 25px;
}

.slider-next {
    right: 25px;
}


/* HERO QUICK LINKS */

.hero-quick-links {
    position: absolute;
    z-index: 6;

    right: 5%;
    bottom: 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    width: min(720px, 70%);

    background: var(--navy);
}

.hero-quick-links a {
    padding: 25px;

    border-right: 1px solid rgba(255,255,255,.15);

    color: white;
    text-decoration: none;
    text-transform: uppercase;

    font-size: 13px;
    font-weight: 700;

    transition: .25s ease;
}

.hero-quick-links span {
    display: block;

    margin-bottom: 8px;

    color: var(--orange);

    font-size: 11px;
}

.hero-quick-links a:hover {
    background: var(--blue);
}


/* UNESCO */

.unesco-section {
    padding: 120px 0;
    background: white;
}

.center {
    text-align: center;
}

.unesco-section h2 {
    margin: 0;

    color: var(--navy);

    font-size: clamp(45px, 6vw, 80px);
    line-height: 1;
}

.lead-text {
    max-width: 800px;

    margin: 30px auto;

    color: #555;

    font-size: 19px;
    line-height: 1.8;
}

.text-link {
    color: var(--blue);

    font-weight: 700;
    text-decoration: none;
}


/* MAP SECTION */

.map-section {
    padding: 110px 0;

    background: var(--off-white);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 40px;

    margin-bottom: 55px;
}

.section-heading h2 {
    margin: 0;

    color: var(--navy);

    font-size: clamp(45px, 5vw, 70px);
}

.section-heading > p {
    max-width: 500px;

    margin: 0;

    color: #666;

    line-height: 1.7;
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.map-card {
    position: relative;
    overflow: hidden;

    min-height: 430px;

    background: var(--navy);

    text-decoration: none;
}

.map-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: .88;

    transition: .5s ease;
}

.map-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            transparent,
            rgba(11,8,58,.88)
        );
}

.map-card-content {
    position: absolute;
    z-index: 3;

    left: 25px;
    right: 25px;
    bottom: 25px;

    color: white;
}

.map-card-content span {
    color: var(--orange);

    font-size: 12px;
    font-weight: 700;
}

.map-card h3 {
    margin: 8px 0 0;

    font-size: 25px;
}

.map-card:hover img {
    transform: scale(1.08);
}


/* DISCOVER */

.discover-section {
    padding: 120px 0;

    background: white;
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.discover-card {
    position: relative;

    min-height: 620px;

    overflow: hidden;

    text-decoration: none;

    background: var(--navy);
}

.discover-card img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .6s ease;
}

.discover-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            transparent 20%,
            rgba(11,8,58,.92)
        );
}

.discover-content {
    position: absolute;
    z-index: 3;

    left: 32px;
    right: 32px;
    bottom: 35px;

    color: white;
}

.discover-content span {
    color: var(--orange);

    font-weight: 700;
}

.discover-content h3 {
    margin: 10px 0 18px;

    font-size: 42px;
    line-height: .98;
}

.discover-content p {
    line-height: 1.6;

    color: rgba(255,255,255,.82);
}

.discover-card:hover img {
    transform: scale(1.07);
}


/* FEATURE */

.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 650px;

    background: var(--navy);
}

.feature-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px 10%;

    color: white;
}

.feature-content h2 {
    margin: 0 0 25px;

    font-size: clamp(48px, 5vw, 75px);
    line-height: 1;
}

.feature-content p {
    max-width: 600px;

    color: rgba(255,255,255,.82);

    font-size: 18px;
    line-height: 1.7;
}

.orange-button {
    align-self: flex-start;

    margin-top: 20px;

    background: var(--orange);

    color: var(--navy);
}


/* FOOTER */

.site-footer {
    padding: 70px 0 0;

    background: #070625;

    color: white;
}

.footer-container {
    width: min(1280px, 92%);
    margin: auto;

    display: grid;
    grid-template-columns: 180px 1fr 250px;

    gap: 50px;
}

.footer-logo {
    width: 130px;
}

.footer-container h3 {
    margin-top: 0;

    font-size: 30px;
}

.footer-container p {
    max-width: 500px;

    color: rgba(255,255,255,.65);

    line-height: 1.7;
}

.footer-container a {
    display: block;

    margin: 9px 0;

    color: rgba(255,255,255,.7);
    text-decoration: none;
}

.footer-bottom {
    width: min(1280px, 92%);
    margin: 50px auto 0;

    padding: 25px 0;

    border-top: 1px solid rgba(255,255,255,.12);

    color: rgba(255,255,255,.5);
}


/* MOBILE MENU */

.menu-toggle {
    display: none;

    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 27px;
    height: 2px;

    margin: 6px 0;

    background: var(--navy);
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-navigation {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;

        padding: 20px 5%;

        background: white;

        box-shadow: 0 15px 30px rgba(0,0,0,.1);
    }

    .main-navigation.active {
        display: block;
    }

    .primary-menu {
        flex-direction: column;
        align-items: stretch;

        gap: 0;
    }

    .primary-menu > li > a {
        padding: 15px 0;
    }

    .sub-menu {
        position: static;

        display: none;

        opacity: 1;
        visibility: visible;
        transform: none;

        box-shadow: none;

        padding-left: 15px;
    }

    .menu-item-has-children.open > .sub-menu {
        display: block;
    }

    .header-tools {
        border: 0;
        padding-left: 0;
    }

    .map-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 760px) {

    .header-container {
        min-height: 78px;
    }

    .site-logo {
        width: 60px;
        height: 60px;
    }

    .header-tools .social-link {
        display: none;
    }

    .hero-slider {
        min-height: 680px;
    }

    .hero h1,
    .hero h2 {
        letter-spacing: -2px;
    }

    .slider-prev,
    .slider-next {
        display: none;
    }

    .hero-quick-links {
        left: 0;
        right: 0;

        width: 100%;
    }

    .hero-quick-links a {
        padding: 18px 12px;

        font-size: 11px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 20px;
    }

    .map-grid {
        grid-template-columns: 1fr;
    }

    .discover-grid {
        grid-template-columns: 1fr;
    }

    .discover-card {
        min-height: 500px;
    }

    .feature-section {
        grid-template-columns: 1fr;
    }

    .feature-image {
        min-height: 400px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   GEOPARK PILLARS
========================================= */

.pillars-section {
    padding: 125px 0;
    background: #f7f8fc;
}

.pillars-heading {
    max-width: 900px;
    margin: 0 auto 65px;
    text-align: center;
}

.pillars-heading h2 {
    margin: 0;

    color: var(--navy);

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
}

.pillars-heading h2 span {
    display: block;
    color: var(--blue);
}

.pillars-intro {
    max-width: 820px;

    margin: 28px auto 0;

    color: #5e6272;

    font-size: 18px;
    line-height: 1.8;
}


/* CARDS */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.pillar-card {
    padding: 45px 38px;

    border: 1px solid #e5e7ef;

    background: white;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);

    border-color: var(--light-blue);

    box-shadow:
        0 20px 50px rgba(11, 8, 58, .10);
}


/* ICON */

.pillar-icon {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 32px;

    border-radius: 50%;

    background: var(--light-blue);
}

.pillar-icon svg {
    width: 37px;
    height: 37px;

    fill: none;

    stroke: var(--navy);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pillar-card:nth-child(2) .pillar-icon {
    background: #e9f5e7;
}

.pillar-card:nth-child(3) .pillar-icon {
    background: #fff0d9;
}


.pillar-card h3 {
    margin: 0 0 18px;

    color: var(--navy);

    font-size: 29px;
}

.pillar-card p {
    min-height: 145px;

    margin: 0;

    color: #666a76;

    line-height: 1.75;
}

.pillar-button {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-top: 28px;

    color: var(--blue);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .5px;

    text-decoration: none;
    text-transform: uppercase;
}

.pillar-button span {
    transition: transform .25s ease;
}

.pillar-button:hover span {
    transform: translateX(5px);
}


/* =========================================
   PARTNER CTA
========================================= */

.partner-section {
    padding: 100px 0;

    background: white;
}

.partner-box {
    min-height: 500px;

    display: grid;
    grid-template-columns: 1.05fr .95fr;

    background: var(--navy);

    overflow: hidden;
}

.partner-image {
    min-height: 500px;
}

.partner-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.partner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 70px;

    color: white;
}

.partner-content h2 {
    margin: 0 0 25px;

    font-size: clamp(48px, 5vw, 75px);
    line-height: .95;
}

.partner-content h2 span {
    display: block;

    color: var(--light-blue);
}

.partner-content > p:not(.section-kicker) {
    max-width: 550px;

    margin-bottom: 30px;

    color: rgba(255,255,255,.76);

    font-size: 18px;
    line-height: 1.75;
}

.partner-button {
    align-self: flex-start;

    display: inline-flex;
    align-items: center;
    gap: 15px;

    padding: 16px 26px;

    background: var(--orange);

    color: var(--navy);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1px;

    text-decoration: none;
    text-transform: uppercase;
}

.partner-button span {
    transition: transform .25s ease;
}

.partner-button:hover span {
    transform: translateX(5px);
}


/* =========================================
   PARTNER LOGOS
========================================= */

.partners-section {
    padding: 90px 0;

    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;

    background: #fff;
}

.partners-heading {
    margin-bottom: 45px;

    text-align: center;
}

.partners-heading h2 {
    margin: 0;

    color: var(--navy);

    font-size: 46px;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    align-items: center;

    gap: 45px;
}

.partner-logo {
    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px;
}

.partner-logo img {
    max-width: 150px;
    max-height: 80px;

    object-fit: contain;

    filter: grayscale(100%);
    opacity: .62;

    transition: .3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}


/* =========================================
   NEWS
========================================= */

.news-section {
    padding: 120px 0;

    background: #f7f8fc;
}

.news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 50px;
}

.news-header h2 {
    margin: 0;

    color: var(--navy);

    font-size: clamp(45px, 5vw, 65px);
}

.view-all-link {
    color: var(--blue);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}


/* SMALLER NEWS CARDS */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.news-card {
    overflow: hidden;

    background: white;

    border: 1px solid #e9eaf0;

    transition: .3s ease;
}

.news-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(11,8,58,.09);
}

.news-image {
    display: block;

    height: 220px;

    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-date {
    display: block;

    margin-bottom: 12px;

    color: var(--orange);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.news-content h3 {
    margin: 0 0 14px;

    color: var(--navy);

    font-size: 22px;
    line-height: 1.25;
}

.news-content h3 a {
    text-decoration: none;
}

.news-content p {
    margin: 0 0 20px;

    color: #686b76;

    font-size: 14px;
    line-height: 1.65;
}

.news-link {
    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .5px;

    text-decoration: none;
    text-transform: uppercase;
}


/* =========================================
   SHARE YOUR EXPERIENCE
========================================= */

.experience-section {
    padding-top: 110px;

    background: white;
}

.experience-heading {
    max-width: 780px;

    margin: 0 auto 55px;

    text-align: center;
}

.experience-heading h2 {
    margin: 0 0 20px;

    color: var(--navy);

    font-size: clamp(45px, 5vw, 68px);
}

.experience-heading > p:not(.section-kicker) {
    color: #676a75;

    font-size: 17px;
    line-height: 1.7;
}

.instagram-link {
    display: inline-block;

    margin-top: 10px;

    color: var(--blue);

    font-weight: 700;

    text-decoration: none;
}


/* INSTAGRAM IMAGE GRID */

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.instagram-item {
    position: relative;

    aspect-ratio: 1 / 1;

    overflow: hidden;
}

.instagram-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.instagram-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(11,8,58,.55);

    color: white;

    font-size: 36px;

    opacity: 0;

    transition: opacity .3s ease;
}

.instagram-item:hover img {
    transform: scale(1.08);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}


/* =========================================
   NEW SECTION RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .pillar-card p {
        min-height: 0;
    }

    .partner-box {
        grid-template-columns: 1fr;
    }

    .partner-image {
        min-height: 400px;
    }

    .partners-logos {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 650px) {

    .pillars-section,
    .partner-section,
    .news-section {
        padding: 80px 0;
    }

    .partner-content {
        padding: 50px 30px;
    }

    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-header {
        display: block;
    }

    .view-all-link {
        display: inline-block;
        margin-top: 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 210px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}