.contact-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, .6), rgba(88, 28, 135, .45)), url('../imgs/bg.webp') center/cover no-repeat;
    overflow: hidden;
    isolation: isolate;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 80%, rgba(167, 139, 250, .15), transparent),
        radial-gradient(ellipse 500px 500px at 80% 20%, rgba(96, 165, 250, .12), transparent);
    pointer-events: none;
}

.contact-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 60px 24px;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 13px;
    color: #c4b5fd;
    margin-bottom: 28px;
}

.contact-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 16px;
}

.contact-hero h1 span {
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, .85);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.contact-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.contact-orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(167, 139, 250, .12);
    top: -80px;
    left: -60px;
    animation: orbFloat1 8s ease-in-out infinite alternate;
}

.contact-orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(96, 165, 250, .1);
    bottom: -60px;
    right: -40px;
    animation: orbFloat2 10s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, 30px) scale(1.15);
    }
}

@keyframes orbFloat2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-30px, -20px) scale(1.2);
    }
}

.contact-section {
    padding: 80px 24px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a78bfa, #60a5fa, #34d399, #f59e0b);
}

.contact-inner {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-col .section-label {
    font-size: 13px;
    font-weight: 700;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.contact-info-col h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.3;
}

.contact-info-col>p {
    font-size: 15px;
    line-height: 1.9;
    color: #64748b;
    margin: 0 0 12px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 22px;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 0 4px 4px 0;
    transition: .35s;
}

.contact-card:nth-child(1)::before {
    background: linear-gradient(to bottom, #a78bfa, #7c3aed);
}

.contact-card:nth-child(2)::before {
    background: linear-gradient(to bottom, #60a5fa, #2563eb);
}

.contact-card:nth-child(3)::before {
    background: linear-gradient(to bottom, #34d399, #059669);
}

.contact-card:nth-child(4)::before {
    background: linear-gradient(to bottom, #fbbf24, #d97706);
}

.contact-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
    transform: translateX(4px);
    background: #fff;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: .35s;
}

.contact-card:nth-child(1) .contact-card-icon {
    background: #f5f3ff;
    color: #7c3aed;
}

.contact-card:nth-child(2) .contact-card-icon {
    background: #eff6ff;
    color: #2563eb;
}

.contact-card:nth-child(3) .contact-card-icon {
    background: #ecfdf5;
    color: #059669;
}

.contact-card:nth-child(4) .contact-card-icon {
    background: #fffbeb;
    color: #d97706;
}

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

.contact-card-info {
    flex: 1;
    min-width: 0;
}

.contact-card-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 3px;
}

.contact-card-value {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.contact-card-value a {
    color: #0f172a;
    text-decoration: none;
    transition: .25s;
}

.contact-card-value a:hover {
    color: #7c3aed;
}

.contact-form-col {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
}

.contact-form-col::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(167, 139, 250, .06), transparent 70%);
    pointer-events: none;
}

.contact-form-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}

.contact-form-sub {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.form-group label .required {
    color: #ef4444;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #0f172a;
    background: #fff;
    transition: all .3s;
    outline: none;
    direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #a78bfa;
    box-shadow: 0 0 0 4px rgba(167, 139, 250, .12);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    font-family: inherit;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #6d28d9, #8b5cf6);
    opacity: 0;
    transition: .35s;
}

.submit-btn:hover::before {
    opacity: 1;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, .3);
}

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

.submit-btn span, .submit-btn i {
    position: relative;
    z-index: 1;
}



@media (max-width: 900px) {
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-section {
        padding: 60px 20px;
    }

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

@media (max-width: 768px) {
    .contact-hero {
        min-height: 320px;
    }

    .contact-hero-inner {
        padding: 40px 20px;
    }
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-col h2 {
        font-size: 24px;
    }

    .contact-card {
        padding: 14px 16px;
    }

    .contact-card-icon {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .contact-form-col {
        padding: 24px 18px;
        border-radius: 16px;
    }
}