/* --- 1. GLOBAL SETTINGS --- */
:root {
    --dr-blue: #0B3D91;       
    --dr-teal: #007961;       
    --dr-white: #ffffff;
    --dr-gray: #f8fafd;       
    --dr-text: #333333;
    --dr-footer-bg: #0F172A; /* Premium Dark Slate */
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body { margin: 0; padding: 0; font-family: var(--font-body); background-color: var(--dr-white); color: var(--dr-text); line-height: 1.6; }

/* Utilities */
.drsm-page-container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
.drsm-section-title { text-align: center; margin: 60px 0 40px; }
.drsm-section-header { text-align: center; margin-bottom: 50px; animation: fadeIn 0.8s ease-out; }
.drsm-section-header h1 { font-family: var(--font-head); color: var(--dr-blue); font-size: 2.8rem; margin: 10px 0; }
.drsm-separator { width: 60px; height: 5px; background: var(--dr-teal); margin: 0 auto; border-radius: 10px; }
.drsm-badge { background: #e0f2f1; color: var(--dr-teal); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

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

/* --- 2. HEADER --- */
.drsm-header-spacer { height: 80px; }
.drsm-header { position: fixed; top: 0; left: 0; width: 100%; height: 80px; z-index: 9999; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,0.05); animation: slideDown 0.5s ease-out; }
.drsm-header-inner { max-width: 1200px; margin: 0 auto; height: 100%; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.drsm-brand { text-decoration: none; display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
.drsm-brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--dr-blue); text-transform: uppercase; }
.drsm-brand-sub { font-size: 0.75rem; color: #666; letter-spacing: 1.5px; font-weight: 600; }
.drsm-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.drsm-menu a { text-decoration: none; color: var(--dr-text); font-weight: 600; font-size: 0.95rem; transition: color 0.3s ease; }
.drsm-menu a:hover { color: var(--dr-teal); }
.drsm-cta-btn { background-color: var(--dr-teal); color: #fff !important; padding: 10px 24px; border-radius: 50px; font-size: 0.9rem !important; font-weight: 700 !important; box-shadow: 0 4px 10px rgba(0, 121, 97, 0.2); transition: all 0.3s ease; }
.drsm-cta-btn:hover { background-color: var(--dr-blue); transform: translateY(-2px); }

/* --- 3. PAGE CONTENT --- */
.drsm-about-grid { display: flex; gap: 50px; align-items: start; }
.drsm-about-text { flex: 1; }
.drsm-about-text .lead { font-size: 1.2rem; font-weight: 600; color: var(--dr-teal); margin-bottom: 20px; }
.drsm-about-image img { width: 100%; max-width: 400px; border-radius: 20px; box-shadow: 20px 20px 0 rgba(11, 61, 145, 0.1); }
.drsm-timeline { margin-top: 40px; border-left: 3px solid #eee; padding-left: 30px; }
.timeline-item { position: relative; margin-bottom: 30px; }
.time-marker { position: absolute; left: -38px; top: 5px; width: 15px; height: 15px; background: var(--dr-blue); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #eee; }
.timeline-item h4 { margin: 0 0 5px; color: var(--dr-blue); font-family: var(--font-head); }

.drsm-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.drsm-service-card { background: #fff; padding: 35px; border-radius: 12px; border: 1px solid #eee; box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: transform 0.3s; text-align: center; }
.drsm-service-card:hover { transform: translateY(-5px); border-bottom: 4px solid var(--dr-teal); }
.serv-icon { font-size: 3rem; margin-bottom: 20px; }
.drsm-service-card h3 { font-family: var(--font-head); color: var(--dr-blue); margin-bottom: 15px; }

.drsm-contact-cards-row { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 60px; }
.drsm-contact-box { flex: 1; min-width: 250px; background: #fff; padding: 30px; border-radius: 12px; text-align: center; text-decoration: none; color: inherit; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #eee; transition: transform 0.3s; }
.drsm-contact-box:hover { transform: translateY(-5px); }
.drsm-contact-box.whatsapp-box { background: #f0fff4; border-color: #25D366; }
.c-icon { font-size: 2.5rem; margin-bottom: 15px; }
.drsm-contact-box h3 { font-family: var(--font-head); color: var(--dr-blue); margin: 0 0 5px; }
.drsm-contact-box p { font-weight: 600; color: #555; margin: 0; }

/* --- 4. HOMEPAGE --- */
.drsm-hero-wrapper { display: flex; align-items: center; gap: 50px; padding: 40px 20px 80px; max-width: 1200px; margin: 0 auto; animation: fadeIn 0.8s ease-out; }
.drsm-hero-content { flex: 1; }
.drsm-hero-content h1 { font-family: var(--font-head); color: var(--dr-blue); font-size: 3.2rem; margin: 15px 0; line-height: 1.1; font-weight: 800; }
.drsm-subtitle { font-size: 1.2rem; color: #555; font-weight: 600; margin-bottom: 20px; border-left: 4px solid var(--dr-teal); padding-left: 15px; }
.drsm-hero-actions { display: flex; gap: 15px; margin-top: 30px; }
.drsm-btn { padding: 14px 30px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: transform 0.2s; display: inline-block;}
.drsm-btn.primary { background: var(--dr-blue); color: #fff; }
.drsm-btn.whatsapp { background: #25D366; color: #fff; }
.drsm-btn:hover { transform: translateY(-3px); }
.drsm-hero-image img { width: 100%; max-width: 420px; border-radius: 24px; box-shadow: 25px 25px 0 rgba(11, 61, 145, 0.08); }

.drsm-hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1000px; margin: 0 auto; }
.drsm-hub-card { display: block; padding: 40px; border-radius: 16px; text-decoration: none; color: #333; border: 1px solid #edf2f7; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: transform 0.3s; }
.drsm-hub-card:hover { transform: translateY(-8px); }
.drsm-hub-card.patient-theme { border-top: 6px solid var(--dr-teal); }
.drsm-hub-card.student-theme { border-top: 6px solid var(--dr-blue); }
.hub-icon { font-size: 3rem; margin-bottom: 20px; }
.hub-link { display: inline-block; margin-top: 20px; font-weight: 700; font-size: 0.9rem; color: var(--dr-blue); text-transform: uppercase; }

.drsm-clinics-container { display: flex; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 20px; }
.drsm-city-column { flex: 1; min-width: 320px; }
.drsm-city-header { background: var(--dr-blue); color: #fff; padding: 12px 25px; border-radius: 8px; margin-bottom: 25px; font-family: var(--font-head); }
.drsm-clinic-card { background: #fff; padding: 25px; margin-bottom: 20px; border-radius: 12px; border-left: 5px solid #e0e0e0; box-shadow: 0 2px 10px rgba(0,0,0,0.03); transition: border-left-color 0.3s; }
.drsm-clinic-card:hover { border-left-color: var(--dr-teal); }
.drsm-clinic-card h4 { margin: 0 0 8px; color: var(--dr-blue); font-weight: 700; }
.clinic-call { display: inline-block; margin-top: 10px; font-size: 0.9rem; color: var(--dr-teal); font-weight: 700; text-decoration: none; border: 1px solid var(--dr-teal); padding: 5px 15px; border-radius: 4px; }
.clinic-call:hover { background: var(--dr-teal); color: #fff; }

/* --- 5. PREMIUM FOOTER STYLES (Fixed) --- */
.drsm-premium-footer {
    background-color: var(--dr-footer-bg);
    color: #94A3B8; /* Muted text */
    margin-top: 100px;
    padding: 0;
    font-size: 0.9rem;
}

/* Row 1: Social */
.drsm-footer-social-row {
    padding: 30px 20px;
    border-bottom: 1px solid #1E293B; /* Subtle separator */
    text-align: center;
}

.drsm-footer-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #64748B;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.drsm-footer-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Horizontal Gap */
    flex-wrap: wrap; /* Safety for mobile */
}

/* Icon Links (Circle Container) */
.drsm-icon-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background-color: #1E293B;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.drsm-icon-link:hover {
    background-color: var(--dr-blue);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.1);
}

/* The SVG itself - STRICT SIZE */
.drsm-icon-link svg {
    width: 20px !important;
    height: 20px !important;
    fill: #ffffff;
    display: block;
}

/* Row 2: Legal & Copyright */
.drsm-footer-legal-row {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.drsm-copyright {
    font-size: 0.85rem;
    color: #64748B;
}

.drsm-footer-contact a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.drsm-footer-contact a:hover {
    color: #fff;
}

.divider {
    margin: 0 10px;
    color: #334155;
}

/* --- MOBILE --- */
.drsm-toggle-checkbox { display: none; }
.drsm-toggle-icon { display: none; cursor: pointer; padding: 10px; }
.drsm-toggle-icon .bar { width: 25px; height: 3px; background-color: var(--dr-blue); margin: 5px 0; border-radius: 2px; }

@media (max-width: 900px) {
    .drsm-toggle-icon { display: block; }
    .drsm-menu { position: absolute; top: 80px; left: 0; width: 100%; background: #fff; flex-direction: column; align-items: flex-start; padding: 20px 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 1px solid #eee; display: none; }
    .drsm-toggle-checkbox:checked ~ .drsm-menu { display: flex; }
    .drsm-menu li { width: 100%; }
    .drsm-menu a { display: block; padding: 15px 30px; border-bottom: 1px solid #f5f5f5; }
    .drsm-cta-btn { width: 90%; margin: 10px auto; text-align: center; display: block; }
    .drsm-hero-wrapper, .drsm-about-grid { flex-direction: column; text-align: center; }
    .drsm-hero-wrapper { flex-direction: column-reverse; }
    .drsm-hero-image img, .drsm-about-image img { max-width: 100%; width: 350px; }
    .drsm-footer-legal-row { flex-direction: column; text-align: center; }
}
/* Add to bottom of drsm-style.css */
.clinic-call.clinic-wa {
    border-color: #25D366;
    color: #25D366;
}
.clinic-call.clinic-wa:hover {
    background-color: #25D366;
    color: #fff;
}