/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1a73e8;
    --primary-dark: #0d47a1;
    --secondary: #34a853;
    --accent: #fbbc05;
    --danger: #ea4335;
    --dark: #202124;
    --dark-gray: #5f6368;
    --gray: #9aa0a6;
    --light-gray: #dadce0;
    --light: #f8f9fa;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #2d9249;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-danger {
    background-color: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background-color: #d33426;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h2 {
    margin-bottom: 0;
    color: var(--primary);
}

.logo i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar li {
    margin: 0 1rem;
}

.navbar a {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.navbar a:hover, .navbar a.active {
    color: var(--primary);
}

.navbar a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.nav-cta {
    margin-left: 1rem;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.7);
}

.image-placeholder.large {
    width: 400px;
    height: 400px;
    background-color: var(--primary-dark);
    display: flex;
    align-items: center;
}

.image-placeholder p {
    margin-top: 1rem;
    font-size: 1rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.text-center {
    text-align: center;
}

/* Features Section */
.features {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* Services Preview */
.services-preview {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card a {
    color: var(--primary);
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.service-card a:hover {
    color: var(--primary-dark);
}

/* Page Header */
.page-header {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

/* About Content */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.stat h4 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Values Section */
.values {
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    margin-bottom: 1rem;
}

/* Services Full */
.services-grid-full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card-full {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card-full:hover {
    transform: translateY(-5px);
}

.service-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary);
}

.service-content h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-content ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.service-content li {
    margin-bottom: 0.5rem;
}

/* Emergency CTA */
.emergency-cta {
    background: linear-gradient(135deg, var(--danger) 0%, #c23321 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.emergency-content h2 {
    margin-bottom: 1.5rem;
}

.emergency-content p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.emergency-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.emergency-phone {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.emergency-phone i {
    font-size: 2.5rem;
}

.emergency-phone span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

.emergency-phone h3 {
    margin: 0;
    font-size: 1.8rem;
}

/* Doctors Section */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.doctor-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
}

.doctor-image {
    height: 200px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-image .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    font-size: 4rem;
    color: var(--gray);
}

.doctor-info {
    padding: 1.5rem;
}

.doctor-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.specialty {
    display: inline-block;
    background-color: var(--light);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.doctor-meta {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.doctor-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.3rem;
}

.contact-method h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.emergency-alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #ffebee;
    border-left: 4px solid var(--danger);
    border-radius: 4px;
}

.emergency-alert i {
    font-size: 1.5rem;
    color: var(--danger);
    margin-top: 0.3rem;
}

.emergency-alert h3 {
    margin-bottom: 0.5rem;
    color: var(--danger);
}

.contact-form-container {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 8px;
}

.contact-form-container h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Map Section */
.map-section {
    background-color: var(--light);
}

.map-placeholder {
    height: 400px;
    background-color: var(--light-gray);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    font-size: 1.2rem;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-col h3 i {
    margin-right: 10px;
    color: var(--primary);
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--primary);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--primary);
    margin-top: 0.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}