* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1e88e5;
    --primary-dark: #1565c0;
    --accent: #ff9800;
    --light-blue: #e3f2fd;
    --dark-blue: #0d47a1;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f8fdff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation - Updated to White */
header {
    background: var(--white);
    color: var(--text-dark);
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    letter-spacing: 0.5px;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 3px;
}

.contact-header {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-header-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-header-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.contact-header-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Navigation */
nav {
    margin-top: 1rem;
    background-color: var(--light-blue);
    border-radius: 8px;
    padding: 0 20px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 5px;
}

nav a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

nav a:hover, nav a.active {
    background-color: rgba(30, 136, 229, 0.1);
    color: var(--primary);
}

nav a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 75vh;
    min-height: 600px;
    overflow: hidden;
    color: var(--white);
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    border-radius: 0 0 30px 30px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 100%;
    display: flex;
    animation: slide 25s infinite;
}

.slide {
    width: 25%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.slide:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.85) 0%, rgba(30, 136, 229, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin: 0 auto 2rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 700px;
}

@keyframes slide {
    0%, 20% { transform: translateX(0); }
    25%, 45% { transform: translateX(-25%); }
    50%, 70% { transform: translateX(-50%); }
    75%, 95% { transform: translateX(-75%); }
    100% { transform: translateX(0); }
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

.section-title {
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    margin: 15px auto;
    border-radius: 2px;
}

/* Services Grid - Index Page */
.services-grid-index {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

.service-card-index {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.service-card-index:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card-index:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.8rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-top: -40px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

.service-content h3 {
    color: var(--dark-blue);
    margin: 1.2rem 0 0.8rem;
    font-size: 1.4rem;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-tag {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

/* Center the 7th item (Laboratory) */
.services-grid-index .service-card-index:nth-child(7) {
    grid-column: span 1;
    justify-self: center;
}

/* Clinic Info */
.clinic-info {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.clinic-info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

/* About Page Grid - 2x2 then 1 */
.info-grid-about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.info-grid-about .info-item:nth-child(3),
.info-grid-about .info-item:nth-child(4) {
    grid-column: span 1;
}

/* Regular Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.info-item {
    padding: 1.8rem;
    background-color: var(--light-blue);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.info-item h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.3);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 136, 229, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #f57c00 100%);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #f57c00 0%, var(--accent) 100%);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.4);
}

.cta {
    text-align: center;
    margin: 5rem 0;
    padding: 4rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, #e1f5fe 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

/* Page Hero Sections */
.page-hero {
    height: 60vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
    border-radius: 0 0 30px 30px;
    position: relative;
}

.page-hero:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.85) 0%, rgba(30, 136, 229, 0.75) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 25px;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Services Page Grid */
.services-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

.service-card-page {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid #e0f2fe;
}

.service-card-page:nth-child(7) {
    grid-column: 2 / 3;
}

.service-card-page:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card-page:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.service-icon-page {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-blue), #e3f2fd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2.2rem;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card-page h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card-page p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Clinical Services List */
.clinical-services {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.clinical-service-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.clinical-service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.clinical-service-item h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.clinical-service-item p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-left: 30px;
}

/* Holistic Programs Grid */
.holistic-programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.holistic-program-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
}

.holistic-program-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.holistic-program-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: #fafafa;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

/* Booking Form */
.booking-form {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.booking-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
}

.booking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service Images Grid */
.service-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 3rem 0;
}

.service-image-item {
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-image-item:hover img {
    transform: scale(1.1);
}

.service-image-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.service-image-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    color: var(--white);
    z-index: 2;
    font-weight: 600;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--light-blue);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a237e 100%);
    color: var(--white);
    padding: 5rem 0 2rem;
    margin-top: 5rem;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: #bbdefb;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #bbdefb;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .page-hero h1 {
        font-size: 3rem;
    }
    
    .service-card-page:nth-child(7) {
        grid-column: span 1;
    }
    
    .holistic-programs-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid-about {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-header {
        justify-content: center;
    }
    
    .hero {
        height: 60vh;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .services-grid-index, .services-grid-page {
        grid-template-columns: 1fr;
    }
    
    .services-grid-index .service-card-index:nth-child(7) {
        grid-column: span 1;
    }
    
    nav ul {
        gap: 5px;
    }
    
    nav a {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    
    .page-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .clinic-info, .contact-form, .clinical-services {
        padding: 2rem;
    }
    
    .cta {
        padding: 3rem 2rem;
    }
    
    .booking-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .service-card-index, .service-card-page {
        padding: 1.5rem;
    }
}