/* --- Global Reset & Core Variables --- */
:root {
    --primary: #0076a3; /* Clean Dental Blue */
    --primary-dark: #005678;
    --accent: #5ce1e6;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f4f9fc;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

/* --- Top Utility Bar --- */
.top-bar {
    background: #222;
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}
.split-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social-icons a {
    color: #ccc;
    margin-left: 15px;
    transition: color 0.3s;
}
.social-icons a:hover { color: var(--accent); }

/* --- Main Header Branding Zone --- */
.main-header {
    padding: 25px 0;
    background: var(--white);
}
.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.site-title {
    color: var(--primary);
    font-size: 28px;
    font-weight: 700;
}
.site-title span { color: var(--text-dark); font-weight: 300; }

.header-info-blocks {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.info-block {
    display: flex;
    align-items: center;
    gap: 12px;
}
.icon-circle {
    background: var(--bg-light);
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.info-block strong { display: block; color: var(--text-dark); font-size: 15px; }
.info-block span { display: block; color: var(--text-light); font-size: 13px; }

/* --- Navigation Bar --- */
.nav-bar {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links a {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    background: var(--primary-dark);
}

/* --- Hero Banner Section --- */
.hero-banner {
    background: linear-gradient(rgba(0, 54, 76, 0.6), rgba(0, 54, 76, 0.4)), url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?q=80&w=2070') center/cover no-repeat;
    color: var(--white);
    padding: 100px 0;
    text-align: left;
}
.hero-content { max-width: 600px; }
.hero-content h2 { font-size: 42px; line-height: 1.2; margin-bottom: 15px; }
.hero-content p { font-size: 18px; margin-bottom: 25px; }
.btn-main {
    display: inline-block;
    background: var(--accent);
    color: #111;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s;
}
.btn-main:hover { background: var(--white); }

/* --- Feature Grid Block --- */
.features-section {
    margin-top: -40px;
    position: relative;
    z-index: 10;
    padding-bottom: 50px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    border-bottom: 4px solid var(--primary);
    transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-icon {
    font-size: 35px;
    color: var(--primary);
    margin-bottom: 15px;
}
.feature-card h3 { margin-bottom: 10px; font-size: 20px; }
.feature-card p { color: var(--text-light); font-size: 14px; }

/* --- Content Layout --- */
.welcome-section { padding: 60px 0; background: var(--white); }
.main-content-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}
.subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
}
.welcome-text h2 { font-size: 32px; margin: 5px 0 20px 0; }
.welcome-text p { margin-bottom: 15px; color: #444; }

.img-placeholder {
    background: var(--bg-light);
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.img-placeholder i { font-size: 60px; margin-bottom: 10px; }

/* --- Services Block --- */
.services-list-section {
    background: var(--bg-light);
    padding: 60px 0;
}
.section-title { font-size: 28px; margin-bottom: 30px; text-align: center; }
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
}
.service-item {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.service-item h4 { font-size: 15px; color: #444; font-weight: 500; }
.service-item i { color: var(--primary); margin-right: 8px; }

/* --- Footer Elements --- */
.main-footer {
    background: #1a1a1a;
    color: #b3b3b3;
    padding: 60px 0 0 0;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}
.footer-col p { margin-bottom: 15px; line-height: 1.5; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #b3b3b3; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

.hours-list { list-style: none; }
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #2a2a2a;
}

.contact-details { list-style: none; }
.contact-details li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}
.contact-details i { color: var(--primary); margin-top: 4px; }
.contact-details a { color: #b3b3b3; text-decoration: none; }

.footer-bottom {
    background: #111;
    padding: 20px 0;
    border-top: 1px solid #222;
    font-size: 13px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .main-content-layout { grid-template-columns: 1fr; gap: 30px; }
    .hero-content h2 { font-size: 32px; }
    .header-grid { justify-content: center; text-align: center; }
    .header-info-blocks { justify-content: center; }
}