/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
    font-size: 1.1em; /* Slightly larger font size for mobile */
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #355035; /* Deep Green */
    padding: 15px 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: top 0.3s;
    border-radius: 0 0 20px 20px;
}

header.hidden {
    top: -100px; /* Hide header when scrolled down */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

nav {
    position: fixed;
    top: 0;
    right: -220px;
    width: 200px;
    height: 100%;
    background-color: #355035;
    padding-top: 70px;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

nav.active {
    right: 0;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Menu Animation */
.hamburger.active .hamburger-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 900;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}


/************************

-------INDEX STYLES-------

*************************/


/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    overflow: hidden;
    margin-top: 70px; /* Space for fixed header */
    padding: 20px;
}

.hero img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    filter: brightness(75%);
    transition: filter 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

.hero img:hover {
    transform: scale(1.02);
    filter: brightness(85%);

}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    word-wrap: break-word;
}

/* Main Sections */
.info-section {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
    margin: 20px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.info-section:nth-of-type(even) {
    background-color: #e8f5e9; /* Light Green Background */
}

.info-section h2 {
    font-size: 1.8em;
    color: #355035; /* Deep Green */
    margin-bottom: 20px;
    position: relative;
}

.info-section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #8B4513; /* Brown Accent */
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.info-section p,
.info-section ul {
    font-size: 1em;
    color: #555;
    max-width: 100%;
    margin: 10px auto;
    line-height: 1.8;
    padding: 0 10px;
}

.info-section ul {
    list-style-type: circle;
    padding-left: 20px;
    text-align: left;
}

.info-section blockquote {
    font-size: 1.3em;
    font-style: italic;
    color: #355035; /* Deep Green */
    margin: 30px auto;
    max-width: 90%;
    position: relative;
    padding: 20px 20px;
    background-color: #f0e6d2; /* Light Brown Background */
    border-left: 5px solid #8B4513; /* Brown Accent */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Staff Section */
.staff {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.staff img {
    border-radius: 50%;
    width: 145px;
    height: 145px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.staff img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.staff p {
    margin-top: 10px;
    font-weight: 600;
    color: #355035;
}

/* Quality Care Section */
#quality .quality-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#quality .text-content {
    text-align: left;
    margin-bottom: 20px;
}

#quality ul {
    list-style: none;
    padding-left: 0;
}

#quality ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

#quality ul li::before {
    content: '✔️';
    margin-right: 10px;
    color: #355035;
}

#quality .image-content {
    margin-bottom: 20px;
}

#quality .image-content img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg); /* Apply rotation */
    transition: transform 0.3s, box-shadow 0.3s;
}

#quality .image-content img:hover {
    transform: rotate(0deg) scale(1.05); /* Rotate back on hover */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Choose Hunsaker Section */
.choose-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.image-left,
.image-right {
    max-width: 90%;
    margin-bottom: 20px;
}

.image-left img,
.image-right img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 6px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.image-left img {
    transform: rotate(-5deg); /* Rotate left image */
}

.image-right img {
    transform: rotate(5deg); /* Rotate right image */
}

.image-left img:hover,
.image-right img:hover {
    transform: rotate(0deg) scale(1.05); /* Rotate back and scale up on hover */
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.text-block {
    max-width: 100%;
    margin: 0;
    text-align: left;
}

.choose-content p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.choose-content ol {
    list-style-type: decimal;
    padding-left: 20px;
    color: #555;
}

.choose-content ol li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.choose-content ol li ol {
    list-style-type: lower-alpha;
    padding-left: 20px;
    margin-top: 10px;
}

.choose-content ol li ol li {
    margin-bottom: 10px;
}

/* Jobs Section */
#jobs .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #355035; /* Deep Green */
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    border-radius: 25px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#jobs .btn:hover {
    background-color: #8B4513; /* Brown Accent */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    background-color: #355035; /* Deep Green */
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

footer p {
    margin-bottom: 10px;
    font-size: 1em;
}

/* Chat Button */
.chat-button {
    display: none;
    background-color: #8B4513; /* Brown Accent */
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 1.2em;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s, background-color 0.3s;
    z-index: 1000;
}

.chat-button:hover {
    background-color: #355035; /* Deep Green */
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Media Queries for Larger Screens */
@media (min-width: 768px) {
    body {
        font-size: 1em;
    }

    header {
        padding: 20px 40px;
    }

    .logo img {
        height: 50px;
    }

    nav {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        padding-top: 0;
        display: block;
    }

    nav ul {
        flex-direction: row;
        gap: 25px;
        padding-left: 0;
    }

    nav ul li a {
        font-size: 1.1em;
        color: #fff;
    }

    .hamburger {
        display: none;
    }

    .hero{
        margin-top: 90px !important;
    }

    .hero-text {
        font-size: 3rem;
    }

    .info-section {
        padding: 60px 20px;
        margin: 20px auto;
        border-radius: 30px;
        width: 100%;
        max-width: 1200px;
    }

    .info-section h2 {
        font-size: 2em;
    }

    .info-section blockquote {
        font-size: 1.5em;
    }

    .staff img {
        width: 150px;
        height: 150px;
    }

    /* Quality Care Section */
    #quality .quality-content {
        flex-direction: row;
        align-items: flex-start;
    }

    #quality .text-content {
        flex: 1;
        margin-right: 20px;
    }

    #quality .image-content {
        flex: 1;
        margin-bottom: 0;
    }

    /* Choose Hunsaker Section */
    .choose-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .image-left,
    .image-right {
        flex: 1;
        max-width: 200px;
        margin-bottom: 0;
    }

    .text-block {
        flex: 2;
        max-width: 600px;
        margin: 0 20px;
    }

    .image-left {
        align-self: flex-start;
    }

    .image-right {
        align-self: flex-end;
    }

    /* Footer */
    footer {
        padding: 20px 40px;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/************************
    JOBS PAGE STYLES
*************************/

/* Jobs Hero Section */
#jobs-hero {
    position: relative;
    text-align: center;
    overflow: hidden;
    margin-top: 60px; /* Offset for fixed header */
}

#jobs-hero img {
    width: 100%;
    height: 250px; /* Smaller banner height */
    object-fit: cover; /* Ensures proper aspect ratio */
    filter: brightness(75%);
    transition: transform 0.5s ease, filter 0.5s ease;
}

#jobs-hero img:hover {
    transform: scale(1.05);
    filter: brightness(85%);
}

#jobs-hero .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    max-width: 90%;
}

/* Two-Column Layout */
.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin: 40px auto;
    padding: 40px 20px; /* Add padding inside the section for spacing */
    max-width: 1200px; /* Limit the total width */
    background-color: #e8f5e9; /* Light green background color */
    border-radius: 15px; /* Optional: Match card border-radius */
}

.two-column .card {
    flex: 1 1 calc(50% - 20px); /* Two columns with equal width and spacing */
    background-color: #fff;
    border-radius: 15px;
    padding: 40px; /* Enhanced padding */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    min-height: 320px; /* Ensure consistent height */
    margin: 0 auto; /* Center-align cards when in one column */
}

/* Add hover effect for cards */
.two-column .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Media Query for Single Column on Smaller Screens */
@media (max-width: 768px) {
    .two-column {
        flex-direction: column; /* Switch to a single column layout */
        padding: 0 10px; /* Adjust padding for smaller screens */
    }

    .two-column .card {
        flex: 1 1 100%; /* Full width for each card */
        margin-bottom: 20px; /* Add spacing between cards */
    }
}

.two-column .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.two-column .card h2 {
    color: #355035; /* Deep Green */
    margin-bottom: 15px;
    text-align: center;
}

.two-column .card p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1rem;
}

/* Application Links */
.application-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: center;
}

.application-links .btn {
    padding: 10px 20px;
    background-color: #355035;
    color: #fff;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px; /* Limit the button width */
}

.application-links .btn:hover {
    background-color: #8B4513;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #jobs-hero .hero-text {
        font-size: 2rem;
    }

    .two-column {
        flex-direction: column; /* Single column on smaller screens */
        padding: 0 10px;
    }

    .two-column .card {
        flex: 1 1 100%; /* Full width on mobile */
    }

    .application-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Footer Adjustments for Jobs Page */
footer {
    background-color: #355035;
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    margin-top: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}