#contact {
    padding: 10rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f0f8ff 50%, #e6f2ff 100%);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230000ff' fill-opacity='0.02'%3E%3Cpath d='M25 25.5V25H0v0h25v0.5zm0-0.5h25v25H25V25h-0.5V0h0.5v25v-0.5zM25 25v-0.5H50V0h-0.5v25H25v0.5z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.contact-header {
    text-align: center;
    max-width: 80rem;
    margin: 0 auto 8rem;
    position: relative;
    z-index: 2;
}

.contact-header .subtitle {
    font-size: 1.4rem;
    color: #0000ff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    display: block;
}

.contact-header h1 {
    font-size: 4.5rem;
    color: #1a1a1a;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.contact-header p {
    font-size: 1.8rem;
    color: #64748b;
    line-height: 1.6;
}

.contact-wrapper {
    max-width: 120rem;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    background: #fff;
    border-radius: 4rem;
    overflow: hidden;
    box-shadow: 0 3rem 8rem rgba(0, 0, 0, 0.08);
}

/* Contact Info */
.contact-info {
    flex: 1;
    background: linear-gradient(135deg, #0000ff 0%, #00d2ff 100%);
    padding: 6rem;
    color: #fff;
}

.contact-info h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.contact-info p {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 4rem;
    opacity: 0.9;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.icon-box {
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    flex-shrink: 0;
}

.text-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.text-box p {
    font-size: 1.5rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.text-box a {
    color: inherit;
    text-decoration: none;
}

.text-box a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-item {
    width: auto;
    height: 4.5rem;
    padding: 0 1.4rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    font-weight: 800;
}

.social-item ion-icon {
    font-size: 2rem;
}

.social-item:hover {
    background: #fff;
    color: #0000ff;
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-box {
    flex: 1.5;
    padding: 6rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-row {
    display: flex;
    gap: 2.5rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group label {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 0 2rem;
    transition: all 0.3s ease;
}

.input-wrapper ion-icon {
    font-size: 2rem;
    color: #94a3b8;
    margin-right: 1.5rem;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1.5rem;
    color: #1a1a1a;
    font-family: inherit;
}

.input-wrapper textarea {
    padding: 1.5rem 0;
    resize: none;
}

.input-wrapper.align-top {
    align-items: flex-start;
}

.input-wrapper.align-top ion-icon {
    margin-top: 1.5rem;
}

.input-wrapper:focus-within {
    border-color: #0000ff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 0, 255, 0.05);
}

.input-wrapper:focus-within ion-icon {
    color: #0000ff;
}

.btn-submit {
    margin-top: 1rem;
    background: linear-gradient(135deg, #0000ff 0%, #00d2ff 100%);
    color: #fff;
    border: none;
    padding: 1.8rem;
    border-radius: 2rem;
    font-size: 1.6rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 255, 0.2);
    transition: all 0.4s ease;
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 2rem 5rem rgba(0, 0, 255, 0.3);
}

.contact-form .form-status {
    margin: -0.5rem 0 0;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .contact-form-box, .contact-info {
        padding: 4rem 2.5rem;
    }
    .form-row {
        flex-direction: column;
        gap: 2.5rem;
    }
    .contact-header h1 {
        font-size: 3.2rem;
    }
}
