/* --- Global Styles & Variables --- */
:root {
    --primary-dark: #0a0f1f; /* Midnight Blue/Charcoal */
    --secondary-dark: #0c1224; /* Slightly lighter dark */
    --text-light: #e1e1e1;
    --text-white: #ffffff;
    --accent-teal: #00f5c3;   /* Intelligent Accent */
    --accent-coral: #ff6f61;   /* Empathy Accent */
    --font-main: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--primary-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

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

/* --- Header & Navigation --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed; /* Changed to fixed for sticky header */
    width: 90%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(10, 15, 31, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-white);
}

.main-nav ul { list-style-type: none; margin: 0; padding: 0; display: flex; }
.main-nav ul li { margin-left: 30px; }
.main-nav a { text-decoration: none; color: var(--text-light); font-weight: 400; transition: color 0.3s ease; }
.main-nav a:hover { color: var(--accent-teal); }

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(30, 42, 82, 0.6), var(--primary-dark) 70%);
}

.hero-content { animation: fadeIn 2s ease-in-out; max-width: 800px; }
.hero-content h1 { font-size: 4rem; font-weight: 700; color: var(--text-white); margin-bottom: 20px; line-height: 1.2; }
.hero-content p { font-size: 1.2rem; font-weight: 300; margin-bottom: 40px; line-height: 1.7; color: var(--text-light); }

.cta-button {
    display: inline-block;
    background-color: var(--accent-teal);
    color: #000;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-coral);
    color: var(--text-white);
    transform: translateY(-5px);
}

/* --- Reusable Content Section Styles --- */
.content-section {
    padding: 100px 0;
}
.alt-bg {
    background-color: var(--secondary-dark);
}
.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--text-white);
    margin-bottom: 10px;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--accent-teal);
    margin-bottom: 60px;
}

/* --- Two Column Layout (About, Contact) --- */
.two-column { display: flex; align-items: center; gap: 60px; }
.column-text, .column-form, .column-image { flex: 1; }
.column-image img { width: 100%; border-radius: 10px; }

/* --- Services Section --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.service-card {
    background: var(--primary-dark);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #1a223f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0, 245, 195, 0.1); }
.service-card h3 { color: var(--accent-teal); margin-top: 0; }

/* --- Doctors Section --- */
.doctors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; justify-content: center; }
.doctor-card { text-align: center; }
.doctor-card img {
    width: 100%;
    max-width: 280px;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}
.doctor-card h3 { color: var(--text-white); margin: 10px 0 5px; }
.doctor-card span { color: var(--accent-teal); font-weight: 300; }

/* --- Contact Form --- */
.column-form form { display: flex; flex-direction: column; gap: 20px; }
.column-form input, .column-form textarea {
    background: #1a223f;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 15px;
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 1rem;
}

/* --- Footer --- */
.main-footer { text-align: center; padding: 40px 5%; font-size: 0.9rem; color: #888; }

/* --- Animations --- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .main-header { flex-direction: column; padding: 20px 0; }
    .main-nav ul { padding-top: 15px; }
    .main-nav ul li { margin: 0 10px; }
    .two-column { flex-direction: column; }
    .column-image { margin-top: 40px; }
}
