/* Student Direct Page Specific Styles */

/* CRITICAL: Override survey-styles.css container flex issue */
@media (min-width: 769px) {
    /* Override survey-section styles for landing page */
    body.survey-body #student-direct-landing.survey-section {
        position: relative !important;
        display: block !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* For student landing page, don't use flex centering */
    body.survey-body #student-direct-landing .container {
        display: block !important;
        height: auto !important;
        align-items: initial !important;
        justify-content: initial !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    /* Also fix the how-it-works section */
    body.survey-body .how-it-works .container {
        display: block !important;
        height: auto !important;
        align-items: initial !important;
        justify-content: initial !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    /* Fix the hero-two-column layout */
    body.survey-body .hero-two-column {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem !important;
        align-items: start !important;
    }
    
    /* ONLY for student.html landing - ensure form visibility */
    #student-direct-landing .survey-form {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin: 0 !important; /* Remove margin that pushes content outside card */
    }
    
    #student-direct-landing .start-survey-btn {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important; /* Ensure it's in normal flow */
    }
    
    /* Override max-height ONLY for student.html form-card (not other survey cards) */
    #student-direct-landing .survey-card.form-card {
        max-height: none !important;
        overflow-y: visible !important;
    }
    
    /* Ensure the landing section isn't treated as a survey section */
    body.survey-body #student-direct-landing.survey-section {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        padding: 40px 0 80px 0 !important;
        overflow: visible !important;
        align-items: flex-start !important; /* Allow content to start at top */
    }
}

/* Override logo section for transparent background */
.survey-body .logo-section {
    background: transparent !important;
    padding: 20px 0;
    position: relative;
    z-index: 100;
}

/* Clean up the hero section */
.survey-body #student-direct-landing {
    padding: 40px 0 80px 0;
    /* Ensure it's visible and not affected by survey-styles.css */
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    min-height: auto !important;
}

/* Fix text colors for dark theme */
.survey-body .eyebrow-text {
    color: #5c79ec;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.survey-body .hero-title {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.survey-body .hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Content sections - Complete Redesign */
.survey-body .content-section {
    margin-top: 40px;
}

/* Problem Section - Redesigned with Survey Aesthetic */
.survey-body .problem-highlight {
    margin-bottom: 30px;
    /* Override red colors from survey-styles.css */
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    backdrop-filter: none !important;
}

.survey-body .content-text {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Bad Topics Grid - Inspired by Survey Feature Cards */
.survey-body .topic-list {
    display: grid;
    gap: 15px;
    margin: 25px 0 30px 0;
    padding: 0;
    list-style: none;
}

.survey-body .bad-topic {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 0;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Subtle gradient overlay for depth */
.survey-body .bad-topic::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(92, 121, 236, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.survey-body .bad-topic:hover::before {
    opacity: 1;
}

.survey-body .bad-topic:hover {
    transform: translateY(-2px);
    border-color: rgba(92, 121, 236, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Topic Icon */
.survey-body .bad-topic-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
}

/* Topic Text */
.survey-body .bad-topic-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.survey-body .bad-topic strong {
    color: #ffffff;
    font-weight: 600;
}

/* Warning Box - Using Survey Page Color Palette */
.survey-body .warning-box {
    background: rgba(92, 121, 236, 0.1);
    border: 1px solid rgba(92, 121, 236, 0.2);
    border-radius: 16px;
    padding: 25px;
    margin-top: 25px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.survey-body .warning-box::before {
    content: "💡";
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 1.3rem;
    opacity: 0.9;
}

.survey-body .warning-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding-left: 40px;
    line-height: 1.7;
    font-size: 1rem;
}

/* Clean Solution Section - Keep the blue box you liked */
.survey-body .solution-highlight {
    background: linear-gradient(135deg, rgba(92, 121, 236, 0.12) 0%, rgba(61, 77, 238, 0.08) 100%);
    border: 1px solid rgba(92, 121, 236, 0.25);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.survey-body .solution-highlight .content-text {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.survey-body .success-text {
    font-weight: 500;
}

.survey-body .solution-highlight .content-text strong {
    color: #ffffff;
    font-weight: 600;
}

/* Welcome features - Enhanced to match survey aesthetic */
.survey-body .welcome-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.survey-body .feature-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.survey-body .feature-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(92, 121, 236, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.survey-body .feature-item:hover {
    transform: translateY(-3px);
    border-color: rgba(92, 121, 236, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.survey-body .feature-item:hover::before {
    opacity: 1;
}

.survey-body .feature-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(92, 121, 236, 0.2) 0%, rgba(92, 121, 236, 0.1) 100%);
    border-radius: 50%;
}

.survey-body .feature-item span:last-child {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* Form card styling */
.survey-body .form-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: visible !important; /* Ensure button isn't cut off */
}

/* AI Avatar */
.survey-body .ai-avatar {
    text-align: center;
    margin-bottom: 30px;
}

.survey-body .avatar-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5c79ec 0%, #667eea 50%, #764ba2 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(92, 121, 236, 0.4);
    animation: pulse-avatar 3s ease-in-out infinite;
}

.survey-body .avatar-glow {
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, #5c79ec 0%, #667eea 50%, #764ba2 100%);
    opacity: 0.3;
    border-radius: 50%;
    animation: glow-pulse 2s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes pulse-avatar {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow-pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Form header */
.survey-body .form-header {
    text-align: center;
    margin-bottom: 30px;
}

.survey-body .form-title {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.survey-body .free-badge {
    display: inline-block;
    background: #4ecdc4;
    color: #1a1d3a;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 10px;
}

.survey-body .form-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

/* Form inputs */
.survey-body .survey-input,
.survey-body .survey-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    padding: 15px 20px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.survey-body .survey-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.survey-body .survey-select option {
    background: #2a2942;
    color: #ffffff;
}

.survey-body .survey-input:focus,
.survey-body .survey-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #5c79ec;
    box-shadow: 0 0 20px rgba(92, 121, 236, 0.3);
}

/* Autofill styles - critical for mobile */
.survey-body input:-webkit-autofill,
.survey-body input:-webkit-autofill:hover,
.survey-body input:-webkit-autofill:focus,
.survey-body input:-webkit-autofill:active,
.survey-body select:-webkit-autofill,
.survey-body select:-webkit-autofill:hover,
.survey-body select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.1) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Submit button - Matching survey page exactly */
.survey-body .start-survey-btn {
    width: 100%;
    background: linear-gradient(135deg, #5c79ec 0%, #667eea 50%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(92, 121, 236, 0.3);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    display: block !important; /* Ensure button is visible */
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important; /* Let height be automatic */
    line-height: 1.4; /* Ensure proper line height */
}

.survey-body .start-survey-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(92, 121, 236, 0.4);
    background: linear-gradient(135deg, #667eea 0%, #5c79ec 50%, #764ba2 100%);
}

.survey-body .start-survey-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 15px rgba(92, 121, 236, 0.3);
}

.survey-body .button-loader {
    display: none;
}

/* Ensure button text is visible by default */
.survey-body .start-survey-btn .button-text {
    display: inline-block;
    opacity: 1;
    position: relative;
    z-index: 1;
}

.survey-body .start-survey-btn.loading .button-text {
    opacity: 0;
}

.survey-body .start-survey-btn.loading .button-loader {
    display: flex;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
}

/* Button ready state with pulse animation */
.survey-body .start-survey-btn.ready {
    box-shadow: 0 0 30px rgba(92, 121, 236, 0.6) !important;
    animation: pulse-ready 2s ease-in-out infinite;
}

@keyframes pulse-ready {
    0%, 100% {
        box-shadow: 0 0 30px rgba(92, 121, 236, 0.6) !important;
    }
    50% {
        box-shadow: 0 0 40px rgba(92, 121, 236, 0.8) !important;
    }
}

/* How It Works Section - Dark theme styling without breaking layout */
.survey-body .how-it-works {
    background: transparent;
    color: #ffffff;
    padding: 80px 0;
}

.survey-body .how-it-works .section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Already handled in media query above */

.survey-body .how-it-works .eyebrow-text {
    color: #5c79ec;
}

.survey-body .how-it-works .hero-title {
    color: #ffffff;
}

.survey-body .how-it-works .hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Process steps container - Fix layout */
.survey-body .how-it-works .process-steps-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 40px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    position: relative !important;
}

/* Roadmap items - Restore original structure with dark theme */
.survey-body .how-it-works .roadmap-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex: 1 !important;
    text-align: center !important;
    position: relative !important;
    z-index: 3 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    backdrop-filter: none !important;
}

.survey-body .how-it-works .roadmap-item:hover {
    transform: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Roadmap circles - Restore visibility with dark theme colors */
.survey-body .how-it-works .roadmap-circle {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 3px solid rgba(92, 121, 236, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: scale(1) !important;
    opacity: 1 !important;
    transition: all 0.4s ease !important;
    animation: none !important;
    box-shadow: 0 8px 25px rgba(92, 121, 236, 0.2) !important;
}

.survey-body .how-it-works .roadmap-circle:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(92, 121, 236, 0.5) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 12px 35px rgba(92, 121, 236, 0.3) !important;
}

/* Roadmap circle inner - Gradient numbers */
.survey-body .how-it-works .roadmap-circle-inner {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #5c79ec 0%, #667eea 50%, #764ba2 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(92, 121, 236, 0.3) !important;
}

/* Roadmap content */
.survey-body .how-it-works .roadmap-content {
    margin-top: 25px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: none !important;
}

.survey-body .how-it-works .roadmap-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
}

.survey-body .how-it-works .roadmap-description {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.6 !important;
    max-width: 250px !important;
    margin: 0 auto !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .survey-body .how-it-works {
        padding: 60px 0 !important; /* Consistent vertical padding */
    }
    
    .survey-body .how-it-works .process-steps-container {
        flex-direction: column !important;
        gap: 50px !important;
        padding: 0 !important; /* Let container handle horizontal padding */
        align-items: center !important;
        max-width: none !important;
    }
    
    .survey-body .how-it-works .roadmap-item {
        width: 100% !important;
        max-width: 300px !important;
    }
    
    .survey-body .how-it-works .roadmap-circle {
        width: 100px !important;
        height: 100px !important;
    }
    
    .survey-body .how-it-works .roadmap-circle-inner {
        width: 80px !important;
        height: 80px !important;
        font-size: 2rem !important;
    }
    
    .survey-body .how-it-works .roadmap-description {
        max-width: 280px !important;
    }
}

/* Hide the connecting lines on dark background */
.survey-body .process-steps-container::before,
.survey-body .process-steps-container::after {
    display: none;
}

/* Sticky CTA Button - Force display on all screen sizes */
.survey-body .sticky-cta-button {
    position: fixed !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(100px) !important;
    z-index: 1000 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: block !important; /* Force display */
}

.survey-body .sticky-cta-button.show {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

/* The actual button styling */
.survey-body .sticky-cta-content {
    background: linear-gradient(135deg, #5c79ec 0%, #667eea 50%, #764ba2 100%) !important;
    color: #ffffff !important;
    padding: 16px 32px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    box-shadow: 0 10px 40px rgba(92, 121, 236, 0.4) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: none !important;
    white-space: nowrap !important;
}

.survey-body .sticky-cta-content:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 50px rgba(92, 121, 236, 0.6) !important;
    background: linear-gradient(135deg, #667eea 0%, #5c79ec 50%, #764ba2 100%) !important;
}

.survey-body .sticky-cta-text {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
}

.survey-body .sticky-cta-arrow {
    font-size: 1.1rem !important;
    animation: bounce-up 2s ease-in-out infinite !important;
    color: #ffffff !important;
}

@keyframes bounce-up {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-4px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Override survey-styles.css to show on all screen sizes */
@media (max-width: 768px) {
    .survey-body .sticky-cta-button {
        display: block !important;
    }
}

/* Desktop specific styling */
@media (min-width: 769px) {
    .survey-body .sticky-cta-button {
        display: block !important; /* Override survey-styles.css mobile-only restriction */
        bottom: 40px;
    }
    
    .sticky-cta-content {
        padding: 18px 36px;
        font-size: 1.05rem;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    /* Force consistent container padding ONLY for student.html sections */
    #student-direct-landing .container,
    .student-footer .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    /* Override sticky positioning from survey-styles.css - ONLY for student landing */
    #student-direct-landing .hero-right {
        position: static !important;
        top: auto !important;
    }
    
    /* Fix the landing section positioning and padding */
    .survey-body #student-direct-landing {
        position: relative !important;
        min-height: auto !important;
        padding: 40px 0 60px 0 !important; /* Consistent vertical padding */
        display: block !important; /* Ensure it's visible */
    }
    
    /* Ensure logo section has consistent spacing - ONLY on student.html */
    body.survey-body .logo-section {
        padding: 20px 20px !important; /* Match container horizontal padding */
    }
    
    .survey-body .hero-title {
        font-size: 2rem;
    }
    
    .survey-body .hero-subtitle {
        font-size: 1rem;
    }
    
    .survey-body .form-card {
        padding: 30px 20px;
        margin: 0;
    }
    
    .survey-body .hero-two-column {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    /* Reorder columns on mobile - form first */
    .survey-body .hero-left {
        order: 2;
    }
    
    .survey-body .hero-right {
        order: 1;
    }
    
    /* Sticky button already visible on mobile */
    
    .survey-body .welcome-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .survey-body .feature-item {
        padding: 15px;
    }
    
    .survey-body .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    /* Remove these duplicate styles since we've added them above */
    
    /* Fix button overflow on mobile */
    .survey-body .start-survey-btn {
        width: 100%;
        box-sizing: border-box !important; /* Use border-box on mobile */
        max-width: 100%;
    }
    
    /* Ensure proper font size to prevent zoom on iOS */
    .survey-body .survey-input,
    .survey-body .survey-select,
    .survey-body textarea {
        font-size: 16px !important;
    }
    
    /* Fix select dropdown arrow on mobile */
    .survey-body .survey-select {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
        background-position: right 12px center !important;
        background-repeat: no-repeat !important;
        background-size: 16px !important;
        padding-right: 40px !important;
    }
    
    /* Fix problem/solution section mobile layout */
    .survey-body .content-section {
        margin-top: 30px;
    }
    
    .survey-body .problem-highlight {
        margin-bottom: 20px;
    }
    
    .survey-body .warning-box {
        padding: 20px;
    }
    
    .survey-body .warning-box::before {
        font-size: 1.1rem;
        top: 20px;
        left: 20px;
    }
    
    .survey-body .warning-text {
        padding-left: 35px;
        font-size: 0.95rem;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .survey-body .hero-title {
        font-size: 1.75rem;
    }
    
    .survey-body .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .survey-body .content-text {
        font-size: 0.95rem;
    }
    
    .survey-body .form-card {
        padding: 25px 20px;
    }
    
    .survey-body .bad-topic {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .survey-body .bad-topic-icon {
        font-size: 1.2rem;
    }
}

/* Remove any conflicting styles */
.survey-body .hero-left,
.survey-body .hero-right {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Footer styling */
.survey-body .student-footer {
    background: rgba(15, 23, 42, 0.7);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* Fix footer container */
.survey-body .student-footer .container {
    display: block !important;
    height: auto !important;
    align-items: initial !important;
    justify-content: initial !important;
}

/* Also ensure footer doesn't get flex on desktop */
@media (min-width: 769px) {
    .survey-body .student-footer .container {
        display: block !important;
        height: auto !important;
        align-items: initial !important;
        justify-content: initial !important;
    }
}

.survey-body .footer-logo {
    height: 30px;
    margin-bottom: 1rem;
    background: none;
    border: none;
}

.survey-body .footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

.survey-body .footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.survey-body .footer-links {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.survey-body .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.survey-body .footer-links a:hover {
    color: #5c79ec;
}

/* iOS Safari specific fixes for form inputs */
@supports (-webkit-touch-callout: none) {
    .survey-body .survey-input,
    .survey-body .survey-select {
        background: rgba(255, 255, 255, 0.1) !important;
        -webkit-text-fill-color: #ffffff !important;
        opacity: 1 !important;
    }
    
    .survey-body input:not(:placeholder-shown),
    .survey-body select:not(:placeholder-shown) {
        background: rgba(255, 255, 255, 0.1) !important;
        -webkit-text-fill-color: #ffffff !important;
    }
}

/* Additional mobile form fixes */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    .survey-body .survey-input,
    .survey-body .survey-select,
    .survey-body input[type="text"],
    .survey-body input[type="email"] {
        background: rgba(255, 255, 255, 0.1) !important;
        -webkit-text-fill-color: #ffffff !important;
        color: #ffffff !important;
        opacity: 1 !important;
    }
}

/* Fix for forms with prefill data - prevents autofill white background */
#student-direct-form.has-prefill-data input,
#student-direct-form.has-prefill-data select {
    /* Force dark background with inline styles priority */
    background-color: rgba(255, 255, 255, 0.1) !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    
    /* Prevent any animation or transition that might trigger autofill */
    animation: none !important;
    transition: none !important;
}

/* Aggressive autofill override for prefilled forms */
#student-direct-form.has-prefill-data input:-webkit-autofill,
#student-direct-form.has-prefill-data input:-webkit-autofill:hover,
#student-direct-form.has-prefill-data input:-webkit-autofill:focus,
#student-direct-form.has-prefill-data input:-webkit-autofill:active,
#student-direct-form.has-prefill-data select:-webkit-autofill {
    /* Use both box-shadow and transition delay */
    -webkit-box-shadow: 0 0 0 1000px rgba(42, 41, 66, 0.95) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s !important;
    background-color: transparent !important;
}

/* Mobile-specific override for prefilled forms */
@media (max-width: 768px) {
    #student-direct-form.has-prefill-data input[type="text"],
    #student-direct-form.has-prefill-data input[type="email"],
    #student-direct-form.has-prefill-data select {
        /* Use !important with highest specificity */
        background: rgba(255, 255, 255, 0.1) !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
        -webkit-text-fill-color: #ffffff !important;
        color: #ffffff !important;
        
        /* Create a new layer to prevent repaints */
        transform: translateZ(0);
        will-change: auto;
    }
    
    /* Readonly inputs should look the same as regular inputs */
    #student-direct-form input[readonly] {
        background-color: rgba(255, 255, 255, 0.1) !important;
        -webkit-text-fill-color: #ffffff !important;
        color: #ffffff !important;
        opacity: 1 !important;
        cursor: text !important;
        -webkit-appearance: none !important;
    }
    
    /* Prevent ANY autofill on readonly inputs */
    #student-direct-form input[readonly]:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.1) inset !important;
        -webkit-text-fill-color: #ffffff !important;
        background-color: transparent !important;
    }
}