/*
Theme Name: MetroCare
Theme URI: https://metrocarestaffing.net
Author: MetroCare Staffing LLC
Author URI: https://metrocarestaffing.net
Description: A professional healthcare theme for MetroCare Staffing LLC, providing elderly care services in Kansas City, MO
Template: astra
Version: 1.0
*/

/* MetroCare Staffing LLC - COMPACT Main Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
header {
    background: linear-gradient(135deg, #2c5f7c 0%, #4a8fb5 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: fadeInUp 0.8s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    animation: fadeInLeft 0.8s ease;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    animation: fadeInLeft 1s ease;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
    animation: fadeInLeft 1.2s ease;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    animation: fadeInRight 1s ease;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: white;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    opacity: 0.8;
}

/* Hero Section - EXTRA COMPACT */
.hero {
    background: linear-gradient(rgba(44, 95, 124, 0.7), rgba(74, 143, 181, 0.7)), 
                url('https://images.unsplash.com/photo-1576765608535-5f04d1e3f289?w=1200&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.5s both;
}

.badges {
    animation: fadeInUp 1s ease 0.7s both;
}

/* Page Header - EXTRA COMPACT */
.page-header {
    background: linear-gradient(135deg, #2c5f7c 0%, #4a8fb5 100%);
    color: white;
    padding: 40px 0 30px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: #f39c12;
    color: white;
    padding: 12px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Sections - EXTRA COMPACT */
.section {
    padding: 20px 0;
}

.section:nth-child(even) {
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #2c5f7c;
    margin-bottom: 1rem;
}

/* Services Grid - EXTRA COMPACT */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 1rem;
}

.service-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-card h3 {
    color: #2c5f7c;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.service-card ul {
    padding-left: 20px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mission/Goal - EXTRA COMPACT */
.mission-goal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 1rem;
}

.info-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #4a8fb5;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
}

.info-box:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.info-box h3 {
    color: #2c5f7c;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.info-box p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Image Gallery - EXTRA COMPACT */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 1rem;
}

.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 180px;
    transition: transform 0.5s ease;
}

.image-card:hover {
    transform: scale(1.05);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 95, 124, 0.9), transparent);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-card:hover .image-overlay {
    transform: translateY(0);
}

/* Contact Info - EXTRA COMPACT */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 1.5rem;
}

.contact-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-card h3 {
    color: #2c5f7c;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.contact-card p {
    font-size: 1rem;
    color: #555;
}

.contact-card a {
    color: #4a8fb5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #2c5f7c;
}

/* Forms - EXTRA COMPACT */
form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 12px;
}

label {
    display: block;
    margin-bottom: 6px;
    color: #2c5f7c;
    font-weight: 600;
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #4a8fb5;
    transform: scale(1.02);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button,
input[type="submit"] {
    background: #4a8fb5;
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

button:hover,
input[type="submit"]:hover {
    background: #2c5f7c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: #2c5f7c;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: white;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.8;
}

footer p {
    font-size: 0.95rem;
    margin: 5px 0;
}

/* Badge */
.badge {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 10px 5px;
    animation: float 3s ease-in-out infinite;
}

.badge:nth-child(2) {
    animation-delay: 0.5s;
}

.badge:nth-child(3) {
    animation-delay: 1s;
}

/* Stats Section - EXTRA COMPACT */
.stats-section {
    background: linear-gradient(135deg, #2c5f7c 0%, #4a8fb5 100%);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.stat-item {
    animation: fadeInUp 1s ease;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Page Content */
.page-content {
    font-size: 0.95rem;
    line-height: 1.7;
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content h2 {
    color: #2c5f7c;
    font-size: 1.8rem;
    margin: 1.5rem 0 1rem;
}

.page-content h3 {
    color: #2c5f7c;
    font-size: 1.4rem;
    margin: 1.2rem 0 0.8rem;
}

/* WordPress Specific */
.alignleft {
    float: left;
    margin: 0 1.5em 1em 0;
}

.alignright {
    float: right;
    margin: 0 0 1em 1.5em;
}

.aligncenter {
    display: block;
    margin: 0 auto 1em;
}

/* Responsive - EXTRA COMPACT */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }
    
    .page-header {
        padding: 30px 0 20px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .header-content {
        text-align: center;
        justify-content: center;
    }
    
    .logo {
        flex-direction: column;
    }
    
    .section {
        padding: 20px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}