/* Importing the 'Poppins' font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Resetting default margin, padding, and box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


section {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
    position: relative; 
}
section .Home{
    overflow: hidden; 
    height: 100vh;
}

/* Styling the header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 6.25rem; /* 100px converted to rem */
    padding: 0 5%;
    position: absolute;
    width: 100%;
    z-index: 100000;
}

/* Styling the logo container */
.logo-container {
    width: fit-content; /* Adjust width to fit the content (the logo image) */
    height: fit-content; /* Adjust height to fit the content (the logo image) */
}
.logo-container img {
    width: 30%;
    height: auto;
}


/* Styling the desktop navigation */
header nav.desktop {
    display: flex;
    gap: 1.875rem; /* 30px converted to rem */
}

header nav.navbar-menu a {
    text-decoration:none;
    font-size: 1.25rem; /* 20px converted to rem */
    font-weight: 600;
    padding: 0.5rem 1rem; /* 8px 16px converted to rem */
    border-radius: 0.3125rem; /* 5px converted to rem */
    transition: 0.3s;
    color: #ffffff;
    text-shadow: 0.125rem 0.125rem #000000;
}
header .navbar-menu {
    flex-wrap: nowrap;
}

/* Styling the active navigation link */
header nav.navbar-menu a.active {
    background: #a71f1f;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
}

/* Styling the hover effect for navigation links */
header nav.navbar-menu a:hover {
    background: #a71f1f;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
    
}

/* Removing background from navigation links on hover */
header nav.navbar-menu:hover > a:not(:hover) {
    background: none;
    box-shadow: none;
}

/* Styling the mobile navigation */
nav.mobile {
    display: none; /* Hide the mobile navigation by default */
}

.menu {
    position: relative;
    z-index: 100000;
}

.toggle-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 100000;
}

.toggle-menu:hover {
    background: #a71f1f;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
}

.toggle-menu span {
    width: 1.875rem; /* 30px converted to rem */
    height: 0.0625rem; /* 1px converted to rem */
    background-color: #eaeaea;
    display: block;
    transition: all 0.3s ease;
    z-index: 100;
}


/* Adjusting font size for desktop screens */
@media only screen and (min-width: 992px) { 
    .Home .title {
        position: absolute;
        font-size: 3rem;
    }

}

@media only screen and (min-width: 768px) and (max-width: 1056px) { 
    /* Hide the desktop navigation and display the mobile navigation icon */
    header nav.desktop {
        display: none;
    }
    nav.mobile {
        display: flex;
    }
    .navbar-menu {
        display: none;
        flex-direction: column;
        justify-content: center; /* Center the items */
        background-color: rgba(0, 0, 0, 0.649);
        backdrop-filter: blur(0.625rem); /* 10px converted to rem */
        box-shadow: -0.625rem 0 0.625rem rgba(0, 0, 0, 0.1); /* 10px converted to rem */
        position: absolute;
        top: 5.9375rem; /* 95px converted to rem */
        left: 0;
        width: 100%;
        padding: 1.25rem; /* 20px converted to rem */
        text-align: center; /* Center the items */
        z-index: 9999;
    }
    .navbar-menu li {
        margin: 1.25rem 0; /* 20px converted to rem */
        z-index: 100000;
    }

    .navbar-menu.active {
        display: flex;
        z-index: 100000;
    }

    .toggle-menu {
        display: flex;
        z-index: 100000;
    }

    .toggle-menu span {
        width: 1.6875rem; /* 27px converted to rem */
        height: 0.1875rem; /* 3px converted to rem */
        margin: 0.1875rem; /* 3px converted to rem */
        background-color: #eaeaea;
        display: block;
        transition: all 0.3s ease;
        z-index: 1000000;
    }

    .toggle-menu.active span:first-child {
        transform: translateY(0.5625rem) rotate(45deg); /* 9px converted to rem */
    }

    .toggle-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .toggle-menu.active span:last-child {
        transform: translateY(-0.5625rem) rotate(-45deg); /* 9px converted to rem */
    }

    .Home .title {
        position: absolute;
        font-size: 2.5rem;
    }

    .content {
        padding-top: 5rem; /* 80px converted to rem */
    }

    .about-content {
        flex-direction: column-reverse;
    }
    
    .about-text {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .about-image {
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .about-image img {
        max-width: 100%; /* Set maximum width for the image */
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      
    }
}

@media only screen and (max-width: 767px) { 
    header nav.desktop {
        display: none;
    }
    nav.mobile {
        display: flex;
    }
    .navbar-menu {
        display: none;
        flex-direction: column;
        justify-content: center; /* Center the items */
        background-color: rgba(0, 0, 0, 0.649);
        backdrop-filter: blur(0.625rem); /* 10px converted to rem */
        box-shadow: -0.625rem 0 0.625rem rgba(0, 0, 0, 0.1); /* 10px converted to rem */
        position: absolute;
        top: 5.9375rem; /* 95px converted to rem */
        left: 0;
        width: 100%;
        padding: 1.25rem; /* 20px converted to rem */
        text-align: center; /* Center the items */
        z-index: 9999;
    }
    .navbar-menu li {
        margin: 1.25rem 0; /* 20px converted to rem */
        z-index: 100000;
    }

    .navbar-menu.active {
        display: flex;
        z-index: 100000;
    }

    .toggle-menu {
        display: flex;
        z-index: 100000;
    }

    .toggle-menu span {
        width: 1.6875rem; /* 27px converted to rem */
        height: 0.1875rem; /* 3px converted to rem */
        margin: 0.1875rem; /* 3px converted to rem */
        background-color: #eaeaea;
        display: block;
        transition: all 0.3s ease;
        z-index: 1000000;
    }

    .toggle-menu.active span:first-child {
        transform: translateY(0.5625rem) rotate(45deg); /* 9px converted to rem */
    }

    .toggle-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .toggle-menu.active span:last-child {
        transform: translateY(-0.5625rem) rotate(-45deg); /* 9px converted to rem */
    }

    .Home .title {
        position: absolute;
        font-size: 1rem;
    }

    
    .content {
        padding-top: 5rem; /* 80px converted to rem */
    }
    .about-content {
        flex-direction: column-reverse;
    }
    
    .about-text {
        width: 100%;
        margin-bottom: 20px;
        font-size: 0.8em;
    }
    
    .about-image {
        width: 100%;
    }
    .about-image img {
        max-width: 100%; /* Set maximum width for the image */
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
}

header nav a.active {
    background: #a71f1f;
}

header nav a:hover {
    background: #a71f1f;
}

header nav:hover > a:not(:hover) {
    background: none;
}

.Home {
    display: flex;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to top, #ffffff 30%, #d58b5c);
    position: relative;
}

.Home img {
    position: absolute;
    bottom: 0;
    width: 100%;
    pointer-events: none;
    object-fit: cover;
}

.Home .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.7), /* Add shadow */
                 0 0 0.625rem #ff0000, /* Add red glow effect */
                 0 0 1.25rem #ff0000, /* Increase the glow radius for a stronger effect */
                 0 0 1.875rem #ff0000; /* Increase the glow radius further for a more prominent effect */
}
.return-to-home {
    position: absolute;
    top: 1.25rem; /* 20px converted to rem */
    left: 1.25rem; /* 20px converted to rem */
    background-color: #a71f1f;
    color: white;
    padding: 0.5rem 1rem; /* 8px 16px converted to rem */
    border-radius: 0.3125rem; /* 5px converted to rem */
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3); /* Add shadow */
}

/* Additional styles for hover effect on "Return to Home" buttons */
.return-to-home:hover {
    background-color: #931f1f;
}

.About {
    padding: auto; /* 50px converted to rem */
    background-color: #931f1f;
    color: white;
    position: relative;
    z-index: 100;
}


/* Define keyframes for fade-in animation */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}


.About h1 {
    font-size: 2.5rem; /* 40px converted to rem */
    margin-top: 40px;
    margin-bottom: 10px;
    text-shadow: 0 0 5px #c19c5b, /* Add green glow effect */
    0 0 10px #c19c5b, /* Increase glow radius */
    0 0 15px #c19c5b; /* Further increase glow radius */
}

.container {
    width: 80%;
    /*max-width: 1200px;*/
    margin: 0 0;
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow items to wrap */
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Center items vertically */
}

.about-text {
    flex: 1 1 calc(60% - 20px); /* Adjust width of text content */
    padding-right: 0px;
    padding-bottom: 10px;
}

.about-image {
    flex: 1 1 calc(40% - 20px); /* Adjust width of image container */
    padding-top: 10px; /* Adjust padding for image container */
    display: flex; /* Add flex display */
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Center items vertically */
}

.about-image img {
    max-width: 60%; /* Set maximum width for the image */
    max-height: auto; /* Set maximum height for the image */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Additional styles for other elements */
.why-we-do h2 {
    color: #FF5F5F;
    font-size: 24px;
    margin-bottom: 10px;
}

.why-we-do p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-right: 0px;
}

.buttons {
    display: flex;
    margin-top: 40px; /* Adjust as needed */
    
}

/* Apply styles to jobseeker-link */
.jobseeker-link {
    background-color: #a71f1f; /* Background color */
    color: #ffffff; /* Text color */
    padding: 12px 24px; /* Padding */
    border-radius: 6px; /* Border radius */
    font-size: 18px; /* Font size */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s; /* Transition effect */
}

/* Apply styles on hover for jobseeker-link */
.jobseeker-link:hover {
    background-color: #931f1f; /* Darker background color on hover */
}

/* Apply styles to employer-link */
.employer-link {
    background-color: #ffffff; /* Background color */
    color: #a71f1f; /* Text color */
    border: 2px solid #a71f1f; /* Border */
    padding: 10px 24px; /* Padding */
    border-radius: 6px; /* Border radius */
    font-size: 18px; /* Font size */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* Transition effect */
}

/* Apply styles on hover for employer-link */
.employer-link:hover {
    background-color: #a71f1f; /* Background color on hover */
    color: #ffffff; /* Text color on hover */
}

.staff-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem; /* Add gap between staff members */
    padding: 3.125rem; /* Adjust padding as needed */
    background-image: linear-gradient(to bottom, #931f1f, #b8566c, #cb90af, #dcc9e0, #ffffff);
}

.staff-description {
    text-align: center;
    width: 100%;
    color: #ffffff;
}

.staff-member {
    width: 200px;
    text-align: center;
    margin-bottom: 2rem; /* Add margin between staff members */
}

.staff-section p{
    text-align: center;
    padding: 30px;
}

.staff-member img {
    width: 150px;
    height: 150px;
    border-radius: 30%; /* Make the image circular */
    object-fit: cover;
    border: 4px solid #fff; /* Add border around the image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
}



.Services {
    text-align: center; /* Center-align section content */
    padding: 3.125rem; /* Adjust padding as needed */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    cursor: pointer;
}

.Services h2 {
    font-size: 36px; /* Adjust heading size as needed */
    margin-bottom: 2rem; /* Adjust margin bottom as needed */
}

.service-container {
    display: flex;
    flex-wrap: wrap; /* Allow services to wrap to the next line */
    justify-content: center; /* Center services horizontally */
    gap: 2rem; /* Adjust gap between services as needed */
}

.service {
    flex: 1 1 300px; /* Adjust width of services */
    max-width: 300px; /* Max width of services */
    padding: 1.25rem; /* Adjust padding as needed */
    background-color: #f0f0f0; /* Background color of services */
    border-radius: 10px; /* Add border radius for rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
    transition: box-shadow 0.3s ease; /* Add transition effect */
}

.service:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
    transform: scale(1.05); /* Increase the size by 5% */
}

.service img {
    width: 80px; /* Adjust icon size as needed */
    height: 80px; /* Adjust icon size as needed */
    margin-bottom: 1rem; /* Adjust margin as needed */
}

.service h3 {
    font-size: 24px; /* Adjust heading size as needed */
    margin-bottom: 0.5rem; /* Adjust margin as needed */
}

.service p {
    font-size: 16px; /* Adjust text size as needed */
    color: #666; /* Adjust text color as needed */
}

.ContactUs {
    padding: 3.125rem; /* 50px converted to rem */
    background-image: linear-gradient(to top, #ffffff, #b9b9b9, #777777, #3b3b3b, #000000);
    backdrop-filter: blur(0.3125rem); /* 5px converted to rem */ /* Apply blur effect */
    display: flex;
    justify-content: center;
    align-items: center; 
}

.contact-container {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    gap: 1.25rem; /* Add gap between items */
    max-width: 50rem; /* 800px converted to rem */ /* Limit maximum width */
}

.contact-column {
    flex: 1; /* Take equal space */
}

.contact-form,
.contact-details,
.social-media,
.map-container {
    background-color: #ffffff;
    padding: 1.25rem; /* 20px converted to rem */
    border-radius: 0.625rem; /* 10px converted to rem */
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1); /* Add shadow for depth */
    margin-bottom: 1.5rem; /* Add margin to the bottom */
}

.contact-form h2,
.contact-details h3,
.social-media h3,
.map-container h3 {
    margin-bottom: 0.625rem; /* 10px converted to rem */
}

.contact-form label,
.contact-form input,
.contact-form textarea,
.contact-form button {
    margin-bottom: 0.625rem; /* 10px converted to rem */
    width: 100%; /* Make inputs fill the width */
}

.contact-form input,
.contact-form textarea {
    padding: 0.5rem;
    border: 0.0625rem solid #ccc; /* 1px converted to rem */
    border-radius: 0.3125rem; /* 5px converted to rem */
    width: 100%; /* Make inputs fill the width */
}

.contact-form button {
    padding: 0.625rem; /* 10px converted to rem */
    background-color: #a71f1f;
    color: white;
    border: none;
    border-radius: 0.3125rem; /* 5px converted to rem */
    cursor: pointer;
    transition: background-color 0.3s ease; /* Add transition */
}

.contact-form button:hover {
    background-color: #931f1f;
}

.social-button {
    display: flex; /* Use flexbox */
    align-items: center; /* Align items vertically */
    padding: 0.5rem 1rem; /* 8px 16px converted to rem */
    background-color: #ffffff;
    color: #333333; /* Text color */
    text-decoration: none;
    border-radius: 0.3125rem; /* 5px converted to rem */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-button img {
    width: 20%;
    height: auto;
    margin-right: 0.625rem; /* 10px converted to rem */ /* Add margin between image and text */
}

.social-button:hover {
    transform: scale(1.1);
}

.map-container {
    width: 100%; /* Adjust width */
    margin-top: 1.25rem; /* 20px converted to rem */
    border-radius: 0.625rem; /* 10px converted to rem */
    overflow: hidden; /* Hide overflow */
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1); /* Add shadow for depth */
}

.map-container iframe {
    width: 100%; /* Make iframe fill container */
    height: 300px; /* Set height of iframe */
    border: none; /* Remove border */
}