﻿
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --bg: #f4f6f8;
    --surface: #ffffff;
    --surface-2: #fdfefe;
    --ink: #18222d;
    --muted: #637483;
    --line: #d9e0e7;
    --primary: #0f766e;
    --primary-strong: #0a5b55;
    --accent: #ff8f3f;
    --danger: #d64545;
    --shadow-soft: 0 12px 40px rgba(16, 24, 40, 0.08);
    --shadow-card: 0 8px 24px rgba(15, 23, 42, 0.08);
    --radius: 18px;
    --radius-sm: 12px;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 0% 0%, rgba(15, 118, 110, 0.16), transparent 42%),
        radial-gradient(circle at 100% 0%, rgba(255, 143, 63, 0.2), transparent 38%),
        linear-gradient(180deg, #f8fbfc 0%, var(--bg) 100%);
    line-height: 1.65;
    letter-spacing: 0.01em;
}

a {
    color: var(--primary);
    transition: all 0.2s ease;
}

a:hover,
a:focus {
    color: var(--primary-strong);
    text-decoration: none;
}

.set-radius-zero {
    border-radius: 0;
}

.content-wrapper {
    margin-top: 34px;
    flex: 1 0 auto;
    min-height: 0;
    padding-bottom: 72px;
}

.header-line {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin: 0;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(15, 118, 110, 0.18);
    text-transform: uppercase;
}

.pad-botm {
    margin: 18px 0 24px;
    padding: 22px 24px 18px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(255, 143, 63, 0.08));
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.pad-botm > .col-md-12 {
    padding-left: 0;
    padding-right: 0;
}

.navbar {
    min-height: 86px;
    margin-bottom: 0;
}

.navbar-inverse {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 0;
    box-shadow: var(--shadow-soft);
}

.navbar-brand {
    height: auto;
    padding: 20px 0;
}

.navbar-brand.brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--ink);
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.navbar-brand.brand-text:hover,
.navbar-brand.brand-text:focus {
    color: var(--ink);
    opacity: 1;
}

.navbar-toggle {
    margin-top: 26px;
    background-color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 10px;
}

.navbar-inverse .navbar-toggle:focus,
.navbar-inverse .navbar-toggle:hover {
    background-color: var(--primary-strong);
    border-color: var(--primary-strong);
}

.right-div {
    float: right;
    padding: 22px 0;
}

.menu-section {
    width: 100%;
    background: linear-gradient(90deg, #ffffff 0%, #edf8f7 100%);
    border-bottom: 1px solid #dce5ec;
    box-shadow: 0 8px 30px rgba(16, 24, 40, 0.04);
}

#menu-top {
    padding: 8px 0;
}

#menu-top a {
    font-family: 'Outfit', sans-serif;
    color: #243443;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 10px;
    padding: 13px 16px;
    margin: 0 3px;
}

#menu-top a:hover,
#menu-top a:focus,
.menu-top-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #159a90);
}

.dropdown-menu {
    border: 1px solid #dbe3ea;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    padding: 10px;
}

.dropdown-menu > li > a {
    font-size: 1.35rem;
    text-transform: none;
    margin: 2px 0;
}

.panel {
    border: 1px solid #dbe3ea;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.panel-heading {
    border: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 16px 22px;
}

.panel-info > .panel-heading,
.panel-primary > .panel-heading {
    background: linear-gradient(120deg, var(--primary), #2e9f95);
    color: #ffffff;
}

.panel-body {
    background-color: var(--surface-2);
    padding: 24px;
}

.alert {
    border: 1px solid #dbe3ea;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 24px 20px;
    color: var(--ink);
}

.alert h3 {
    margin: 14px 0 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
}

.back-widget-set {
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 24px;
}

.back-widget-set:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px rgba(16, 24, 40, 0.12);
}

.alert-success {
    border-left: 5px solid #1f9f6f;
}

.alert-warning {
    border-left: 5px solid #f59e0b;
}

.alert-danger {
    border-left: 5px solid var(--danger);
}

.alert-info {
    border-left: 5px solid #258ad7;
}

.slide-bdr {
    border: 1px solid #d5e2ec;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.home-hero {
    margin-bottom: 30px;
}

.home-hero-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-copy {
    padding: 32px 0;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1.15rem;
}

.hero-title {
    margin: 0 0 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 4.4rem;
    line-height: 1.05;
    font-weight: 800;
    color: #10202f;
}

.hero-text {
    font-size: 1.7rem;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.hero-secondary-btn {
    background: #ffffff;
    color: var(--ink);
    border: 1px solid #d5e2ec;
}

.hero-secondary-btn:hover,
.hero-secondary-btn:focus {
    background: #f7fafb;
    color: var(--ink);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--primary-strong);
    font-size: 1.2rem;
    font-weight: 700;
}

.hero-visual {
    background: #ffffff;
    padding: 18px;
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.hero-image-main {
    overflow: hidden;
    border-radius: 22px;
    margin-bottom: 14px;
}

.hero-image-main img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.hero-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.hero-image-grid img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 18px;
}

.feature-strip {
    margin-bottom: 28px;
}

.feature-card {
    height: 100%;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #dbe3ea;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.feature-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(255, 143, 63, 0.14));
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 14px;
}

.feature-card h4 {
    margin: 0 0 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

.home-login-panel .panel-body {
    padding: 28px;
}

.login-copy {
    color: var(--muted);
    margin-bottom: 18px;
}

.login-divider {
    display: inline-block;
    margin: 0 8px;
    color: var(--muted);
}

.carousel .item img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
}

.carousel-control {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.carousel:hover .carousel-control {
    opacity: 0.95;
}

.btn {
    border: 0;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 11px 18px;
    transition: all 0.2s ease;
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.16);
}

.btn-info,
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #169b90);
}

.btn-danger {
    background: linear-gradient(135deg, #dc4a4a, #b93535);
}

.form-control {
    border: 1px solid #cfd8e3;
    border-radius: 12px;
    height: 44px;
    box-shadow: none;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea.form-control {
    min-height: 120px;
    height: auto;
}

.form-control:focus {
    border-color: #1b8f86;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15);
}

.table {
    background-color: #ffffff;
    border: 1px solid #dde6ef;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.table > thead > tr > th {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: #253746;
    border-bottom: 2px solid #d9e3eb;
    background-color: #f4f8fb;
}

.table > tbody > tr > td {
    border-top: 1px solid #e4ebf2;
    vertical-align: middle;
}

.table-hover > tbody > tr:hover {
    background-color: #f4faf9;
}

.pagination > li > a,
.pagination > li > span {
    border-radius: 10px;
    margin: 0 3px;
    border-color: #d8e2ea;
    color: #2d4457;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.chat-widget-main {
    max-height: 330px;
    overflow: auto;
}

.chat-widget-left,
.chat-widget-right {
    border-radius: 12px;
    font-size: 12px;
    padding: 14px;
    background: #ffffff;
}

.chat-widget-left {
    border: 1px solid #f6c7c7;
}

.chat-widget-right {
    border: 1px solid #bfe2f8;
}

.chat-widget-left:after,
.chat-widget-right:after {
    display: none;
}

.footer-section {
    flex-shrink: 0;
    padding: 20px 0;
    color: #dbe8f7;
    font-size: 13px;
    text-align: center;
    background: linear-gradient(130deg, #0f1d2e, #163450);
    border-top: 0;
}

.footer-section a,
.footer-section a:hover {
    color: #ffffff;
}

.dashboard-stat-link {
    display: block;
    color: inherit;
}

.dashboard-stat-link:hover,
.dashboard-stat-link:focus {
    color: inherit;
}

@media (max-width: 991px) {
    .content-wrapper {
        margin-top: 20px;
        padding-bottom: 52px;
    }

    .header-line {
        font-size: 1.9rem;
    }

    .pad-botm {
        margin: 14px 0 20px;
        padding: 18px 18px 16px;
    }

    #menu-top a {
        padding: 10px 14px;
        margin: 3px 0;
    }

    .right-div {
        width: 100%;
        text-align: right;
        padding-top: 0;
    }

    .back-widget-set {
        margin-bottom: 20px;
    }

    .home-hero-row {
        display: block;
    }

    .hero-title {
        font-size: 3.4rem;
    }

    .hero-visual {
        margin-top: 16px;
    }
}

@media (max-width: 767px) {
    .content-wrapper {
        padding-bottom: 40px;
    }

    .navbar-brand.brand-text {
        font-size: 2rem;
    }

    .header-line {
        font-size: 1.6rem;
    }

    .pad-botm {
        margin: 12px 0 18px;
        padding: 16px 16px 14px;
    }

    .panel-body,
    .alert {
        padding: 18px;
    }

    .hero-copy {
        padding: 18px 0 8px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-text {
        font-size: 1.5rem;
    }

    .hero-image-main img {
        height: 240px;
    }

    .hero-image-grid {
        grid-template-columns: 1fr;
    }

    .hero-image-grid img {
        height: 150px;
    }

    .feature-card {
        margin-bottom: 16px;
    }

    .home-login-panel .panel-body {
        padding: 20px;
    }

    .back-widget-set {
        margin-bottom: 18px;
    }
}

