* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(45deg, #333, #333);
    z-index: 9999999;
}

    #preloader #status {
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }

.spinner {
    width: 40px;
    height: 40px;
    position: relative;
    margin: 100px auto;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.8;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
    0%, 100% {
        -webkit-transform: scale(0.0)
    }

    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }

    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}

/* Section Title Styling */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: darkblue;
    margin-bottom: 20px;
}

    .section-title:hover {
        color: blue;
    }
/* Hero Section */
.hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 200px;
    z-index: 10;
    background-color: #0E1D34;
}

.logo-img {
    height: 40px; /* Adjust based on your logo size */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

    .nav-links li:not(:last-child)::after {
        content: "|";
        color: white;
        margin-left: 30px;
        margin-right: 30px;
    }

    .nav-links li a {
        color: white;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 400;
        transition: color 0.3s;
    }

        .nav-links li a:hover {
            color: blue;
        }

/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 1;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 20px;
}

    .hero-content h1 {
        font-family: 'Montserrat', sans-serif;
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .hero-content p {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

.cta-button {
    display: inline-block;
    background: #2756FF; 
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.2s, background 0.2s;
}


/* Responsive Design for Hero */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .navbar {
        padding: 10px 20px;
    }

    .nav-links {
        gap: 10px;
    }

        .nav-links li a {
            font-size: 0.9rem;
        }
}


/* What is the Mac Event? Section */
.what-is-mac {
    padding: 50px 0;
}

    .what-is-mac .card {
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s;
    }

        .what-is-mac .card:hover {
            transform: translateY(-5px);
        }

    .what-is-mac ul {
        list-style: none;
        padding-left: 0;
    }

        .what-is-mac ul li {
            position: relative;
            padding-left: 30px;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }



/* Benefits of Attending Section */
.benefits {
    padding: 50px 0;
}

    .benefits .card {
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s;
    }

        .benefits .card:hover {
            transform: translateY(-5px);
        }

    .benefits .card-title {
        color: darkblue;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .benefits .card-text {
        color: #555;
    }


/* How It's Done Section */
.how-its-done {
    padding: 50px 0;
    background-color: #fff;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #1a3c5e; /* MMI brand color: dark blue */
        left: 50%;
        transform: translateX(-50%);
    }

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background: #f8f9fa; /* Light gray background for content */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

    .timeline-content.left {
        text-align: right;
        margin-right: 55%;
    }

    .timeline-content.right {
        text-align: left;
        margin-left: 55%;
    }

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: blue;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content h5 {
    color: #1a3c5e;
    font-weight: 700;
    margin-bottom: 10px;
}

.logistics-card {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        width: 100%;
        margin: 0;
        padding-left: 40px;
        text-align: left !important;
    }

        .timeline-content.left,
        .timeline-content.right {
            margin: 0;
        }

    .timeline-marker {
        left: 20px;
        transform: translateX(0);
    }
}


/* FAQ Section */
.faq {
    padding: 50px 0;
    background-color: #f8f9fa;
}

    .faq .accordion-item {
        border: none;
        border-bottom: 1px solid #dee2e6;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        margin-bottom: 10px;
    }

    .faq .accordion-button {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        color: #1a3c5e;
        background: #fff;
        padding: 15px;
    }

        .faq .accordion-button:not(.collapsed) {
            background: #0E1D34;
            color: #fff;
        }

        .faq .accordion-button::after {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a3c5e'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
        }

        .faq .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
        }

    .faq .accordion-body {
        padding: 15px;
        color: #555;
    }

/* Testimonials Section */
.testimonials {
    padding: 50px 0;
    background-color: #fff !important;
}

    .testimonials .carousel-item {
        text-align: center;
        padding: 20px;
    }

    .testimonials .testimonial-card {
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
        background: #f8f9fa !important;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

        .testimonials .testimonial-card p {
            font-style: italic;
            color: #555;
            margin-bottom: 15px;
        }

        .testimonials .testimonial-card h6 {
            color: #1a3c5e;
            font-weight: 700;
        }

    .testimonials .carousel-control-prev,
    .testimonials .carousel-control-next {
        width: 5%;
    }

    .testimonials .carousel-control-prev-icon,
    .testimonials .carousel-control-next-icon {
        background-color: #0E1D34;
        border-radius: 50%;
    }
/* Past Mac Event Section   */
.past-mac-events {
    padding: 50px 0;
    background-color: #f8f9fa;
}

    .past-mac-events .card {
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s;
        text-align: center;
    }

        .past-mac-events .card:hover {
            transform: translateY(-5px);
        }

    .past-mac-events .card-body {
        padding: 20px;
    }

    .past-mac-events .card-title {
        color: #1a3c5e;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .past-mac-events .card-text {
        color: #555;
        margin-bottom: 15px;
    }

    .past-mac-events .btn {
        background: darkblue;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        font-weight: bold;
        transition: background 0.2s;
    }

        .past-mac-events .btn:hover {
            background: blue;
        }


    .past-mac-events .carousel-control-prev,
    .past-mac-events .carousel-control-next {
        width: 5%;
    }

    .past-mac-events .carousel-control-prev-icon,
    .past-mac-events .carousel-control-next-icon {
        background-color: blue;
        border-radius: 50%;
    }

/* Final CTA Section */
.final-cta {
    padding: 50px 0;
    background: #0E1D34;
    text-align: center;
    color: white;
}

    .final-cta h2 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .final-cta p {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
