/* style.css */
:root {
    --primary-color: #0056b3; /* Medical Blue */
    --secondary-color: #0088cc;
    --accent-color: #f8f9fa;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body { line-height: 1.6; color: var(--text-color); background-color: var(--accent-color); }

/* Header & Nav */
header { background: var(--white); box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.container { width: 90%; max-width: 1200px; margin: auto; overflow: hidden; padding: 0 20px; }
nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); text-decoration: none; display: flex; align-items: center; }
.logo span { color: var(--secondary-color); }
.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 20px; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }

/* Hero Section */
.hero { background: linear-gradient(rgba(0,86,179,0.8), rgba(0,136,204,0.8)), url('https://placehold.co/1920x800?text=Exeter+Medical+Background'); background-size: cover; background-position: center; color: var(--white); height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; max-width: 700px; }
.btn { display: inline-block; background: var(--white); color: var(--primary-color); padding: 10px 30px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: 0.3s; }
.btn:hover { background: #e2e6ea; }

/* Sections General */
section { padding: 60px 0; background: var(--white); }
section:nth-child(even) { background: var(--accent-color); }
.section-title { text-align: center; margin-bottom: 40px; color: var(--primary-color); }

/* Grid Layouts */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; align-items: center; }

/* Services Cards */
.card { background: var(--white); padding: 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); text-align: center; transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); }
.card img { width: 100%; height: 200px; object-fit: cover; border-radius: 5px; margin-bottom: 15px; }
.card h3 { margin-bottom: 10px; color: var(--primary-color); }

/* Doctor Profiles */
.doc-card { text-align: center; background: var(--white); padding: 20px; border-radius: 8px; border: 1px solid #eee; }
.doc-card img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 3px solid var(--secondary-color); }
.specialty { color: var(--secondary-color); font-weight: bold; font-size: 0.9rem; margin-bottom: 10px; display: block; }

/* Forms */
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; }
.form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; }
.btn-submit { background: var(--primary-color); color: var(--white); border: none; padding: 10px 20px; cursor: pointer; width: 100%; }

/* Footer */
footer { background: #222; color: var(--white); padding: 40px 0; margin-top: auto; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.footer-col h4 { margin-bottom: 15px; border-bottom: 2px solid var(--secondary-color); display: inline-block; padding-bottom: 5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #ccc; text-decoration: none; }
.copyright { text-align: center; margin-top: 30px; border-top: 1px solid #444; padding-top: 20px; font-size: 0.9rem; }