/* === CONTACT SECTION === */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 20% 20%, rgba(231, 129, 143, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(231, 129, 143, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.contact-section > .container {
    position: relative;
    z-index: 2;
}

/* === CONTACT IMAGE === */
.contact-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
    z-index: 3;
    position: relative;
}

.image-background-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg,
    rgba(231, 129, 143, 0.1) 0%,
    rgba(231, 129, 143, 0.05) 50%,
    transparent 100%);
    border-radius: 50% 40% 60% 30%;
    animation: blobFloat 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
        border-radius: 50% 40% 60% 30%;
    }
    33% {
        transform: translate(-50%, -50%) rotate(120deg);
        border-radius: 40% 60% 30% 50%;
    }
    66% {
        transform: translate(-50%, -50%) rotate(240deg);
        border-radius: 60% 30% 50% 40%;
    }
}

/* === FLOATING ICONS === */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(231, 129, 143, 0.2);
}

.floating-icon i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.floating-icon-1 {
    top: 20%;
    right: 10%;
    animation: floatUpDown 3s ease-in-out infinite;
}

.floating-icon-2 {
    bottom: 30%;
    left: 5%;
    animation: floatUpDown 3s ease-in-out infinite 1s;
}

.floating-icon-3 {
    top: 60%;
    right: 15%;
    animation: floatUpDown 3s ease-in-out infinite 2s;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* === CONTACT CONTENT === */
.contact-content {
    padding-left: 2rem;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.form-header {
    text-align: center;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* === MODERN FORM INPUTS === */
.input-wrapper {
    position: relative;
}

.modern-input {
    background: rgba(248, 249, 250, 0.8);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    color: var(--text-primary);
}

.modern-input:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(231, 129, 143, 0.1);
    outline: none;
}

.modern-textarea {
    resize: vertical;
    min-height: 120px;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: color 0.3s ease;
    z-index: 3;
}

.textarea-icon {
    top: 1.2rem;
    transform: none;
}

.input-wrapper:focus-within .input-icon {
    color: var(--accent-color);
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-dark));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.input-wrapper:focus-within .input-focus-border {
    width: 100%;
}

/* === SEND BUTTON === */
.btn-send-message {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(231, 129, 143, 0.3);
}

.btn-send-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(231, 129, 143, 0.4);
}

.btn-send-message:active {
    transform: translateY(0);
}

.btn-text {
    transition: opacity 0.3s ease;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-loading {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-send-message.loading .btn-text,
.btn-send-message.loading .btn-icon {
    opacity: 0;
}

.btn-send-message.loading .btn-loading {
    opacity: 1;
}

.btn-send-message:hover .btn-icon {
    transform: translateX(3px);
}

/* === CONTACT INFO CARDS === */
.contact-info-cards {
    margin-top: 2rem;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-info-card:hover .card-icon {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.card-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.card-link:hover {
    color: var(--accent-dark);
    transform: translateX(3px);
}

/* === RESPONSE TIME BADGE === */
.response-time-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border-radius: 16px;
    padding: 1.25rem;
    margin-top: 2rem;
    color: white;
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon i {
    font-size: 1.25rem;
}

.badge-title {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.badge-subtitle {
    display: block;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* === SUCCESS MODAL === */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.success-icon i {
    font-size: 2rem;
    color: white;
}

.success-title {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 991.98px) {
    .contact-content {
        padding-left: 0;
        margin-top: 2rem;
    }

    .contact-image {
        max-height: 350px;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
    }

    .floating-icon i {
        font-size: 1rem;
    }
}

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

    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .modern-input {
        padding: 0.875rem 0.875rem 0.875rem 2.75rem;
    }

    .input-icon {
        left: 0.875rem;
        font-size: 1rem;
    }

    .contact-info-card {
        margin-bottom: 1rem;
    }

    .badge-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .contact-form-container {
        padding: 1.5rem 1rem;
    }

    .btn-send-message {
        width: 100%;
        padding: 1rem;
    }

    .floating-elements {
        display: none;
    }

    .contact-image {
        max-height: 280px;
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    .contact-image,
    .floating-icon,
    .image-background-blob {
        animation: none !important;
    }

    .btn-send-message,
    .contact-info-card,
    .modern-input {
        transition: none !important;
    }
}

/* === DARK THEME SUPPORT === */
[data-theme="dark"] .contact-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

[data-theme="dark"] .contact-form-container {
    background: rgba(42, 42, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .modern-input {
    background: rgba(26, 26, 26, 0.8);
    border-color: #404040;
    color: #ffffff;
}

[data-theme="dark"] .modern-input:focus {
    background: rgba(42, 42, 42, 0.9);
    border-color: var(--accent-color);
}

[data-theme="dark"] .contact-info-card {
    background: rgba(42, 42, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .contact-info-card:hover {
    background: rgba(42, 42, 42, 0.9);
}