/* Global Styles */
:root {
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --accent-red: #C8102E;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-red);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    transition: var(--transition);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-white) !important;
}

.nav-link {
    color: var(--primary-black) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-red) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown-menu {
    background: var(--primary-white);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.dropdown-item {
    color: var(--primary-black);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--accent-red);
    color: var(--primary-white);
}

/* Language Toggle */
.language-toggle .btn {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-black);
    color: var(--primary-black);
    background: transparent;
}

.language-toggle .btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: var(--primary-white);
    transform: translateY(-2px);
}

.language-toggle .btn.active {
    background: var(--primary-black);
    border-color: var(--primary-black);
    color: var(--primary-white);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('images/otel-bina.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 4rem;
    color: var(--primary-white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-white);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    border-radius: 30px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent-red);
    color: var(--primary-white);
}

.btn-primary:hover {
    background: #a00d25;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(200, 16, 46, 0.3);
}

.btn-danger {
    background: var(--accent-red);
    color: var(--primary-white);
}

.btn-danger:hover {
    background: #a00d25;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.3);
}

.btn-outline-danger {
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    background: transparent;
}

.btn-outline-danger:hover {
    background: var(--accent-red);
    color: var(--primary-white);
    transform: translateY(-2px);
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.bg-light {
    background: var(--light-gray) !important;
}

/* Icons */
.fa-3x {
    color: var(--accent-red);
    margin-bottom: 1rem;
}

/* Social Links */
.social-links a {
    transition: var(--transition);
    display: inline-block;
}

.social-links a:hover {
    color: var(--accent-red) !important;
    transform: translateY(-3px);
}

/* Certificate Logo */
.certificate-logo {
    opacity: 0.8;
    transition: var(--transition);
}

.certificate-logo:hover {
    opacity: 1;
}

/* Footer */
footer h5 {
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 1rem;
}

footer p {
    color: var(--primary-white);
    font-weight: 400;
}

footer .text-white {
    color: var(--primary-white) !important;
}

footer .text-muted {
    color: var(--primary-white) !important;
}

/* Survey Modal Styles */
#surveyModal .modal-dialog {
    max-width: 800px;
}

#surveyModal .modal-content {
    border-radius: 15px;
    border: none;
}

#surveyModal .modal-header {
    background: var(--accent-red);
    color: var(--primary-white);
    border-radius: 15px 15px 0 0;
}

#surveyModal .modal-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

#surveyModal .form-label {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

#surveyModal .form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: var(--transition);
}

#surveyModal .form-control:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.25);
}

#surveyModal .form-check-input:checked {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
}

#surveyModal .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.25);
}

#surveyModal .form-check-label {
    font-weight: 500;
    cursor: pointer;
}

#surveyModal .modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

#surveyModal .btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
}

#surveyModal .btn-secondary:hover {
    background: #5a6268;
    border-color: #545b62;
}

.survey-message {
    border-radius: 8px;
    border: none;
}

.survey-message.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.survey-message.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Step-by-Step Survey Styles */
.step-indicators {
    margin-bottom: 2rem;
}

.step-indicator {
    position: relative;
    padding: 0.5rem;
}

/* Step indicators without connecting lines */

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 0.5rem;
    transition: var(--transition);
}

.step-indicator.active .step-number {
    background: var(--accent-red);
    color: var(--primary-white);
}

.step-title {
    color: #6c757d;
    font-weight: 500;
    transition: var(--transition);
}

.step-indicator.active .step-title {
    color: var(--accent-red);
    font-weight: 600;
}

/* Survey Step Visibility Control */
.survey-step {
    display: none !important;
}

/* Show only first step by default */
#step1 {
    display: block !important;
}

/* JavaScript will add/remove these classes to control visibility */
.survey-step.show { 
    display: block !important; 
}
.survey-step.hide { 
    display: none !important; 
}

/* Ensure first step is visible by default */
#step1 {
    display: block !important;
}

/* Progress Bar */
.progress {
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.5s ease;
}

/* Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
}

.step-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    min-width: 120px;
}

.step-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.step-btn.prev {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

.step-btn.prev:hover:not(:disabled) {
    background: #5a6268;
    border-color: #545b62;
}

.step-btn.next {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}

.step-btn.next:hover:not(:disabled) {
    background: #b30f2a;
    border-color: #b30f2a;
}

.step-btn.submit {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.step-btn.submit:hover:not(:disabled) {
    background: #218838;
    border-color: #1e7e34;
}

.step-btn.submit {
    background: #28a745;
    border-color: #28a745;
    color: white;
    display: none; /* Hidden by default */
}

.step-btn.submit:hover:not(:disabled) {
    background: #218838;
    border-color: #1e7e34;
}

.step-btn.submit.show {
    display: inline-block !important;
}

/* Step Validation Alert */
.step-validation-alert {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 2px solid #C8102E;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: none;
}

.step-validation-alert.show {
    display: block;
    animation: slideInDown 0.3s ease-out;
}

.step-validation-alert .alert-icon {
    color: #C8102E;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.step-validation-alert .alert-title {
    color: #C8102E;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-validation-alert .alert-message {
    color: #2d3748;
    margin-bottom: 0;
}

/* Form Validation Styles */
.form-label.required::after {
    content: " *";
    color: #C8102E;
    font-weight: bold;
}

.form-control.is-invalid {
    border-color: #C8102E;
    box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.25);
}

.form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.invalid-feedback {
    display: block;
    color: #C8102E;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.valid-feedback {
    display: block;
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Radio Button Validation */
.form-check-input.is-invalid ~ .form-check-label {
    color: #C8102E;
}

.form-check-input.is-valid ~ .form-check-label {
    color: #28a745;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border: 2px solid #28a745;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideInDown 0.3s ease-out;
}

.success-message .success-icon {
    color: #28a745;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.success-message .success-title {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Animation */
@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Pulse animation for required fields */
.form-label.required {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a00d25;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid var(--accent-red);
    outline-offset: 2px;
}

/* Mobile Menu Styles */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Force black hamburger icon on all pages */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler:hover .navbar-toggler-icon {
    transform: scale(1.1);
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-item {
        margin: 0.5rem 0;
        border-bottom: 1px solid #f8f9fa;
        padding-bottom: 0.5rem;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        color: var(--primary-black) !important;
        font-weight: 600;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: var(--accent-red);
        color: white !important;
        transform: translateX(5px);
    }
    
    .dropdown-menu {
        background: #f8f9fa;
        border: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
        border-radius: 8px;
    }
    
    .dropdown-item {
        color: var(--primary-black);
        padding: 0.5rem 1rem;
        border-radius: 8px;
        margin: 0.25rem 0;
        transition: all 0.3s ease;
    }
    
    .dropdown-item:hover {
        background: var(--accent-red);
        color: white;
        transform: translateX(5px);
    }
    
    .language-toggle {
        margin-top: 1rem;
        text-align: center;
    }
    
    .language-toggle .btn {
        margin: 0.25rem;
        border-radius: 20px;
        padding: 0.5rem 1rem;
    }
    
    /* Mobile Hero Section */
    .hero-section {
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Mobile Section Titles */
    .section-title {
        font-size: 2rem;
    }
    
    /* Mobile Cards */
    .card-body {
        padding: 1.5rem;
    }
    
    /* Mobile Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand img {
        height: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn + .btn {
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.75rem;
    }
    
    .nav-item {
        margin: 0.25rem 0;
        padding-bottom: 0.25rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
    
    .dropdown-item {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .language-toggle .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .language-toggle,
    .btn {
        display: none !important;
    }
    
    .hero-section {
        height: auto;
        background: none;
        color: var(--primary-black);
    }
    
    .hero-title,
    .hero-subtitle {
        color: var(--primary-black);
        text-shadow: none;
    }
}

/* Survey Page Styles */
.survey-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.survey-container .section-title {
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.survey-container .lead {
    color: #6c757d;
    font-size: 1.1rem;
}

.survey-container .progress {
    height: 8px;
    border-radius: 10px;
    background: #e9ecef;
    margin-bottom: 2rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.survey-container .progress-bar {
    background: linear-gradient(90deg, var(--accent-red), #ff6b6b);
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.survey-container .step-indicators {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.survey-container .step-indicators::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.survey-container .step-indicator {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.survey-container .step-indicator:hover {
    transform: translateY(-2px);
}

.survey-container .step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.survey-container .step-indicator.active .step-number {
    background: var(--accent-red);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.survey-container .step-indicator.completed .step-number {
    background: #28a745;
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.survey-container .step-title {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
}

.survey-container .step-indicator.active .step-title {
    color: var(--accent-red);
    font-weight: 600;
}

.survey-container .step-indicator.completed .step-title {
    color: #28a745;
}

.survey-container .survey-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.survey-container .survey-step.active {
    display: block;
}

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

.survey-container .form-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.survey-container .form-section:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.survey-container .form-section h3 {
    color: var(--accent-red);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.survey-container .form-section h3 i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.survey-container .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.survey-container .form-label.required::after {
    content: ' *';
    color: var(--accent-red);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.survey-container .form-control,
.survey-container .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    background: #fff;
}

.survey-container .form-control:focus,
.survey-container .form-select:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.25);
    transform: translateY(-1px);
}

.survey-container .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    cursor: pointer;
}

.survey-container .form-control.is-invalid,
.survey-container .form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.survey-container .form-control.is-valid,
.survey-container .form-select.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.survey-container .step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.survey-container .step-btn {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.survey-container .step-btn.prev {
    background: #6c757d;
    color: white;
}

.survey-container .step-btn.prev:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.survey-container .step-btn.next {
    background: var(--accent-red);
    color: white;
}

.survey-container .step-btn.next:hover {
    background: #a70d26;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.survey-container .step-btn.submit {
    background: #28a745;
    color: white;
}

.survey-container .step-btn.submit:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.survey-container .step-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.survey-container .validation-alert {
    display: none;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    animation: slideInDown 0.3s ease;
    border-left: 4px solid #ffc107;
}

.survey-container .validation-alert.show {
    display: block;
}

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

.survey-container .success-message {
    text-align: center;
    padding: 3rem 2rem;
    display: none;
}

.survey-container .success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.survey-container .success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
    animation: bounce 1s ease infinite;
}

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

.survey-container .success-title {
    font-size: 2rem;
    color: #28a745;
    margin-bottom: 1rem;
    font-weight: 600;
}

.survey-container .success-text {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.survey-container .back-to-home {
    margin-top: 2rem;
}

.survey-container .back-to-home .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.survey-container .back-to-home .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Mobile Responsiveness for Survey */
@media (max-width: 768px) {
    .survey-container {
        padding: 1rem;
    }
    
    .survey-container .step-indicators {
        flex-direction: column;
        gap: 1rem;
    }
    
    .survey-container .step-indicators::before {
        display: none;
    }
    
    .survey-container .step-indicator {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }
    
    .survey-container .step-number {
        margin: 0;
        flex-shrink: 0;
    }
    
    .survey-container .form-section {
        padding: 1.5rem;
    }
    
    .survey-container .step-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .survey-container .step-btn {
        width: 100%;
    }
    
    .survey-container .success-message {
        padding: 2rem 1rem;
    }
    
    .survey-container .success-title {
        font-size: 1.5rem;
    }
    
    .survey-container .success-icon {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .survey-container .section-title {
        font-size: 1.8rem;
    }
    
    .survey-container .form-section {
        padding: 1rem;
    }
    
    .survey-container .step-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}
