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

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: white;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #004080;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #004080;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    transition: color 0.3s, transform 0.2s;
}

nav ul li a:hover {
    color: #e60000;
    transform: scale(1.1);
}

.cta-button {
    background-color: #e60000;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 20px;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #cc0000;
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    color: #004080;
    transition: color 0.3s ease;
}

/* Hero Section */
.hero {
    background-image: url('../images/elderly-care3.jpg');
    /* Replace with your own image */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    /* Adjust padding for better spacing */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    /* Full viewport height */
    position: relative;
}

.hero-content {
    z-index: 1;
    /* Ensure the content is above the image */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    /* Optional: makes text stand out more */
    max-width: 800px;
    /* Limits the width of the content */
    padding: 20px;
}

.hero h1 {
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1;
}

.hero p {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 30px;
}

.cta-button-hero {
    background-color: #e60000;
    color: white;
    padding: 15px 25px;
    font-size: 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button-hero:hover {
    background-color: #cc0000;
}

/* Homecare Services Section */
.homecare-services {
    text-align: center;
    padding: 60px 20px;
    background-color: white;
}

.homecare-services h2 {
    font-size: 32px;
    color: #004080;
    font-weight: 600;
}

.homecare-services p {
    font-size: 18px;
    max-width: 700px;
    margin: 10px auto;
    color: #333;
}

/* Meaningful Days Section */
.meaningful-days {
    background-color: #f5f5f5;
    /* Light gray background */
    padding: 60px 20px;
}

.meaningful-days .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.image-content {
    flex: 1;
    padding-right: 20px;
}

.image-content img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.text-content {
    flex: 1;
    padding-left: 20px;
}

.text-content h2 {
    font-size: 28px;
    color: #004080;
    font-weight: 600;
}

.text-content p {
    font-size: 18px;
    color: #333;
}


/* Our Services Section */
.our-services {
    padding: 50px 20px;
    text-align: center;
    background-color: #f8f9fa;
}

.services-header {
    margin-bottom: 40px;
}

.services-header h2 {
    font-size: 36px;
    font-weight: 600;
    color: #004080;
}

.services-header p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

/* CTA Button */
.cta-service-container {
    margin-top: 10px;
}

.cta-service-button {
    background-color: #e60000;
    color: white;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.cta-service-button:hover {
    background-color: #cc0000;
}

.cta-service-subtext {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item i {
    font-size: 40px;
    color: #e60000;
    margin-bottom: 10px;
}

.service-item h3 {
    font-size: 20px;
    color: #333;
}

.service-item:hover {
    transform: translateY(-5px);
}

/* Explore More Button */
.services-footer {
    margin-top: 40px;
}

.explore-button {
    background-color: #004080;
    color: white;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.explore-button:hover {
    background-color: #002060;
}


/* Staffing Solutions Section */
.staffing-solutions {
    background-color: white;
    /* Light background */
    padding: 50px 20px;
    text-align: center;
}

.staffing-solutions .container {
    max-width: 1200px;
    margin: auto;
}

.staffing-solutions h2 {
    font-size: 32px;
    color: #004080;
    font-weight: 600;
}

.staffing-solutions p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 30px;
}

.staff-head-p {
    font-size: 18px;
    color: #555 !important;
    padding-bottom: 10px;
}

/* Staff Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Staff Cards */
.staff-card {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card i {
    font-size: 70px;
    margin-bottom: 15px;
    margin-top: 10px;
}

/* Individual Card Colors */
.staff-rn {
    background-color: #ff6b6b;
    /* Red */
}

.staff-lpn {
    background-color: #1e90ff;
    /* Blue */
}

.staff-cca {
    background-color: #28a745;
    /* Green */
}

.staff-support {
    background-color: #f39c12;
    /* Orange */
}

/* Hover Effect */
.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}


/* Careers Call-to-Action Section */
.careers-cta {
    background-color: #ffe5cc;
    /* Light orange background */
    padding: 50px 20px;
    text-align: center;
}

.careers-cta .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
    gap: 20px;
}

/* Text Content */
.careers-cta-content {
    flex: 1;
    text-align: left;
    min-width: 300px;
}

.careers-cta-content h2 {
    font-size: 28px;
    color: #d35400;
    /* Deeper orange for contrast */
    font-weight: 600;
}

.careers-cta-content p {
    font-size: 18px;
    color: #444;
    margin-top: 10px;
}

/* Apply Button */
.careers-cta-button {
    background-color: #e60000;
    /* Red button */
    color: white;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.careers-cta-button:hover {
    background-color: #cc0000;
    /* Darker red on hover */
}


/* Prefooter Section */
.prefooter {
    background-color: #d7ecff;
    /* Light blue background */
    padding: 50px 20px;
}

.prefooter .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    gap: 30px;
}

/* Prefooter Items */
.prefooter-item {
    flex: 1;
    min-width: 250px;
}

/* Logo Styling */
.footer-logo {
    width: 250px;
    margin-bottom: 15px;
}

/* Quick Links */
.prefooter-item h3 {
    font-size: 18px;
    color: #004080;
    margin-bottom: 15px;
}

.prefooter-item ul {
    list-style: none;
    padding: 0;
}

.prefooter-item ul li {
    margin-bottom: 8px;
}

.prefooter-item ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.prefooter-item ul li a:hover {
    color: #e60000;
}

/* Contact Info */
.prefooter-item p {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.prefooter-item i {
    color: #004080;
    margin-right: 8px;
}


/* Footer */
footer {
    background-color: #002060;
    color: white;
    padding: 20px 0;
    font-size: 14px;
}

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

/* Copyright Text */
.copyright {
    font-size: 14px;
    color: #ddd;
}

/* Social Media Icons */
.social-media a {
    color: white;
    font-size: 18px;
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #e60000;
    /* Change color on hover */
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }

    .social-media {
        margin-top: 10px;
    }

    .social-media a {
        margin: 0 10px;
    }
}

@media screen and (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Styles */
@media screen and (max-width: 920px) {
    header {
        flex-direction: row;
        /* Align items in a row */
        justify-content: space-between;
        /* Space out items */
        align-items: center;
        /* Center items vertically */
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo {
        margin-right: 20px;
    }

    .menu-toggle {
        display: block;
        /* Show the hamburger icon on mobile */
        margin-left: auto;
        /* Position it at the far right */
    }

    nav ul {
        display: none;
        /* Hide the menu by default */
        flex-direction: column;
        /* Stack items vertically when active */
        align-items: center;
        /* Center items horizontally */
        width: 100%;
        /* Full width for mobile dropdown */
        padding: 0;
        margin: 0;
        background-color: white;
        /* Set a background for the dropdown */
        position: absolute;
        top: 78px;
        /* Adjust based on header height */
        left: 0;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        /* Optional: Add a subtle shadow */
        z-index: 999;
        /* Ensure it stays above other content */
    }

    nav ul.active {
        display: flex;
        /* Show the menu when it's active */
    }

    nav ul li {
        margin: 10px 0;
        /* Space out the items vertically */
    }

    nav ul li a {
        font-size: 18px;
        padding: 10px 15px;
        text-align: center;
        color: #004080;
        text-decoration: none;
        font-weight: 500;
        width: 100%;
        /* Make the menu items fill the width */
        transition: color 0.3s, background-color 0.3s;
    }

    nav ul li a:hover {
        background-color: #e60000;
        color: white;
    }

    .cta-button {
        font-size: 13px;
        padding: 7px 14px;
        margin-left: 20px;
    }

    /* Adjust Logo size on mobile */
    .logo img {
        height: 40px;
    }

    .hero h1 {
        font-size: 32px;
        /* Smaller font on mobile */
    }

    .hero p {
        font-size: 18px;
        /* Smaller font on mobile */
    }

    .cta-button-hero {
        font-size: 16px;
        /* Smaller button on mobile */
        padding: 12px 20px;
        /* Adjust button size */
    }

    .meaningful-days .container {
        flex-direction: column;
        text-align: center;
    }

    .image-content {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .text-content {
        padding-left: 0;
    }

    .prefooter .container {
        flex-direction: column;
        /* text-align: center; */
    }

    .prefooter-item {
        margin-bottom: 20px;
    }

    .prefooter-item ul {
        display: inline-block;
        text-align: left;
    }
}



/* ===========================
   CONTACT PAGE STYLES (Responsive Fixed)
=========================== */
.contact-hero {
    background-image: url('../images/elderly-care.jpg');
    background-size: cover;
    background-position: center;
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.contact-section {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
}

.contact-section h2 {
    color: #004080;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-intro {
    color: #555;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.contact-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    text-align: left;
    transition: box-shadow 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #004080;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #004080;
    box-shadow: 0 0 0 3px rgba(0, 64, 128, 0.1);
    outline: none;
}

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

.contact-form .captcha-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.contact-form .captcha-box img {
    border: 1px solid #ccc;
    border-radius: 6px;
    height: 45px;
}

.contact-form button {
    background-color: #004080;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.contact-form button:hover {
    background-color: #003366;
}

.contact-info {
    flex: 1;
    background-color: #d7ecff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    text-align: left;
    min-width: 250px;
}

.contact-info h3 {
    color: #004080;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.5;
}

.contact-info i {
    color: #e60000;
    margin-right: 10px;
    font-size: 18px;
}

.contact-info a {
    color: #004080;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #002d5a;
    text-decoration: underline;
}

/* ===========================
   RESPONSIVE FIXES
=========================== */
@media screen and (max-width: 992px) {
    .contact-section {
        padding: 60px 15px;
    }
    .contact-grid {
        gap: 35px;
    }
}

@media screen and (max-width: 768px) {
    .contact-grid {
        flex-direction: column;
        gap: 25px;
        align-items: stretch;
    }

    .contact-form, 
    .contact-info {
        flex: none;
        width: 100%;
        min-width: auto;
        box-sizing: border-box;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .contact-info {
        padding: 25px 20px;
    }

    .contact-form .form-row {
        flex-direction: column;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .contact-section {
        padding: 50px 15px;
    }

    .contact-section h2 {
        font-size: 26px;
    }

    .contact-intro {
        font-size: 15px;
        margin-bottom: 35px;
    }

    .contact-form {
        padding: 20px 15px;
    }

    .contact-info {
        padding: 20px 15px;
    }
}


/* ===========================
   ALERTS
=========================== */
.alert {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 6px;
    font-weight: 500;
}
.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}



