* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    overflow-x: hidden;
    background: linear-gradient(to bottom, #B82132 0%, #D2665A 40%, #F2B28C 70%, #F6DED8 100%);
    min-height: 100vh;
    position: relative;
}

.sky {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden; 
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    filter: blur(5px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
    width: 120px; 
    height: 40px;
    top: var(--cloud-top, 10%);
    transform: scale(var(--cloud-scale, 1));
    animation-name: float;
    animation-duration: var(--cloud-duration, 40s);
    animation-delay: var(--cloud-delay, 0s);
    left: -250px; 
}

.cloud::before, .cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    filter: blur(5px);
}

.cloud::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 20px;
}

.cloud::after {
    width: 60px;
    height: 40px;
    top: -15px;
    right: 20px;
}

@keyframes float {
    to {
        left: 110vw; 
    }
}

.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1280px;  
    margin-left: auto;   
    margin-right: auto;
    padding: 20px 1.5rem; 
}

.logo {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    animation: fadeInDown 1s ease-out;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.slogan {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-weight: 300;
    animation: fadeInDown 1s ease-out 0.2s both;
}

.tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInDown 1s ease-out 0.4s both;
}

.countdown {
    display: flex;
    gap: 1.5rem; 
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%; 
}

.time-unit {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-grow: 1;
    flex-basis: 140px;
    min-width: 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.time-unit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.time-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.time-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.launch-date {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.notify-btn {
    background: white;
    color: #9A3F3F;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 1s both;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.notify-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.social-section {
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.social-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-btn.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
}

.social-btn.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-btn.twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    border-color: #E1306C;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


.modal-content {
    background: white;
    color: #9A3F3F;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.show-modal .modal-content {
    transform: scale(1);
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem; 
    font-weight: 700;
    color: #9A3F3F;
}

.modal-content p {
    font-size: 1rem;
    margin-bottom: 1rem; 
    color: #9A3F3F;
}

/* .modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #7e8ba3;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
} */

/* --- STYLED FORM LAYOUT --- */
.notify-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem; 
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left; 
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #9A3F3F;
    margin-bottom: 0.25rem;
}

.form-input {
    padding: 1rem;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-size: 1rem;
    border: 2px solid #c9d6df;
    border-radius: 10px;
    color: black;
    width: 100%; 
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
    outline: none;
    /* border-color: #DC0E0E; */
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.3);
}

.submit-notify-btn {
    padding: 1rem;
    background: #9A3F3F;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
    margin-top: 0.5rem; 
}

.submit-notify-btn:hover {
    background: white;
    color: #9A3F3F;
    border: 1px solid #9A3F3F;
}

.main-btn{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.location_info_bottom{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 5rem;
    margin: 5rem;
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
}

.location-info{
    text-align: left;
}

/* Add styles for the translation button and system */
.translate-bangla-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #9A3F3F;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    z-index: 100;
}

.translate-bangla-btn:hover {
    background-color: #7a2f2f;
}

.language-active {
    background-color: #1e3c72;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }

    .slogan {
        font-size: 1.2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .countdown {
        gap: 1rem;
        padding: 0 1rem; 
    }

    .time-unit {
        flex-basis: 120px; 
        padding: 1.5rem 1rem; 
    }

    .time-value {
        font-size: 2.5rem;
    }

    .time-label {
        font-size: 0.75rem;
    }

    .main-btn {
        flex-direction: column;
    }

    .location_info_bottom{
        flex-direction: column;
    }
}