@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

nav {
    display: flex;
    align-items: center;
    background-color: transparent;
    color: white;
    padding: 14px 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease;
}

nav.nav-scrolled {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

nav h1 {
    width: 180px;
    line-height: 1;
    flex-shrink: 0;
}

.nav-social {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto;
}

.nav-social a {
    color: #ffd400;
    font-size: 1.4rem;
    transition: color 0.3s, transform 0.3s;
}

.nav-social a:hover {
    color: white;
    transform: scale(1.2);
}

nav h1 .logo-visit {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #ffd400;
    letter-spacing: 5px;
    display: block;
}

nav h1 .logo-wolaita {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd400;
    letter-spacing: 2px;
    display: block;
    margin-top: -4px;
}

a {
    text-decoration: none;
    color: #eaeaea;
}

a:hover {
    color: #d4af37;
}

.nav-items {
    display: flex;
    list-style: none;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.nav-items li a {
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s;
}

.nav-items li a:hover {
    background-color: #d4af37;
    color: #000;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #d4af37;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}



.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 48%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 2;
    text-align: left;
    max-width: 700px;
    animation: fadeUp 1s ease-out forwards;
}

.hero-welcome {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffd400;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 8px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(50px, 6vw, 90px);
    color: white;
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 4px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.8s ease-out forwards;
}

.hero-subtitle {
    font-family: 'Caveat', cursive;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 500;
    color: white;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-cards {
    position: absolute;
    right: 5%;
    bottom: 28%;
    z-index: 5;
    display: flex;
    flex-direction: row;
    gap: 20px;
    animation: fadeUp 1s ease-out 0.4s both;
}

.hero-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    color: #000;
    width: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.hero-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hero-card:hover img {
    transform: scale(1.08);
}

.card-body {
    padding: 16px;
}

.hero-card .card-number {
    font-size: 0.7rem;
    font-weight: 700;
    color: #8b0000;
    letter-spacing: 2px;
}

.hero-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 4px 0 2px;
    color: #000;
}

.hero-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 8px;
}

.card-btn {
    background: #8b0000;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-card:hover .card-btn {
    opacity: 1;
    transform: translateY(0);
}

.card-btn:hover {
    background: #d4af37;
    color: #000;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    display: block;
    line-height: 0;
}

.hero-wave path {
    fill: white;
}

.cta-btn {
    background-color: #8b0000;
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-btn:hover {
    background-color: #d4af37;
    color: #000;
    transform: scale(1.05);
}

button {
    background-color: #8b0000;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #d4af37;
    color: #000;
}

.section-header {
    text-align: center;
    padding: 60px 40px 20px;
}

.section-header .section-badge {
    display: inline-block;
    color: #ffd400;
    background-color: #8b0000;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header h3 {
    font-size: 1.8rem;
    color: #000;
    font-weight: 700;
}

.nws-heading {
    color: #8b0000;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 40px 0 20px;
}

.card {
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
}

.card h2 {
    color: #8b0000;
    margin-bottom: 16px;
    font-size: 1.6rem;
}

.card button {
    background-color: #000;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 16px;
    transition: background-color 0.3s;
}

.card button:hover {
    background-color: #d4af37;
    color: #000;
}

.imgs {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.imgs iframe {
    flex: 1;
    height: 300px;
}

.imgs img {
    flex: 1;
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

img {
    border-radius: 10px;
    height: 300px;
    width: auto;
}

.metasteps-container {
    max-width: 1600px;
    margin: 40px auto;
    padding: 12px;
    background: #111;
    border-radius: 16px;
    box-shadow: 0 0 0 4px #333, 0 0 0 6px #555, 0 20px 60px rgba(0,0,0,0.5);
}

.metasteps-container iframe {
    width: 100%;
    height: 85vh;
    min-height: 500px;
    border: none;
    display: block;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .metasteps-container {
        margin: 20px 12px;
        padding: 8px;
    }
    .metasteps-container iframe {
        height: 50vh;
        min-height: 300px;
    }
}

.kings {
    list-style: none;
    max-width: 400px;
    margin: 0 auto;
}

.kings li {
    background-color: #f5f5f5;
    margin: 10px 0;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    color: #000;
    transition: background-color 0.3s, color 0.3s;
}

.kings li:hover {
    background-color: #8b0000;
    color: #d4af37;
}

form {
    text-align: center;
    margin: 40px 0;
}

.email {
    width: 50%;
    padding: 12px 20px;
    margin: 8px 0;
    border: 2px solid #d4af37;
    border-radius: 8px;
    background-color: #f8f8f8;
    font-size: 1rem;
}

.email:focus {
    border-color: #8b0000;
    outline: none;
}

footer {
    background-color: #000;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

footer h4 a {
    color: #d4af37;
    font-weight: 600;
}

footer h4 a:hover {
    color: white;
}

@media (max-width: 900px) {
    nav {
        padding: 10px 16px;
    }

    nav h1 .logo-visit {
        font-size: 0.7rem;
    }

    nav h1 .logo-wolaita {
        font-size: 1.3rem;
    }

    .nav-items {
        gap: 2px;
    }

    .nav-items li a {
        padding: 6px 10px;
        font-size: 0.7rem;
    }

    .nav-social a {
        font-size: 1.1rem;
    }

    .hero-cards {
        right: 3%;
        bottom: 24%;
        gap: 10px;
    }

    .hero-card {
        width: 160px;
    }

    .hero-card img {
        height: 90px;
    }

    .hero-card h4 {
        font-size: 0.8rem;
    }

    .hero-card p {
        font-size: 0.65rem;
    }

    .card-body {
        padding: 10px;
    }

    .card-btn {
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    .card {
        margin: 20px 16px;
    }

    .imgs {
        flex-direction: column;
    }

    .imgs iframe,
    .imgs img {
        width: 100%;
        height: 220px;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 8px 12px;
        flex-wrap: wrap;
        gap: 4px;
    }

    nav h1 .logo-visit {
        font-size: 0.6rem;
        letter-spacing: 3px;
    }

    nav h1 .logo-wolaita {
        font-size: 1rem;
    }

    .nav-social {
        margin-left: auto;
    }

    .nav-social a {
        font-size: 0.9rem;
    }

    .hero-content {
        top: 38%;
        left: 4%;
        max-width: 92%;
    }

    .hero-welcome {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: clamp(24px, 9vw, 36px);
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: clamp(18px, 5vw, 26px);
    }

    .hero-cards {
        right: 5%;
        bottom: 7%;
        gap: 8px;
    }

    .hero-card:nth-child(n+3) {
        display: none;
    }

    .hero-card {
        width: 140px;
    }

    .hero-card img {
        height: 70px;
    }

    .hero-card h4 {
        font-size: 0.7rem;
    }

    .hero-card p {
        font-size: 0.6rem;
        margin-bottom: 4px;
    }

    .card-body {
        padding: 8px;
    }

    .hero-card .card-number {
        font-size: 0.5rem;
    }

    .card-btn {
        font-size: 0.6rem;
        padding: 3px 10px;
    }

    .hero-wave {
        bottom: -1px;
        height: 140px;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
        z-index: 110;
        position: relative;
    }

    .nav-items {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        background: linear-gradient(135deg, #000 0%, #1a0000 50%, #2d0000 100%);
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 105;
        order: 0;
    }

    .nav-items.open {
        right: 0;
    }

    .nav-items li {
        opacity: 0;
        transform: translateX(40px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-items.open li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-items.open li:nth-child(1) { transition-delay: 0.1s; }
    .nav-items.open li:nth-child(2) { transition-delay: 0.15s; }
    .nav-items.open li:nth-child(3) { transition-delay: 0.2s; }
    .nav-items.open li:nth-child(4) { transition-delay: 0.25s; }
    .nav-items.open li:nth-child(5) { transition-delay: 0.3s; }
    .nav-items.open li:nth-child(6) { transition-delay: 0.35s; }

    .nav-items li a {
        font-size: 1.1rem;
        padding: 10px 30px;
        letter-spacing: 3px;
        background: none;
        color: #ccc;
        transition: color 0.3s;
    }

    .nav-items li a:hover {
        background: none;
        color: #d4af37;
    }

    .section-header {
        padding: 30px 16px 10px;
    }

    .section-header h3 {
        font-size: 1.2rem;
    }

    .section-header .section-badge {
        font-size: 0.65rem;
    }

    .card {
        margin: 16px 12px;
    }

    .card h2 {
        font-size: 1.2rem;
    }

    .imgs iframe,
    .imgs img {
        height: 180px;
    }

    .nws-heading {
        font-size: 1.2rem;
    }

    .email {
        width: 85%;
        font-size: 0.85rem;
    }

    footer {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 16px;
    }

    footer h4 a {
        font-size: 0.85rem;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
