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

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    color: #333;
}

body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Logo Section */
.logo-section {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Content */
.content {
    width: 100%;
    background: white;
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.6s ease-out;
}

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

/* Heading */
.heading {
    font-size: 36px;
    font-weight: 700;
    color: #475569;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.subheading {
    font-size: 18px;
    color: #64748b;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 500;
}

/* Form Styles */
.survey-form {
    width: 100%;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
    line-height: 1.5;
}

.form-group textarea,
.form-group input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group textarea::placeholder,
.form-group input::placeholder {
    color: #94a3b8;
}

.form-group textarea:focus,
.form-group input:focus {
    outline: none;
    border-color: #22c55e;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Thank You Message */
.thank-you-message {
    color: #16a34a;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 12px;
    background-color: #f0fdf4;
    border-left: 4px solid #22c55e;
    margin-top: 20px;
    border-radius: 4px;
    animation: slideIn 0.3s ease-out;
}

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

/* TED Talk Section */
.ted-talk {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
    text-align: center;
}

.ted-talk p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 12px;
}

.ted-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ef4444;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.ted-link:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Ticker Wrapper */
.ticker-wrapper {
    background: linear-gradient(90deg, #1e293b 0%, #475569 100%);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.ticker {
    width: 100%;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: scroll 40s linear infinite;
    white-space: nowrap;
    gap: 40px;
}

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

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    font-size: 14px;
    padding: 8px 0;
    flex-shrink: 0;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Duplicate for seamless loop */
.ticker-content {
    width: auto;
}

.ticker-content span:not(:last-child)::after {
    content: "";
    margin-right: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px 16px;
        gap: 30px;
    }

    .content {
        padding: 30px 24px;
    }

    .heading {
        font-size: 28px;
    }

    .subheading {
        font-size: 16px;
    }

    .logo {
        max-width: 350px;
    }

    .form-group textarea,
    .form-group input[type="email"] {
        padding: 12px 14px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 15px;
    }

    .ticker-item {
        font-size: 12px;
    }

    .ted-link {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 16px 12px;
    }

    .content {
        padding: 20px 16px;
    }

    .heading {
        font-size: 24px;
    }

    .subheading {
        font-size: 14px;
    }

    .logo {
        max-width: 250px;
    }

    .form-group label {
        font-size: 15px;
    }
}
