/* Contact Section Styles */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #1E88E5;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.accent-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #1E88E5, #B93B8F);
    border-radius: 1px;
}

.contact-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #1E88E5, #B93B8F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    background-position: 0% 50%;
    animation: gradientShift 4s ease-in-out infinite;
    opacity: 1;
}

.contact-description {
    font-size: 1.1rem;
    color: #B0B0B0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Content */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Toggle Switch */
.contact-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.contact-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(30, 136, 229, 0.2);
    border-radius: 50px;
    padding: 4px;
    position: relative;
    overflow: hidden;
}

.toggle-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 50px;
    color: #B0B0B0;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.toggle-option i {
    font-size: 1.1rem;
}

.toggle-option.active {
    color: white;
}

.toggle-option:hover:not(.active) {
    color: #E0E0E0;
}

/* Toggle Slider */
.contact-toggle::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #1E88E5, #B93B8F);
    border-radius: 50px;
    transition: transform 0.3s ease;
    z-index: 1;
}

.contact-toggle.whatsapp-active::before {
    transform: translateX(100%);
}

/* Form Container */
.contact-form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(30, 136, 229, 0.2);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.contact-form-container.hidden {
    display: none;
}

.contact-form-container:hover {
    border-color: rgba(30, 136, 229, 0.4);
    box-shadow: 0 15px 35px rgba(30, 136, 229, 0.15);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #E0E0E0;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(30, 136, 229, 0.2);
    border-radius: 8px;
    color: #E0E0E0;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1E88E5;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0E0E0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group select option {
    background: #1a1a1a;
    color: #E0E0E0;
    padding: 12px 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1E88E5, #B93B8F);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 28px;
    background: linear-gradient(135deg, #1E88E5, #B93B8F);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.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.6s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 136, 229, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(3px);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn:hover {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

/* WhatsApp Specific Styles */
.whatsapp-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.whatsapp-info {
    text-align: center;
    padding: 2rem;
    background: rgba(37, 211, 102, 0.05);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 12px;
}

.whatsapp-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.whatsapp-header i {
    font-size: 2rem;
    color: #25D366;
}

.whatsapp-header h3 {
    font-size: 1.5rem;
    color: #E0E0E0;
    font-weight: 600;
}

.whatsapp-description {
    color: #B0B0B0;
    line-height: 1.6;
}

.whatsapp-preference {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: #B0B0B0;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(30, 136, 229, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom {
    background: linear-gradient(135deg, #1E88E5, #B93B8F);
    border-color: #1E88E5;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Contact Info */
.contact-info {
    margin-top: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(30, 136, 229, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.info-item:nth-child(1) { animation-delay: 0.1s; }
.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.3s; }

.info-item:hover {
    transform: translateY(-5px);
    border-color: rgba(30, 136, 229, 0.4);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.2);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(185, 59, 143, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #1E88E5;
    border: 1px solid rgba(30, 136, 229, 0.2);
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #E0E0E0;
}

.info-content p {
    color: #1E88E5;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.info-subtitle {
    font-size: 0.85rem;
    color: #666;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-container {
        padding: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .toggle-option {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-item {
        padding: 1.5rem;
    }
    
    .info-item,
    .contact-form-container {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .toggle-option span {
        display: none;
    }
    
    .toggle-option {
        padding: 10px 15px;
    }
    
    .contact-toggle::before {
        width: calc(50% - 2px);
    }
}

/* Gradient Animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}
