@font-face {
    font-family: 'Sailor';
    src: url('./Sailor.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* ================= GLOBAL ================= */
body {
    font-family: "Canva Sans", sans-serif;
    background: #fff;
    color: #333;
    margin: 0;
    padding: 0;
}

/* ================= HERO ================= */
.hero {
    min-height: 100vh;
    padding: 40px 80px;
    background-color: #7719bf;
    background-image: url("../images/header.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    display: flex;
    flex-direction: column;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.logo {
    width: 200px;
}

/* Desktop buttons */
.buttons-container {
    display: flex;
    gap: 16px;
}

.btn {
    background: #5b2d91;
    color: #fff;
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s;
    font-family: "Canva Sans", sans-serif;
}

.btn:hover {
    background: #fff;
    color: #7719bf;

}

/* Hamburger (mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    display: block;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #5b2d91;
    padding: 15px;
    border-radius: 10px;
    z-index: 10;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    font-weight: 600;
}

.mobile-menu.show {
    display: flex;
}

/* HERO CONTENT */
.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 60px;
    position: relative;
    width: 100%;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-left img.main-image {
    max-width: 400px;
    width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.hero-buttons .btn {
    padding: 12px 30px;
}

.hero-image img {
    max-width: 560px;
    width: 100%;
    object-fit: contain;
}

/* ================= CURVE SECTIONS ================= */
.curve-section {
    position: relative;
    min-height: 60vh;
    padding: 140px 10% 80px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.curve-section .content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.curve-light {
    background-image: url("../images/6.png");
    margin-top: -140px;
}

.curve-dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130px;
    background-image: url("../images/curvedark.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
    z-index: 1;
}

.curve-dark {
    background-color: #7b2bd6;
    overflow: hidden;
}

.curve-light1 {
    background-image: url("../images/7-bg.png");
    margin-top: -140px;
}

.right-image {
    position: absolute;
    right: 0;
    top: 80%;
}

.right-image img {
    max-width: 300px;
    width: 100%;
}

/* ================= TYPOGRAPHY ================= */

/* ONLY H1 uses Sailor */
h1 {
    font-family: 'Sailor', sans-serif;
    color: #fff;
    font-size: 45px;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}

h2 {
    font-family: 'Sailor', sans-serif;

    color: #fff;
    font-size: 40px;
    line-height: 1.1;
    margin: 0;
}

h3 {
    color: #fff;
    font-size: 25px;
}

.text p {
    max-width: 500px;
    line-height: 1.6;
}

.floating-image img {
    border-radius: 50%;
}

.primary-btn {
    margin-top: 25px;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #9c5cff, #6b2bd6);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    font-family: "Canva Sans", sans-serif;
}

/* ================= FOOTER ================= */
.custom-footer {
    background-color: #702AD7;
    color: white;
    padding: 2rem 1rem;
}

.custom-footer a {
    color: #fff;
    text-decoration: none;
}

.custom-footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #6E4F90;
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 0.875rem;
}

.social-icons a {
    margin: 0 0.5rem;
    color: white;
    font-size: 1.25rem;
}

/* ================= DROPDOWN ================= */
.custom-dropdown-menu {
    max-height: 200px;
    overflow-y: auto;
}

.dropdown-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    display: block !important;
    background-color: white;
    border: 1px solid #ddd;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}



.dropdown-item {
    color: #6f6f6f !important;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

    .hero,
    .hero-content {
        padding: 30px 20px;
        text-align: center;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-left {
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .curve-section .content {
        flex-direction: column;
    }

    .logo {
        margin-left: 0;
    }

    .buttons-container {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hide-mobile {
        display: none;
    }
}