/* 1. Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Prevents padding from breaking layout */
    font-family: "Ubuntu", sans-serif;
}

body {
    background-color: #f0faff;
    overflow-x: hidden; /* Prevents unwanted side-scrolling */
}

/* 2. Responsive Header & Navigation */
header {
    display: flex;
    justify-content: space-between; /* Pushes Logo to left, Nav to right */
    align-items: center;
    padding: 20px 5%; /* Flexible side spacing */
    color: #2761F5;
}

header h1 {
    font-size: 1.5rem;
}

ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px; /* Space between links without using margins */
}

ul li a {
    text-decoration: none;
    color: #2761F5;
    font-weight: 500;
}

/* The Sign Up Button */
ul li a.active {
    padding: 10px 25px;
    border-radius: 50px;
    background-color: #2761F5;
    color: white;
    transition: 0.3s ease;
}

/* 3. Responsive Hero Section */
.container {
    display: flex;
    flex-wrap: wrap; /* Allows items to stack on mobile */
    align-items: center;
    padding: 5% 5%;
    gap: 30px;
    margin-top: 4%;
}

.side-01 {
    flex: 1; /* Takes up half the screen on desktop */
    min-width: 300px; /* Forces stack if screen is too small */
}

.side-01 h3 {
    font-size: clamp(2rem, 5vw, 3rem); /* Fluid font size */
    margin-bottom: 20px;
}

.side-01 p {
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.side-01 a {
    display: inline-block;
    text-decoration: none;
    padding: 15px 35px;
    background-color: #2761F5;
    color: white;
    border-radius: 50px;
    font-size: 1.2rem;
}

/* 4. Responsive Image */
.side-02 {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.side-02 img {
    width: 100%;
    max-width: 600px; /* Maximum size on desktop */
    height: auto; /* Maintains aspect ratio */
}

/* 5. Centered Bubbles */
.bubble-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: -120px;
    padding: 40px 0;
}

.bubble {
    width: 12px;
    height: 12px;
    background-color: #2b66ff;
    border-radius: 50%;
    opacity: 0.5;
}

.bubble.active {
    width: 30px;
    height: 12px; /* Changed to an oval look for "active" indicator */
    border-radius: 20px;
    opacity: 1;
}

/* 6. Media Queries for Mobile (Phones/Tablets) */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack logo above nav */
        gap: 15px;
        text-align: center;
    }

    .container {
        flex-direction: column-reverse; /* Put image on top of text for mobile */
        text-align: center;
    }

    .side-01 p {
        margin: 0 auto 30px auto; /* Centers the paragraph */
    }
}