/* General and reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Varela Round', sans-serif;
    list-style-type: none; /* Removes bullets from list items */
}

body, html {
    height: auto;
}
html {
    scroll-behavior: smooth;
}

ul{
    list-style: none;
}
img{
    height: 100%;
    width: 100%;
}

a {
    text-decoration: none;
}
.navbar{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: auto;
    padding: 20px 75px;
    transition: all 1s ease;
}
/* Logo positioned on the left */
nav .logo {
    font-size: 23px;
    font-weight: 600;
    color: white;
    cursor: default;
}

/* Resize logo image */
.logo img {
    height: 250px; /* Adjust height as needed */
    width: auto; /* Maintains aspect ratio */
    object-fit: contain; /* Ensures the image scales within the specified height */
}

.logo {
    width: 200px; /* Adjust logo size */
    height: auto; /* Maintain aspect ratio */
}
.btn-menubar svg {
    width: 40px;
    height: 40px;
    fill: #37b426;
    margin-bottom: 0;
}

.lg-hidden {
    display: none;
}
.menu-right > .menu-li{
    position: relative;
    display: flex;
    align-items: center;
    gap: 55px;
}

.btn-link {
    border: none;
    outline: none;
    padding: 8px 18px;
    color: #fff;
    background-color: #37b426;
}
.menu-li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 55px;
    background-color: rgba(0, 0, 0, 0.3); /* Set the menu background with 50% opacity */
    padding: 20px;  /* Optional: add padding for spacing */
    border-radius: 5px;  /* Optional: for rounded corners */
}
.menu-li .menu {
    list-style: none;
    display: flex;
    gap: 20px;
    width: 100%;
    color: white;
}

/* Adjust the menu links to ensure readability with the opacity background */
.menu-li .menu-link {
    text-decoration: none;
    color: white;
    font-size: 17px;
    padding: 8px 18px;  /* Adjust padding for better click area */
    border-radius: 5px;  /* Optional, for rounded corners */
}
/* Hover effect for menu links */
.menu-li .menu-link:hover {
    background-color: rgba(0, 0, 0, 0.5);  /* Darker opacity on hover */
}

.header{
    position: relative;
    background:url('../images/contact\ us\ image\ KW\ website.jpg');
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.text-box{
    width: 50%;
    padding: 0 75px;
    display: flex;
    height: 80vh;
    align-items: center;
    padding-bottom: 310px;
    padding-left: 160px;
}
.text-content h1{
    font-size: 4rem;
    /*padding-bottom: 100px;*/
    padding-top: -300px;
    color: white;
    top: 80px;
}

.text-content .btn-link{
    padding: 10px 10px;
    font-size: 17px;
    border-radius: 5px;
    cursor: pointer;
}
.text-content h1,
.text-content p{
    text-shadow: 2px 2px 2px #000;
}

/* Submenu Styles */
/* Hide submenu by default */
.submenu {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4); 
    padding: 10px 30px;
    list-style: none;
    margin-top: 17px;
    top: 100%;
    left: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid white;
}

.submenu li {
    padding: 10px 20px;
}

.submenu li a {
    text-decoration: none;
    color: white; /* Adjust color as needed */
    font-size: 18px;
    font-weight: bold;
}

.submenu li a:hover {
    color: #37b426; /* Highlight color on hover */
}

/* Adjust positioning within navbar */
.menu-right > .menu-li > li {
    position: relative;
}

.menu-right > .menu-li > li.has-submenu > a {
    display: flex;
    align-items: left;
}

@media (max-width: 900px) {
    .sm-hidden {
        display: none;
    }

    .lg-hidden {
        display: block;
    }

    .navbar {
        padding: 10px 25px;
    }

    /* Menu container that becomes fixed when active */
    .menu-right .menu-li {
        position: fixed;
        top: -550px;
        left: 0px;
        padding: 10px 25px;
        width: 100%;
        opacity: 0;
        z-index: 1;
        gap: 10px;
        color: var(--text-color);
        background: var(--light-color);
        flex-direction: column;
        visibility: hidden;
        transition: all 1s ease;
        transform-origin: bottom;
    }

    /* Active navbar with white background and moving it down */
    .navbar.active {
        
        top: 60px; /* Adjusted to prevent logo overlap */
        transition: top 0.3s ease; /* Smooth transition */
    }

    .navbar.active .logo h2 {
        color: var(--main-color);
    }

    /* Active state of the menu-li */
    .menu-li.active {
        background-color: #ddd;
        left: 0;
        top: 220px; /* Adjust to avoid covering content */
        opacity: 1;
        visibility: visible;
    }

    .menu-li.active .menu-link {
        color: var(--text-color);
    }

    .menu-li li {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .text-box {
        width: 100%;
        padding: -1px 0px;
    }

    .text-content h1 {
        font-size: 2rem;
    }
}

/* Ensure the navbar doesn't cover the logo on small screens */
@media (max-width: 900px) {
    .navbar.active {
        top: 80px; /* Adjust the value as needed for better positioning */
    }
}

/* Logo Adjustments */
@media (max-width: 900px) {
    .logo img {
        height: 120px; /* Smaller height for responsiveness */
        width: auto;   /* Maintain aspect ratio */
    }

    .logo {
        width: 150px;
        height: auto;
    }
}


.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
}

.page-title span {
    color: green;
}

/* Contact Us Section Styling */
.contact-us {
    background-color: white;
    padding: 60px 0;
    border-top: 2px solid white;
    border-bottom: 2px solid;
}


.section-title {
    font-size: 2.5rem;
    color: black;
    margin-bottom: 30px;
    font-weight: 700;
}

.social-icons {
    display: flex; /* Use flexbox for alignment */
    justify-content: center; /* Center the items horizontally */
    align-items: center; /* Center the items vertically */
    gap: 20px; /* Space between icons */
    margin-top: 30px; /* Space above the icons */
    margin-bottom: 20px;
}

.social-icon {
    font-size: 1rem; /* Increase icon size */
    color: white; /* Icon color */
    background-color: #37b426; /* Background color for the icon */
    border-radius: 50%; /* Circular background */
    padding: 15px; /* Padding around the icon */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transition for hover effects */
}

.social-icon:hover {
    transform: scale(1.1); /* Scale up on hover */
    background-color: rgb(147, 168, 147); /* Change background color on hover */
    color: #fff; /* Keep the icon color white on hover */
}

.contact-details {
    display: flex;
    flex-wrap: wrap; /* Allow cards to wrap to the next line */
    gap: 20px; /* Space between cards */
}

/* Styling for individual contact cards */
.contact-card {
    background: linear-gradient(135deg, #ffffff, #ffffff); /* Gradient background */
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6); /* Deeper shadow effect */
    padding: 20px; /* Padding inside the card */
    display: flex; /* Flex display for alignment */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation on hover */
    flex: 1 0 calc(50% - 20px); /* Two cards per row, accounting for gap */
    max-width: calc(50% - 20px); /* Max width for each card */
    margin-bottom: 20px; /* Ensure space below each card */
}

.contact-card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6); /* Shadow deepens on hover */
}

.contact-card i {
    font-size: 30px; /* Increased icon size */
    margin-bottom: 10px; /* Space below the icon */
    color: white; /* Change icon color to white for contrast */
    background-color: #37b426; /* Background for the icon */
    border-radius: 50%; /* Circular background */
    padding: 15px; /* Padding around icon */
}

.contact-card h4 {
    font-size: 1.5rem; /* Header font size */
    color: black; /* Header color */
    margin-bottom: 5px; /* Space below the header */
}

.contact-card p {
    font-size: 1rem; /* Paragraph font size */
    color: black; /* Paragraph text color */
    text-align: center; /* Center paragraph text */
}
.map-container {
    position: relative;
    overflow: hidden; /* Prevents the map from spilling over */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Shadow for depth */
    margin: 20px 0; /* Space above and below */
}

.map-container iframe {
    border-radius: 15px; /* Matches container border-radius */
    width: 100%; /* Full width of the container */
    height: 400px; /* Set a fixed height */
    transition: transform 0.3s ease; /* Smooth zoom effect on hover */
}

.map-container:hover iframe {
    transform: scale(1.02); /* Slight zoom-in on hover */
}


/* Responsive Design */
@media (max-width: 768px) {
    .contact-us .row {
        flex-direction: column;
    }
    
    .contact-details {
        margin-bottom: 0;
    }

    .contact-card {
        margin-bottom: 20px; /* Add space between cards on mobile */
        flex: 1 0 100%; /* Stack cards on mobile */
        max-width: 100%; /* Max width for each card on mobile */
    }

    iframe {
        height: 300px;
    }
}
@media (max-width: 768px) {
    .header-bg {
        max-height: 250px;      /* Adjust for tablets and smaller screens */
    }
}

@media (max-width: 480px) {
    .header-bg {
        max-height: 200px;      /* Adjust for mobile devices */
    }
}

.footer {
    background-color: #37b426; /* Dark navy background for clarity */
    color: #ecf0f1; /* Light grey text color for contrast */
    padding: 40px 20px; /* Padding around the footer */
    text-align: center; /* Center text */
}

.footer-content {
    display: flex; /* Flexbox layout for footer sections */
    justify-content: space-between; /* Even spacing between sections */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    max-width: 1200px; /* Maximum width for the content */
    margin: 0 auto; /* Center the content */
    gap: 30px; /* Adds space between the sections */
}

.footer-info, .quick-links, .connect {
    flex: 1 1 200px; /* Flexibility with a minimum width */
    margin: 10px; /* Space around sections */
    padding: 20px; /* Padding for inner sections */
    background-color: #37b426; /* Slightly transparent background for contrast */
    border-radius: 10px; /* Rounded corners */
}

.footer-info h3, .quick-links h4, .connect h4 {
    margin-bottom: 10px; /* Space below headings */
    font-weight: bold; /* Bold heading */
}

.quick-links ul {
    list-style: none; /* Remove default list style */
    padding: 0; /* Remove padding */
}

.quick-links li {
    margin: 5px 0; /* Space between links */
}

.quick-links a {
    color: white; /* Bright yellow link color */
    text-decoration: none; /* Remove underline from links */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth color and transform transition */
}

.quick-links a:hover {
    color: #37b426; /* Change to a vibrant green on hover */
    transform: scale(1.1); /* Enlarge on hover */
}

.connect {
    margin-top: 20px; /* Space above social media section */
}

.social-media {
    margin-top: 15px; /* Space above the social media icons */
}

.social-icon {
    color: #ecf0f1; /* Light grey icon color for contrast */
    font-size: 1.8em; /* Size of the icons */
    margin: 0 10px; /* Space between icons */
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition for hover effect */
}

.social-icon:hover {
    transform: scale(1.2); /* Slightly enlarge icon on hover */
    color: #37b426; /* Change to bright yellow on hover */
}

.footer-bottom {
    margin-top: 20px; /* Space above copyright */
    border-top: 1px solid #000000; /* Top border for separation */
    padding-top: 10px; /* Padding above copyright */
    font-size: 0.9em; /* Smaller font size for copyright */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack sections on smaller screens */
        align-items: center; /* Center align sections */
    }
}


