* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fffbe0;
}

/* ================= HEADER ================= */
header {
    background: transparent;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    z-index: 9999;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 70px;
}

.logo span {
    font-size: 20px;
    font-weight: 600;
    color: #111;
}

/* NAV */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    background: rgba(0,0,0,0.2);
    padding: 10px 20px;
    border-radius: 15px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #fdffd0;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: #f39c12;
}

/* ================= DROPDOWN ================= */
/* Dropdown container */
nav ul li {
    position: relative;
}

/* IMPORTANT: only main nav stays flex */
nav > ul {
    display: flex;
}

/* Dropdown menu */
.dropdown-menu {
    display: block;              /* ensures vertical layout */
    flex-direction: column;      /* prevents horizontal flex */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;                  /* remove gap */
    left: 0;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 10px;
    min-width: 180px;
    padding: 10px 0;
    z-index: 10000;
}

/* Show dropdown */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown items */
.dropdown-menu li {
    display: block;
    white-space: nowrap;
}

/* Links */
.dropdown-menu li a {
    display: block;
    width: 100%;
    padding: 10px 20px;
    color: #fdffd0;
    font-size: 14px;
}

/* Hover effect */
.dropdown-menu li a:hover {
    background: #f39c12;
    color: #111111;
}

/* Base arrow */
.dropdown > a {
    position: relative;
}

/* Arrow */
.dropdown > a::after {
    content: "";
    display: inline-block;
    margin-left: 8px;
    width: 6px;
    height: 6px;
    border-right: 2px solid #fdffd0;
    border-bottom: 2px solid #fdffd0;
    transform: rotate(45deg) translateY(-4px); /* angled + slightly up */
    transform-origin: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Hover state */
.dropdown:hover > a::after {
    transform: rotate(-135deg) translateY(-2px); /* flips direction */
    border-color: #f39c12; /* gold */
}

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    background-image: url('images/partnerships.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 150px 10%;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4); /* semi-transparent overlay */
    z-index: 0;
}

.hero h2,
.hero p {
    position: relative;
    z-index: 1;
    color: white;
}

/* ================= SECTIONS ================= */
section {
    padding: 80px 10%;
    text-align: center;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #5c432a;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin: 10px auto 30px auto;
    max-width: 900px;
}

/* ================= CARDS ================= */
.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    width: 300px;
    padding: 25px;
    border-radius: 12px;
    background: #fff9f0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card h3 {
    color: #c49e57;
    margin-bottom: 10px;
}

.card p {
    color: #7a6041;
    font-size: 0.95rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ================= CTA ================= */
.cta {
    color: #fff9f0;
}

.cta h2 {
    color: #7a6041;
}

.cta p {
    margin-top: 10px;
    color: #7a6041;
}

.cta button {
    margin-top: 20px;
    padding: 12px 28px;
    border: none;
    background: #111111;
    color: white;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.cta button:hover {
    background: gold;
    transform: scale(1.05);
}

/* ================= FOOTER ================= */
footer {
    background: #5c432a;
    color: #fff9f0;
    text-align: center;
    padding: 15px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    header {
        padding: 10px 20px;
    }

    .logo img {
        height: 50px;
    }

    .logo span {
        font-size: 16px;
    }

    /* NAVIGATION (HAMBURGER STYLE) */
    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        z-index: 10001;
        color: #f39c12;
        position: relative;
    }

    nav {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        left: 0;
        background: rgba(0,0,0,0.9);
        display: none;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        background: none;
    }

    .dropdown-menu {
    display: none;
    position: static;
    background: none;
    padding: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 8px 0;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }

}