/* Global Styles */
:root {
    --primary-color: #2a7f62;
    --secondary-color: #1e5a48;
    --accent-color: #4caf50;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #495057;
    --text-light: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

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

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

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

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

.primary-btn:hover {
    background-color: var(--secondary-color);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    font-weight: 600;
    color: var(--dark-color);
    position: relative;
}

.nav ul li a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.phone-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
}

.phone-btn i {
    margin-right: 8px;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background-color: #f8f9fa;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 48px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Page Header */
.page-header {
    padding: 150px 0 80px;
    background-color: #f8f9fa;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    color: var(--dark-color);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--dark-color);
}

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

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--text-light);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: white;
}

.team h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--dark-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.team-member p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member .bio {
    color: var(--text-light);
    font-size: 14px;
}

/* New Patient Section */
.new-patient {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.patient-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.patient-info {
    flex: 1;
}

.patient-info h2 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.patient-info p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.patient-info ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.patient-info li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.patient-forms {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.office-details {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.office-details h3 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.office-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.office-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.office-item h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.office-item p {
    margin: 0;
    color: var(--text-color);
}

.map-container {
    margin-top: 30px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--dark-color);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 10px;
}

.testimonial {
    display: none;
    background-color: var(--light-color);
    padding: 40px;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial.active {
    display: flex;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 18px;
    font-style: italic;
    color: var(--text-color);
}

.testimonial-author h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 14px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.slider-controls button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background-color: var(--secondary-color);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 127, 98, 0.1);
}

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

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.faq-item p {
    color: var(--text-light);
}

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

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

.footer-logo {
    text-align: center;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--text-light);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-light);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

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

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact ul li i {
    margin-right: 10px;
    margin-top: 3px;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin-bottom: 0;
    color: var(--text-light);
}

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

.social-links a {
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 2000;
    transform: translateX(100%);
    transition: all 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.mobile-menu-header img {
    height: 40px;
}

.close-btn {
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    display: block;
    padding: 10px;
    color: var(--dark-color);
    font-weight: 600;
}

/* Why Choose Section */
.why-choose {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.choose-item {
    text-align: center;
    padding: 20px;
}

.choose-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.choose-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.choose-item p {
    color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container,
    .about-content,
    .patient-content,
    .contact-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-content,
    .about-text,
    .patient-info,
    .contact-info {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-image,
    .about-image {
        margin-top: 40px;
    }

    .contact-form {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 36px;
    }

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

    .testimonials-slider {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 30px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .page-header h1 {
        font-size: 32px;
    }
}