/* =========================================================================
   Public website: modern theme. Scoped under .site (set on the page wrapper in
   layouts/master.blade.php) so the admin dashboard keeps its own styles.
   ========================================================================= */
.site {
    --s-primary: #0f766e;
    --s-primary-600: #0d655e;
    --s-primary-700: #115e59;
    --s-primary-soft: #e6f4f2;
    --s-accent: #f59e0b;
    --s-ink: #0f172a;
    --s-text: #334155;
    --s-muted: #64748b;
    --s-border: #e2e8f0;
    --s-bg: #f8fafc;
    --s-radius: 16px;
    --s-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .07);
    --s-max: 1200px;

    background: #fff;
    color: var(--s-text);
    font-size: 16px;
    line-height: 1.65;
}
/* Undo site-wide legacy rules: jBox.css `* {font-size:21px; font-family:Comfortaa}`,
   style.css `i {color:#fff}`, `li {color:#fff}`, `a {color:... !important}` */
.site *:not(i):not(.fa):not(.fas):not(.far):not(.fab) {
    font-family: 'Hind Siliguri', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
.site :where(*) { font-size: inherit; }
.site :where(i, li) { color: inherit; }
.site a { color: var(--s-primary) !important; }
.site h1, .site h2, .site h3, .site h4, .site h5 { color: var(--s-ink); font-weight: 700; line-height: 1.3; }

.sx-container { width: 100%; max-width: var(--s-max); margin: 0 auto; padding: 0 20px; }
.sx-section { padding: 72px 0; }
.sx-section.alt { background: var(--s-bg); }
.sx-eyebrow {
    display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em;
    color: var(--s-primary); background: var(--s-primary-soft);
    padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.sx-title { font-size: 32px; margin: 0 0 10px; }
.sx-lead { font-size: 17px; color: var(--s-muted); max-width: 640px; }
.sx-center { text-align: center; }
.sx-center .sx-lead { margin-left: auto; margin-right: auto; }

/* buttons */
.sx-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 24px; border-radius: 12px; border: 0;
    font-size: 16px; font-weight: 600; line-height: 1.2;
    text-decoration: none !important; cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s;
}
.sx-btn:hover { transform: translateY(-1px); }
/* .site prefix: must out-rank `.site a { color: ... !important }` above */
.site .sx-btn-primary { background: var(--s-primary); color: #fff !important; box-shadow: 0 8px 20px rgba(15, 118, 110, .3); }
.site .sx-btn-primary:hover { background: var(--s-primary-600); box-shadow: 0 10px 24px rgba(15, 118, 110, .38); }
.site .sx-btn-accent { background: var(--s-accent); color: #1f2937 !important; box-shadow: 0 8px 20px rgba(245, 158, 11, .3); }
.site .sx-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff !important; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(4px); }
.site .sx-btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.site .sx-btn-outline { background: #fff; color: var(--s-primary) !important; border: 1px solid var(--s-border); }
.sx-btn-outline:hover { border-color: var(--s-primary); }
.sx-btn-sm { padding: 9px 16px; font-size: 14.5px; border-radius: 10px; }

/* ---------------------------------------------------------------- header */
.sx-header {
    position: sticky; top: 0; z-index: 1050;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(170%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .2s, border-color .2s;
}
.sx-header.scrolled { border-bottom-color: var(--s-border); box-shadow: 0 4px 20px rgba(15, 23, 42, .06); }
.sx-header-in { display: flex; align-items: center; gap: 20px; height: 72px; }
.sx-brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; flex-shrink: 0; }
.sx-brand img { width: 44px; height: 44px; object-fit: contain; }
.sx-brand-name { color: var(--s-ink); font-weight: 700; font-size: 16.5px; line-height: 1.2; display: block; }
.sx-brand-sub { color: var(--s-muted); font-size: 12.5px; line-height: 1.2; display: block; }

.sx-nav { display: flex; align-items: center; gap: 2px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.sx-nav > li { position: relative; }
.sx-nav > li > a, .sx-nav > li > button {
    display: block; padding: 9px 13px; border-radius: 10px; border: 0; background: none;
    color: var(--s-text) !important; font-size: 15px; font-weight: 500;
    text-decoration: none !important; cursor: pointer; white-space: nowrap;
    transition: background .15s, color .15s;
}
.sx-nav > li > a:hover, .sx-nav > li > button:hover { background: var(--s-bg); color: var(--s-ink) !important; }
.sx-nav > li > a.active { color: var(--s-primary) !important; background: var(--s-primary-soft); }
.sx-nav .sx-caret { font-size: 11px; margin-left: 4px; opacity: .6; }

.sx-drop {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 300px; max-width: 360px;
    background: #fff; border: 1px solid var(--s-border); border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .14); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s;
}
.sx-nav > li:hover > .sx-drop, .sx-nav > li.open > .sx-drop { opacity: 1; visibility: visible; transform: none; }
.sx-drop a {
    display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px;
    color: var(--s-text) !important; font-size: 14.5px; line-height: 1.4; text-decoration: none !important;
}
.sx-drop a:hover { background: var(--s-bg); }
.sx-drop a i { color: var(--s-primary); margin-top: 4px; font-size: 12px; }
.sx-drop-empty { padding: 12px; color: var(--s-muted); font-size: 14px; }

.sx-header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.sx-burger {
    display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--s-border);
    background: #fff; color: var(--s-ink); font-size: 18px; cursor: pointer; margin-left: auto;
}

/* ---------------------------------------------------------------- hero */
.sx-hero { position: relative; min-height: 640px; height: 82vh; max-height: 820px; overflow: hidden; background: #0b2e2b; }
.sx-hero .carousel, .sx-hero .carousel-inner, .sx-hero .carousel-item { height: 100%; }
.sx-hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.sx-hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(100deg, rgba(6, 30, 28, .92) 0%, rgba(6, 30, 28, .72) 45%, rgba(6, 30, 28, .25) 100%);
}
.sx-hero-content {
    position: absolute; inset: 0; z-index: 2; display: flex; align-items: center;
}
.sx-hero-text { max-width: 640px; color: #fff; }
.sx-hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
    font-size: 14px; color: #d1fae5; margin-bottom: 18px;
}
.sx-hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: sxPulse 2s infinite; }
@keyframes sxPulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.sx-hero h1 { color: #fff !important; font-size: 46px; line-height: 1.25; margin: 0 0 16px; font-weight: 700; }
.sx-hero h1 span { color: #5eead4; }
.sx-hero p { font-size: 18px; color: rgba(255, 255, 255, .85); margin: 0 0 28px; }
.sx-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sx-hero .carousel-indicators { z-index: 3; bottom: 110px; justify-content: flex-start; margin-left: max(20px, calc((100% - var(--s-max)) / 2 + 20px)); margin-right: 0; }
.sx-hero .carousel-indicators li { width: 28px; height: 4px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .45); }
.sx-hero .carousel-indicators .active { background: #fff; width: 44px; }

/* availability cards overlapping the hero */
.sx-stats { position: relative; z-index: 5; margin-top: -84px; }
.sx-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sx-stat {
    background: #fff; border: 1px solid var(--s-border); border-radius: var(--s-radius);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .1); padding: 22px 22px 20px;
}
.sx-stat-icon {
    width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 19px; margin-bottom: 14px;
}
.sx-stat-value { font-size: 36px; font-weight: 700; color: var(--s-ink); line-height: 1; }
.sx-stat-label { font-size: 15.5px; font-weight: 600; color: var(--s-ink); margin-top: 6px; }
.sx-stat-note { font-size: 13px; color: var(--s-muted); margin-top: 4px; line-height: 1.45; }
.sx-stat.cta { background: linear-gradient(135deg, var(--s-primary) 0%, var(--s-primary-700) 100%); border: 0; color: #fff; display: flex; flex-direction: column; }
.sx-stat.cta .sx-stat-label { color: #fff; font-size: 18px; }
.sx-stat.cta .sx-stat-note { color: rgba(255, 255, 255, .8); }
.sx-stat.cta .sx-btn { margin-top: auto; align-self: flex-start; }
.i-teal { background: var(--s-primary-soft); color: var(--s-primary); }
.i-blue { background: #e8efff; color: #2563eb; }
.i-amber { background: #fdf3e2; color: #d97706; }
.i-white { background: rgba(255, 255, 255, .16); color: #fff; }

/* online services / rich text from admin */
.sx-richtext { font-size: 17px; color: var(--s-text); }
.sx-richtext h1, .sx-richtext h2, .sx-richtext h3 { font-size: 22px; }
.sx-richtext p { margin-bottom: 12px; }
.sx-richtext img { max-width: 100%; height: auto; border-radius: 12px; }
/* Admin-entered HTML (TinyMCE) carries inline font sizes/families; keep it on-theme */
.site .sx-richtext *:not(i) { font-family: inherit !important; font-size: inherit !important; line-height: inherit; }
.sx-card {
    background: #fff; border: 1px solid var(--s-border); border-radius: var(--s-radius);
    box-shadow: var(--s-shadow); padding: 28px;
}

/* steps */
.sx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; counter-reset: step; }
.sx-step { position: relative; background: #fff; border: 1px solid var(--s-border); border-radius: var(--s-radius); padding: 26px 22px; box-shadow: var(--s-shadow); }
.sx-step-num {
    width: 40px; height: 40px; border-radius: 12px; background: var(--s-primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; margin-bottom: 16px;
}
.sx-step h3 { font-size: 18px; margin: 0 0 6px; }
.sx-step p { font-size: 15px; color: var(--s-muted); margin: 0; }

/* notices + contact split */
.sx-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.sx-list { list-style: none; margin: 0; padding: 0; }
.sx-list li { border-bottom: 1px solid var(--s-border); }
.sx-list li:last-child { border-bottom: 0; }
.sx-list a {
    display: flex; align-items: center; gap: 14px; padding: 14px 4px;
    color: var(--s-text) !important; text-decoration: none !important; transition: color .15s;
}
.sx-list a:hover { color: var(--s-primary) !important; }
.sx-list .date {
    flex-shrink: 0; width: 56px; text-align: center; border-radius: 10px; background: var(--s-primary-soft);
    color: var(--s-primary); padding: 6px 0; line-height: 1.1;
}
.sx-list .date b { display: block; font-size: 19px; }
.sx-list .date small { font-size: 12px; }
.sx-list .title { font-weight: 500; }
.sx-list .arrow { margin-left: auto; color: var(--s-muted); font-size: 13px; }
.sx-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sx-card-head h3 { font-size: 20px; margin: 0; display: flex; align-items: center; gap: 10px; }
.sx-card-head h3 i { color: var(--s-primary); }
.sx-empty { color: var(--s-muted); padding: 16px 0; }

.sx-contact-card { background: linear-gradient(160deg, #0f2f2c 0%, #0b201e 100%); color: #cbd5e1; border: 0; }
.sx-contact-card h3 { color: #fff; }
.sx-contact-card .sx-richtext { color: #cbd5e1; font-size: 15.5px; }
.sx-contact-card .sx-richtext * { color: inherit; }
.sx-contact-card a { color: #5eead4 !important; }

/* ---------------------------------------------------------------- inner pages */
.sx-pagehead {
    background: linear-gradient(120deg, #0f766e 0%, #115e59 60%, #134e4a 100%);
    color: #fff; padding: 46px 0 50px; position: relative; overflow: hidden;
}
.sx-pagehead::after {
    content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}
.sx-pagehead h1 { color: #fff !important; font-size: 34px; margin: 0 0 6px; }
.sx-pagehead p { margin: 0; color: rgba(255, 255, 255, .8); }
.sx-crumbs { font-size: 14px; margin-bottom: 10px; color: rgba(255, 255, 255, .75); }
.sx-crumbs a { color: #ccfbf1 !important; text-decoration: none !important; }
.sx-page { padding: 48px 0 72px; background: var(--s-bg); }

/* shared look for legacy markup inside public pages */
.site .card { border: 1px solid var(--s-border); border-radius: var(--s-radius); box-shadow: var(--s-shadow); }
.site .form-control, .site .custom-select {
    min-height: 46px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 10px 14px;
    font-size: 15.5px; background-color: #fff; transition: border-color .15s, box-shadow .15s;
}
/* mdb.min.css gives text inputs `box-sizing: content-box` + fixed height, so padding
   made them 68px tall and wider than their column */
.site input.form-control, .site select.form-control, .site .custom-select { box-sizing: border-box; height: 46px; margin: 0; }
.site textarea.form-control { box-sizing: border-box; height: auto; }
.site .form-control:focus, .site .custom-select:focus { border-color: var(--s-primary); box-shadow: 0 0 0 3px rgba(15, 118, 110, .15); outline: 0; }
.site label { font-size: 14.5px; font-weight: 600; color: var(--s-ink); margin-bottom: 6px; }
.site .form-control-file { font-size: 14.5px; padding: 8px 0; }
.site .btn { text-transform: none; border-radius: 10px; font-weight: 600; letter-spacing: 0; box-shadow: none; }
.site .btn-success { background: var(--s-primary) !important; padding: 12px 28px; font-size: 16px; }
.site .btn-success:hover { background: var(--s-primary-600) !important; box-shadow: 0 8px 20px rgba(15, 118, 110, .3); }
.site .alert { border: 0; border-radius: 12px; }
.site .alert-success { background: #e8f6ed; color: #14532d; border-left: 4px solid #16a34a; }
.site .alert-danger { background: #fdecec; color: #7f1d1d; border-left: 4px solid #dc2626; }
.site .table { font-size: 15px; color: var(--s-text); margin: 0; }
.site .table thead th { background: #f1f5f9 !important; color: #334155; font-weight: 600; border-bottom: 1px solid var(--s-border); white-space: nowrap; }
.site .table td, .site .table th { border-color: #eef2f6; vertical-align: middle; padding: 12px 14px; }
.site .table-striped tbody tr:nth-of-type(odd) { background: #fafcfd; }

/* menu pages (page.blade.php) */
.site ._r_section_body_right img { max-width: 100%; border-radius: 14px; box-shadow: var(--s-shadow); }
.site ._r_section_body_right h5 { font-size: 17px; margin-top: 10px; }
.site ._r_kgc_dynamicPage { background: #fff; border: 1px solid var(--s-border); border-radius: var(--s-radius); padding: 28px; box-shadow: var(--s-shadow); }
.site #wrapper .first, .site #ticker-1 { background: var(--s-primary) !important; }

/* apply form helpers */
.sx-form-section { font-size: 16px; font-weight: 700; color: var(--s-ink); margin: 8px 0 14px; padding-bottom: 8px; border-bottom: 1px dashed var(--s-border); display: flex; align-items: center; gap: 8px; }
.sx-form-section i { color: var(--s-primary); }

/* login */
.sx-auth { min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center; padding: 48px 20px; background: radial-gradient(1200px 500px at 50% -10%, #d7f0ec 0%, var(--s-bg) 60%); }
.sx-auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--s-border); border-radius: 20px; box-shadow: 0 20px 50px rgba(15, 23, 42, .1); padding: 36px 32px; }
.sx-auth-card img { width: 64px; height: 64px; object-fit: contain; display: block; margin: 0 auto 14px; }
.sx-auth-card h1 { font-size: 24px; text-align: center; margin: 0 0 4px; }
.sx-auth-card p.sub { text-align: center; color: var(--s-muted); margin: 0 0 24px; font-size: 15px; }
.sx-input-icon { position: relative; margin-bottom: 14px; }
.sx-input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--s-muted); font-size: 15px; }
.sx-input-icon .form-control { padding-left: 42px; }

/* contact page */
.sx-map { border-radius: var(--s-radius); overflow: hidden; box-shadow: var(--s-shadow); border: 1px solid var(--s-border); line-height: 0; }
.sx-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }
.sx-field { margin-bottom: 14px; }

/* ---------------------------------------------------------------- footer */
.sx-footer { background: #0b1f1d; color: #94a3b8; padding: 60px 0 0; font-size: 15px; }
.sx-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 40px; }
.sx-footer h4 { color: #fff; font-size: 16px; margin: 0 0 16px; }
.sx-footer .sx-brand-name { color: #fff; }
.sx-footer .sx-brand-sub { color: #94a3b8; }
.sx-footer p { margin: 14px 0 0; line-height: 1.7; }
.sx-footer ul { list-style: none; margin: 0; padding: 0; }
.sx-footer ul li { margin-bottom: 10px; }
.sx-footer a { color: #cbd5e1 !important; text-decoration: none !important; transition: color .15s; }
.sx-footer a:hover { color: #5eead4 !important; }
.sx-footer .sx-richtext { color: #94a3b8; font-size: 15px; }
.sx-footer .sx-richtext * { color: inherit; }
.sx-footer-bottom { margin-top: 48px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1099.98px) {
    .sx-burger { display: inline-flex; align-items: center; justify-content: center; }
    .sx-header-cta .sx-btn .lbl { display: none; }
    .sx-nav {
        position: absolute; left: 0; right: 0; top: 72px; margin: 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: #fff; border-bottom: 1px solid var(--s-border);
        box-shadow: 0 16px 30px rgba(15, 23, 42, .1); padding: 10px 16px 16px;
        display: none; max-height: calc(100vh - 72px); overflow-y: auto;
    }
    .sx-header.open .sx-nav { display: flex; }
    .sx-nav > li > a, .sx-nav > li > button { padding: 12px 14px; text-align: left; width: 100%; }
    .sx-drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: var(--s-bg); max-width: none; display: none; margin: 4px 0; }
    .sx-nav > li.open > .sx-drop { display: block; }
    .sx-nav > li:hover > .sx-drop { display: none; }
    .sx-nav > li.open:hover > .sx-drop { display: block; }
    .sx-header-cta { margin-left: 0; }
    .sx-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .sx-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
    .sx-section { padding: 52px 0; }
    .sx-title { font-size: 26px; }
    .sx-hero { min-height: 560px; height: auto; }
    .sx-hero-content { position: relative; padding: 72px 0 130px; }
    .sx-hero .carousel { position: absolute; inset: 0; }
    .sx-hero h1 { font-size: 32px; }
    .sx-hero p { font-size: 16px; }
    .sx-hero .carousel-indicators { bottom: 100px; }
    .sx-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .sx-stat { padding: 18px 16px; }
    .sx-stat-value { font-size: 30px; }
    .sx-steps { grid-template-columns: 1fr; }
    .sx-split { grid-template-columns: 1fr; }
    .sx-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .sx-pagehead h1 { font-size: 26px; }
    .sx-brand-sub { display: none; }
    .sx-brand-name { font-size: 15px; }
    .sx-card { padding: 20px; }
}
@media (max-width: 479.98px) {
    .sx-stats-grid { grid-template-columns: 1fr; }
    .sx-hero-actions .sx-btn { width: 100%; justify-content: center; }
}
