@font-face {
    font-family: 'Franklin Gothic Book';
    src: url('path-to-font/FranklinGothicBook.woff2') format('woff2'),
        url('path-to-font/FranklinGothicBook.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background-size: cover;
    color: white;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
}

#headers {
    position: relative;
    height: 40vh;
}

.header-background {
    background: url('Images/contactusbg.jpg') no-repeat center center/cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-overlay {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;

}

.header-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 48px;
}


.logo img {
    max-height: 50px;
    margin-top: 20px;
    margin-left: 42px;
}



nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-top: 20px;

    

}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Allows wrapping */
    justify-content: space-between; /* Spreads out the items */
    position: relative;
}

nav ul li {
    list-style: none;
    padding: 0 10px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    color: #cccccc;
    transition: 0.3s ease;
    font-family: 'DM Sans' , Arial , sans-serif;
    padding: 20px;
}

nav ul li a.active {
    color: #ffffff; /* Bright color for active link */
}

nav ul li a:hover,
nav ul li a.active {
    color: #ffffff;
}

navbar li a.active::after,
navbar li a:hover::after {
    content: "";
    width: 30%;
    height: 2px;
    background: #ffffff;
    position: absolute;
    bottom: -4px;
    left: 20px;
}

/*nav ul li a:hover {
    text-decoration: underline;
}*/

.contact-button a {
    background-color: #46AF86;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 18px;
    margin-left: 20px;
}

.contact-button a:hover {
    background-color: #218838;
}

.banner {
    height: 40vh;
    position: relative;
    display: flex;
    justify-content: center;
    background-size: cover;
    color: white;
    font-size: 48px;
    align-items: flex-end;
    z-index: 2;
    margin-bottom: 10px;
}

.banner h3 {
    padding-bottom: 30px;
    font-family: 'Fredoka', sans-serif;
    /* Apply Fredoka font to the banner heading */
    font-weight: normal;
    margin-bottom: 80px;
}

/*Form*/

.contact-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch; /* Stretch to match heights */
    padding: 30px;
    background-color: #ffffff;
    margin-top: 50px;
    margin-bottom: 50px;
    height: auto; /* Set height to auto */
    width: 86%;
    margin-left: 68px;
    overflow: hidden;
}

.contact-form {
    background-color: #d1f0c8; /* Form background color */
    border-top-left-radius: 15px;  /* Adjust the value as needed */
    border-bottom-left-radius: 15px;
    padding: 20px;
    height: 100%; /* Set height to auto */
    width: 62%; /* Width for the form */
    height: auto;
    font-family: 'Fredoka', sans-serif;
}

.contact-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-bottom: 2px solid #333;
    background-color: transparent;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom: 2px solid #28a745;
}

.contact-form button {
    padding: 10px 50px;
    font-size: 14px;
    background-color: #46AF86;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: fit-content;
    align-self: center;
}

.contact-form button:hover {
    background-color: #218838;
}

.contact-image {
    width: 60%; /* Adjust width as needed */
    height: 100%; /* Set height to auto */
    border-top-right-radius: 15px; /* Adjust as needed */
    border-bottom-right-radius: 15px;
    overflow: hidden; /* Ensure no overflow */
}

.contact-image img {
    width: 100%; /* Cover the container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove bottom spacing */
}


.form-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.form-row input {
    flex: 1;
}

.locations-section {
    text-align: center;
    padding: 50px;
    margin-top: -60px;
}

.locations-section h2 {
    text-align: left;
    margin-left: 100px;
    font-size: 2em;
    margin-bottom: 20px;
    color: #000000;
    font-family: 'Fredoka', sans-serif;
    font-weight: 500;
}

.locations-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.location-card {
    background: url('Images/contactcardbg.png') no-repeat center center/cover;
    border: 1px solid #ddd;
    border-radius: 20px;
    justify-content: space-between;
    padding: 50px;
    height: auto;
    width: 85%;
    box-shadow: 0 2px 4px rgba(0.1, 0.1, 0.1, 0.1);
    text-align: center;
    display: flex;
    flex-direction: row;
}



.location-card img {
    width:20%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    padding: 10px;
}

.location-card img:hover {
    transform: scale(1.05);
    transition: trasform 0.3s ease;
}



.location-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #000000;
    font-family: 'Fredoka', sans-serif;
    font-weight: 500;
}



footer {
    background-color: #0E4420;
    color: white;
    padding: 20px;
    position: relative;
    overflow: hidden;
    margin: 0;

}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.footer-content h3,
p {
    color: white;
    margin-right: 300px;


}



.footer-info,
.footer-links,
.footer-social {
    margin: 5px;
}

.footer-info {
    margin-top: -20px;
}

.footer-info img {
    margin-top: 10px;
}

.footer-links {
    margin-top: 70px;
    margin-left: -90px;
}

.footer-info h3 {
    margin-top: 40px;
    font-family: 'fredoka', sans-serif;
    font-weight: 500;
    font-size: 25px;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 10px;
    font-family: 'fredoka', sans-serif;
    font-size: 20px;
    font-weight: 500;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;

}

.footer-links ul li {
    margin-bottom: 5px;

}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    font-family: 'Maven Pro', Arial, sans-serif;
    /* Apply Maven Pro font to footer links */
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-social {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    row-gap: 8px;
    justify-items: center;
    align-items: center;
    margin-top: 65px;
    margin-left: 180px;
}

.footer-social a {
    margin: 0 -10px;
}

.footer-social h4{
    margin-top: -7px;
    margin-right: -40px;
}

.footer-social i {
    size: 50px;
    text-align: center;
    color: white;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 80px;
    background-color: #0E4420;
    color: #ffffff;
    border: 2px solid #cce7d0;
    bottom: 20px;
    right: 10px;
    align-self: center;

}

