:root {
    --primary-purple: #0081CC;
    --light-purple: #8f7cf0;
    --dark-text: #2c3e50;
    --gray-text: #7f8c8d;
    --bg-light: #f4f6f9;
    --radius: 15px;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: var(--bg-light);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* HERO SECTION */
#service-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: linear-gradient(135deg, rgba(40,40,70,0.9), rgba(60,50,110,0.85)),
        url("/wp-content/themes/arame/assets/images/contact/hedimgavif.avif") center/cover no-repeat;
    padding: 6rem 20px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 800;
    max-width: 850px;
    line-height: 1.25;
    margin: auto;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: #fff;
    max-width: 700px;
    margin: 20px auto 0;
}

/* CONTACT CARD */
.contact-card {
    display: flex;
    width: min(95%, 1050px);
    margin: 40px auto;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
}

/* LEFT FORM SECTION */
.form-section {
    flex: 1;
    padding: 45px;
}

.form-header h2 {
    font-size: clamp(1.5rem, 2vw, 1.9rem);
    color: var(--dark-text);
}
.form-header p {
    color: var(--gray-text);
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.custom-input {
    width: 100%;
    padding: 13px 15px;
    border-radius: 6px;
    border: none;
    background: #f7f7f7;
    font-size: 1rem;
    transition: 0.3s;
}

.custom-input:focus {
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-purple);
}

#message {
    height: 120px;
    resize: none;
}

.submit-button {
    width: 100%;
    padding: 14px;
    background: var(--primary-purple);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.submit-button:hover {
    transform: translateY(-3px);
    background: #4b75cf;
}

/* RIGHT INFO SECTION */
.info-section {
    flex: 1;
    background: var(--primary-purple);
    color: white;
    padding: 40px 30px 60px;
    position: relative;
}

.illustration-area {
    height: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.illustration-area::before {
    content: "\f095";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 5rem;
    opacity: 0.2;
    color: #fff;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 0.95rem;
}
.contact-details i {
    margin-right: 12px;
    background: rgba(255,255,255,0.25);
    padding: 8px;
    border-radius: 50%;
    font-size: 1rem;
}

/* SOCIAL SIDEBAR */
.social-sidebar {
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    background: var(--primary-purple);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.social-sidebar a {
    display: block;
    padding: 12px 16px;
    color: #fff;
    font-size: 1.2rem;
    transition: 0.2s;
}
.social-sidebar a:hover {
    background: #2577f2;
}

/* MEDIA QUERIES */

/* <992px tablets */
@media (max-width: 992px) {
    .contact-card {
        width: 90%;
    }

    .info-section {
        padding: 30px;
    }
}

/* <768px tablets/mobile */
@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
        width: 95%;
    }

    .info-section {
        padding-top: 60px;
        text-align: center;
    }

    .illustration-area {
        display: none;
    }

    .social-sidebar {
        display: none;
    }
}

/* <576px mobile */
@media (max-width: 576px) {
    .form-section {
        padding: 25px;
    }

    .form-header h2 {
        font-size: 1.6rem;
    }

    .custom-input {
        padding: 12px;
    }

    .info-section {
        padding: 25px;
    }

    .contact-details li {
        justify-content: center;
    }

    .submit-button {
        font-size: 1rem;
    }
}

/* <420px small mobiles */
@media (max-width: 420px) {
    .contact-card {
        width: 100%;
        border-radius: 0;
        margin-top: 20px;
    }
}

/* <350px extra small */
@media (max-width: 350px) {
    body {
        padding: 0;
    }

    .form-section,
    .info-section {
        padding: 18px;
    }

    .custom-input {
        padding: 10px;
        font-size: 0.95rem;
    }

    .submit-button {
        padding: 12px;
        font-size: 0.95rem;
    }
}
