@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,600;0,700;0,900;1,300;1,400;1,700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&display=swap');

:root {
    --mbi-orange: #FF832A;
    --mbi-dark: #000000;
    --mbi-black: #050505;
    --mbi-text-light: #ffffff;
    --mbi-text-muted: #dcdcdc;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--mbi-dark);
    color: var(--mbi-text-light);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Typography Utilities */
.font-light {
    font-weight: 300;
}

.font-regular {
    font-weight: 400;
}

.font-bold {
    font-weight: 700;
}

.font-italic {
    font-style: italic;
}

.text-orange {
    color: var(--mbi-orange) !important;
}

/* Header & Nav */
.main-header {
    background: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

.main-header .container {
    max-width: 100%;
    padding-left: 5%;
    padding-right: 5%;
}

.navbar-brand img {
    height: 50px;
}

.btn-outline-orange {
    color: #fff;
    border: 1px solid var(--mbi-orange);
    border-radius: 50px;
    padding: 0.5rem 2.5rem;
    font-size: 0.95rem;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-orange:hover {
    background: var(--mbi-orange);
    color: #fff;
}

.btn-orange {
    background-color: var(--mbi-orange);
    color: #fff;
    border-radius: 50px;
    padding: 0.5rem 2.5rem;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

.btn-orange:hover {
    background-color: #d85c15;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 131, 42, 0.4);
}

.menu-icon {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    margin-left: 20px;
}

.menu-icon span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--mbi-orange);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
}

.hero-bg-carousel {
    position: absolute;
    top: 100px;
    /* Start below logo/buttons height */
    left: 0;
    width: 100%;
    height: calc(100% - 250px); /* Reduced height to end behind button */
    z-index: 1;
}

.hero-bg-carousel .carousel-inner,
.hero-bg-carousel .carousel-item,
.hero-bg-carousel img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    background-color: #000;
}

@media (min-width: 992px) {
    .hero-section {
        padding-top: 150px;
    }

    .hero-bg-carousel {
        top: 100px;
        height: calc(100% - 250px); /* Taller to end behind the button area */
    }

    .hero-bg-carousel img {
        object-position: bottom; /* Keep the bottom of devices in view */
    }
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 1) 100%);
    z-index: 2;
}

.hero-content-box {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem); /* Responsive size, slightly smaller */
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.15rem; /* Reduced size */
    font-weight: 300;
    color: var(--mbi-text-light);
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    border-radius: 50px;
    font-size: 1.2rem;
}

.hero-btn {
    border-radius: 50px;
    font-size: 1.2rem;
}

/* Markets Section */
.markets-section {
    padding: 60px 0 80px;
}

.market-block {
    padding: 1.5rem 0;
}

.market-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    padding-top: 15px;
}

.market-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--mbi-orange);
}

.market-desc {
    color: var(--mbi-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    position: relative;
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../Frame%205.png') no-repeat center center;
    background-size: cover;
    opacity: 0.9;
}

.stats-section h3 {
    font-size: 1.8rem;
}

.stats-section h2 {
    font-size: 2.2rem;
}

.stats-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
}

.stat-item h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

/* Testimonials */
.testimonial-section {
    padding: 80px 0;
}

.testimonial-heading {
    font-size: 2.2rem;
    line-height: 1.2;
}

.max-w-testimonial {
    max-width: 900px;
}

.testimonial-img-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-text {
    flex-grow: 1;
    text-align: left;
}

.testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

@media (max-width: 768px) {

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* FAQ Custom Accordion */
.faq-section {
    padding: 80px 0;
    background: radial-gradient(circle at center, rgba(255, 131, 42, 0.25) 0%, transparent 40%), #000;
}

.custom-accordion {
    display: flex;
    flex-direction: column;
}

.custom-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-accordion-btn {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    padding: 1.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.custom-accordion-btn:focus {
    outline: none;
}

.custom-accordion-btn .icon {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.custom-accordion-btn.active .icon {
    transform: rotate(45deg);
    color: var(--mbi-orange);
}

.custom-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.custom-accordion-content p {
    padding-bottom: 1.5rem;
    margin: 0;
    color: var(--mbi-text-muted);
}

/* Bottom CTA Pre-Footer */
.bottom-cta-section {
    padding: 100px 0 150px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%), url('../Frame%204.png') no-repeat;
    background-size: cover;
    background-position: 90% center;
    /* Keep tower on right while showing text on left */
    transition: background-position 0.3s ease;
}

@media (max-width: 768px) {
    .bottom-cta-section {
        background-position: center center;
        /* Center when text stacks on mobile */
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%), url('../Frame%204.png') no-repeat center center;
        background-size: cover;
    }
}

.cta-bottom-btn {
    border-radius: 50px;
    font-size: .9rem;
}

.bottom-cta-section h2 {
    font-size: 2.8rem;
    line-height: 1.2;
}

.bottom-cta-section p {
    font-size: 1.2rem !important;
    line-height: 1.5;
}

/* Form Section */
.contact-section {
    padding: 60px 0 100px;
    background: #000;
}

.form-container {
    padding: 0 1rem;
}

.custom-input {
    background-color: #e5e5e5;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    color: #333;
    font-family: 'Roboto', sans-serif;
}

.custom-input:focus {
    background-color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(255, 131, 42, 0.25);
}

.form-label {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: #FF832A;
    background: linear-gradient(0deg, rgba(255, 131, 42, 1) 0%, rgba(0, 0, 0, 1) 100%);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.2rem;
    position: relative;
    padding-left: 20px;
}

.footer-links li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--mbi-text-light);
}

.footer-links a {
    color: var(--mbi-text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--mbi-orange);
}

.btn-webinar {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    text-align: left;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-webinar:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.app-store-badge {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* Sidebar Menu */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--mbi-black);
    z-index: 2000;
    transition: 0.4s ease;
    padding: 2.5rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.sidebar-nav li {
    margin-bottom: 1.5rem;
}

.sidebar-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-nav a:hover {
    color: var(--mbi-orange);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stat-item h2 {
        font-size: 1.8rem;
    }

    /* Footer mobile centering */
    footer {
        text-align: center;
    }

    footer .row {
        flex-direction: column;
        align-items: center;
    }

    footer .col-md {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
    }

    .footer-links {
        display: inline-block;
        text-align: left;
        margin: 0 auto;
    }

    .btn-webinar {
        margin: 0 auto;
    }
}