:root {
    --color-primary: #0149ad;
    --color-primary-dark: #376fbd;
    --color-text: #1f2a40;
    --color-text-light: #4c5c78;
    --color-text-footer: #9db2d1;
    --color-text-muted: #b7c6dd;
    --color-background: #f4f8fc;
    --color-white: #ffffff;
    --color-border: #dce6f4;
    --color-dark: #0e1e3a;
    --color-dark-lighter: #bdd0e9;
    --color-dark-border: #2e3e5c;
    --color-blue: #007bff;
    --color-gray-light: #e9f0fa;
}

.main-content {
    padding: 90px 0;
}

.contact-section {
    position: relative;
    width: 100%;
    padding: 60px 0;
    /* background-color: #f2f2f2; */
    background-image: utl('');
    overflow: hidden;
}

.contact-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
    background: url('/api/placeholder/1200/800') center/cover no-repeat;
}

.contact-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
}

.contact-heading {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.contact-heading h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.contact-heading h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: var(--color-primary);
    bottom: 0;
    left: 20%;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 30px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-item {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
}

.info-text h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.info-text p {
    color: #666;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

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

.submit-btn {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #e69900;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #e69900;
}

@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
    }

    .text-content {
        padding: 30px 20px;
    }

    .text-content h1 {
        font-size: 2rem;
    }

    .book-image {
        padding: 30px 0;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .text-content h1 {
        font-size: 1.7rem;
    }

    .text-content p {
        font-size: 0.9rem;
    }

    .contact-heading h2 {
        font-size: 1.8rem;
    }
}