:root {
    --jtm-blue: #0056b3;
    --jtm-orange: #ff8c00;
    --jtm-ink: #172033;
    --jtm-muted: #667085;
    --jtm-line: #e6eaf0;
    --jtm-soft: #f5f8fb;
    --jtm-steel: #253447;
    --jtm-white: #ffffff;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--jtm-ink);
    background: var(--jtm-white);
    line-height: 1.6;
}

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

a:hover {
    color: var(--jtm-orange);
}

.top-strip {
    background: var(--jtm-steel);
    color: rgba(255, 255, 255, .9);
    padding: .45rem 0;
}

.social-links a,
.footer-social a {
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: transform .25s ease, background .25s ease;
}

.social-links a:hover,
.footer-social a:hover {
    background: rgba(255, 255, 255, .16);
    transform: translateY(-2px);
}

.brand-logo,
.footer-logo {
    width: 57px;
    height: 57px;
}

.brand-text,
.footer-brand {
    font-weight: 800;
    color: var(--jtm-blue);
    font-size: 1.1rem;
}

.navbar .nav-link {
    font-weight: 600;
    color: var(--jtm-ink);
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--jtm-blue);
}

.lang-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    color: var(--jtm-muted);
    font-weight: 700;
    padding: .25rem .5rem;
}

.btn {
    border-radius: 6px;
    font-weight: 700;
}

.btn-primary {
    background: var(--jtm-blue);
    border-color: var(--jtm-blue);
}

.btn-primary:hover {
    background: #003f85;
    border-color: #003f85;
}

.btn-warning {
    background: var(--jtm-orange);
    border-color: var(--jtm-orange);
    color: #23170a;
}

.section-padding {
    padding: 84px 0;
}

.section-soft {
    background: var(--jtm-soft);
}

.section-title {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-title .eyebrow,
.eyebrow {
    color: var(--jtm-orange);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .78rem;
}

.section-title h1,
.section-title h2 {
    font-weight: 850;
    color: var(--jtm-ink);
}

.hero-carousel .carousel-item {
    min-height: 680px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 22, 43, .88), rgba(9, 22, 43, .55), rgba(9, 22, 43, .22));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 680px;
    display: flex;
    align-items: center;
    color: var(--jtm-white);
}

.hero-content h1 {
    max-width: 780px;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    font-weight: 900;
    line-height: 1.05;
}

.hero-content p {
    max-width: 720px;
    font-size: 1.18rem;
    color: rgba(255, 255, 255, .9);
}

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

.stat-card,
.service-card,
.project-card,
.news-card,
.training-card,
.value-card,
.team-card,
.testimonial-card {
    background: var(--jtm-white);
    border: 1px solid var(--jtm-line);
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(16, 24, 40, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover,
.project-card:hover,
.news-card:hover,
.training-card:hover,
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 46px rgba(16, 24, 40, .12);
}

.stat-card {
    padding: 1.5rem;
}

.stat-card strong {
    display: block;
    color: var(--jtm-blue);
    font-size: 2.4rem;
    font-weight: 900;
}

.service-card {
    height: 100%;
    padding: 1.6rem;
}

.service-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 86, 179, .09);
    color: var(--jtm-blue);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.service-card h3,
.value-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
}

.image-cover {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.project-card,
.news-card,
.training-card {
    overflow: hidden;
    height: 100%;
}

.card-body-spacious {
    padding: 1.35rem;
}

.badge-jtm {
    background: rgba(255, 140, 0, .12);
    color: #9b5600;
    border: 1px solid rgba(255, 140, 0, .28);
}

.cta-band {
    background: linear-gradient(135deg, var(--jtm-blue), #16395f);
    color: var(--jtm-white);
    padding: 52px 0;
}

.cta-band p {
    color: rgba(255, 255, 255, .86);
}

.page-hero {
    background: linear-gradient(110deg, rgba(0, 86, 179, .92), rgba(37, 52, 71, .88)), url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80") center/cover;
    color: var(--jtm-white);
    padding: 96px 0;
}

.page-hero h1 {
    font-weight: 900;
}

.value-card {
    padding: 1.5rem;
    height: 100%;
}

.team-card {
    overflow: hidden;
}

.team-card img {
   height: 300px;
    object-fit: cover;
    object-position: top center;
    background: #f5f8fb;
    

}

.form-control,
.form-select {
    border-radius: 6px;
    border-color: #d0d5dd;
    padding: .75rem .85rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--jtm-blue);
    box-shadow: 0 0 0 .2rem rgba(0, 86, 179, .15);
}

.site-footer {
    background: #111827;
    color: rgba(255, 255, 255, .78);
    padding: 64px 0 0;
}

.site-footer h3 {
    color: var(--jtm-white);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.site-footer a {
    color: rgba(255, 255, 255, .76);
}

.site-footer a:hover {
    color: var(--jtm-orange);
}

.footer-brand {
    color: var(--jtm-white);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 42px;
    padding: 22px 0;
    font-size: .92rem;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1040;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    box-shadow: 0 12px 30px rgba(37, 211, 102, .35);
}

.whatsapp-float:hover {
    color: white;
    transform: translateY(-2px);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 16, 27, .92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.show {
    display: flex;
}

.lightbox img {
    max-width: min(100%, 1100px);
    max-height: 86vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: transparent;
    color: white;
    border: 0;
    font-size: 2.5rem;
}

.fade-up {
    animation: fadeUp .7s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .hero-carousel .carousel-item,
    .hero-content {
        min-height: 610px;
    }

    .navbar-nav {
        padding: 1rem 0;
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding: 62px 0;
    }

    .hero-carousel .carousel-item,
    .hero-content {
        min-height: 560px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(0, 86, 179, .08), rgba(255, 140, 0, .12)), var(--jtm-soft);
    padding: 1.5rem;
}

.login-card {
    width: min(100%, 430px);
    background: var(--jtm-white);
    border: 1px solid var(--jtm-line);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 24px 60px rgba(16, 24, 40, .14);
}

.admin-body {
    background: var(--jtm-soft);
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
}

.admin-sidebar {
    background: #0f172a;
    color: white;
    padding: 1.25rem;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: white;
    font-weight: 850;
    margin-bottom: 1.5rem;
}

.admin-brand img {
    width: 46px;
    height: 46px;
}

.admin-nav {
    display: grid;
    gap: .35rem;
}

.admin-nav a {
    color: rgba(255, 255, 255, .78);
    border-radius: 6px;
    padding: .8rem .9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .65rem;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255, 255, 255, .12);
    color: white;
}

.admin-main {
    min-width: 0;
}

.admin-topbar {
    background: white;
    border-bottom: 1px solid var(--jtm-line);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-topbar h1 {
    font-size: 1.25rem;
    font-weight: 850;
    margin: 0;
}

.admin-topbar span {
    color: var(--jtm-muted);
    font-size: .92rem;
}

.admin-content {
    padding: 1.5rem;
}

.admin-panel,
.admin-stat {
    background: white;
    border: 1px solid var(--jtm-line);
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .05);
}

.admin-stat span {
    color: var(--jtm-muted);
    font-weight: 700;
}

.admin-stat strong {
    display: block;
    color: var(--jtm-blue);
    font-size: 2rem;
    font-weight: 900;
}

@media (max-width: 991.98px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}
