/* ========================================
   CONTACT FORM SECTION - Ultra Aesthetic
   ======================================== */

.contact-form-section {
    padding: 80px 0 120px 0;
    position: relative;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    position: relative;
    z-index: 1;
}

/* ========================================
   LEFT SIDE: INTEREST CARDS
   ======================================== */

.interest-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 16px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.interest-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.interest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    border-radius: 20px;
}

.interest-card:hover::before {
    opacity: 1;
}

.interest-card:hover {
    transform: translateY(-4px);
    border-color: #c7d2fe;
    box-shadow: 0 12px 24px -6px rgba(99, 102, 241, 0.15);
}

.interest-card.selected {
    border-color: #6366f1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
}

.interest-card.selected::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #e0e7ff 0%, #ddd6fe 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.interest-card:hover .card-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.25);
}

.interest-card.selected .card-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.3);
}

.card-icon i {
    font-size: 26px;
    color: #6366f1;
    transition: all 0.3s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

.interest-card:hover .card-icon i {
    color: white;
    animation: iconBounce 0.6s ease forwards;
}

.interest-card.selected .card-icon i {
    color: white;
}

.card-content {
    position: relative;
    z-index: 2;
}

.interest-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    position: relative;
    z-index: 2;
}

.interest-card p {
    font-size: 0.875rem;
    color: #6b7280;
    position: relative;
    z-index: 2;
}

/* Icon Animations */
@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

@keyframes iconBounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.15); }
    60% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.card-check {
    position: absolute;
    top: 12px;
    right: 12px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
}

.card-check i {
    font-size: 24px;
    color: #6366f1;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.interest-card.selected .card-check {
    opacity: 1;
    transform: scale(1);
    animation: checkPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes checkPop {
    0% { transform: scale(0); rotate: -180deg; }
    50% { transform: scale(1.2); rotate: 10deg; }
    100% { transform: scale(1); rotate: 0deg; }
}

/* ========================================
   RIGHT SIDE: CONTACT FORM
   ======================================== */

.contact-form-container {
    background: white;
    border-radius: 28px;
    padding: 48px;
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.08),
                0 10px 30px -10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
}

.form-header {
    margin-bottom: 36px;
}

.form-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.form-header p {
    font-size: 1rem;
    color: #6b7280;
}

/* Form Styles */
.elegant-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.input-group label {
    font-size: 0.925rem;
    font-weight: 500;
    color: #374151;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper.textarea-wrapper {
    align-items: flex-start;
}

.input-icon-wrapper i {
    position: absolute;
    left: 16px;
    font-size: 20px;
    color: #9ca3af;
    transition: color 0.2s ease;
    pointer-events: none;
}

.textarea-wrapper i {
    top: 14px;
}

.input-icon-wrapper input,
.input-icon-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    color: #1a1a1a;
    background: #f9fafb;
    transition: all 0.2s ease;
    outline: none;
}

.input-icon-wrapper textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.input-icon-wrapper input:focus,
.input-icon-wrapper textarea:focus {
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}

.input-icon-wrapper input:focus + i,
.input-icon-wrapper textarea:focus + i,
.input-icon-wrapper:focus-within i {
    color: #6366f1;
}

/* Submit Button */
.submit-button {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.submit-button:hover .button-shine {
    left: 150%;
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(4px);
}

.form-footer-text {
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-footer-text i {
    font-size: 16px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .contact-form-section {
        padding: 60px 0 80px 0;
    }

    .form-wrapper {
        gap: 40px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.625rem;
    }
}

/* Success Animation (Optional Enhancement) */
@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.form-success {
    animation: successPulse 0.5s ease-in-out;
}

/* ========================================
   WHATSAPP SECTION - Direct Contact
   ======================================== */

.whatsapp-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    position: relative;
    overflow: hidden;
}

.whatsapp-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.whatsapp-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.whatsapp-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.whatsapp-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.whatsapp-header p {
    font-size: 1.125rem;
    color: #6b7280;
    font-weight: 500;
}

.whatsapp-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.whatsapp-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(34, 197, 94, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.whatsapp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.3);
}

.whatsapp-card:hover .whatsapp-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.whatsapp-card:hover .whatsapp-shine {
    left: 100%;
}

.whatsapp-card:hover .whatsapp-action i {
    transform: translateX(4px);
}

.whatsapp-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #25d366 0%, #22c55e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
}

.whatsapp-icon i {
    font-size: 36px;
    color: white;
}

.whatsapp-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.whatsapp-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.whatsapp-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.whatsapp-action {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid #f3f4f6;
    font-weight: 600;
    color: #22c55e;
    font-size: 1rem;
}

.whatsapp-action i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.whatsapp-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transition: left 0.6s ease;
    pointer-events: none;
}

/* Responsive WhatsApp Section */
@media (max-width: 768px) {
    .whatsapp-section {
        padding: 60px 0;
    }

    .whatsapp-header h2 {
        font-size: 2rem;
    }

    .whatsapp-header p {
        font-size: 1rem;
    }

    .whatsapp-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .whatsapp-section {
        padding: 50px 0;
    }

    .whatsapp-header {
        margin-bottom: 32px;
    }

    .whatsapp-header h2 {
        font-size: 1.75rem;
    }

    .whatsapp-card {
        padding: 24px;
    }

    .whatsapp-icon {
        width: 64px;
        height: 64px;
    }

    .whatsapp-icon i {
        font-size: 32px;
    }

    .whatsapp-number {
        font-size: 1.25rem;
    }
}
