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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: white;
    background-color: #1e40af;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-logo h1 {
    color: #1e40af;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.logo-subheader {
    color: #1e40af;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.logo-image {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f59e0b;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1e40af;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #4a5568;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.6) 0%, rgba(245, 158, 11, 0.6) 100%), url('images/SEEMA LOGO.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fbbf24;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #fbbf24;
}

.hero-slogan {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: #1e40af;
}

.btn-primary:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #1e40af;
}

.hero-main-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f59e0b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Section Headers */
.services-section-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f59e0b;
    margin: 0;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.join-team-header {
    margin-top: 3rem;
    margin-bottom: 2rem;
    color: #fbbf24;
    font-size: 2rem;
    font-weight: 600;
}

/* Collapsible Sections */
.collapsible-section {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1) !important;
    transition: background-color 0.3s ease;
    pointer-events: auto;
    user-select: none;
    position: relative;
    z-index: 10;
}

.collapsible-header:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.collapsible-header h3 {
    margin: 0;
    color: #fbbf24;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 40px);
}

/* Careers section specific overrides */
.careers-content .careers-info .collapsible-header h3 {
    max-width: none !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

.collapsible-icon {
    color: white;
    font-size: 0.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.collapsible-section.active .collapsible-icon {
    transform: rotate(45deg);
}

.collapsible-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.collapsible-section.active .collapsible-content {
    padding: 1.5rem;
    max-height: 2000px;
}

.collapsible-content p,
.collapsible-content ul {
    color: white;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.collapsible-content ul {
    margin-left: 1.5rem;
}

.collapsible-content h4 {
    color: #fbbf24;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Job Postings */
.job-posting {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.job-posting h4 {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.job-posting p {
    color: white;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.job-requirements {
    margin-top: 1rem;
}

.job-requirements h5 {
    color: #fbbf24;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.job-requirements ul {
    margin: 0;
    padding-left: 1.5rem;
}

.job-requirements li {
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.caregivers-section-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #1e40af;
}

.testimonials-section {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.testimonials-section-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f59e0b;
    margin: 0;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    justify-self: end;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Caregivers Section */
.caregivers {
    padding: 80px 0;
    background: #1e40af;
}

.caregivers-content {
    margin-top: 3rem;
    text-align: center;
}

.caregivers-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.caregivers-section {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.caregivers-section-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 4px solid #f59e0b;
    margin: 0;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    justify-self: start;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 1rem;
    text-align: left;
}

.section-header p {
    font-size: 1.125rem;
    color: white;
    max-width: 600px;
    margin: 0 0 1rem 0;
    text-align: left;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #1e40af;
}

.services-intro {
    max-width: 800px;
    margin: 0 0 3rem 0;
    text-align: left;
}

.services-intro p {
    color: white;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.services-intro h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fbbf24;
    margin: 2rem 0 1rem 0;
}

.services-intro ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem 0;
}

.services-intro li {
    color: white;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.services-intro li::before {
    content: "•";
    color: #f59e0b;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.services-intro h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fbbf24;
    margin: 2rem 0 1rem 0;
}

.services-intro h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fbbf24;
    margin: 1.5rem 0 1rem 0;
}

.services-intro h5 {
    font-size: 1rem;
    font-weight: 500;
    color: #fbbf24;
    margin: 1rem 0 0.5rem 0;
}

.benefits-section {
    max-width: 800px;
    margin: 0 0 0 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.benefits-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 1.5rem;
}

.benefits-section h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fbbf24;
    margin: 1rem 0 1rem 0;
}

.benefits-section h5 {
    font-size: 1rem;
    font-weight: 500;
    color: #fbbf24;
    margin: 1rem 0 0.5rem 0;
}

.benefits-section h5:last-of-type {
    margin-bottom: 3rem;
}

.benefits-section h5:last-of-type + p {
    margin-bottom: 5rem;
}

.benefits-section p {
    color: white;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.benefits-section h3:last-child {
    margin-bottom: 1rem;
}

.benefits-section h3:not(:last-child) {
    margin-bottom: 2rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.contact-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.contact-info p {
    color: white;
    margin-bottom: 0.5rem;
}

.services-intro p:last-child {
    margin-bottom: 0;
}

.services-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin-top: 3rem;
    gap: 2rem;
}

.services-image {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 2rem;
}

.services-list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    min-width: 0;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border-left: 4px solid #f59e0b;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    min-height: 80px;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fbbf24;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.service-details {
    max-height: 0;
    opacity: 0;
    overflow-y: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.service-details p {
    color: white;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.service-details p em {
    font-size: 0.85rem;
    color: #fbbf24;
    font-style: italic;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details li {
    color: white;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.service-details li::before {
    content: "•";
    color: #f59e0b;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-details li em {
    font-size: 0.85rem;
    color: #fbbf24;
    font-style: italic;
}

.service-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
    border-left-color: #fbbf24;
    min-height: auto;
}

.service-item:hover .service-header {
    margin-bottom: 1rem;
}

.service-item:hover .service-header h3 {
    color: #fbbf24;
    font-size: 1.1rem;
}

.service-item:hover .service-details {
    max-height: 300px;
    opacity: 1;
    margin-top: 1rem;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item[data-service="housekeeping"] {
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e40af 0%, #f59e0b 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.service-card p {
    color: white;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    position: relative;
    display: block;
}

.about-text {
    max-width: 100%;
}

.about-image {
    position: relative;
    float: right;
    margin-left: 3rem;
    margin-bottom: 2rem;
    width: 400px;
    height: 400px;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: white;
    margin: 0;
}

.about-main-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f59e0b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Caregivers Section */
.caregivers {
    padding: 80px 0;
    background: #1e40af;
}

.caregivers-content {
    margin-top: 3rem;
    text-align: center;
}

.caregivers-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #1e40af;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: #1e40af;
    opacity: 0.2;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: white;
    line-height: 1.6;
}

.author-info h4 {
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: white;
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    background: linear-gradient(135deg, #1e40af 0%, #f59e0b 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details h4 {
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: white;
    margin: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fbbf24;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: #fbbf24;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #fbbf24;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(30, 64, 175, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 3rem 0;
        z-index: 999;
        backdrop-filter: blur(10px);
        border-bottom: 2px solid rgba(245, 158, 11, 0.3);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu.active .nav-link {
        color: white;
        font-size: 1.2rem;
        font-weight: 600;
        padding: 1rem 2rem;
        display: block;
        transition: all 0.3s ease;
    }

    .nav-menu.active .nav-link:hover {
        color: #fbbf24;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        transform: translateX(10px);
    }

    .hero-container,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-slogan {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    .logo-image {
        height: 60px;
        width: 60px;
    }

    .nav-logo h1 {
        font-size: 1.2rem;
    }

    .logo-subheader {
        font-size: 0.75rem;
    }

    .nav-container {
        align-items: flex-start;
        padding-top: 0.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-main-image,
    .services-section-image,
    .about-main-image {
        width: 300px;
        height: 300px;
    }

    .caregivers-section-image,
    .testimonials-section-image {
        width: 300px;
        height: 300px;
    }

    .caregivers-section,
    .testimonials-section {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .services-grid,
    .testimonials-grid,
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        padding: 1.25rem;
        min-height: 70px;
    }
    
    .service-header h3 {
        font-size: 1.1rem;
    }
    
    .service-details li {
        font-size: 0.85rem;
    }
    
    .service-item:hover .service-details {
        max-height: 250px;
    }

    .services-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .services-image {
        flex: none;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-features {
        align-items: center;
    }

    .service-card,
    .testimonial-card {
        margin: 0 1rem;
    }

    .services-grid,
    .testimonials-grid {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-slogan {
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }

    .services,
    .about,
    .caregivers,
    .testimonials,
    .contact {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    .logo-image {
        height: 50px;
        width: 50px;
    }

    .nav-logo h1 {
        font-size: 1rem;
    }

    .logo-subheader {
        font-size: 0.65rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .hero-main-image,
    .services-section-image,
    .about-main-image {
        width: 250px;
        height: 250px;
    }

    .caregivers-section-image,
    .testimonials-section-image {
        width: 250px;
        height: 250px;
    }

    .service-card,
    .testimonial-card {
        margin: 0 0.5rem;
        padding: 1.5rem;
    }
}

/* FAQ Section Styles */
.faq {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-intro {
    text-align: left;
    margin-bottom: 40px;
    max-width: 800px;
}

.faq-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.category-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fbbf24;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-left: 15px;
}

.faq-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-toggle svg {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 25px;
}

.faq-item.open .faq-question {
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.open .faq-toggle svg {
    transform: rotate(180deg);
}

/* Responsive FAQ Styles */
@media (max-width: 768px) {
    .faq-categories {
        margin-bottom: 30px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 20px;
        font-size: 0.9rem;
    }
    
    .faq-toggle {
        margin-left: 10px;
        padding: 6px;
    }
    
    .faq-toggle svg {
        width: 18px;
        height: 18px;
    }
}

/* Careers Section */
.careers {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
}

.careers-intro {
    text-align: left;
    max-width: 800px;
    margin: 0 0 60px 0;
}

.careers-intro p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.careers-content {
    display: block;
    gap: 60px;
    margin-bottom: 80px;
    align-items: start;
}

.careers-image {
    position: sticky;
    top: 120px;
}

.careers-section-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.careers-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.why-work,
.responsibilities,
.qualifications,
.ideal-candidate {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.why-work h3,
.responsibilities h3,
.qualifications h3,
.ideal-candidate h3 {
    color: #fbbf24;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.why-work p,
.responsibilities p,
.qualifications p,
.ideal-candidate p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-item h4 {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.responsibilities ul,
.qualifications ul,
.ideal-candidate ul {
    list-style: none;
    padding: 0;
}

.responsibilities li,
.qualifications li,
.ideal-candidate li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.responsibilities li::before,
.qualifications li::before,
.ideal-candidate li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #fbbf24;
    font-weight: bold;
    font-size: 1.1rem;
}

.careers-application {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.careers-application h3 {
    color: #fbbf24;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.careers-contact-button {
    text-align: center;
    margin-top: 2rem;
}

.careers-application > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.job-postings {
    margin-bottom: 40px;
}

.job-posting {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-posting:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.job-posting h4 {
    color: #fbbf24;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.job-posting p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.job-requirements {
    margin-top: 20px;
}

.job-requirements h5 {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.job-requirements ul {
    list-style: none;
    padding: 0;
}

.job-requirements li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.job-requirements li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #fbbf24;
    font-weight: bold;
}

.application-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #fbbf24;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fbbf24;
    background: rgba(255, 255, 255, 0.15);
}

.form-group select option {
    background: #1e40af;
    color: white;
}

.form-group small {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    opacity: 0.7;
}

.careers-contact {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.careers-contact h3 {
    color: #fbbf24;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.careers-contact p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Careers Section Responsive */
@media (max-width: 992px) {
    .careers-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .careers-image {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .careers {
        padding: 100px 0 60px;
    }
    
    .why-work,
    .responsibilities,
    .qualifications,
    .ideal-candidate,
    .careers-application,
    .careers-contact {
        padding: 30px 20px;
    }
    
    .careers-application {
        padding: 30px 20px;
    }
    
    .careers-application h3 {
        font-size: 1.6rem;
    }
    
    .why-work h3,
    .responsibilities h3,
    .qualifications h3,
    .ideal-candidate h3 {
        font-size: 1.4rem;
    }
    
    .benefit-item {
        padding: 20px;
    }
    
    .job-posting {
        padding: 20px;
    }
    
    .job-posting h4 {
        font-size: 1.2rem;
    }
}

/* Why Families Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: #1e40af;
}

.why-choose-intro {
    max-width: 800px;
    margin: 0 0 3rem 0;
    text-align: left;
}

.why-choose-intro p {
    color: white;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.why-choose-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.reason-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.reason-item h1, .reason-item h2, .reason-item h3, .reason-item h4, .reason-item h5, .reason-item h6 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.reason-item p {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.reason-item p:last-child {
    margin-bottom: 0;
}

.why-choose-cta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.why-choose-cta h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 1.5rem;
}

.why-choose-cta p {
    color: white;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.why-choose-cta .contact-info {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.why-choose-cta .contact-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-buttons .btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 60px 0;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reason-item {
        padding: 1.5rem;
    }
    
    .why-choose-cta {
        padding: 2rem 1.5rem;
    }
    
    .why-choose-cta h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}
