/* Elite Umrah Reviews - Stylesheet */

/* Section Wrapper for Homepage */
.eur-section-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.eur-section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,133.3C672,139,768,181,864,197.3C960,213,1056,203,1152,176C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
    opacity: 0.3;
}

.eur-section-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.eur-section-title {
    font-size: 36px;
    font-weight: bold;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.eur-section-subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin: 0;
}

/* Main Form Container */
.eur-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    z-index: 1;
}

/* Question Groups */
.eur-question-group {
    margin-bottom: 35px;
    animation: fadeIn 0.5s ease;
}

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

.eur-label {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.5;
}

.eur-label.eur-required::after {
    content: " *";
    color: #e74c3c;
    font-weight: normal;
}

/* Rating Container */
.eur-rating-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

/* Rating Slider */
.eur-rating-slider {
    position: relative;
    margin-bottom: 30px;
}

#eur-rating {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    border-radius: 10px;
    background: linear-gradient(to right, 
        #e74c3c 0%, 
        #e67e22 25%, 
        #f39c12 50%, 
        #27ae60 75%, 
        #16a085 100%);
    outline: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

#eur-rating:hover {
    opacity: 1;
}

#eur-rating::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 3px solid #667eea;
    transition: all 0.3s ease;
}

#eur-rating::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

#eur-rating::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 3px solid #667eea;
    transition: all 0.3s ease;
}

/* Rating Value Display */
.eur-rating-value {
    text-align: center;
    margin-top: 25px;
}

#eur-rating-number {
    font-size: 56px;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.eur-rating-text {
    font-size: 18px;
    color: #7f8c8d;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

/* Rating Labels Grid */
.eur-rating-labels {
    display: none;
}

@media (min-width: 768px) {
    .eur-rating-labels {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
        margin-bottom: 25px;
    }
}

.eur-label-item {
    padding: 10px;
    font-size: 13px;
    text-align: center;
    background: white;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.eur-label-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.eur-label-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    font-weight: 600;
}

/* Rating Buttons */
.eur-rating-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .eur-rating-buttons {
        grid-template-columns: repeat(10, 1fr);
    }
}

.eur-rating-btn {
    padding: 18px;
    font-size: 18px;
    font-weight: bold;
    background: white;
    border: 3px solid #e0e6ed;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.eur-rating-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s, height 0.3s;
    transform: translate(-50%, -50%);
}

.eur-rating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.eur-rating-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Radio Groups */
.eur-radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.eur-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 20px;
    background: white;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 100px;
    justify-content: center;
}

.eur-radio:hover {
    background: #f8f9fa;
    border-color: #667eea;
}

.eur-radio input[type="radio"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.eur-radio input[type="radio"]:checked {
    accent-color: #667eea;
}

.eur-radio input[type="radio"]:checked + span {
    font-weight: 600;
    color: #667eea;
}

/* Textareas */
.eur-textarea {
    width: 100%;
    padding: 15px;
    font-size: 15px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    resize: vertical;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.eur-textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.eur-char-count {
    display: block;
    text-align: right;
    font-size: 13px;
    color: #95a5a6;
    margin-top: 8px;
    font-weight: 500;
}

/* Conditional Groups */
.eur-conditional-group {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 3px solid #ecf0f1;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

/* Submit Button */
.eur-submit-container {
    margin-top: 40px;
    text-align: center;
}

.eur-submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.eur-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.eur-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.eur-submit-btn:hover::before {
    left: 100%;
}

.eur-submit-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading Spinner */
.eur-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Messages */
.eur-message {
    margin-top: 25px;
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    animation: fadeIn 0.3s ease;
}

.eur-message.success {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    color: #0c5460;
}

.eur-message.error {
    background: linear-gradient(135deg, #fccb90 0%, #d57eeb 100%);
    color: #721c24;
}

/* Thank You Message */
.eur-thank-you {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    border-radius: 15px;
    animation: fadeIn 0.5s ease;
}

.eur-thank-you h3 {
    color: #0c5460;
    font-size: 32px;
    margin-bottom: 15px;
}

.eur-thank-you p {
    color: #0c5460;
    font-size: 18px;
    margin: 0;
}

/* Footer Wrapper Specific Styles */
.eur-footer-wrapper {
    background: #2c3e50;
    padding: 40px 0;
    margin-top: 60px;
}

.eur-footer-wrapper .eur-section-wrapper {
    background: transparent;
    padding: 0;
}

.eur-footer-wrapper .eur-section-header {
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .eur-section-wrapper {
        padding: 40px 15px;
        margin: 20px 0;
    }
    
    .eur-section-title {
        font-size: 28px;
    }
    
    .eur-section-subtitle {
        font-size: 16px;
    }
    
    .eur-form-container {
        padding: 25px;
    }
    
    .eur-rating-container {
        padding: 20px;
    }
    
    #eur-rating-number {
        font-size: 48px;
    }
    
    .eur-rating-buttons {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .eur-radio-group {
        flex-direction: column;
    }
    
    .eur-radio {
        width: 100%;
    }
    
    .eur-submit-btn {
        width: 100%;
        padding: 16px 30px;
    }
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}