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

/* Updated Color Variables to match logo */
:root {
    --primary-color: #2ca6a4; /* Teal from logo */
    --secondary-color: #7ac143; /* Green from logo */
    --accent-color: #4fc3f7; /* Blue from logo */
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --text-color: #334155;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --shadow: 0 8px 32px rgba(44, 166, 164, 0.08);
    --radius: 22px;
}

/* Use appropriate font colors that work well with the light backgrounds */
body {
    font-family: 'Poppins', 'Nunito', Arial, sans-serif;
    background: var(--light-color);
    color: #4a5568;
    transition: background 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border-bottom: 2px solid var(--primary-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('files/1bdabb68-6931-4e2e-bb3f-355e70fca4c4.jpg') center center/cover no-repeat;
    color: #fff;
    padding: 120px 0 40px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 0;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(44, 166, 164, 0.85) 0%, 
        rgba(79, 195, 247, 0.75) 50%, 
        rgba(122, 193, 67, 0.8) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.2;
    z-index: 2;
}

/* Add modern background designs to the home (hero) section */

/* Abstract floating circles */
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
}

/* Floating circle animation */
.hero-floating-circle {
    position: absolute;
    width: 420px;
    height: 420px;
    left: -180px;
    top: -120px;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(44,166,164,0.08) 100%);
    filter: blur(2px);
    animation: hero-float1 12s ease-in-out infinite alternate;
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
}

.hero::after {
    width: 320px;
    height: 320px;
    right: -120px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(122,193,67,0.13) 0%, rgba(255,255,255,0.08) 100%);
    filter: blur(1.5px);
    animation: hero-float2 14s ease-in-out infinite alternate;
}

@keyframes hero-float1 {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(40px) scale(1.08); }
}
@keyframes hero-float2 {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.12); }
}

/* Add a subtle pattern overlay */
.hero .hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: repeating-radial-gradient(circle at 20% 40%, rgba(255,255,255,0.07) 1.5px, transparent 3px),
                      repeating-radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 1.5px, transparent 3px);
    background-size: 120px 120px;
    opacity: 0.7;
}

/* Ensure hero content is above background designs */
.hero-content {
    position: relative;
    z-index: 4;
}

/* Hero content styling */

.hero-content {
    max-width: 800px;
    color: #263238;
    z-index: 4;
    position: relative;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #1a202c;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-content p {
    font-size: 1.3rem;
    color: #4a5568;
    margin-bottom: 2rem;
    font-weight: 500;
}

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

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #2ca6a4, #7ac143);
    color: #fff;
    border: none;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(44, 166, 164, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #1e8a88, #6ba83a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 166, 164, 0.4);
}

/* Book Appointment button with better contrast */
.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #2ca6a4 !important;
    border: 2px solid #2ca6a4;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-secondary:hover {
    background: #2ca6a4;
    color: #fff !important;
    border: 2px solid #2ca6a4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 166, 164, 0.3);
}

/* Ensure all button text is properly colored */
.btn {
    font-weight: 600;
}

.btn-primary {
    color: #fff !important;
}

/* Hero image styling removed - using background image instead */

@media (max-width: 1024px) {
    .hero {
        padding: 80px 0 20px;
    }
    .hero-content {
        max-width: 100%;
        padding: 1.2rem 0.5rem;
    }
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
/* Add soft, light background colors and subtle design to about section */
.about {
    background: linear-gradient(135deg, #f8fafc 60%, #e0f7fa 100%);
    position: relative;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(44, 166, 164, 0.06);
    margin-bottom: 2rem;
    overflow: hidden;
}

/* Decorative abstract shape in about section */
.about::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(122,193,67,0.10) 0%, rgba(44,166,164,0.04) 100%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.about-content, .about-text, .about-images {
    position: relative;
    z-index: 1;
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #4a5568;
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(122, 193, 67, 0.08);
    border: 1.5px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: #4a5568;
    font-weight: 500;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.05);
}

/* Add more vertical margin above and below about and team sections */
.about, .team {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 768px) {
    .about, .team {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

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

.service-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(44, 166, 164, 0.08);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1.5px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(44, 166, 164, 0.15);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 2px 8px rgba(44, 166, 164, 0.10);
}

.service-icon i {
    font-size: 2rem;
    color: #fff;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Team Section */
/* Add soft, light background color and subtle design to team section */
.team {
    padding: 80px 0;
    background: linear-gradient(135deg, #f1f8e9 60%, #e3f2fd 100%);
    position: relative;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(44, 166, 164, 0.06);
    margin-bottom: 2rem;
    overflow: hidden;
}

/* Decorative abstract shape in team section */
.team::after {
    content: '';
    position: absolute;
    top: -60px;
    left: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(44,166,164,0.10) 0%, rgba(122,193,67,0.04) 100%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.team-grid, .team-card {
    position: relative;
    z-index: 1;
}

/* Update team grid for better alignment - 3 in row, then 2 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(44, 166, 164, 0.08);
    border: 1.5px solid var(--accent-color);
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 0;
    max-width: 320px;
    margin: 0 auto;
}

.team-image {
    height: 240px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.designation {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.specialty {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.description {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-card {
        max-width: 100%;
    }
    .team-image {
        height: 220px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-content {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(44, 166, 164, 0.08);
    text-align: center;
    border: 1.5px solid var(--accent-color);
}

.stars {
    margin-bottom: 1rem;
}

.stars i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #4a5568;
    line-height: 1.6;
}

.testimonial-content h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 2rem 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
}

.google-profile-btn {
    text-align: center;
    margin-top: 2rem;
}

.google-profile-btn .btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
}

/* Contact Section */
/* Add soft, light background color and subtle design to contact section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #e3f2fd 60%, #f1f8e9 100%);
    position: relative;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(44, 166, 164, 0.06);
    margin-bottom: 2rem;
    overflow: hidden;
}

/* Decorative abstract shape in contact section */
.contact::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(122,193,67,0.10) 0%, rgba(44,166,164,0.04) 100%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.contact-content, .contact-info, .contact-map {
    position: relative;
    z-index: 1;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(44, 166, 164, 0.08);
    border: 1.5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-details p {
    color: #4a5568;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(44, 166, 164, 0.08);
}

/* Footer */
.footer {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 60px 0 20px;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: var(--shadow);
}

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

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

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-section p {
    margin-bottom: 0.8rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-section p i {
    margin-right: 10px;
    color: var(--accent-color);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #e0f7fa;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgb(4, 124, 40);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
    background: var(--primary-color);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(44, 166, 164, 0.10);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 70px 0 20px;
        margin-bottom: 0;
        gap: 0.5rem;
    }
    .hero-content {
        padding: 1rem 0.2rem;
    }
    /* Hero image styling removed for mobile */

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-images {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .about, .services, .team, .testimonials, .contact {
        padding: 1.2rem 0.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .team-image {
        height: 250px;
    }

    .testimonials-slider {
        height: 350px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .about, .services, .team, .testimonials, .contact {
        padding: 0.7rem 0.2rem;
    }
} 

/* Make font color dark throughout the site except for the home (hero) section */
body, .about, .services, .team, .testimonials, .contact, .footer, .about *, .services *, .team *, .testimonials *, .contact *, .footer * {
    color: #1a202c !important;
}

/* Headings - slightly darker for better hierarchy */
h1, h2, h3, h4, h5, h6, .section-title {
    color: #2d3748 !important;
}

/* Body text and paragraphs - comfortable medium gray */
p, .description, .about-text p, .service-card p, .testimonial-content p {
    color: #4a5568 !important;
}

/* Links - using your brand colors */
a, .nav-link, .contact-details a {
    color: var(--primary-color) !important;
}

a:hover, .nav-link:hover, .contact-details a:hover {
    color: var(--secondary-color) !important;
}

/* Special elements keep their brand colors */
.team-info h3, .designation, .stat h4 {
    color: var(--accent-color) !important;
}

.service-card h3 {
    color: var(--primary-color) !important;
}

/* Hero section stays white */
.hero, .hero *, .hero-content, .hero-content * {
    color: #263238;
}

/* Footer text */
.footer, .footer * {
    color: #e2e8f0 !important;
}

.footer h3, .footer h4 {
    color: #fff !important;
}

/* Remove the overly broad dark color rules */
.about *, .services *, .team *, .testimonials *, .contact * {
    color: inherit;
}

.hero .section-title {
    color: #fff !important;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} 

/* Specialties & Departments Section */
.specialties {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff3e0 60%, #e8f5e8 100%);
    position: relative;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(44, 166, 164, 0.06);
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
    overflow: hidden;
}

.specialties::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(44,166,164,0.08) 0%, rgba(122,193,67,0.04) 100%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.specialty-category {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.specialty-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-weight: 700;
}

.category-header.emergency {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.category-header.specialties-header {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.category-header i {
    font-size: 1.5rem;
}

.category-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #fff !important;
}

.specialty-list {
    display: grid;
    gap: 1rem;
}

.specialty-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.specialty-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 12px rgba(44, 166, 164, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.specialty-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(44, 166, 164, 0.15);
    border-color: var(--primary-color);
}

.specialty-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.specialty-item span {
    color: #2d3748 !important;
    font-weight: 500;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .specialties {
        padding: 2rem 1rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .category-header {
        padding: 0.8rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .category-header h3 {
        font-size: 1.1rem;
    }
    
    .specialty-grid {
        grid-template-columns: 1fr;
    }
    
    .specialty-item {
        padding: 0.8rem 1rem;
    }
} 

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 60%, #e0f2fe 100%);
    position: relative;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(44, 166, 164, 0.06);
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
    overflow: hidden;
}

/* Hidden gallery items */
.gallery-item-hidden {
    display: none;
}

/* Shown gallery items */
.gallery-item-shown {
    display: block !important;
}

/* Gallery toggle buttons */
.gallery-toggle {
    text-align: center;
    margin-top: 2rem;
}

.gallery-toggle .btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.gallery-toggle .btn-primary {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    box-shadow: 0 4px 16px rgba(44, 166, 164, 0.15);
}

.gallery-toggle .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 166, 164, 0.25);
}

.gallery-toggle .btn-secondary {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.gallery-toggle .btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.gallery::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(44,166,164,0.08) 0%, rgba(122,193,67,0.04) 100%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 166, 164, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-image-container {
    max-width: 90%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-navigation {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.image-counter {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 60px;
    text-align: center;
}

@media (max-width: 768px) {
    .gallery {
        padding: 2rem 1rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .modal-navigation {
        bottom: 20px;
        padding: 0.8rem 1.5rem;
        gap: 1rem;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .image-counter {
        font-size: 1rem;
    }
    
    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 2.5rem;
    }
} 

.contact-info h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-info p {
    color: #4a5568;
    line-height: 1.6;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
} 