@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

:root {
    --primary-color: #3a7bd5;
    --secondary-color: #3aaced;
    --accent-color: #f7941d;
    --bg-color: #f8f9fa;
    --text-color: #555;
    --heading-color: #333;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --footer-bg: #2c3e50;
    --card-shadow: 0 4px 15px rgba(0,0,0,0.08);
    --card-hover-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Basic styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 16px;
}

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

/* Header */
.header {
    background-color: var(--card-bg);
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 22px;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-info a, .header-info span {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    transition: color 0.3s;
}

.header-info a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.header-phone a {
    text-decoration: none;
    color: var(--heading-color);
    font-weight: bold;
    font-size: 18px;
}

.header-phone span {
    font-size: 12px;
    color: #888;
}

.header-bottom {
    padding: 15px 0;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--heading-color);
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s;
}

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

/* Buttons */
.btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.btn-green {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

.btn-orange {
    background: var(--accent-color);
}

.btn-sm {
    padding: 8px 15px;
    font-size: 14px;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.breadcrumbs {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-title {
    font-size: 42px;
    color: var(--heading-color);
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center;
}

.content-wrapper {
    display: flex;
    gap: 40px;
}

.content {
    flex: 1;
}

/* Promo Banner */
.promo-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #e0f7fa, #b2ebf2);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid #b2ebf2;
}

.promo-banner-text {
    width: 100%;
}

.promo-banner-text h2 {
    margin-top: 0;
    font-size: 24px;
    font-weight: 500;
}

.promo-banner-text ul {
    list-style: none;
    padding-left: 20px;
    margin: 20px 0;
}

.promo-banner-text li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.promo-banner-text li::before {
    content: '✔';
    color: #4CAF50;
    position: absolute;
    left: 0;
    top: 0;
}

.promo-banner-img {
   /* This is no longer needed */
}

/* Text Content */
.text-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.text-content p {
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.text-content h3 {
    font-size: 24px;
    font-weight: 700;
}

.text-content h4 {
    font-size: 20px;
    font-weight: 700;
}

.text-content ul {
    line-height: 1.6;
    padding-left: 20px;
    margin-bottom: 20px;
}

.text-content ul li {
    margin-bottom: 10px;
}

/* Doctor Quote */
.doctor-quote {
    margin-top: 30px;
    padding: 20px;
    background-color: #f7fcf8;
    border: 1px solid #dceddd;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 5px solid var(--primary-color);
}

.doctor-photo img {
    /* This is no longer needed */
}

.doctor-quote-text p {
    font-style: italic;
    margin: 0 0 10px 0;
    color: #555;
}

.doctor-quote-text strong {
    display: block;
    font-weight: bold;
}

.doctor-quote-text span {
    font-size: 14px;
    color: #777;
}

/* Sections */
.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    margin-top: 60px;
    text-align: center;
    color: var(--heading-color);
}

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

.doctor-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

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

.doctor-card-img {
    /* This is no longer needed */
}

.doctor-card h3 {
    font-size: 18px;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.doctor-card p {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
    min-height: 40px; /* To align cards */
}

.doctor-card span {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.doctor-card-price {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.doctor-card .btn {
    width: 100%;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    margin-top: 60px;
    padding: 0;
    border-radius: 15px;
    color: #fff;
    box-shadow: var(--card-shadow);
}

.cta-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
}

.cta-banner-text {
    flex-basis: 100%;
    text-align: center;
}

.cta-banner-text h2 {
    color: #fff;
    font-size: 32px;
}

.cta-banner-text p {
    color: #eee;
}

.cta-banner-img {
    /* This is no longer needed */
}

/* Map Section */
.map {
    width: 100%;
    margin-top: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.map iframe {
    display: block;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 24px;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: #bdc3c7;
    padding: 50px 0 20px 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 500;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a, .footer-col p {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-col .btn {
    display: block;
    margin-top: 15px;
    width: 90%;
}

.footer-bottom {
    border-top: 1px solid #4a4a4a;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 12px;
    color: #95a5a6;
}

.footer-legal {
    flex-basis: 40%;
}
.footer-legal p {
    margin: 0 0 5px;
    font-size: 12px;
}
.footer-legal a {
    font-size: 12px;
    color: #95a5a6;
}

.footer-disclaimer {
    flex-basis: 55%;
    text-align: right;
}
.footer-disclaimer p {
    margin: 0;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top-inner, .header-bottom .container {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .header-actions {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .header-actions .btn {
        width: 100%;
        box-sizing: border-box;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .page-title {
        font-size: 28px;
    }

    .promo-banner {
        padding: 20px;
        text-align: center;
    }

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

    .footer-col .btn {
        width: 100%;
        box-sizing: border-box;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        align-items: center;
    }
    
    .footer-disclaimer {
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px; /* Adjust base font size for small screens */
    }

    .container {
        padding: 0 10px;
    }

    .page-title {
        font-size: 24px;
    }
    
    .text-content {
        padding: 15px;
    }
    
    .header-phone a {
        font-size: 14px;
    }
}

html {
    scroll-behavior: smooth;
}

/* Departments Section */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.department-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all 0.3s ease;
}
.department-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}
.department-card h3 {
    margin: 0;
    font-size: 18px;
    color: var(--heading-color);
}

/* Prices Section */
.price-list {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}
.price-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
.price-item:last-child {
    border-bottom: none;
}
.price-service-name {
    font-size: 16px;
}
.price-value {
    font-weight: 700;
    color: var(--primary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    position: relative;
    animation: slide-down 0.5s ease-out;
}
@keyframes slide-down {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
}
.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.modal h2 {
    margin-top: 0;
    text-align: center;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-sizing: border-box;
}
.modal-content .btn {
    width: 100%;
}

/* Responsive (existing queries are fine, just cleaned up some old styles) */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }
} 