/* Custom CSS for Accu Home Care Service */

/* Variables */
:root {
    --primary: #1a365d;
    --secondary: #2b6cb0;
    --accent: #f7fafc;
}

/* Base Styles */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #EFF6FF;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: auto;
    max-height: 2.5rem; /* Ensure the logo scales correctly for mobile */
    width: auto;
    object-fit: contain;
}

header .text-sm {
    font-size: 1.2rem; /* Ensure visibility on mobile */
}

@media (max-width: 768px) {
    .text-sm {
        font-size: 0.9rem; /* Slightly smaller text size for mobile */
    }
}

.logo:hover {
    transform: scale(1.03);
}

.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Styles */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
    display: flex;
}

/* Section Styles */
.section-heading {
    position: relative;
    padding-bottom: 1rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Policy Page Styles */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.policy-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary);
}

.policy-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1.25rem;
    color: var(--primary);
}

.policy-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.policy-content ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-content a {
    color: var(--secondary);
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background: #1e3a8a;
    color: white;
    padding: 3rem 0;
}

footer a:hover {
    color: #93c5fd;
}

/* Insurance Logos Section */
.insurance-logos {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.logo-wrapper {
    width: 100px; /* Consistent width */
    height: 50px; /* Consistent height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 4px;
    /*   background-color: white; */
   /*   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
}

.logo {
    width: auto;
    height: 100%;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-content h1 {
        font-size: 2rem;
    }
    
    .policy-content h2 {
        font-size: 1.5rem;
    }
    
    .policy-content h3 {
        font-size: 1.25rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 640px) {
    .logo-wrapper {
        height: 60px;
        width: 120px;
    }

    .insurance-logo {
        height: 3rem;
    }
}
