*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.main {
    flex: 1;
    width: 100%;
    background-color: #4a90e2;
    position: relative;
}

.text-box {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 20px;
    color: #e6e6e6;
}
.text-box h1{
    font-size: 48px;
    color: #e6e6e6;
}
.text-box p{
    margin: 0px 0 10px;
    font-size: 18px;
    color: #e6e6e6;
}

.home-row {
    display: flex;
    /* Remove height: 100px; */
    flex-wrap: wrap; /* Allow items to wrap to next line */
    width: 100%;
    justify-content: center;
}

.home-row:first-child {
    flex-direction: column;
    align-items: center;
}
.home-row:last-child {
    justify-content: center;
    margin-top: 40px;
}

.home-col {
    flex-basis: auto; /* Change from 50% to auto */
    width: 300px; /* Match button width */
    margin: 10px; /* Add some spacing */
    padding: 0; /* Remove padding */
}

.hero-btn {
    display: inline-block;
    line-height:45px;
    text-decoration: none;
    color: #e6e6e6;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    font-size: 15px;
    background: #2e4378;
    /*position: relative;*/
    cursor: pointer;
    transition: 1s;
    width: 300px;
    height: 45px;
}

.hero-btn:hover{
    border: 2px solid #e6e6e6;
    /* background: #52525c; */
}

@media(max-width: 700px)
{
    .text-box {
        margin-top: 5%;
        height: auto;
        width: 95%;
    }
        .text-box p {
            margin: 10px 0 10px;
            font-size: 15px;
        }
    .home-col {
        padding: 0px 0px;
    }
    .hero-btn {
        margin-top: 1%;
        width: 90%;
        max-width: 300px;
        height: 45px;
    }
    .home-row {
        flex-direction: column;
        width: 100%;
        height: auto;
        font-size: 13px;
    }
        .home-row:last-child {
        align-items: center;
    }
    .header .title {
        font-size: 22px;
        padding-left: 1px;
    }
   
    .text-box h1{
        font-size: 20px;
    }

}

/*--------------Footer---------------*/


.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    background-color: #4a90e2;
    box-sizing: border-box;
}
/* .footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
} */
.footer p{
    color: #e6e6e6;
    padding: 0 20px;
}
.footer a {
    color: #e6e6e6;
    text-decoration: underline;
}


@media (max-width:700px){
    .sub-header h1{
        font-size: 24px;
    }
        .footer p {
        padding: 0 15px; /* More padding on mobile */
        font-size: 15px;
    }
       .footer a {
        display: inline-block; /* Helps with touch targets on mobile */
    }
} 


.footer-link{
    text-decoration: none;
    color: #777;
}
/* Bouncing Ball Rectangles */
.rectangle-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    max-width: 600px;
    margin: 0px auto;
    position: relative;
    padding: 20px 0;
}

.rectangle-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.rectangle {
    flex-grow: 1;
    height: 60px;
    border: 1px solid #e6e6e6;
    position: relative;
    overflow: hidden;
    background-color: #2e4378;
    display: flex;
    align-items: center;
    padding: 0 15px; /* This creates equal padding on both sides */
    box-sizing: border-box;
    border-radius: 8px;
    margin: 0 20px;
}

.ball {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px; /* This should match the rectangle's left padding */
    /* Remove margin-left as it's now handled by the left property */
}

.info-left {
    display: flex;
    align-items: center;
    min-width: 150px;
    color: #e6e6e6;
    margin-left: 10px;
}

/* Symbol and image styling */
.symbol-external {
    font-size: 20px;
    color: #e6e6e6;
    width: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.symbol-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.info-right-external {
    color: #e6e6e6;
    padding-right: 10px;
    width: 40px;
    white-space: nowrap
}

.name {
    font-weight: 500;
    font-size: 16px;
}

.bounce-time {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 300;
}

.comparison-title {
    color: #e6e6e6;
    font-size: 24px;
    margin-bottom: 2px;
    text-align: center;
}

.comparison-description {
    color: #a0a0a0;
    font-size: 16px;
    margin-bottom: 5px;
    text-align: center;
    font-weight: 300;
}

.rectangle-container h3:nth-of-type(2) {
    margin-top: 40px; /* Added this to create space before the second title */
}

/* Mobile responsiveness */
@media (max-width: 700px) {
    .rectangle-container {
        gap: 15px;
    }

    .rectangle {
        height: 50px;
        margin: 0 10px;
    }

    .info-left {
        min-width: 120px;
        margin-left: 20px;
    }

    .name {
        font-size: 14px;
    }

    .bounce-time {
        font-size: 13px;
    }

    .ball {
        width: 20px;
        height: 20px;
    }

    .symbol-external {
        width: 40px;
    }

    .symbol-image {
        width: 36px;
        height: 36px;
    }

    .sub-header h1 {
        font-size: 24px;
    }

    .comparison-title {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .comparison-description {
        font-size: 14px;
        margin-bottom: 5px;
    }
    .rectangle-container h3:nth-of-type(2) {
        margin-top: 50px;  /* Slightly less gap on mobile for better spacing */
    }
}









