/* contact-us.css */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body, header, nav, ul, li, a, button {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

body {
    background-color: #FFFFFF;
    color: #34331C;
    line-height: 1.6;
}

/* Navbar Styles */
header {
    background-color: #FFFFFF;
    padding: 20px;
    border-bottom: 1px solid #E0E0E0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    position: relative;
}

.logo, .footer-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.footer-logo-image {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-image {
    transform: scale(1.05);
}

/* Optional: Responsive adjustments */
@media (max-width: 768px) {
    .logo-image, .footer-logo-image {
        height: 30px;
    }
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    color: #34331C;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.nav-links a {
    text-decoration: none;
    color: #34331C;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-links a.active {
    background-color: #21871E;
    color: #FFFFFF;
}

.nav-links a:hover {
    color: #FFFFFF;
    background-color: #21871E;
}

.apply-btn {
    background-color: #21871E;
    color: #FFFFFF;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.apply-btn:hover {
    background-color: #065401;
    transform: scale(1.05);
}

/* Welcome Section */
.welcome-section {
    background-color: #FFFFFF; /* White background for minimalist design */
    color: #34331C; /* Primary text color */
    padding: 40px 20px; /* Reduced padding for a cleaner look */
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-content h2 {
    font-family: 'Syne', sans-serif;
    font-size: 40px; /* Slightly smaller for minimalism */
    font-weight: 700;
    margin-bottom: 16px; /* Reduced spacing */
}

.welcome-content p {
    font-size: 16px; /* Smaller font size for minimalism */
    margin-bottom: 24px; /* Reduced spacing */
    max-width: 600px; /* Constrain width for readability */
    margin-left: auto;
    margin-right: auto;
}

.welcome-buttons {
    display: flex;
    justify-content: center;
    gap: 16px; /* Reduced gap for a tighter layout */
}

/* CTA Button Styles (Used in Welcome and other sections) */
.cta-button {
    background-color: #21871E; /* Green accent color from the palette */
    color: #FFFFFF; /* White text */
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #065401; /* Darker green hover state from the palette */
    transform: scale(1.05);
}

/* Get in Touch Section */
.get-in-touch-section {
    background-color: #FFFFFF;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

.get-in-touch-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.contact-info-column {
    flex: 1;
    max-width: 40%;
}

.contact-info-column h3 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.contact-info-column h2 {
    font-family: 'Syne', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
}

.contact-info-column p {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

.contact-details {
    margin-bottom: 24px;
}

.contact-details p {
    font-size: 16px;
    color: #666;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-details .fas {
    color: #000000;
}

.form-column {
    flex: 1;
    max-width: 50%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input {
    height: 48px;
}

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

.contact-form label {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-form input[type="checkbox"] {
    width: 16px; /* Set a specific width to normalize size */
    height: 16px; /* Set a specific height to normalize size */
    margin: 0; /* Remove default margin */
    vertical-align: middle; /* Align with text */
    cursor: pointer; /* Add cursor pointer for better UX */
}

.send-button {
    background-color: #21871E;
    color: #FFFFFF;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: fit-content;
}

.send-button:hover {
    background-color: #065401; /* Darker green hover state from the palette */
    transform: scale(1.05);
}

/* Locations Section */
.locations-section {
    background-color: #FFFFFF;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.locations-content {
    text-align: left;
}

.locations-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.locations-content h2 {
    font-family: 'Syne', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #000000; /* Matches the image */
    margin-bottom: 16px;
}

.locations-content p {
    font-size: 16px;
    color: #666; /* Matches the image */
    margin-bottom: 24px;
}

.locations-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.location-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.location-item {
    font-size: 16px;
    color: #666;
    border-left: 2px solid #000000; /* Vertical line as shown in the image */
    padding-left: 16px;
}

.location-item .location-title {
    font-weight: 700;
    color: #000000; /* Matches the image */
    margin-bottom: 4px;
}

.location-item p {
    margin-bottom: 8px;
}

.location-item .view-map {
    color: #21871E; /* Green accent from the palette */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.location-item .view-map:hover {
    color: #065401; /* Darker green hover state */
}

.map-container {
    flex: 2;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border-radius: 5px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #FFFFFF;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-content {
    overflow: hidden;
    width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS devices */
}

.testimonials-content h2 {
    font-family: 'Syne', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #34331C;
    margin-bottom: 20px;
}

.testimonials-grid {
    display: flex;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}


.testimonial-item {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background-color: #F5F5F5;
    border-radius: 5px;
    transition: opacity 0.4s ease; /* Smooth opacity transition */
}

.testimonial-item.fade-out {
    opacity: 0.7;
}

.testimonial-item p:first-child {
    font-size: 16px;
    color: #34331C;
    margin-bottom: 10px;
}

.rating {
    font-size: 18px;
    color: #FFD700;
    margin-bottom: 10px;
}

.testimonial-item p:last-child {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.dots-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #E0E0E0;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #21871E;
}

/* Success Message for Form */
.success-message {
    display: none;
    align-items: center;
    gap: 10px;
    background-color: #21871E;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.success-message i {
    font-size: 20px;
}

.success-message p {
    margin: 0;
    font-size: 14px;
}

/* Add active state for view-map links */
.view-map.active {
    font-weight: 700;
    color: #065401;
}

/* Footer Styles */
footer {
    background-color: #FFFFFF;
    color: #34331C;
    width: 100%;
    padding: 40px 0;
    margin: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #34331C;
    transition: color 0.3s ease;
}

.footer-logo:hover {
    color: #21871E;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #34331C;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #21871E;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.newsletter-form input[type="email"] {
    padding: 10px;
    width: 200px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    color: #34331C;
}

.newsletter-form input[type="email"]::placeholder {
    color: #666;
}

.newsletter-form .subscribe-btn {
    background-color: #044201;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.newsletter-form .subscribe-btn:hover {
    background-color: #065401;
    transform: scale(1.05);
}

.privacy-text {
    font-size: 12px;
    color: #34331C;
}

.privacy-text a {
    color: #21871E;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-text a:hover {
    color: #065401;
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 20px;
    border-top: 1px solid #E0E0E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.bottom-left {
    display: flex;
    gap: 15px;
}

.bottom-left a {
    color: #34331C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bottom-left a:hover {
    color: #21871E;
}

.bottom-right {
    color: #34331C;
}

/* Responsive Design */
@media screen and (max-width: 576px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid #E0E0E0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        text-align: center;
    }

    .apply-btn {
        width: 100%;
        margin-top: 10px;
        padding: 10px 20px;
    }

    .welcome-section {
        padding: 20px 10px; /* Further reduced padding for mobile */
    }

    .welcome-content h2 {
        font-size: 28px; /* Smaller font size for mobile */
    }

    .welcome-content p {
        font-size: 14px;
    }

    .get-in-touch-section {
        flex-direction: column;
        padding: 20px;
        gap: 24px;
    }

    .get-in-touch-content {
        flex-direction: column;
    }

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

    .locations-section {
        padding: 20px;
    }

    .locations-content h2 {
        font-size: 28px;
    }

    .locations-content p {
        font-size: 14px;
    }

    .locations-container {
        flex-direction: column;
        gap: 24px;
    }

    .location-list {
        gap: 16px;
    }

    .map-container iframe {
        height: 200px;
    }

    .testimonials-section {
        padding: 20px;
    }

    .testimonials-content h2 {
        font-size: 28px;
    }

    .testimonial-item {
        min-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .footer-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-right {
        align-items: flex-start;
        width: 100%;
    }

    .newsletter-form {
        width: 100%;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }

    .bottom-left, .bottom-right {
        text-align: left;
    }
}

@media screen and (min-width: 577px) and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid #E0E0E0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        text-align: center;
    }

    .apply-btn {
        width: 100%;
        margin-top: 10px;
        padding: 10px 20px;
    }

    .welcome-section {
        padding: 30px 15px;
    }

    .welcome-content h2 {
        font-size: 32px;
    }

    .get-in-touch-section {
        flex-direction: column;
        padding: 20px;
        gap: 24px;
    }

    .get-in-touch-content {
        flex-direction: column;
    }

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

    .locations-section {
        padding: 20px;
    }

    .locations-content h2 {
        font-size: 32px;
    }

    .locations-container {
        flex-direction: column;
        gap: 24px;
    }

    .location-list {
        gap: 20px;
    }

    .map-container iframe {
        height: 250px;
    }

    .testimonials-section {
        padding: 20px;
    }

    .testimonial-item {
        min-width: 45%;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .footer-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-right {
        align-items: flex-start;
        width: 100%;
    }

    .newsletter-form {
        width: 100%;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }

    .bottom-left, .bottom-right {
        text-align: left;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .welcome-section {
        padding: 40px 20px;
    }

    .get-in-touch-section {
        padding: 40px;
    }

    .locations-section {
        padding: 40px;
    }

    .map-container iframe {
        height: 300px;
    }

    .testimonials-section {
        padding: 40px;
    }

    .testimonial-item {
        min-width: 100%;
    }

    .testimonial-item {
        min-width: 100%;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-left {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-right {
        align-items: flex-end;
    }

    .newsletter-form input[type="email"] {
        width: 250px;
    }
}
