.studio-contact-wrapper {
    position: relative;
    overflow: hidden;
}

.studio-contact-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.4), transparent 70%);
    opacity: 0.5;
}

.studio-contact-heading {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.studio-contact-heading h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #03092b;
    margin-bottom: 15px;
    animation: slideIn 1s ease-out;
}

.studio-contact-heading p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #555;
    animation: slideIn 1.2s ease-out;
}

.studio-contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.studio-contact-info {
    flex: 1;
    min-width: 340px;
}

.studio-contact-card {
    background: linear-gradient(to right, #fff1d4 0%, #dff8ff 100%);
    border-radius: 25px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeInUp 0.8s ease-out;
}

.studio-contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.studio-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 90% 10%, #ffe6f0, transparent 60%);
    opacity: 0.3;
    z-index: 0;
}

.studio-contact-card p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    font-weight: 400;
    color: #444;
    margin: 15px 0;
    line-height: 1.6;
}

.studio-contact-card .icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 15px;
    vertical-align: middle;
    font-size: 1.4rem;
    transition: transform 0.3s ease, color 0.3s ease;
    color: #d81b60;
}

.studio-contact-card:hover .icon {
    transform: scale(1.3);
    color: #e91e63;
}

.studio-form-section {
    flex: 2;
    min-width: 340px;
}

.studio-form-card {
    background: #fff;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeInUp 1s ease-out;
}

.studio-form-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.studio-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 90%, #ffe6f0, transparent 60%);
    opacity: 0.3;
    z-index: 0;
}

.studio-form-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #03092b;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.studio-form-card p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #555;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.studio-form {
    position: relative;
    z-index: 1;
}

.studio-form .form-group {
    margin-bottom: 16px;
    position: relative;
}

.studio-form label {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 3px;
    transition: color 0.3s ease;
}

.studio-form input,
.studio-form select,
.studio-form textarea {
    width: 100%;
    padding: 7px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 300;
    color: #333;
    background: #f9f9f9;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.studio-form input:focus,
.studio-form select:focus,
.studio-form textarea:focus {
    border-color: #ffb433;
    box-shadow: 0 0 10px rgba(216, 27, 96, 0.3);
}

.studio-form input:invalid:not(:placeholder-shown),
.studio-form select:invalid:not(:placeholder-shown) {
    border-color: #ff6b6b;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.studio-form .form-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.studio-form .form-row .form-group {
    flex: 1;
    min-width: 240px;
}

.studio-form textarea {
    resize: none;
    height: 130px;
}

.studio-form button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(90deg, #fb7729, #ffb433);
    color: #fff;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.studio-form button:hover {
    background: linear-gradient(90deg, #ffb433, #fb7729);
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(216, 27, 96, 0.4);
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .studio-contact-heading h1 {
        font-size: 2.2rem;
    }

    .studio-contact-heading p {
        font-size: 1rem;
    }

    .studio-contact-card,
    .studio-form-card {
        padding: 25px;
    }

    .studio-form-card h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .studio-form .form-row .form-group {
        min-width: 100%;
    }
}