/* ============================================================
   DRISH HMS — Public Landing Page Theme
   Isolated from admin/internal CSS. Safe to change.
   ============================================================ */
:root {
    --primary:    #0a5c8a;
    --green:      #1db87e;
    --green-dark: #17a06c;
    --teal:       #20c997;
    --dark:       #1a2533;
    --muted:      #64748b;
    --light:      #f4f8fb;
    --white:      #ffffff;
    --border:     #e2e8f0;
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:  0 8px 24px rgba(0,0,0,0.09);
    --grad:       linear-gradient(135deg, #0a5c8a 0%, #1db87e 100%);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--dark);
    background: var(--white);
    margin: 0; padding: 0;
    overflow-x: hidden;
    font-size: 14px;
    line-height: 1.6;
}

/* ── HEADER ── */
.drish-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    height: 60px;
    display: flex; align-items: center;
}
.drish-nav .nav-inner {
    max-width: 1200px; margin: 0 auto;
    width: 100%; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 60px;
}
.drish-logo {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none; color: var(--dark);
    flex-shrink: 0;
}
.drish-logo .logo-icon {
    width: 34px; height: 34px;
    background: var(--grad);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; font-weight: 900;
}
.drish-logo .logo-text { line-height: 1.15; }
.drish-logo .logo-name {
    font-weight: 800; font-size: 17px; color: var(--dark);
    letter-spacing: -0.3px;
}
.drish-logo .logo-tagline {
    font-size: 10px; color: var(--muted); font-weight: 500;
    letter-spacing: 0.2px;
}
.drish-menu {
    display: flex; align-items: center; gap: 4px;
    list-style: none; margin: 0; padding: 0;
}
.drish-menu li a {
    font-size: 13.5px; font-weight: 500;
    color: var(--muted); text-decoration: none;
    padding: 6px 12px; border-radius: 6px;
    transition: color 0.2s;
    display: block;
}
.drish-menu li a:hover,
.drish-menu li.active a {
    color: var(--dark);
}
.drish-menu li.active a {
    color: var(--green);
    border-bottom: 2px solid var(--green);
    border-radius: 0;
    padding-bottom: 4px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-login {
    font-size: 13.5px; font-weight: 700;
    color: #fff !important; background: var(--grad);
    border: none; padding: 8px 20px;
    border-radius: 20px; text-decoration: none;
    display: flex; align-items: center; gap: 6px;
    transition: opacity 0.2s;
    cursor: pointer;
}
.btn-login:hover { opacity: 0.9; }
/* .btn-getstarted {
    font-size: 13.5px; font-weight: 700;
    color: #fff !important; background: var(--grad);
    border: none; padding: 8px 20px;
    border-radius: 20px; text-decoration: none;
    display: flex; align-items: center; gap: 6px;
    transition: opacity 0.2s;
    cursor: pointer;
}
.btn-getstarted:hover { opacity: 0.9; } */

/* ── HERO ── */
.hero-wrap {
    min-height: 92vh;
    margin-top: 60px;
    background: linear-gradient(160deg, #eaf6f0 0%, #e8f4fb 50%, #f4f8fb 100%);
    padding: 56px 0 40px;
}
.hero-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: flex-start; gap: 40px;
}
 .hero-left { flex: 0 0 46%; max-width: 46%; margin-left: -90px; }    /* margin is not present change  */
.hero-right { flex: 1; position: relative; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(29,184,126,0.12);
    color: var(--green-dark); font-weight: 600;
    font-size: 12.5px; padding: 5px 14px;
    border-radius: 20px; margin-bottom: 18px;
    border: 1px solid rgba(29,184,126,0.2);
}
.hero-h1 {
    font-size: 38px; font-weight: 800; line-height: 1.2;
    color: var(--dark); margin: 0 0 16px;
    letter-spacing: -0.5px;
}
.hero-h1 span { color: var(--green); }
.hero-sub {
    font-size: 14.5px; color: var(--muted);
    line-height: 1.7; margin-bottom: 26px;
    max-width: 420px;
}
.hero-btns { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.btn-demo {
    background: var(--grad); color: #fff !important;
    font-weight: 700; font-size: 14px;
    padding: 10px 22px; border-radius: 8px;
    text-decoration: none; border: none;
    display: inline-flex; align-items: center; gap: 6px;
    transition: opacity 0.2s; cursor: pointer;
}
.btn-demo:hover { opacity: 0.88; }
.btn-explore {
    background: transparent; color: var(--dark);
    font-weight: 600; font-size: 14px;
    padding: 10px 22px; border-radius: 8px;
    border: 1.5px solid var(--border);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    transition: all 0.2s;
}
.btn-explore:hover { border-color: var(--primary); color: var(--primary); }
.hero-badges { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-badges span {
    display: flex; align-items: center; gap: 5px;
    font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.hero-badges span i { color: var(--green); }

/* ── DASHBOARD MOCKUP ── */
.dash-shell {
    background: #fff; border-radius: 14px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex; flex-direction: column;
    max-width: 520px;
    margin-left: auto;
}
.dash-topbar {
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 10px 14px;
    display: flex; align-items: center; justify-content: space-between;
}
.dash-brand { font-weight: 700; font-size: 13px; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.dash-brand i { color: var(--green); }
.dash-search {
    flex: 1; margin: 0 14px;
    background: #f4f8fb; border: 1px solid var(--border);
    border-radius: 20px; padding: 5px 14px;
    font-size: 11.5px; color: var(--muted);
    display: flex; align-items: center; gap: 6px;
}
.dash-user { font-size: 11px; color: var(--muted); font-weight: 600; }
.dash-body { display: flex; flex: 1; }
.dash-sidebar {
    width: 120px; flex-shrink: 0;
    background: #f8fafc; border-right: 1px solid var(--border);
    padding: 10px 0;
}
.dash-sidebar ul { list-style: none; margin: 0; padding: 0; }
.dash-sidebar ul li {
    padding: 7px 12px; font-size: 10.5px;
    color: var(--muted); display: flex; align-items: center; gap: 6px;
    cursor: pointer; transition: background 0.15s;
}
.dash-sidebar ul li:hover,
.dash-sidebar ul li.active {
    background: rgba(29,184,126,0.08);
    color: var(--green-dark); font-weight: 600;
    border-right: 2px solid var(--green);
}
.dash-sidebar ul li i { font-size: 11px; width: 14px; }
.dash-content { flex: 1; padding: 12px; overflow: hidden; }
.dash-greeting { font-size: 12.5px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.dash-greeting-sub { font-size: 10.5px; color: var(--muted); margin-bottom: 10px; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.dash-stat {
    background: #f4f8fb; border-radius: 8px;
    padding: 8px; text-align: center;
    border: 1px solid var(--border);
}
.dash-stat .ds-label { font-size: 9px; color: var(--muted); margin-bottom: 2px; display: flex; align-items: center; gap: 3px; }
.dash-stat .ds-value { font-size: 16px; font-weight: 800; color: var(--dark); }
.dash-stat .ds-change { font-size: 8.5px; color: var(--green); }
.dash-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.dash-panel {
    background: #f8fafc; border-radius: 8px;
    border: 1px solid var(--border); padding: 8px;
    font-size: 10px;
}
.dash-panel h6 { font-size: 10px; font-weight: 700; color: var(--dark); margin: 0 0 6px; }
.appt-row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px solid #eef; color: var(--muted); font-size: 9.5px; }
.appt-row:last-child { border-bottom: none; }
.donut-wrap { display: flex; align-items: center; justify-content: center; gap: 8px; }
.donut-svg { width: 50px; height: 50px; }
.donut-legend { font-size: 9px; color: var(--muted); }
.donut-legend div { margin-bottom: 3px; }
.activity-item { display: flex; align-items: flex-start; gap: 4px; margin-bottom: 4px; font-size: 9.5px; color: var(--muted); }
.activity-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-top: 3px; flex-shrink: 0; }

/* Doctor illustration area */
.hero-doc-wrap {
    position: relative;
}
.hero-doc-badge {
    position: absolute; bottom: -8px; right: -8px;
    background: var(--grad); color: #fff;
    border-radius: 50%; width: 54px; height: 54px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; box-shadow: 0 4px 16px rgba(29,184,126,0.3);
    z-index: 2;
}
.hero-doc-circle {
    width: 80px; height: 80px;
    background: linear-gradient(135deg,#e8f9f2,#d0f0e8);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px;
    position: absolute; right: -30px; top: 30px;
    box-shadow: var(--shadow-sm);
    border: 3px solid #fff;
}
  
          /* Right Dashboard Image */
.hero-dashboard-img{
    width: 100%;
    max-width: 760px;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    margin-left: auto;
    margin-right: -70px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    overflow: hidden;
    transform: scale(1.25);
}

  .hero-right{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 0;
    min-height: 500px;
} 

/* ── MODULES ── */
.section-modules {
    padding: 50px 0 40px;
    background: #fff;
}
.section-center { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: 26px; font-weight: 800; margin: 0; color: var(--dark); }
.section-head h2 span { color: var(--green); }
.mod-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}
.mod-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 12px; padding: 18px 10px;
    text-align: center;
    transition: all 0.25s; box-shadow: var(--shadow-sm);
}
.mod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green); }
.mod-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(29,184,126,0.1);
    color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; margin: 0 auto 10px;
}
.mod-name { font-size: 11.5px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.mod-desc { font-size: 9.5px; color: var(--muted); line-height: 1.4; }

/* ── OUTCOMES ── */
.section-outcomes {
    background: var(--light);
    padding: 36px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.outcomes-head { text-align: center; margin-bottom: 24px; }
.outcomes-head h2 { font-size: 24px; font-weight: 800; margin: 0; }
.outcomes-head h2 span { color: var(--green); }
.outcomes-row {
    display: grid; grid-template-columns: repeat(5,1fr);
    gap: 16px; align-items: start;
}
.outcome-card {
    display: flex; align-items: flex-start; gap: 10px;
    background: #fff; border-radius: 10px;
    padding: 14px; border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.outcome-icon-wrap {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(29,184,126,0.1);
    color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
}
.outcome-text .outcome-title { font-size: 12px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.outcome-text .outcome-sub { font-size: 10.5px; color: var(--muted); }

/* ── STATS / TESTIMONIAL ── */
.section-stats {
    padding: 36px 0;
    background: #fff;
}
.stats-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; gap: 32px; align-items: stretch;
}
.stats-left {
    background: var(--light); border-radius: 12px;
    padding: 24px 28px; flex: 0 0 220px;
    display: flex; flex-direction: column; justify-content: center;
    border: 1px solid var(--border);
}
.stats-left h3 { font-size: 20px; font-weight: 800; color: var(--dark); margin: 0 0 6px; line-height: 1.25; }
.stats-left p { font-size: 12px; color: var(--muted); margin: 0; }
.stats-numbers {
    display: grid; grid-template-columns: repeat(5,1fr);
    gap: 12px; flex: 1; align-items: center;
}
.stat-box { text-align: center; }
.stat-box .sn { font-size: 28px; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-box .sl { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.stat-box .si { font-size: 20px; color: var(--muted); margin-bottom: 4px; }
.stats-testimonial {
    flex: 0 0 260px; background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px; padding: 20px 22px;
    position: relative; box-shadow: var(--shadow-sm);
}
.quote-mark {
    font-size: 48px; line-height: 1; color: var(--green);
    font-family: Georgia, serif; position: absolute; top: 10px; left: 16px;
    opacity: 0.25;
}
.testimonial-text {
    font-size: 12.5px; color: var(--dark); line-height: 1.65;
    margin-bottom: 14px; padding-top: 18px; font-style: italic;
}
.testimonial-author { font-size: 12px; font-weight: 700; color: var(--dark); }
.testimonial-org { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.star-row { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }

/* ── CTA BANNER ── */
.section-cta { padding: 20px 24px 0; }
.cta-box {
    max-width: 1200px; margin: 0 auto;
    background: var(--grad);
    border-radius: 14px; padding: 22px 32px;
    display: flex; align-items: center; gap: 20px;
}
.cta-icon-wrap {
    width: 48px; height: 48px; flex-shrink: 0;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
}
.cta-text { flex: 1; color: #fff; }
.cta-text h3 { font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 4px; }
.cta-text p { font-size: 12.5px; color: rgba(255,255,255,0.88); margin: 0; }
.btn-cta {
    background: #fff; color: var(--primary) !important;
    font-weight: 700; font-size: 13px;
    padding: 10px 20px; border-radius: 8px;
    text-decoration: none; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 6px;
    flex-shrink: 0; transition: opacity 0.2s;
}
.btn-cta:hover { opacity: 0.9; }

/* ── FOOTER ── */
.drish-footer {
    background: #f8fbfd;
    border-top: 1px solid var(--border);
    padding: 32px 0 0;
    margin-top: 20px;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 24px 24px;
     display: grid; grid-template-columns: 60fr 1fr 1fr 1fr 1fr;    /*  Also changed this */
    gap: 24px;
}
.footer-col .fc-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-col .fc-logo .logo-icon {
    width: 26px; height: 26px; border-radius: 6px;
    background: var(--grad);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 13px; font-weight: 900;
}
.footer-col .fc-logo .logo-name { font-weight: 800; font-size: 14px; color: var(--dark); }
.footer-col .fc-logo .logo-tagline { font-size: 10px; color: var(--muted); }
.footer-col .fc-desc { font-size: 12px; line-height: 1.65; color: var(--muted); }
.footer-col h4 { font-size: 12.5px; font-weight: 700; color: var(--dark); margin: 0 0 10px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: var(--muted); text-decoration: none; font-size: 12px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-col .contact-item {
    display: flex; align-items: flex-start; gap: 8px;
    margin-bottom: 7px; font-size: 12px; color: var(--muted);
}
.footer-col .contact-item i { color: var(--green); margin-top: 2px; width: 14px; flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 12px 24px;
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 11.5px; color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: none; margin-left: 16px; }
.footer-bottom a:hover { color: var(--primary); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .mod-grid { grid-template-columns: repeat(4, 1fr); }
    .outcomes-row { grid-template-columns: repeat(3,1fr); }
    .stats-inner { flex-wrap: wrap; }
    .stats-numbers { grid-template-columns: repeat(3,1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 800px) {
    .hero-inner { flex-direction: column; }
    .hero-left, .hero-right { flex: 0 0 100%; max-width: 100%; }
    .hero-h1 { font-size: 28px; }
    .mod-grid { grid-template-columns: repeat(2, 1fr); }
    .outcomes-row { grid-template-columns: 1fr 1fr; }
    .stats-numbers { grid-template-columns: repeat(2,1fr); }
    .cta-box { flex-direction: column; text-align: center; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .drish-menu { display: none; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
    .outcomes-row { grid-template-columns: 1fr; }
    .mod-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; }
}
