/* Caretaker Page Specific Styles */

/* Caretaker Hero Section */
.caretaker-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff3e8 100%);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.caretaker-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111827;
    position: relative;
    z-index: 1;
}

.caretaker-hero .highlight {
    color: #ff7a00;
}

.caretaker-hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Hero Animation */
.hero-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-animation-element {
    position: absolute;
    color: #ffb366;
    opacity: 0.15;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    animation: floatAround 20s linear infinite;
    z-index: 0;
}

.hero-animation-element.element-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.hero-animation-element.element-2 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 22s;
}

.hero-animation-element.element-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: 4s;
    animation-duration: 28s;
}

.hero-animation-element.element-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 6s;
    animation-duration: 24s;
}

@keyframes floatAround {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(100px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(50px, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Caretaker Services Section */
.caretaker-services {
    padding: 60px 0 80px;
    background: #ffffff;
}

.caretaker-services h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #111827;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.caretaker-services h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ff7a00;
    border-radius: 3px;
}

.process-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 0 20px;
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #f9fafb;
    border-radius: 15px;
    overflow: hidden;
    padding: 40px 30px 30px;
    text-align: center;
    border: 2px solid #ffedd5;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 122, 0, 0.15);
    border-color: #ff7a00;
}

.service-icon {
    font-size: 2.5rem;
    color: #ff7a00;
    margin-bottom: 20px;
    background: #fff3e8;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    border: 4px solid white;
}

.service-card h3 {
    color: #111827;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    flex-grow: 1;
}

.service-features li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-features li::before {
    content: "✓";
    color: #ff7a00;
    position: absolute;
    left: 0;
    font-weight: bold;
    background: #fff3e8;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.book-btn {
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Specialized Care Section */
.specialized-care {
    padding: 80px 0;
    background: #f9fafb;
}

.specialized-care h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #111827;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.specialized-care h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ff7a00;
    border-radius: 3px;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.care-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.care-card:hover {
    transform: translateY(-5px);
    border-color: #ff7a00;
    box-shadow: 0 10px 20px rgba(255, 122, 0, 0.1);
}

.care-icon {
    width: 60px;
    height: 60px;
    background: #fff3e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #ff7a00;
}

.care-card h3 {
    color: #111827;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.care-card p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Caretaker Benefits Section */
.caretaker-benefits {
    padding: 80px 0;
    background: #ffffff;
}

.caretaker-benefits h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #111827;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.caretaker-benefits h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ff7a00;
    border-radius: 3px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.benefit-item {
    background: #f9fafb;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #ffedd5;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: #ff7a00;
    background: #fff3e8;
    transform: translateY(-5px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: #fff3e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #ff7a00;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background: white;
    transform: scale(1.1);
}

.benefit-item h3 {
    color: #111827;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit-item p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Call to Action Section */
.caretaker-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff7a00 0%, #e66e00 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.caretaker-cta h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.caretaker-cta p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
}

.btn-outline-white:hover {
    background: white;
    color: #ff7a00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.cta-buttons .btn-whatsapp {
    background: #25D366;
    border: 2px solid #25D366;
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
}

.cta-buttons .btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Animation for CTA */
.cta-buttons .btn, 
.cta-buttons .btn-outline-white, 
.cta-buttons .btn-whatsapp {
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn::after,
.cta-buttons .btn-outline-white::after,
.cta-buttons .btn-whatsapp::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-buttons .btn:hover::after,
.cta-buttons .btn-outline-white:hover::after,
.cta-buttons .btn-whatsapp:hover::after {
    width: 300px;
    height: 300px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .caretaker-hero {
        padding: 80px 0 40px;
    }
    
    .caretaker-services, 
    .specialized-care,
    .caretaker-benefits {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .care-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-outline-white, 
    .btn.primary, 
    .btn-whatsapp {
        width: 100%;
        max-width: 300px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .caretaker-hero {
        padding: 70px 0 30px;
    }
    
    .caretaker-cta {
        padding: 60px 0;
    }
    
    .care-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .service-features {
        padding: 0 10px;
    }
    
    .hero-animation-element {
        font-size: 1.2rem;
    }
    
    .service-card {
        padding: 25px 15px;
    }
}

/* Animation for service cards */
.service-card,
.care-card,
.benefit-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible,
.care-card.visible,
.benefit-item.visible {
    opacity: 1;
    transform: translateY(0);
}