:root {
    --primary: #111;
    --accent: #005eff;
    --bg-light: #f9fafc;
    --text-main: #222;
    --text-subtle: #555;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: url("https://sp-ao.shortpixel.ai/client/to_auto,q_lossless,ret_img,w_851/https://www.orientbell.com/blog/wp-content/uploads/2024/04/850x450-Pix_11-1.jpg") top / cover no-repeat fixed;
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ---------- HEADER ---------- */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Quintessential', cursive;
}

.brand img {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    transition: transform 0.3s;
}


/* ---------- NAV ---------- */

nav {
    position: absolute;
    top: 80px;
    right: 30px;
    background: white;
    display: none;
    flex-direction: column;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1500;
    animation: fadeIn 0.3s ease forwards;
}

nav.show {
    display: flex;
}

nav a {
    padding: 12px 16px;
    color: var(--primary);
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

nav a:last-child {
    border-bottom: none;
}

nav a:hover {
    background: #f0f0f0;
    color: var(--accent);
}

nav a.active {
    color: var(--accent);
}


/* ---------- HAMBURGER ---------- */

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ---------- HERO SECTION ---------- */

.join-hero {
    max-width: 1200px;
    margin: 120px auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 80px 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.join-hero h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary);
    width: fit-content;
}

.join-hero p {
    font-size: 1.25rem;
    color: #333;
    max-width: 800px;
    line-height: 1.6;
}


/* ---------- BUTTONS ---------- */

.join-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.join-buttons a {
    padding: 16px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000000ff, #3a3a3a);
    color: #fff;
    box-shadow: 0 6px 20px rgba(59, 57, 58, 0.4);
    transition: var(--transition);
}

.join-buttons a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: -100%;
    top: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.join-buttons a:hover::after {
    left: 0;
}

.join-buttons a:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(32, 32, 32, 0.6);
}


/* ---------- BENEFITS ---------- */

.benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: 25px;
    width: 320px;
    transition: var(--transition);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.card h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

.card p {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
}

.card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.9);
}


/* ---------- RESPONSIVE ---------- */

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
    nav {
        position: static;
        display: flex !important;
        flex-direction: row;
        gap: 20px;
        background: none;
        border: none;
        box-shadow: none;
        animation: none;
    }
    nav a {
        padding: 12px 20px;
        border-bottom: 1px solid #eee;
    }
}

@media (max-width: 768px) {
    .join-hero {
        padding: 60px 30px;
    }
    .join-hero h2 {
        font-size: 2rem;
    }
    .card {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .join-hero {
        padding: 40px 20px;
    }
    .join-hero h2 {
        font-size: 1.8rem;
    }
    .join-hero p {
        font-size: 1rem;
    }
    .join-buttons a {
        width: 100%;
        justify-content: center;
    }
}


/* ---------- footer ---------- */


/* Footer */

.footer {
    background-color: #060512;
    color: #ccc;
    font-family: 'Poppins', sans-serif;
    padding: 60px 10%;
    transition: var(--transition);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-section {
    flex: 1 1 220px;
}

.footer-logo {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-section h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: 'Quintessential', cursive;
}

.footer-section h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-section ul :hover {
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: rgb(255, 255, 255);
    transition: var(--accent)
}

.footer-socials a {
    color: #ffffff;
    margin-right: 12px;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: rgb(0, 60, 255);
}

.footer-socials .fa-instagram:hover {
    color: red;
}

.footer-contact p {
    margin: 8px 0;
    font-size: 0.9rem;
    gap: 0.1px
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #a1a1a1;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

.footer-bottom a {
    color: #a1a1a1;
    text-decoration: none;
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: rgb(255, 255, 255);
}


/* 🔹 Newsletter inside footer */

.id-newsletter {
    background-color: transparent;
    padding: 0;
    margin-top: 10px;
    max-width: 100%;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpNewsletter 1s ease forwards;
    animation-delay: 0.3s;
}


/* 🔹 Newsletter Form */

.id-newsletter form {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}


/* 🔹 Email Input */

.id-newsletter input[type="email"] {
    flex: 1;
    min-width: 180px;
    padding: 6px 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #1c1b29;
    color: #eee;
    font-size: 0.85rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.id-newsletter input[type="email"]:focus {
    border-color: var(--accent);
    background-color: #22213a;
    outline: none;
}


/* 🔹 Subscribe Button */

.id-newsletter button {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.id-newsletter button:hover {
    background-color: var(--primary);
    transform: scale(1.05);
}


/* 🔹 Message (optional) */

.id-newsletter .message {
    margin-top: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.id-newsletter .message.error {
    color: #ff6b6b;
}

.id-newsletter .message.success {
    color: #4caf50;
}


/* 🔹 Animation */

@keyframes fadeInUpNewsletter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}