/* Beautiful Forms Styling - Matching Website Theme */

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 157, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(108, 92, 231, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.form-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form-text {
    text-align: center;
    margin-bottom: 50px;
}

.form-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.form-text p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Form Container */
.contact-form,
.feedback-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-form:hover,
.feedback-form:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5);
}

.contact-form::before,
.feedback-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #e91e63, #9c27b0, #e91e63);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Form Groups */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group label i {
    color: #e91e63;
    margin-right: 8px;
    font-size: 0.9rem;
}

.form-group label::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}

/* Form Inputs */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 
        0 0 0 4px rgba(233, 30, 99, 0.1),
        0 8px 24px rgba(233, 30, 99, 0.15);
    transform: translateY(-2px);
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    transition: color 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: #bbb;
}

/* Select Styling */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e91e63' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
    padding-right: 45px;
    cursor: pointer;
}

.form-group select option {
    padding: 12px;
    background: #fff;
    color: #333;
}

/* Textarea */
.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* Submit Button */
.contact-form .btn,
.feedback-form .btn {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 8px 24px rgba(233, 30, 99, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-form .btn::before,
.feedback-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.contact-form .btn:hover::before,
.feedback-form .btn:hover::before {
    left: 100%;
}

.contact-form .btn:hover,
.feedback-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(233, 30, 99, 0.4);
    background: linear-gradient(135deg, #f06292 0%, #ba68c8 100%);
}

.contact-form .btn:active,
.feedback-form .btn:active {
    transform: translateY(-1px);
}

.contact-form .btn i,
.feedback-form .btn i {
    font-size: 1.2rem;
}

/* Checkbox Styling */
.checkbox-group {
    margin: 30px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    padding: 18px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(233, 30, 99, 0.05);
    border: 2px solid transparent;
}

.checkbox-label:hover {
    background: rgba(233, 30, 99, 0.1);
    border-color: rgba(233, 30, 99, 0.2);
    transform: translateX(5px);
}

.checkbox-label input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    appearance: none;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    background: white;
}

.checkbox-label input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    border-color: #e91e63;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    font-weight: bold;
    animation: checkmark 0.3s ease;
}

@keyframes checkmark {
    0% {
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.checkbox-label input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.15);
}

/* Feedback Form Section */
.feedback-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.feedback-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 157, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(108, 92, 231, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Contact Info Cards */
.contact-info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    padding: 35px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e91e63, #9c27b0);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(233, 30, 99, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.3);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 28px rgba(233, 30, 99, 0.4);
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 1rem;
}

.contact-link {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(233, 30, 99, 0.4);
    background: linear-gradient(135deg, #f06292, #ba68c8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form,
    .feedback-form {
        padding: 35px 25px;
    }
    
    .form-text h2 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section,
    .feedback-form-section {
        padding: 50px 0;
    }
}

/* Form Validation Styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown) {
    border-color: #f44336;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown) {
    border-color: #4caf50;
}

/* Loading State */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.form-message {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
    color: #2e7d32;
    border: 2px solid #4caf50;
}

.form-message.error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), rgba(244, 67, 54, 0.05));
    color: #c62828;
    border: 2px solid #f44336;
}

.form-message i {
    font-size: 1.2rem;
}

/* Floating Label Effect (Optional Enhancement) */
.form-group.floating-label {
    position: relative;
}

.form-group.floating-label label {
    position: absolute;
    top: 18px;
    left: 20px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    background: white;
    padding: 0 8px;
}

.form-group.floating-label input:focus ~ label,
.form-group.floating-label input:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 15px;
    font-size: 0.85rem;
    color: #e91e63;
    font-weight: 600;
}

/* Enhanced Select Dropdown */
.form-group select {
    cursor: pointer;
}

.form-group select option:first-child {
    color: #999;
}

/* Input Icons (if needed in future) */
.form-group.input-icon {
    position: relative;
}

.form-group.input-icon i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: color 0.3s ease;
}

.form-group.input-icon input {
    padding-left: 45px;
}

.form-group.input-icon input:focus ~ i {
    color: #e91e63;
}

