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

html {
    scroll-behavior: smooth;
    font-size: 18px; /* Larger base font size for seniors */
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #2d2d2d;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2d2d2d;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Links */
a {
    color: #4F46E5;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    min-width: 160px;
}

.btn-primary {
    background-color: #4F46E5;
    color: #ffffff;
    border-color: #4F46E5;
}

.btn-primary:hover {
    background-color: #3730A3;
    border-color: #3730A3;
    text-decoration: none;
}

.btn-secondary {
    background-color: #FFF8DC;
    color: #4F46E5;
    border-color: #4F46E5;
}

.btn-secondary:hover {
    background-color: #4F46E5;
    color: #ffffff;
    text-decoration: none;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.3rem;
}

/* Header */
.header {
    background-color: #ffffff;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: #4F46E5;
    margin: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FFF8DC 0%, #F8F5F0 100%);
    padding: 4rem 0;
    overflow: hidden;
}

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

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 3rem;
    color: #4F46E5;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #5A5A5A;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image .rounded-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.15);
}

.image-placeholder {
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    color: #666;
    font-size: 1rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section Titles */
.section-title {
    text-align: center;
    color: #4F46E5;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.about-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: #FFF8DC;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F8F5F0 0%, #FFF8DC 100%);
}

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

.service-card {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
}

.service-card:hover {
    border-color: #4F46E5;
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: #ffffff;
}

.features-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background-color: #FFF8DC;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.05);
}

.feature-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.feature-text h3 {
    margin-bottom: 0.5rem;
    color: #4F46E5;
}

/* Workshops Section */
.workshops {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F8F5F0 0%, #FFF8DC 100%);
}

.workshop-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.workshop-text h2 {
    color: #4F46E5;
    margin-bottom: 1.5rem;
}

.workshop-benefits {
    list-style: none;
    margin: 2rem 0;
}

.workshop-benefits li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.workshop-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4F46E5;
    font-weight: bold;
    font-size: 1.3rem;
}

/* Caregivers Section */
.caregivers {
    padding: 4rem 0;
    background-color: #ffffff;
}

.caregiver-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.caregiver-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: #FFF8DC;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
    border: 2px solid transparent;
}

.caregiver-card:hover {
    border-color: #4F46E5;
}

.caregiver-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

/* Products Section */
.products {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F8F5F0 0%, #FFF8DC 100%);
}

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

.product-card {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    position: relative;
}

.product-card.featured {
    border-color: #4F46E5;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4F46E5;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-card h3 {
    color: #4F46E5;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4F46E5;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.product-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.product-features li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4F46E5;
    font-weight: bold;
}

.product-features li:last-child {
    border-bottom: none;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: #ffffff;
}

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

.testimonial-card {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    background-color: #FFF8DC;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
    align-items: center;
}

.testimonial-image {
    flex-shrink: 0;
}

.testimonial-image .image-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    min-height: auto;
    font-size: 0.8rem;
}

.testimonial-text p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-text cite {
    color: #4F46E5;
    font-weight: 600;
    font-style: normal;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F8F5F0 0%, #FFF8DC 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.contact-item h3 {
    color: #4F46E5;
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-item small {
    color: #666;
    font-size: 1rem;
}

.contact-cta {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-cta h3 {
    color: #4F46E5;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: #4F46E5;
    color: #ffffff;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand-text h3 {
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.footer-brand-text p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.footer-logo {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
    font-size: 1rem;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-info p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* Rounded Image Styling */
.rounded-image {
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-content {
        max-width: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-grid,
    .services-grid,
    .caregiver-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .workshop-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .footer-brand {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        align-items: center;
        text-align: center;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn {
        width: auto;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .footer {
        padding: 2rem 0;
    }
}