/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500;600&display=swap');

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: #fff;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.light {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 15s infinite;
}

.x1 { top: 20%; left: 20%; animation-delay: 0s; }
.x2 { top: 60%; left: 80%; animation-delay: -2s; }
.x3 { top: 40%; left: 40%; animation-delay: -4s; }
.x4 { top: 80%; left: 20%; animation-delay: -6s; }
.x5 { top: 30%; left: 70%; animation-delay: -8s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(50px, 50px); }
    50% { transform: translate(0, 100px); }
    75% { transform: translate(-50px, 50px); }
}

/* Content Wrapper */
.content-wrapper {
    /* background: rgba(255, 255, 255, 0.1); */
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    max-width: 1200px;
    margin: 2rem;
    margin-bottom: 80px; /* Add space for footer */
}

/* Logo and Title */
.logo-container {
    position: relative;
}

.logo-icon {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.title-underline {
    width: 100px;
    height: 3px;
    background: #fff;
    margin: 1rem auto;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: #64b5f6;
    animation: slide 2s infinite;
}

@keyframes slide {
    0% { transform: translateX(0); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(0); }
}

/* Countdown Timer */
.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.countdown-item span:first-child {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    display: block;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.countdown-item span:last-child {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Newsletter Form */
.newsletter-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.input-group {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 1rem;
    border-radius: 8px 0 0 8px;
}

.form-control:focus {
    background: #fff;
    box-shadow: none;
}

.btn-primary {
    background: #64b5f6;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #42a5f5;
    transform: translateY(-2px);
}

/* Features */
.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-item i {
    font-size: 2.5rem;
    color: #64b5f6;
}

.feature-item h4 {
    color: #fff;
    margin: 1rem 0;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Footer Links */
.footer-links {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links a {
    color: #fff;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #64b5f6;
}

/* Social Links */
.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    color: #64b5f6;
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

/* Email Contact */
.email-contact {
    margin: 2rem 0;
}

.email-link {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
}

.email-link:hover {
    color: #64b5f6;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.email-link i {
    color: #64b5f6;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 2rem;
        margin: 1rem;
        margin-bottom: 70px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .countdown-item {
        margin-bottom: 1rem;
    }

    .countdown-item span:first-child {
        font-size: 2rem;
    }

    .feature-item {
        margin-bottom: 1rem;
    }

    .email-link {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }

    .footer {
        padding: 0.8rem 0;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Form Container */
.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    max-width: 800px;
}

/* Form Controls */
.contact-form-container .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form-container .form-control:focus {
    background: #fff;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

/* Error and Success Messages */
.error-message {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    background: rgba(99, 102, 241, 0.1);
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
    animation: fadeIn 0.5s ease;
}

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

/* Form Validation States */
.form-control.is-invalid {
    border-color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.1);
}

.form-control.is-valid {
    border-color: #51cf66;
    background-color: rgba(81, 207, 102, 0.1);
} 