/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    color: #1a73e8;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: #1a73e8;
}

.navbar-nav .active .nav-link {
    color: #1a73e8;
}

/* Banner Styles */
.banner {
    background-image: url('../images/modern_20adult_20care_20center_20exterior_20with_2.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.banner p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.banner .btn-primary {
    background-color: #1a73e8;
    border-color: #1a73e8;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.banner .btn-primary:hover {
    background-color: #1557b0;
    border-color: #1557b0;
}

/* About Banner */
.about-banner {
    background-image: url('../images/compassionate_20caregivers_20helping_20elderly_20r.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.about-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.about-banner .banner-content {
    position: relative;
    z-index: 2;
}

/* Services Banner */
.services-banner {
    background-image: url('../images/senior_20care_20services_20concept_20with_20compas.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.services-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.services-banner .banner-content {
    position: relative;
    z-index: 2;
}

/* Team Banner */
.team-banner {
    background-image: url('../images/group_20of_20diverse_20caregivers_20smiling_20toge.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.team-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.team-banner .banner-content {
    position: relative;
    z-index: 2;
}

/* Contact Banner */
.contact-banner {
    background-image: url('../images/modern_20reception_20area_20of_20adult_20care_20ce.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.contact-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.contact-banner .banner-content {
    position: relative;
    z-index: 2;
}

/* Welcome Section */
.welcome {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.welcome h2 {
    margin-bottom: 20px;
    color: #1a73e8;
}

/* Services Preview */
.services-preview {
    padding: 60px 0;
}

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-card h4 {
    color: #1a73e8;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.testimonial-content {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-content h5 {
    color: #1a73e8;
    font-weight: 500;
}

/* About Content */
.about-content {
    padding: 60px 0;
}

.about-content h2 {
    color: #1a73e8;
    margin-bottom: 20px;
}

.about-content ul {
    list-style-type: none;
    padding-left: 0;
}

.about-content li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.about-content li::before {
    content: '•';
    color: #1a73e8;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.facility-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Our Story */
.our-story {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.our-story h2 {
    color: #1a73e8;
    margin-bottom: 20px;
}

/* Services Content */
.services-content {
    padding: 60px 0;
}

.services-content h2 {
    color: #1a73e8;
    margin-bottom: 20px;
    text-align: center;
}

.service-details {
    margin-bottom: 60px;
    align-items: center;
}

.service-detail-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.service-details h3 {
    color: #1a73e8;
    margin-bottom: 15px;
}

.service-details ul {
    list-style-type: none;
    padding-left: 0;
}

.service-details li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.service-details li::before {
    content: '•';
    color: #1a73e8;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Team Content */
.team-content {
    padding: 60px 0;
}

.team-content h2 {
    color: #1a73e8;
    margin-bottom: 40px;
}

.team-members {
    margin-bottom: 40px;
}

.team-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-card h3 {
    color: #1a73e8;
    margin-bottom: 5px;
}

.team-card h4 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

/* Contact Content */
.contact-content {
    padding: 60px 0;
}

.contact-content h2 {
    color: #1a73e8;
    margin-bottom: 20px;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-info h3 {
    color: #1a73e8;
    margin-bottom: 15px;
}

.hours-info h3 {
    color: #1a73e8;
    margin-bottom: 15px;
}

.contact-form {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #1a73e8;
    margin-bottom: 20px;
    text-align: center;
}

.contact-form .btn-primary {
    background-color: #1a73e8;
    border-color: #1a73e8;
    width: 100%;
    padding: 10px;
    font-weight: 500;
}

.contact-form .btn-primary:hover {
    background-color: #1557b0;
    border-color: #1557b0;
}

/* Footer */
.footer {
    background-color: #333;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer h4 {
    color: #1a73e8;
    margin-bottom: 20px;
}

.footer ul {
    list-style-type: none;
    padding-left: 0;
}

.footer li {
    padding: 5px 0;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer a:hover {
    color: #1a73e8;
}

.footer .text-center {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 2.5rem;
    }
    
    .banner p {
        font-size: 1.2rem;
    }
    
    .service-details {
        flex-direction: column;
    }
    
    .service-details .col-md-6 {
        margin-bottom: 30px;
    }
    
    .service-details .order-md-2 {
        order: 1;
    }
    
    .service-details .order-md-1 {
        order: 2;
    }
}

@media (max-width: 576px) {
    .banner h1 {
        font-size: 2rem;
    }
    
    .banner p {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Custom Dialog Styles */
.custom-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.dialog-content {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    animation: dialogFadeIn 0.3s ease;
}

.dialog-header {
    background-color: #1a73e8;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

.dialog-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.dialog-body {
    padding: 30px;
    text-align: center;
}

.dialog-body p {
    margin: 0;
    color: #333333;
    line-height: 1.6;
}

.dialog-footer {
    padding: 0 30px 30px;
    text-align: center;
}

.dialog-footer .btn {
    width: 120px;
}

@keyframes dialogFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .dialog-content {
        width: 95%;
        margin: 20px;
    }
    
    .dialog-header h3 {
        font-size: 1.2rem;
    }
    
    .dialog-body {
        padding: 20px;
    }
    
    .dialog-footer {
        padding: 0 20px 20px;
    }
}
