:root {
    --primary: #e63946;
    --secondary: #ffdd00;
    --dark: #1d1d1d;
    --light: #f8f9fa;
    --text: #222222;
    --transition: all 0.3s ease;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    line-height: 1.6;
    background: #fff;
}

/* --- Header & Nav --- */
header {
    background: #fff;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary);
}

.btn-cta {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-cta:hover {
    background: #004494;
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../img/hero.webp');
    background-size: cover;
    padding: 100px 5%;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-highlights span {
    font-weight: 600;
    color: var(--primary);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

/* --- Common Section Styles --- */
section {
    padding: 80px 5%;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--dark);
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.service-card {
    padding: 30px;
    background: var(--light);
    border-radius: 10px;
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* --- Insurance Section --- */
.insurance {
    background: var(--light);
}

.insurance-content {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.insurance-text {
    flex: 1;
    min-width: 300px;
}

.insurance-list {
    list-style: none;
    margin: 20px 0;
}

.insurance-list li {
    margin-bottom: 10px;
}

.insurance-list li i {
    color: var(--secondary);
    margin-right: 10px;
}

/* --- Appointment Form --- */
.appointment-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 30px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

/* --- Popups (Modals) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Footer --- */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 5% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.8rem;
}

.social-links a {
    color: white;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    /* Mobile menu simplified for demo */
    .hero h1 {
        font-size: 2rem;
    }
}