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

:root {
    /* Color Scheme based on Logo */
    --primary-green: #2E7D32; /* Dark green from logo */
    --darker-green: #1B5E20; /* Darker shade of green for gradients */
    --accent-red: #D32F2F; /* Red accent from logo */
    --dark-gray: #333333; /* Dark gray/black from logo */
    --light-gray: #666666;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1.5rem 0 1rem 0;
}

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

.nav-logo {
    flex-shrink: 0;
    margin-top: 0.5rem;
    margin-left: -1rem;
}

.nav-logo img {
    height: 70px;
    width: auto;
    display: block;
    max-width: 100%;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0;
    padding: 0;
    margin-left: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

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

.appointment-btn {
    background: var(--primary-green);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
}

/* Special styling for key navigation items */
.nav-item:nth-child(2) .nav-link, /* About Us */
.nav-item:nth-child(3) .nav-link { /* Our Team */
    font-weight: 600;
    position: relative;
}

/* Nav appointment button container */
.nav-appointment {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Hide mobile appointment button on desktop */
.mobile-appointment {
    display: none;
}

.appointment-btn:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
}

.appointment-btn::after {
    display: none;
}

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

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(76, 175, 80, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    display: inline-block;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-green);
    border: 2px solid var(--white);
    font-weight: 600;
    text-shadow: none;
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-image-single {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-single img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.hero-image-single:hover img {
    transform: scale(1.03);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-gray);
    font-weight: 400;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

/* Doctors Section */
.doctors {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.doctor-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.doctor-image {
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.doctor-info {
    padding: 2rem;
}

.doctor-info h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.qualification {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.specialization {
    color: var(--accent-red);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.experience {
    color: var(--light-gray);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.doctor-description {
    margin-top: 1rem;
}

.doctor-description p {
    color: var(--light-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.about-content {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.doctor-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
    width: 20px;
}


/* Customer Rating Section */
.customer-rating {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-green), var(--darker-green));
    color: var(--white);
    text-align: center;
}

.rating-content {
    max-width: 600px;
    margin: 0 auto;
}

.rating-stars {
    margin-bottom: 1.5rem;
}

.rating-stars i {
    font-size: 2.5rem;
    color: #ffd700;
    margin: 0 0.3rem;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.4);
    animation: starGlow 2s ease-in-out infinite alternate;
}

.rating-stars i:nth-child(2) { animation-delay: 0.2s; }
.rating-stars i:nth-child(3) { animation-delay: 0.4s; }
.rating-stars i:nth-child(4) { animation-delay: 0.6s; }
.rating-stars i:nth-child(5) { animation-delay: 0.8s; }

@keyframes starGlow {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

.rating-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rating-label {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.rating-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 400;
}

/* Membership Plans Section */
.membership {
    padding: 80px 0;
    background: var(--white);
}

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

.membership-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.membership-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.membership-card.featured {
    border-color: var(--primary-green);
    transform: scale(1.05);
}

.membership-card.premium {
    border-color: #FFD700;
    background: linear-gradient(135deg, #fff9e6, #ffffff);
}

.membership-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-green);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.membership-card.premium .membership-badge {
    background: #FFD700;
    color: var(--dark-gray);
}

.membership-header {
    padding: 1.5rem 1.5rem 0.8rem;
    text-align: center;
    background: linear-gradient(135deg, var(--light-bg), #f0f8f0);
}

.membership-card.premium .membership-header {
    background: linear-gradient(135deg, #fff9e6, #f0f8f0);
}

.membership-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    transition: all 0.3s ease;
}

.membership-card:hover .membership-icon {
    transform: scale(1.1);
}

.membership-card.premium .membership-icon {
    background: #FFD700;
    color: var(--dark-gray);
}

.membership-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.membership-card.premium .membership-icon i {
    color: var(--dark-gray);
}

.membership-header h3 {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.membership-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.membership-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
}

.membership-card.premium .membership-price .price {
    color: #B8860B;
}

.membership-price .period {
    font-size: 1rem;
    color: var(--light-gray);
    font-weight: 500;
}

.membership-perks {
    padding: 1rem 1.5rem;
    flex: 1;
}

.membership-perks ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.membership-perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    color: var(--light-gray);
    line-height: 1.4;
    font-size: 0.9rem;
}

.membership-perks li i {
    color: var(--primary-green);
    font-size: 0.9rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.membership-card.premium .membership-perks li i {
    color: #B8860B;
}

.membership-footer {
    padding: 0.8rem 1.5rem 1.5rem;
    text-align: center;
    margin-top: auto;
}

.btn-membership {
    background: var(--primary-green);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
}

.membership-card.premium .btn-membership {
    background: #FFD700;
    color: var(--dark-gray);
}

.btn-membership:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.membership-card.premium .btn-membership:hover {
    background: #B8860B;
    color: var(--white);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
}

.service-image {
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--darker-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

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

.service-card p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--light-gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Working Hours Section */
.working-hours {
    padding: 80px 0;
    background: var(--white);
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

.hours-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.hours-info h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-weight: 700;
}

.hours-table {
    margin-bottom: 2.5rem;
}

.hours-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hours-table thead {
    background: linear-gradient(135deg, var(--primary-green), var(--darker-green));
    color: var(--white);
}

.hours-table th {
    padding: 1.2rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hours-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.hours-table tbody tr:hover {
    background-color: #f8f9fa;
}

.hours-table tbody tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 1.2rem 1rem;
    text-align: center;
    font-size: 1rem;
}

.hours-table .days {
    font-weight: 600;
    color: var(--dark-gray);
    background: linear-gradient(135deg, var(--light-bg), #f0f8f0);
}

.hours-table .time {
    font-weight: 500;
    color: var(--primary-green);
    font-size: 1.1rem;
}

.emergency-note {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 1.1rem;
}

.hours-image {
    width: 300px;
    height: 350px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.hours-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

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

.hours-image:hover img {
    transform: scale(1.08);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--light-bg);
}

.testimonials-carousel {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
    padding: 0 2rem;
}

@media (max-width: 480px) {
    .testimonials-carousel {
        overflow: visible;
    }
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
    padding: 0 1rem;
}

.testimonial-card {
    min-width: 320px;
    max-width: 350px;
    flex-shrink: 0;
    margin: 0 0.5rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--light-gray);
    line-height: 1.6;
    font-size: 1.1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.author-info h4 {
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-info span {
    color: var(--primary-green);
    font-size: 0.9rem;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.carousel-btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: var(--accent-red);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--accent-red);
}

/* Appointment Section */
.appointment {
    padding: 80px 0;
    background: var(--white);
}

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

.appointment-info h3 {
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    border-left: 4px solid var(--primary-green);
}

.contact-item i {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

.contact-item small {
    color: var(--accent-red);
    font-weight: 500;
}

.appointment-form {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 20px;
}

.appointment-image {
    margin-bottom: 2rem;
    text-align: center;
}

.appointment-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-card h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

.contact-card small {
    color: var(--accent-red);
    font-weight: 500;
}

.social-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-card {
    /* Inherits all contact-card styles */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Ensure consistent padding and spacing */
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.social-card .contact-icon {
    margin-bottom: 1rem;
    /* Ensure icon styling matches other cards */
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.social-card .contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.social-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.2);
}

.social-icon:hover {
    background: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

.social-icon i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-logo {
    margin: 1.5rem 0;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.footer-logo img {
    height: 60px;
    margin: 0.5rem auto;
    display: block;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    filter: brightness(1.2);
    transform: scale(1.02);
}

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

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

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

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

.footer-section ul li a:hover {
    color: var(--primary-green);
}

.footer-section i {
    color: var(--primary-green);
    margin-right: 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo {
        margin-top: 0.3rem;
    }

    .nav-logo img {
        height: 55px;
    }

    .footer-logo {
        margin: 1rem 0;
        padding: 0.8rem;
    }

    .footer-logo img {
        height: 50px;
        margin: 0.3rem auto;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        justify-content: flex-start;
        gap: 1rem;
    }

    .nav-appointment {
        display: none;
    }

    .mobile-appointment {
        display: block;
    }

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

    .hero-container {
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

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

    .appointment-content {
        grid-template-columns: 1fr;
    }

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

    .social-section {
        margin-top: 1rem;
    }

    .hours-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hours-table table {
        font-size: 0.9rem;
    }

    .hours-table th,
    .hours-table td {
        padding: 0.8rem 0.5rem;
    }

    .hours-image {
        width: 250px;
        height: 300px;
    }

    .customer-rating {
        padding: 40px 0;
    }

    .rating-stars i {
        font-size: 2rem;
    }

    .rating-score {
        font-size: 2rem;
    }

    .rating-label {
        font-size: 1.1rem;
    }

    .rating-description {
        font-size: 1rem;
    }

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

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

    .gallery-item img {
        height: 250px;
    }

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

    .doctor-image {
        height: 220px;
    }

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

    .membership-card.featured {
        transform: none;
    }

    .testimonials-carousel {
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .testimonials-track {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .testimonial-card {
        min-width: 100%;
        max-width: 100%;
        margin: 0 0.25rem;
        padding: 1.5rem;
        box-sizing: border-box;
    }

    .carousel-controls {
        gap: 0.8rem;
        margin-top: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .carousel-dots {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        padding: 0.3rem 0.6rem;
    }

    .service-card,
    .contact-card {
        padding: 1.5rem;
    }

    .service-image img {
        height: 150px;
    }

    .appointment-image img {
        max-width: 250px;
    }

    .appointment-form {
        padding: 1.5rem;
    }

    .testimonials-carousel {
        padding: 0 0.5rem;
        overflow: visible;
    }

    .testimonials-track {
        gap: 0.5rem;
    }

    .testimonial-card {
        padding: 1.2rem;
        margin: 0 0.25rem;
        min-width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        box-sizing: border-box;
    }

    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .testimonial-content {
        margin-bottom: 1rem;
    }

    .testimonial-author {
        padding-top: 0.8rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    /* Single hero image - no grid needed */
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
