/* General Body and HTML Styles */
body {
    background-color: #6F63E7;
    font-family: 'Avenir Next World', sans-serif;
    margin: 0;
    padding: 0;
    color: #000000;
    text-align: center;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

/* Logo Styling */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 150px;
    margin: 0 auto;
}

.logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
}

/* Social Item Text */
.social-item p {
    font-size: 0.85em;
    line-height: 1.2;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .logo {
        height: 120px;
    }

    .logo img {
        max-width: 80%;
    }
}

/* Headings and Paragraphs */
h2 {
    color: #6F63E7;
    border-bottom: 2px solid #6F63E7;
    padding-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Header Styles */
header {
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 1rem;
    margin-bottom: 1rem;
}

header nav a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

header nav a:hover {
    text-decoration: underline;
}

/* Navigation Bar Styles */
nav {
    background-color: #6F63E7;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
    margin-left: -25px;
}

nav ul li {
    display: inline-block;
    text-align: center;
}

nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #5749c4;
}

/* Main Content Styling */
main {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Section Styling */
section {
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: #F5F5FF;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Lists */
ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.membership ul li:before {
    content: "";
}
/* Buttons */
a.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #6F63E7;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-align: center;
}

a.btn:hover {
    background-color: #5749c4;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #000000;
    color: #FFFFFF;
    margin-top: 2rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icons a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a img:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Membership Cards */
/* Adjust the membership-container styles */
/* Membership Cards Container */
.membership-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping */
    gap: 1.5rem; /* Space between cards */
    justify-content: center; /* Center cards horizontally */
    margin: 0 auto; /* Center the container */
    padding: 0 1rem; /* Add padding for better mobile layout */
    max-width: 1200px; /* Constrain the maximum width */
}

/* Individual Membership Cards */
.membership {
    flex: 1 1 calc(33.33% - 2rem); /* Adjust for 3 cards per row with spacing */
    background-color: #F5F5FF;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.membership:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .membership-container {
        flex-direction: column; /* Stack cards vertically */
        gap: 1.5rem; /* Space between stacked cards */
        padding: 1rem; /* Add padding for small screens */
    }

    .membership {
        flex: 1 1 100%; /* Take full width of the container */
        max-width: 400px; /* Set a reasonable maximum width */
        margin: 0 auto; /* Center each card */
    }
}

@media (max-width: 480px) {
    .membership {
        padding: 1rem; /* Reduce padding for smaller screens */
    }
}

.membership ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.membership ul li {
    margin-bottom: 0.5rem;
    padding-left: 0;
}

/* Responsive Design */
/* Mobile View Adjustments */
@media (max-width: 768px) {
    #offers {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center horizontally */
        justify-content: center; /* Center vertically */
        padding: 1rem; /* Add padding for spacing */
        min-height: 100vh; /* Ensure it takes the full screen height */
        box-sizing: border-box; /* Ensure proper calculations */
        text-align: center; /* Center text alignment */
    }

    .membership-container {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center the cards vertically */
        align-items: center; /* Center horizontally */
        gap: 1.5rem; /* Space between the cards */
        width: 100%; /* Ensure full width on smaller screens */
    }

    .membership {
        width: 90%; /* Take up 90% of the screen width */
        max-width: 400px; /* Prevent the cards from becoming too wide */
        margin: 0 auto; /* Center each card horizontally */
    }
}






/* Scroll Animations */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 0.75rem 1rem;
    }
}
