/* Global Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom right, #1c2efc, #1cfcf9);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    text-align: center;
    position: relative; /* Needed for positioning overlay */
}

/* Background Image with Opacity */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh; /* Image covers 80% of screen height */
    background: url('https://iodly.xyz/bg7.gif') no-repeat center center;
    background-size: cover;
    opacity: 0.9; /* Reduce opacity for image */
    z-index: -1; /* Place the image behind content */
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hoverGlow {
    from {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
    to {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    }
}

/* Main Container */
.container {
    background: rgba(255, 255, 255, 0.1); /* Transparent background with slight white shade */
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-in-out;
    max-width: 400px;
    text-align: center;
    width: 100%;
    backdrop-filter: blur(10px);
}

/* Headings */
h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

h2 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}



/* Input Fields */
input {
    width: 100%;
    padding: 12px 0px;
    margin: 10px 0;
    border: 2px solid transparent;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    text-align: center;
}

input:focus {
    border-color: #4e54c8;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    text-align: center;
}
input::placeholder {
    color: #d3d3d3;  /* Light gray color */
    opacity: 1;      /* Ensures the placeholder is fully visible */
}

/* Buttons */
button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #1cfcf9, #1c2efc);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

button:hover {
    animation: hoverGlow 1s infinite alternate;
    transform: translateY(-3px);
    background: linear-gradient(90deg, #ff4b2b, #ff416c);
}

button:active {
    transform: scale(0.98);
    background: linear-gradient(90deg, #ff2e63, #ff3b47);
}

/* Success Message */
.success-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(0, 128, 0, 0.2);
    color: #00ff7f;
    font-size: 1rem;
    animation: fadeIn 1.5s ease-out;
}

/* Link Display */
a {
    display: block;
    margin-top: 15px;
    color: #ffefba;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #fff;
}
.htu {
    color: #ffd700; /* Golden color */
    text-decoration: none;
    font-weight: bold;
}
.htu:hover {
    transform: scale(1.05); /* Slightly enlarges the button */
    color: #ffd700;
    font-weight: bold;
}
.htu:active {
    transform: scale(0.98); /* Shrinks the button when clicked */
    color: #ffd700;
    font-weight: bold;
}
/* Hover and active effects */
.whatsapp-button:hover {
    
    transform: scale(1.05); /* Slightly enlarges the button */
}

.whatsapp-button:active {
    transform: scale(0.98); /* Shrinks the button when clicked */
}

/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark background for contrast */
    color: #fff;
    text-align: center;
    padding: 0px 0;
    font-size: 0.9rem;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.3); /* Optional: adds shadow to make it stand out */
    z-index: 9999; /* Ensures it's on top of other content */
}

/* Smooth Transitions */
.container, input, button, h1, h2, .success-message {
    transition: all 0.3s ease-in-out;
}
.footer a {
    color: #ffd700; /* Golden color */
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}
