/* ========================================
   HOME PAGE STICKY HEADER & NAVIGATION
   ======================================== */
.hp-header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

/* Scrolled state - white background */
.hp-header.scrolled {
    background: var(--neutral-white);
    box-shadow: 0 2px 10px var(--shadow-light);
}

.hp-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.hp-logo-img {
    width: 180px;
    height: 60px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
}

.hp-logo-img:hover {
    transform: scale(1.1);
}

/* Logo returns to normal when scrolled */
.hp-header.scrolled .hp-logo-img {
    filter: none;
}

.hp-navigation {
    display: flex;
    list-style: none;
    gap: 16px;
    align-items: center;
}

.hp-nav-link {
    color: var(--neutral-white);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hp-nav-link:hover {
    color: var(--primary-orange);
    background-color: rgba(255, 165, 0, 0.1);
    transform: translateY(-2px);
}

.hp-nav-link.active {
    color: var(--neutral-white);
    background-color: var(--primary-orange);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.hp-nav-link.active:hover {
    background-color: var(--primary-orange-dark);
}

/* Scrolled state - nav links become dark */
.hp-header.scrolled .hp-nav-link {
    color: var(--neutral-dark-gray);
}

.hp-header.scrolled .hp-nav-link:hover {
    color: var(--primary-orange);
}

.hp-header.scrolled .hp-nav-link.active {
    color: var(--neutral-white);
}

.hp-usr-btn {
    background: transparent;
    color: var(--neutral-white);
    border: 2px solid var(--neutral-white);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-usr-btn:hover {
    background: var(--neutral-white);
    color: var(--neutral-dark-gray);
    transform: translateY(-2px);
}

/* Scrolled state - user button */
.hp-header.scrolled .hp-usr-btn {
    background: var(--primary-orange);
    color: var(--neutral-white);
    border-color: var(--primary-orange);
}

.hp-header.scrolled .hp-usr-btn:hover {
    background: var(--primary-orange-dark);
    border-color: var(--primary-orange-dark);
}

/* ========================================
   Hero SECTION
   ======================================== */
.home-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--neutral-white);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.home-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 32px;
}

.home-hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20.8px;
    margin-bottom: 32px;
}

.home-hero-content h1 {
    color: var(--primary-orange);
}


/* ========================================
   CONTENT Mission
   ======================================== */

.mission-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
    text-align: center;
}

.mission-text p {
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.8;
    color: #cececec4;
}

.sdg-logo img {
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    z-index: 3;
}

/* ========================================
   Cards home page CONTENT Nav
   ======================================== */
.content-navigation {
    background: var(--neutral-white);
}
.content-navigation h2 {
    margin-bottom: 8px;
    text-align: center;
}
.nav-dis {
    text-align: center;
    margin-bottom: 24px;
}
.hp-header {
    text-align: center;
    margin-bottom: 40px;
}
.hp-card-grid {
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 30px;
    max-width: 1400px;
    width: 100%;
    transition: all 0.3s ease;
}
.hp-card {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.hp-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hp-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 2;
}
.hp-card-content {
    padding: 30px;
    color: white;
    position: relative;
    z-index: 3;
}
.hp-card-category {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 500;
}
.hp-card-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}
.hp-card-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}
.hp-card-button {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: fit-content;
    text-decoration: none;
    display: inline-block;
}
.hp-card-button:hover {
    background: var(--primary-orange);
    color: var(--neutral-white);
    transform: translateY(-2px);
    text-decoration: none;
}


/* card blur part */
.hp-card:hover ~ .hp-card,
.hp-card:has(~ .hp-card:hover) {
    filter: blur(4px) brightness(0.6);
    transform: scale(0.9);
}

/* card scale part */
.hp-card:hover {
    transform: scale(1.1) translateY(-10px);
    filter: brightness(1.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.hp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hp-card:hover::before {
    opacity: 1;
}

/* ========================================
   Team Introduction
   ======================================== */

.team-intro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--neutral-white);
    overflow: hidden;
}

.team-pic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.team-intro-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 10px;
}

.team-intro-content h2 {
    color: var(--neutral-white);
}

/* ========================================
   Mobile
   ======================================== */
@media (max-width: 1200px) {
    .hp-card-grid {
        flex-direction: column;
        align-items: center;
    }

    .hp-card {
        max-width: 400px;
        width: 100%;
    }
}

@media (max-width: 768px) {

    /* Content Navigation */
    .content-navigation {
        padding: 48px 0;
    }

    .content-navigation h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .content-navigation>p {
        font-size: 16px;
        margin-bottom: 32px;
        padding: 0 16px;
    }

    .content-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-top: 24px;
    }

    .content-card .card-content {
        padding: 24px;
    }

    .content-card .card-content h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .content-card .card-content p {
        font-size: 14px;
        margin-bottom: 16px;
        line-height: 1.5;
    }

    .hp-card:hover {
        transform: scale(1.05) translateY(-5px);
    }

    .hp-card-content {
        padding: 20px;
    }

    .hp-card-title {
        font-size: 20px;
    }

}