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

:root {
    --primary-color: #2c7b44; /* Calming, professional green */
    --secondary-color: #004d40; /* Darker green for accents */
    --accent-color: #f5f5f5; /* Light grey for backgrounds */
    --text-color: #333333;
    --heading-color: #004d40;
    --white-color: #ffffff;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    color: var(--heading-color);
    line-height: 1.3;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

section {
    padding: 80px 0;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(44, 123, 68, 0.3);
}

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

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

.btn-outline {
    border: 2px solid var(--border-color);
    color: var(--text-color);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Top Bar */
.top-bar {
    background-color: var(--accent-color);
    padding: 10px 0;
    font-size: 0.9rem;
    color: #666;
    border-bottom: 1px solid var(--border-color);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-info {
    display: flex;
    gap: 20px;
}
.top-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.callback-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
}
.city-select {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 5px;
}

/* Header */
.header {
    background-color: var(--white-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-color);
    transition: padding 0.3s ease;
}
.header-scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}
.logo-subtitle {
    font-size: 0.8rem;
    color: #777;
    display: block;
    margin-top: -5px;
}
.main-nav {
    display: flex;
    gap: 30px;
}
.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}
.header-phone {
    display: flex;
    align-items: center;
    gap: 20px;
}
.phone-number {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--heading-color);
}
.appointment-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.appointment-btn:hover {
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background-color: var(--accent-color);
    padding: 60px 0;
}
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.hero-text {
    flex: 1;
}
.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}
.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}
.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}
.feature-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--white-color);
    border: 2px solid var(--border-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.feature span {
    font-weight: 600;
}
.hero-buttons {
    display: flex;
    gap: 20px;
}
.hero-visual {
    flex-basis: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-card {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}
.card-accent {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 50%;
}

/* Services Preview */
.services-preview {
    background-color: var(--white-color);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
    border-color: var(--primary-color);
}
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}
.service-header h3 {
    font-size: 1.4rem;
    margin: 0;
}
.service-header .price {
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    margin-left: 10px;
}
.services-footer {
    text-align: center;
    margin-top: 50px;
}

/* About Section */
.about-section {
    background-color: var(--accent-color);
}
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}
.about-text {
    flex: 1;
}
.about-text h2 {
    text-align: left;
    margin-bottom: 20px;
}
.about-text h2::after {
    left: 0;
    transform: none;
}
.about-features {
    margin-top: 30px;
    display: flex;
    gap: 30px;
}
.about-feature h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}
.about-stats {
    flex-basis: 40%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}
.stat {
    background: var(--white-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-color);
}
.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}
.stat-label {
    font-size: 1rem;
    color: #666;
}

/* Doctors Section */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.doctor-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--white-color);
}
.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}
.doctor-info {
    padding: 25px;
}
.doctor-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.doctor-specialty {
    color: #666;
    margin-bottom: 15px;
}
.doctor-experience {
    font-weight: 600;
    margin-bottom: 10px;
}
.doctor-rating {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: bold;
}
.doctors-footer {
    text-align: center;
    margin-top: 50px;
}

/* Reviews Section */
.reviews-section {
    background-color: var(--accent-color);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.review-card {
    background: var(--white-color);
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 5px 15px var(--shadow-color);
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}
.reviewer-info h4 {
    margin: 0;
    color: var(--text-color);
}
.review-rating {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--primary-color);
}
.review-date {
    font-size: 0.9rem;
    color: #888;
}
.review-text::before {
    content: '“';
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
    float: left;
    margin-right: 10px;
    line-height: 1;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
    align-items: center;
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
}
.contact-info {
    flex: 1;
    padding: 50px;
    background: var(--secondary-color);
    color: var(--white-color);
}
.contact-info h2 {
    color: var(--white-color);
    text-align: left;
}
.contact-info h2::after {
    display: none;
}
.contact-info p {
    margin: 20px 0 30px;
}
.contact-features {
    display: flex;
    gap: 30px;
}
.contact-feature {
    text-align: center;
}
.contact-feature .feature-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white-color);
    background: none;
    border: none;
}
.contact-feature span {
    font-size: 0.9rem;
}
.appointment-form {
    flex: 1;
    padding: 50px;
}
.appointment-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-row input {
    width: 100%;
}
.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}
.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(44, 123, 68, 0.2);
}
.appointment-form textarea {
    height: 100px;
    resize: vertical;
}
.full-width {
    width: 100%;
}
.form-note {
    font-size: 0.8rem;
    text-align: center;
    color: #888;
}

/* Footer */
.footer {
    background-color: var(--heading-color);
    color: #ccc;
    padding: 60px 0 30px;
}
.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.footer a:hover {
    color: var(--white-color);
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-section h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.footer-section ul {
    list-style: none;
}
.footer-section ul li {
    margin-bottom: 10px;
}
.contact-item {
    margin-bottom: 15px;
}
.contact-item strong {
    display: block;
    color: var(--white-color);
    margin-bottom: 5px;
}
.social-links {
    margin-top: 20px;
}
.legal-info-block p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}
.footer-bottom {
    border-top: 1px solid #ffffff30;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-legal, .footer-disclaimer {
    font-size: 0.85rem;
    color: #aaa;
}
.legal-docs {
    margin-top: 10px;
}
.legal-docs a {
    margin-right: 15px;
    text-decoration: underline;
}
.footer-disclaimer p {
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h2 { font-size: 2rem; }
    .header-content { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .main-nav { order: 3; width: 100%; justify-content: center; margin-top: 15px; }
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-features { justify-content: center; }
    .about-content { flex-direction: column; }
    .about-text h2 { text-align: center; }
    .about-text h2::after { left: 50%; transform: translateX(-50%); }
    .about-stats { grid-template-columns: repeat(3, 1fr); width: 100%; }
    .contact-content { flex-direction: column; }
    .contact-info, .appointment-form { padding: 30px; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .top-bar .container { flex-direction: column; gap: 10px; }
    .header-phone { display: none; } /* Hide for simplicity on mobile */
    .hero-text h1 { font-size: 2.2rem; }
    .hero-features { flex-direction: column; align-items: center; }
    .about-stats { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}

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