:root {
    --primary-color: #333;
    --secondary-color: #444;
    --background-color: #f4f4f4;
    --input-background-color: #eee;
    --font-family: 'Roboto', sans-serif;
}


body {
    font-family: var(--font-family);
    background: #f4f4f4;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 800px;
    padding: 40px;
    background: white;
    border: gray;
    margin: 50px auto;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 850px) {
    .subscribe-form {
        width: 90%;
        padding: 20px;
    }
}

.subscribe-form img {
    width: 100%;
    height: auto;
}

.form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
}

.subs-form {
    width: 100%;
    max-width: 600px;
}

.email-label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
}

.subscribe-form form input[type="email"] {
    width: 100%;
    padding: 15px;
    margin: 0 0 20px 0;
    border: none;
    background: var(--input-background-color);
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    font-size: 16px;
}

.subscribe-form form input[type="email"]:focus {
    box-shadow: inset 0 0 5px var(--primary-color);
}

.subscribe-form form button[type="submit"] {
    width: 100%;
    background: #14baff;
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.subscribe-form form button[type="submit"]:hover {
    background: #009AA2;
}

.subscribe-form form button[type="submit"] i {
    font-size: 16px;
}

.message-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#success-message {
    display: none;
    padding: 10px;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    max-width: 600px;
    margin-top: 20px;
}

#warning-message {
    display: none;
    padding: 10px;
    color: #fff;
    background-color: #dc3545; /* Red background for warning */
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    max-width: 600px;
    margin-top: 20px;
}

.navbar.navbar-light.navbar-expand-md.py-3.main-navbar {
    background-color: #f4f4f4;
    height: 20vh;
    margin-top: -0.1%;
}


.subs-gen {
    background-color: #f4f4f4;
    height: auto;
}

@media screen and (max-width: 768px) {
    .subs-gen {
        margin-top: 15%;
        margin-bottom: 15%;
    }
}


.g-image {
    margin-top: -10%;
    margin-bottom: -2%;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 20px auto;
    display: block;
}

#typed-text {
    display: block;
    text-align: center;
    font-size: 24px;
    color: var(--primary-color);
    margin: 20px 0;
    font-weight: 500;
}

/* Commercial Bottom Ad */
.commercial-bottom-ad {
    display: flex;
    justify-content: center;
    height: auto;
    margin-bottom: 1.5%;

}

.commercial-bottom-ad img {
    width: 35vw;
    height: 100%;
    z-index: 10;
    margin-top: 4%;
}

@media (max-width: 600px) {
    .commercial-bottom-ad img {
        width: 85vw;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .commercial-bottom-ad img {
        width: 85vw;
    }
}

@media (max-width: 600px) {
    #bottomAdImageMobile {
        display: block;
    }
}

@media (min-width: 601px) {
    #bottomAdImageDesktop {
        display: block;
    }
}

.subscriber-counter {
    text-align: center;
    margin-top: 20px;
    font-family: var(--font-family);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.counter-number {
    font-size: 38px;
    font-weight: bold;
    color: #14baff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.counter-number span {
    font-size: 24px;
    margin-left: 2px;
}

.counter-text {
    font-size: 18px;
    color: var(--primary-color);
    margin-top: 5px;
    font-weight: 500;
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
}

.page-header h1 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-header p {
    font-size: 18px;
    color: var(--secondary-color);
    margin: 0;
}



