/* Base Styles */
.coming-soon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    animation: fadeIn 2s ease-in-out;
    text-align: center;
    font-family: 'Arial', sans-serif;
    padding: 20px; /* Added padding for small screens */
    box-sizing: border-box;
}

.coming-soon-content {
    background-color: #3D52A0;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    width: 100%; /* Default full width */
    max-width: 500px; /* Constrain width for larger screens */
}

.coming-soon-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    animation: floatUp 2s ease-in-out;
    color: #fff;
    line-height: 1.2;
}

.coming-soon-description {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #ADBBDA;
    animation: fadeIn 1.5s ease-in-out;
    line-height: 1.5;
}

.coming-soon-icons {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.coming-soon-icons .icon {
    font-size: 2.5em;
    margin: 0 10px;
    animation: bounce 1.5s infinite alternate;
    color: #EDE8F5;
}

.countdown {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap; /* Ensure it wraps on smaller screens */
    gap: 15px; /* Add spacing between items for better layout */
}

.countdown-item {
    font-size: 1.5em;
    color: #EDE8F5;
}

.coming-soon-subscribe {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    gap: 10px; /* Add spacing for input and button */
}

.coming-soon-subscribe input {
    padding: 10px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    outline: none;
    width: calc(100% - 120px); /* Dynamic width for smaller screens */
    max-width: 300px; /* Constrain input width */
    box-sizing: border-box;
}

.coming-soon-subscribe button {
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    background-color: #7091E6;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto; /* Ensure the button remains compact */
}

.coming-soon-subscribe button:hover {
    background-color: #3D52A0;
}

/* Responsive Styles */

/* Medium Screens (Tablets) */
@media (max-width: 1024px) {
    .coming-soon-title {
        font-size: 2.2em; /* Reduce title size slightly */
    }

    .coming-soon-description {
        font-size: 1.1em; /* Adjust description size */
    }

    .coming-soon-content {
        padding: 20px; /* Reduce padding */
    }

    .countdown-item {
        font-size: 1.3em; /* Adjust countdown font size */
    }

    .coming-soon-icons .icon {
        font-size: 2em; /* Reduce icon size */
    }
}

/* Small Screens (Mobile) */
@media (max-width: 768px) {
    .coming-soon-title {
        font-size: 1.8em;
    }

    .coming-soon-description {
        font-size: 1em;
    }

    .coming-soon-content {
        padding: 15px;
        border-radius: 10px;
    }

    .countdown-item {
        font-size: 1.2em;
    }

    .coming-soon-subscribe input {
        width: 100%; /* Full width for inputs on small screens */
    }

    .coming-soon-subscribe button {
        width: 100%; /* Full width for buttons on small screens */
    }
}

/* Extra Small Screens (Phones) */
@media (max-width: 480px) {
    .coming-soon-title {
        font-size: 1.6em;
    }

    .coming-soon-description {
        font-size: 0.9em;
    }

    .coming-soon-icons .icon {
        font-size: 1.8em;
    }

    .countdown {
        flex-direction: column; /* Stack countdown items */
    }

    .countdown-item {
        font-size: 1em;
    }
}
