.contact h1 {
    font-size: 4em;
    color: #705148;
    text-align: center;
    font-family: 'Lora', serif;
    margin: 0 0 1em;
}

.contact h1:after,
.contact h1:before {
    width: 200px;
    height: 3px;
    display: inline-block;
    vertical-align: middle;
    content: "";
    margin: 0 1%;
    border: 1px double #705148;
}

.contact {
    padding-top: 6em;
}

.contact-top h2 {
    font-size: 2.3em;
    color: #705148;
    line-height: 1.4em;
    font-family: 'Lora', serif;
    margin-bottom: 1em;
}

.contact-top div {
    padding: 0.5em 0;
}

.contact-top div input[type="text"],
.contact-top div input[type="email"],
.contact-top div input[type="date"],
.contact-top div input[type="time"],
.contact-top div textarea {
    width: 100%;
    padding: 0.7em;
    margin: 0.4em 0;
    background: none;
    outline: none;
    border: 1px solid #999999;
    -webkit-appearance: none;
    font-size: 1em;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-top div input[type="text"]:focus,
.contact-top div input[type="email"]:focus,
.contact-top div input[type="date"]:focus,
.contact-top div input[type="time"]:focus,
.contact-top div textarea:focus {
    border-color: #705148;
    box-shadow: 0 0 5px rgba(112, 81, 72, 0.5);
}

.contact-top div textarea {
    height: 75px;
    resize: none;
}

.contact-top div span {
    color: #999999;
    font-size: 1em;
}

.contact-top input[type="submit"] {
    border: none;
    outline: none;
    background: #705148;
    color: #fff;
    padding: 0.7em 2em;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.contact-top input[type="submit"]:hover {
    background: #D9267F;
}

.contact-top div input[type="text"].appointment-date {
    color: #999;
    font-family: 'Lora', serif;
}

.contact-top div input[type="text"].appointment-date::placeholder {
    color: #ccc;
}

.contact-left h3 {
    font-size: 2.3em;
    color: #705148;
    line-height: 1.4em;
    font-family: 'Lora', serif;
}

.contact-left p {
    font-size: 1em;
    color: #7C7C7C;
    line-height: 2em;
    margin: 1em 0 0;
}

.address {
    padding: 2em 0 0;
    font-family: sans-serif;
}

.address-grid {
    display: flex;
    align-items: center;
    padding: 1em 0;
}

.address-grid i {
    color: #705148;
    font-size: 1.2em;
    margin-right: 1em;
    display: inline-block;
    border-radius: 100px;
    width: 60px;
    height: 60px;
    border: 3px double #705148;
    text-align: center;
    line-height: 3.3em;
}

.address1 {
    flex: 1;
}

.address1 h3 {
    font-size: 1.2em;
    color: #000;
    line-height: 1.4em;
    font-family: 'Lora', serif;
}

.address1 p {
    font-size: 1em;
    color: #7C7C7C;
    line-height: 2em;
    margin: 1em 0 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.address1 p a {
    text-decoration: none;
    color: #7c7c7c;
}

.address1 p a:hover {
    color: #705148;
}

.contact-left {
    background-color: #FAFAFA;
    padding: 4em;
}

.contact-top {
    background-color: #fff;
    padding: 4em;
}

/* Map Section */
#map {
    width: 100%;
    min-height: 300px;
    border: none;
    margin-bottom: -5px;
    border-radius: 1em;
}

/* Team Section */
.team {
    padding: 6em 0;
}

.team-head {
    text-align: center;
    padding: 0 0 5em;
    position: relative;
}

.team-head h2 {
    font-size: 4em;
    color: #000;
    text-align: center;
    font-family: 'Lora', serif;
}

.member-team1 {
    text-align: center;
    background-color: #F9F9F9;
    padding: 2em;
    border: 1px solid #EBE7E7;
}

.member-team img {
    margin: 0 auto;
    border-radius: 100px;
}

.member-team h4 {
    font-size: 1.5em;
    font-family: 'Lora', serif;
    color: #705148;
    margin: 1em 0 0;
}

.member-team span {
    font-size: 1.5em;
    color: #000000;
    font-style: italic;
    display: block;
    margin: 0.5em 0 0.3em;
}

.member-team p {
    font-size: 1em;
    color: #7C7C7C;
    line-height: 2em;
    margin-bottom: 1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ceo-wrapper {
        display: flex;
        justify-content: center;
        align-items: stretch;
        width: 100%;
        padding-bottom: 2em;
    }

    .member-team.ceo {
        flex: 1 1 100%;
        max-width: 100%;
        margin: 0.625em;
    }

    .member-team.employee {
        flex: 1 1 100%;
        max-width: 100%;
        margin: 0.625em;
    }

    .banner {
        padding: 0;
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        margin-top: 5em;
        border-radius: 1em;
    }

    .banner img {
        width: 100%;
        height: auto;
    }

    .carousel-caption {
        display: block !important;
    }
}

