@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary-dark: #0a2540;
    --primary-blue: #0284c7;
    --primary-light: #38bdf8;
    --soft-blue: #f0f9ff;
    --teal-accent: #0d9488;
    --teal-soft: #f0fdfa;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.25s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.75;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; margin-top: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-top: 1.5rem; margin-bottom: 0.75rem; }

p {
    margin-bottom: 1.25rem;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    padding: 0.9rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--teal-accent);
}

.logo svg {
    width: 30px;
    height: 30px;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--teal-accent));
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(2, 132, 199, 0.35);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a2540 0%, #0f3b68 60%, #0d9488 100%);
    color: var(--white);
    padding: 4.5rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    max-width: 850px;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.2rem;
    max-width: 760px;
    color: #e2e8f0;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #bae6fd;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--teal-accent);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    background-color: #0f766e;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

/* Articles Section */
.articles-section {
    padding: 4.5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    color: var(--teal-accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Cards Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background-color: #e2e8f0;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.04);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--teal-accent);
    background-color: var(--teal-soft);
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 0.75rem;
    letter-spacing: 0.04em;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.card-title a {
    color: var(--primary-dark);
}

.card-title a:hover {
    color: var(--primary-blue);
}

.card-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.read-more {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--primary-blue);
}

.read-more:hover {
    gap: 0.5rem;
    color: var(--primary-dark);
}

/* Single Article Styling */
.article-header {
    padding: 3rem 0 1.5rem 0;
    max-width: 820px;
    margin: 0 auto;
}

.article-header h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-image-container {
    max-width: 960px;
    margin: 0 auto 2.5rem auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-height: 480px;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-body {
    max-width: 820px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 2rem 0;
    display: block;
    box-shadow: var(--shadow-sm);
}

.article-body ul, .article-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

/* Callout Box - SanteDent */
.clinic-highlight {
    background: linear-gradient(135deg, var(--soft-blue), #e0f2fe);
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin: 2.2rem 0;
}

.clinic-highlight p {
    margin-bottom: 0;
    color: var(--primary-dark);
    font-size: 1.02rem;
}

.clinic-highlight a {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: underline;
}

.doctor-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--teal-soft);
    border: 1px solid #99f6e4;
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    margin: 2rem 0;
}

.doctor-badge-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--teal-accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.doctor-badge-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.05rem;
    color: #0f766e;
}

.doctor-badge-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #134e4a;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

th, td {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

th {
    background-color: var(--soft-blue);
    color: var(--primary-dark);
    font-weight: 700;
}

tr:nth-child(even) {
    background-color: #f8fafc;
}

/* Contact Page Layout */
.contact-hero {
    padding: 3.5rem 0 2rem 0;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0 4rem 0;
}

.contact-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--soft-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-card strong {
    color: var(--primary-dark);
    font-size: 1.1rem;
    display: block;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    padding: 4rem 0 2rem 0;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 { font-size: 2.2rem; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .grid { grid-template-columns: 1fr; }
    .article-body { padding: 2rem 1.5rem; }
    .article-header h1 { font-size: 2rem; }
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .hero { padding: 3rem 0; }
    .hero h1 { font-size: 1.85rem; }
}
