.contact-page{
	position: relative;
}

.c-cap{
	font-size: 45px;
    color: #642003;
	margin-top: 20px;
}
.c-line{
	font-weight: 400;
    font-size: 20px;
    margin-top: 12px;
	text-align:center;
}

.c-card {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.con-tact1 {
	width: 40%;
	height:100%;
}

.pics {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 90px;
	margin-left: 35px;
}

.con-tact2 {
	width: 60%;
	height:700px;
	place-items:center;
}

.contact-container {
	background-color: #fff0d7;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	width:80%;
	align-items:center;
	margin-top: 50px;
}

h2 {
    margin-top: 0;
    color: #642003;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

.error-message {
    color: red;
    font-size: 0.875rem;
    display: none;
}

.submit-button {
    background-color: #fff;
    color: #642003;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #642003;
	color:white;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .c-cap {
        font-size: 30px;
        margin-top: 10px;
    }

    .c-line {
        font-size: 16px;
        margin-top: 8px;
        text-align: center;
    }

    .c-card {
        flex-direction: column;
        align-items: center;
    }

    .con-tact1 {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .pics {
        width: 100%;
        height: 500px;
        margin-top: 20px;
        object-fit: cover;
    }

    .con-tact2 {
        width: 100%;
        height: auto;
    }

    .contact-container {
        width: 90%;
        margin-top: 20px;
        padding: 15px;
    }

    h2 {
        font-size: 24px;
        margin-top: 0;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    input, textarea {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .submit-button {
        font-size: 1.1rem;
        padding: 1rem;
        margin-top: 20px;
    }
}


/* Smaller mobile screens (portrait phones) */
@media screen and (max-width: 480px) {
    .c-cap {
        font-size: 25px;
    }

    .c-line {
        font-size: 14px;
    }
	
	.con-tact1 {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
		margin-left:-20px;
    }
	
	.pics {
        width: 100%;
        height: 350px;
        margin-top: 20px;
        object-fit: cover;
    }

    .submit-button {
        padding: 0.9rem;
    }
}
