/* Hero Banner Section */
.hero-banner {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(46, 139, 87, 0.6)), url('../images/hero_banner_01.png') no-repeat center center/cover; /* Updated path */
    color: #fff;
    text-align: center;
    padding: 100px 0;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-banner p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

/* Core Services Section */
.core-services {
    background-color: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: #f8f9fa; /* Light background for cards */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #8FBC8F; /* Light Green accent */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.1); /* Greenish shadow on hover */
}

.service-card .icon {
    font-size: 3rem;
    color: #2E8B57; /* Healthy Green */
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #003366; /* Dark Blue */
    margin-bottom: 10px;
}

.service-card .service-details {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
    padding-left: 10px; /* Indent list items */
    color: #555;
    font-size: 0.9rem;
    min-height: 80px; /* Ensure consistent card height */
}

.service-card .service-details li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}

.service-card .service-details li::before {
    content: "\2713"; /* Checkmark */
    position: absolute;
    left: 0;
    top: 1px;
    color: #2E8B57; /* Healthy Green */
    font-weight: bold;
}

/* Expert Team Section */
.expert-team {
     background: linear-gradient(to bottom, #ffffff, #f8f9fa); /* Slightly lighter gradient end */
     padding-bottom: 80px; /* Add more padding at the bottom */
}

.expert-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Slightly wider min width */
    gap: 35px; /* Increased gap */
    margin-top: 40px;
}

.expert-card {
    background-color: #fff;
    border-radius: 12px; /* Softer radius */
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 51, 102, 0.08); /* Softer, slightly blue shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex; /* Use flexbox for better internal alignment */
    flex-direction: column;
    margin-bottom: 0; /* Remove bottom margin, handled by gap */
    padding-bottom: 0; /* Remove padding, handled by info padding */
}
.expert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.12); /* Enhanced green shadow on hover */
}

.expert-card img {
    width: 100%;
    height: 320px; /* Adjusted height */
    object-fit: cover;
    display: block;
}

 .expert-info {
    padding: 25px 25px 30px 25px; /* Increased padding */
    flex-grow: 1; /* Allow info to take remaining space */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute space */
 }

.expert-card h4 {
    font-size: 1.5rem; /* Slightly larger name */
    margin-top: 0; /* Remove top margin */
    margin-bottom: 8px; /* Adjusted spacing */
    color: #003366;
    font-weight: bold;
}

.expert-card .title {
    font-size: 0.9rem; /* Slightly smaller title */
    color: #1e5a3a; /* Darker green */
    margin-bottom: 15px; /* Increased spacing below title */
    display: block;
    line-height: 1.5;
}

 .expert-card .specialty {
    font-size: 0.9rem;
    color: #555;
    margin: 0 0 25px 0; /* Adjusted margin */
    line-height: 1.7; /* Improved readability */
    flex-grow: 1; /* Allow specialty to take available space */
 }

.expert-card .btn {
    margin-top: auto; /* Push button to the bottom */
    align-self: center; /* Center button horizontally */
    padding: 8px 20px; /* Slightly smaller button */
}

/* Service Cases Section */
.service-cases {
    background-color: #fff;
}
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.case-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}
 .case-card img {
     width: 100%;
     height: 280px;
     object-fit: cover;
     display: block;
     transition: transform 0.3s ease;
 }
 .case-card:hover img {
     transform: scale(1.05);
 }
 .case-content {
     padding: 20px;
     background-color: #f8f9fa;
 }
 .case-content h4 {
    font-size: 1.1rem;
     margin-bottom: 10px;
     color: #4682B4; /* Tech Blue */
 }
.case-content p {
     font-size: 0.9rem;
     color: #666;
     margin-bottom: 15px;
 }
 .case-content blockquote {
     font-style: italic;
     color: #555;
     border-left: 3px solid #D4AF37; /* Gold */
     padding-left: 10px;
     margin-top: 15px;
     font-size: 0.9rem;
 }

/* Health Info Section */
.health-info {
     background: linear-gradient(to bottom, #eef7f2, #ffffff);
}
.info-grid {
     display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.info-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
     border-top: 3px solid #8FBC8F; /* Light Green */
}
 .info-card h4 {
     font-size: 1.1rem;
     margin-bottom: 10px;
 }
 .info-card p {
    font-size: 0.9rem;
     color: #666;
     margin-bottom: 10px;
 }
 .info-card a {
     font-size: 0.9rem;
     font-weight: bold;
 }

/* Partner Section Styles */
.partners {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.partners h2 {
    margin-bottom: 40px;
}

.partner-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 0 auto;
}

.partner-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-item h3 {
    color: #003366;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.partner-item .en-name {
    color: #4682B4;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.partner-item .contact {
    color: #2E8B57;
    font-weight: bold;
    margin: 15px 0;
    display: block;
}

.partner-item .address {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}


/* Responsive Styles for Index Page Sections */
@media (max-width: 992px) {
    .hero-banner h1 {
        font-size: 2.5rem;
    }
     .hero-banner p {
        font-size: 1.1rem;
    }
}

 @media (max-width: 768px) {
     .service-grid, .expert-slider, .case-grid, .info-grid, .partner-list {
        grid-template-columns: 1fr; /* Stack columns */
     }
 }
