:root {
    --contact-sec-bg: #ffffff;
    --contact-sec-accent: #efefef;
    --company-blue-accent: #c07ee3;
}

.contact-section {
	z-index: 1;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: linear-gradient(to bottom, var(--main-content-background), #ffffff);
	position: relative;
	flex-direction: column;
}
.contact-section h2 {
    max-width: 1000px;
    width: calc(100% - 40px);
    margin-top: 40px;
    margin-bottom: 20px;
    color:#666666;
}

.contact-section-img {
	position: absolute;
	z-index: 0;
	height: 100%;
	width: 100%;
	object-fit: contain;
	object-position: bottom;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--contact-sec-accent);
    border-radius: 16px;
    box-shadow: inset 0 0 4px rgb(0 0 0 / 20%);
    overflow: hidden;
    max-width: 1000px;
    width: calc(100% - 40px);
    margin-bottom: 80px;
    z-index: 1;
}

/* Left section */
.contact-info {
    background: var(--contact-sec-bg);
    padding: 20px 40px;
    box-shadow: inset 0 0 4px rgb(0 0 0 / 20%);
    border-radius: 16px 0 0 16px;
}

.contact-info h3 {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    color: #777;
    margin-bottom: 10px;
}

.contact-info h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 15px;
    margin-top: 10px;
}

.contact-info p {
    color: var(--text-color-dim);
    line-height: 1.6;
}

.contact-info p a {
    text-decoration: none;
    color: var(--text-color-dim);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 10px;
    background-color: var(--contact-sec-accent);
    border-radius: 10px;
    transition: background-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.info-item:hover {
    background-color: transparent;
    box-shadow: inset 0 0 4px rgb(0 0 0 / 20%);
}

.info-item .icon {
    background: #efd1ff;
    color: var(--company-blue-accent);
    border-radius: 12px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.label {
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.value {
    color: #555;
    margin: 0;
}

.socials {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    font-size: 22px;
}

.socials a {
    color: #777;
    text-decoration: none;
    transition: color 0.2s ease;
}

.socials a:hover {
    color: var(--company-blue-accent);
}

/* Right section */
.contact-form {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 6px;
}

input,
textarea {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
    font-family: inherit;
}
textarea {
    resize: vertical;
}
input:focus,
textarea:focus {
    border-color: var(--company-blue-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 77, 230, 0.1);
}

.contact-form button {
    background: var(--header-color);
    font-family: system-ui;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.contact-form button:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 800px) {
    .info-item:last-child {
        margin-bottom: 0;
    }
    .socials {
        margin-top: 20px;
    }

    .info-item {
        gap: 10px;
    }

    .info-item .icon {
        width: 40px;
        height: 40px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        width: calc(100% - 30px);
        margin-top: 15px;
    }

    .contact-info,
    .contact-form {
        border-radius: 16px 16px 0 0;
        padding: 16px;
    }
    .contact-info {
        padding-top: 0;
    }

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

    .contact-info p {
        font-size: 14px;
    }

    input, textarea {
        margin-bottom: 10px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .contact-section h2 {
	    margin-bottom: 0;
    }
}