/* Global Styles */
html, body {
    height: 100%; /* Ensure that the body and html elements take full height */
    font-family: Arial, sans-serif;
    text-align: center;
    background: white;
    color: #6d4c75;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 500px;
    margin: auto;
    padding: 20px;
}

.logo {
    width: 200px;
    margin-bottom: 50px;
    margin-top: 100px;
}

/* Heading Styles */
h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #60407B; /* Deep purple color */
}

.subtitle {
    font-size: 1.5em;
    font-weight: bold;
    color: #60407B; /* Deep purple color */
}

/* Input Field Styles */
input {
    width: 70%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Progress Bar */
#progress-bar {
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #8e6bae, #b08bd6);
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.3s ease;
}

.hidden {
    display: none;
}

/* Subscription Form */
.subscription-form {
    display: flex;
    justify-content: center; /* Align horizontally to the center */
    gap: 10px; /* Add some space between the input and the button */
    margin: 20px 0;
}

/* Button Styles */
button {
    border: none;
    cursor: pointer;
    display: inline-block;
    margin: 10px;
    padding: 14px 22px;
    background: linear-gradient(135deg, #FDA2C7, #60407B); /* Soft pink to deep purple gradient */
    color: white;
    text-decoration: none;
    border-radius: 12px; /* Rounder corners for a modern touch */
    font-size: 1.1em;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Button hover effect */
button:hover {
    background: linear-gradient(135deg, #60407B, #FDA2C7); /* Reversed gradient on hover */
    transform: scale(1.01); /* Slight scale-up effect */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

/* Button active effect */
button:active {
    transform: scale(1); /* Reset scale on click */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Normal shadow when clicked */
}

/* Button focus effect */
button:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 0 1px rgba(250, 212, 227, 0.5); /* Pink glow when focused */
}

/* Survey Links Buttons */
.survey-links .button {
    display: inline-block;
    margin: 10px;
    padding: 14px 22px;
    background: linear-gradient(135deg, #FDA2C7, #60407B); /* Soft pink to deep purple gradient */
    color: white;
    text-decoration: none;
    border-radius: 12px; /* Rounder corners for a modern touch */
    font-size: 1.1em;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Survey button hover effect */
.survey-links .button:hover {
    transform: scale(1.01); /* Slight scale-up effect */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

/* Survey button active effect */
.survey-links .button:active {
    transform: scale(1); /* Reset scale on click */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Normal shadow when clicked */
}

/* Survey button focus effect */
.survey-links .button:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(250, 212, 227, 0.5); /* Pink glow when focused */
}

/* Social Media Icons */
.social-links {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-links a {
    font-size: 2em; /* Adjust font size for visibility */
    margin: 0 10px;
    color: #6d4c75;
    text-decoration: none;
    transition: color 0.3s ease;
    z-index: 1; /* Ensure icons appear in front */
}

/* Hover effect for social media links */
.social-links a:hover {
    color: #FDA2C7; /* Pink color on hover */
}

/* Responsive adjustments for mobile */
@media only screen and (max-width: 768px) {
    .social-links a {
        font-size: 1.5em; /* Slightly smaller on mobile */
    }
}

/* Additional Mobile Styling */
@media only screen and (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .logo {
        width: 150px;
        margin-top: 50px; /* Adjust logo position on mobile */
    }

    h1 {
        font-size: 2em;
    }

    .subscription-form {
        flex-direction: column; /* Stack input and button on mobile */
        width: 100%;
    }

    input {
        width: 100%;
        padding: 12px;
    }

    button {
        width: 100%; /* Make button full width on mobile */
        padding: 14px;
        font-size: 1.2em;
    }

    .survey-links .button {
        width: 100%;
        font-size: 1.2em;
        padding: 14px;
    }
}
