/* Global Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Join. Create. Thrive. Section */
.join-create-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 40px;
    background-color: #ffffff; /* White background */
    gap: 20px;
    max-width: 1450px;
    padding: 50px 10%;
    gap: 30px;
  height: auto; /* Adjust height dynamically based on content */
}

.join-content {
    width: 50%;
}

.join-content h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #000;
}

.join-content .highlight-blue {
    color: #2a55d8; /* Blue highlight */
}

.join-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #2a55d8; /* Blue button */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1f3fa0; /* Darker blue on hover */
}

.join-image {
    width: 45%;
    display: flex;
    justify-content: flex-end;
}

.join-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.whale-img {
    position: absolute;
    bottom: -100px; /* Moves the globe below the layout */
    left: 10px; /* Aligns it to the right */
    z-index: 1;
}

.whale-img img {
    width: 200px;
    height: auto;
    opacity: 0.9; /* Slight transparency for a subtle effect */
}

.download-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 40px;
    background: linear-gradient(to right, #480A5E 0%, #1F5BEA 100%);
    color: #ffffff;
    gap: 30px;
}

.download-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-left: 15%; /* Creates 20% empty space on the left */
}

.download-content img.ar-icons {
    max-width: 300px; /* Increased the logo size */
    height: auto;
    margin-bottom: 20px;
    align-self: flex-start;
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: left;
}

.download-content .highlight-yellow {
    color: #ffe455;
}

.download-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    text-align: left;
}

.app-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-self: flex-start;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary img {
    max-width: 20px;
    height: auto;
}

.btn-secondary:hover {
    background-color: #ffe455;
    color: #162b6e;
}

.download-image {
    width: 45%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.download-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .download-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
    }

    .download-content {
        width: 100%;
        align-items: center;
        text-align: center;
        margin-left: 0; /* Reset margin for smaller screens */
    }

    .download-image {
        width: 100%;
        margin-top: 20px;
    }

    .app-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
