:root {
    --primary: #083589;
    --primary-dark: #061f54;
    --secondary: #111d5e;
    --accent: #f7b731;
    --text: #1c2539;
    --muted: #657084;
    --line: #e6ebf3;
    --soft: #f6f8fb;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(6, 31, 84, 0.12);
    --radius: 8px;
    --container: 1180px;
    --font-body: "DM Sans", Arial, sans-serif;
    --font-heading: "Red Hat Display", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    background: var(--white);
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    box-shadow: 0 1px 0 rgba(8, 53, 137, 0.08);
}

.top-bar {
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
}

.top-bar__inner,
.top-bar__left,
.top-bar__right,
.socials {
    display: flex;
    align-items: center;
}

.top-bar__inner {
    justify-content: space-between;
    min-height: 40px;
}

.top-bar__left,
.top-bar__right {
    gap: 22px;
}

.top-bar a,
.top-bar span {
    opacity: 0.92;
}

.socials {
    gap: 8px;
}

.socials a {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.main-bar {
    background: var(--white);
}

.main-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand__mark {
    /*display: grid;*/
    /*width: 50px;*/
    /*height: 50px;*/
    /*place-items: center;*/
    /*color: var(--white);*/
    /*background: var(--primary);*/
    /*border-radius: var(--radius);*/
    /*font-family: var(--font-heading);*/
    /*font-weight: 900;*/
    /*letter-spacing: 0;*/
    
    
  width: 40px;          /* Sets a specific width */
  height: auto;         /* Maintains the aspect ratio */
  margin-right: 12px;   /* Adds space between the mark and the brand text */
  vertical-align: middle; /* Aligns it vertically with adjacent text */
}

.brand__text {
    display: grid;
    gap: 1px;
    line-height: 1.1;
    margin-left: -9%;
}

.brand__text strong {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 900;
}

.brand__text small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    color: #26334d;
    font-size: 15px;
    font-weight: 700;
}

.desktop-nav a {
    position: relative;
    padding: 32px 0;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: 24px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 10px 22px rgba(8, 53, 137, 0.22);
}

.btn--primary:hover {
    background: var(--primary-dark);
}

.btn--secondary {
    color: var(--text);
    background: var(--accent);
}

.btn--ghost {
    color: var(--primary);
    background: var(--white);
    border: 1px solid var(--line);
}

.btn--large {
    min-height: 52px;
    padding: 0 28px;
}

.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: #eaf1ff;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--primary);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 80;
    width: min(390px, 88vw);
    height: 100vh;
    padding: 30px;
    background: var(--white);
    box-shadow: -20px 0 60px rgba(6, 31, 84, 0.18);
    transform: translateX(105%);
    transition: transform 240ms ease;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    color: var(--text);
    background: #edf2f8;
    font-size: 24px;
    line-height: 1;
}

.mobile-menu__brand {
    margin-bottom: 34px;
}

.mobile-menu nav {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.mobile-menu nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
}

.mobile-menu__contact {
    display: grid;
    gap: 8px;
    margin: 26px 0;
    color: var(--muted);
}

.mobile-menu__contact strong {
    color: var(--text);
}

.page-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    visibility: hidden;
    background: rgba(6, 18, 43, 0.45);
    opacity: 0;
    transition: opacity 200ms ease, visibility 200ms ease;
}

.page-overlay.is-visible {
    visibility: visible;
    opacity: 1;
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: min(670px, calc(100vh - 126px));
    overflow: hidden;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 46%, #f5f8fc 100%);
}

.hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 37%, rgba(255, 255, 255, 0.18) 68%, rgba(255, 255, 255, 0) 100%);
}

.hero__image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    display: grid;
    align-content: center;
    min-height: min(670px, calc(100vh - 126px));
    padding: 72px 0 84px;
}

.pre-title {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 800;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--text);
    font-family: var(--font-heading);
    line-height: 1.13;
    letter-spacing: 0;
}

h1 {
    max-width: 650px;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 900;
}

h2 {
    font-size: clamp(30px, 3.8vw, 48px);
    font-weight: 800;
}

h3 {
    font-size: 22px;
    font-weight: 800;
}

.hero p:not(.pre-title) {
    max-width: 510px;
    margin: 18px 0 0;
    color: #4d5d78;
    font-size: 18px;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-dots {
    display: flex;
    gap: 10px;
    margin-top: 36px;
}

.hero-dots button {
    width: 32px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #c7d1e2;
    cursor: pointer;
}

.hero-dots button.is-active {
    background: var(--primary);
}

.section {
    padding: 88px 0;
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
    gap: 58px;
    align-items: center;
}

.two-col--compact {
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
}

.about__copy p {
    margin: 16px 0 0;
    color: var(--muted);
}

.about__copy h3 {
    margin-top: 30px;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 34px;
    color: #35445e;
    font-weight: 600;
}

.check-list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    content: "\2713";
    background: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.about__media {
    position: relative;
}

.about__media img {
    width: 100%;
    aspect-ratio: 1.08;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.experience-card {
    position: absolute;
    right: 26px;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 230px;
    padding: 20px 22px;
    color: var(--white);
    background: var(--primary);
    border-radius: var(--radius);
    box-shadow: 0 14px 32px rgba(6, 31, 84, 0.25);
}

.experience-card strong {
    font-family: var(--font-heading);
    font-size: 44px;
    line-height: 1;
}

.experience-card span {
    font-weight: 800;
    line-height: 1.25;
}

.belief-band,
.news,
.officers {
    background: var(--soft);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading h2 {
    margin-top: 4px;
}

.section-heading--split {
    display: flex;
    max-width: none;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
}

.belief-grid,
.service-grid,
.step-grid,
.news-grid,
.officer-grid {
    display: grid;
    gap: 24px;
}

.belief-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.belief-card,
.service-card,
.step-card,
.news-card,
.officer-card,
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(6, 31, 84, 0.05);
}

.belief-card {
    display: grid;
    gap: 18px;
    justify-items: center;
    min-height: 180px;
    padding: 32px 22px;
    text-align: center;
}

.belief-card svg {
    width: 46px;
    height: 46px;
    padding: 10px;
    color: var(--white);
    background: var(--primary);
    border-radius: var(--radius);
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.belief-card h3 {
    font-size: 18px;
}

.service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 34px 28px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    content: "";
    background: var(--accent);
}

.service-card:hover {
    border-color: rgba(8, 53, 137, 0.32);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.service-card__icon {
    display: block;
    width: 54px;
    height: 54px;
    margin-bottom: 26px;
    border-radius: 50%;
    background:
        linear-gradient(135deg, var(--primary), var(--secondary)),
        radial-gradient(circle at 65% 30%, var(--accent) 0 7px, transparent 8px);
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p,
.step-card p,
.testimonial-card p,
.officer-card p {
    margin: 0;
    color: var(--muted);
}

.service-card a {
    display: inline-flex;
    margin-top: 24px;
    color: var(--primary);
    font-weight: 800;
}

.counter-strip {
    padding: 52px 0;
    color: var(--white);
    background: var(--primary);
}

.counter-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.counter-strip__inner div {
    text-align: center;
}

.counter-strip strong {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1;
}

.counter-strip span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
    position: relative;
    min-height: 215px;
    padding: 34px;
}

.step-card span {
    display: inline-grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin-bottom: 22px;
    color: var(--primary);
    background: #eaf1ff;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
}

.step-card h3 {
    margin-bottom: 10px;
}

.testimonials {
    background: var(--white);
}

.testimonials p {
    color: var(--muted);
}

.testimonial-card {
    padding: 42px;
}

.testimonial-card p {
    color: #31405b;
    font-size: 20px;
    line-height: 1.6;
}

.testimonial-card strong {
    display: block;
    margin-top: 26px;
    font-family: var(--font-heading);
    font-size: 24px;
}

.testimonial-card span {
    color: var(--muted);
}

.news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
    overflow: hidden;
}

.news-card__image {
    height: 190px;
    background:
        linear-gradient(135deg, rgba(8, 53, 137, 0.92), rgba(17, 29, 94, 0.92)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 16px);
}

.news-card div:last-child {
    padding: 24px;
}

.news-card p {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

.contact {
    background: var(--white);
}

.contact-panel {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-panel__image img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.contact-panel__form {
    padding: clamp(30px, 5vw, 58px);
    background: var(--white);
}

form {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    background: #f9fbfe;
    outline: none;
}

input {
    min-height: 56px;
    padding: 0 18px;
}

textarea {
    min-height: 150px;
    padding: 18px;
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 53, 137, 0.08);
}

.officer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.officer-card {
    padding: 34px;
}

.officer-card h2 {
    margin-bottom: 16px;
    font-size: 28px;
}

.officer-card h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

.officer-card p + p {
    margin-top: 12px;
}

.site-footer {
    color: rgba(255, 255, 255, 0.78);
    background:
        linear-gradient(135deg, rgba(17, 29, 94, 0.96), rgba(6, 31, 84, 0.98)),
        var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 0.8fr 1.1fr;
    gap: 40px;
    padding: 78px 0;
}

.site-footer h2,
.site-footer h3 {
    color: var(--white);
}

.site-footer h2 {
    margin-bottom: 18px;
    font-size: clamp(34px, 4vw, 52px);
}

.site-footer h2 span {
    color: var(--accent);
}

.site-footer h3 {
    margin-bottom: 18px;
    font-size: 20px;
}

.site-footer p {
    margin: 0 0 24px;
}

.site-footer a:not(.btn) {
    display: block;
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer a:not(.btn):hover {
    color: var(--white);
}

.copyright {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.copyright p {
    margin: 0;
    font-size: 14px;
}

.notice-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    visibility: hidden;
    place-items: center;
    padding: 22px;
    background: rgba(6, 18, 43, 0.58);
    opacity: 0;
    transition: opacity 200ms ease, visibility 200ms ease;
}

.notice-modal.is-visible {
    visibility: visible;
    opacity: 1;
}

.notice-modal__content {
    position: relative;
    width: min(100%, 720px);
    padding: clamp(28px, 5vw, 44px);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 24px 72px rgba(6, 18, 43, 0.28);
}

.notice-modal__content h2 {
    margin-bottom: 16px;
    font-size: 28px;
}

.notice-modal__content p {
    color: var(--muted);
}

.notice-modal__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: var(--text);
    background: var(--accent);
    font-size: 26px;
    line-height: 1;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 12px 26px rgba(8, 53, 137, 0.28);
}

@media (max-width: 1130px) {
    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: block;
    }
}

@media (max-width: 900px) {
    .top-bar {
        display: none;
    }

    .main-bar__inner {
        min-height: 74px;
    }

    .header-actions .btn {
        display: none;
    }

    .hero,
    .hero__content {
        min-height: min(620px, calc(100vh - 74px));
    }

    .hero::after {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 58%, rgba(255, 255, 255, 0.35) 100%);
    }

    .hero__image {
        object-position: 63% center;
    }

    .section {
        padding: 66px 0;
    }

    .two-col,
    .two-col--compact,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .belief-grid,
    .service-grid,
    .counter-strip__inner,
    .news-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-heading--split {
        display: block;
    }

    .section-heading--split .btn {
        margin-top: 20px;
    }

    .contact-panel__image img {
        min-height: 320px;
        max-height: 420px;
    }

    .footer-grid {
        padding: 60px 0;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .brand__mark {
        width: 44px;
        height: 44px;
    }

    .brand__text strong {
        font-size: 20px;
    }

    .hero {
        background: #ffffff;
    }

    .hero::after {
        background: rgba(255, 255, 255, 0.78);
    }

    .hero__image {
        object-position: 72% center;
        opacity: 0.42;
    }

    .hero__content {
        padding: 46px 0 56px;
    }

    .hero p:not(.pre-title) {
        font-size: 16px;
    }

    .btn {
        width: 100%;
    }

    .hero-dots {
        margin-top: 28px;
    }

    .belief-grid,
    .service-grid,
    .step-grid,
    .counter-strip__inner,
    .news-grid,
    .officer-grid,
    .footer-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .service-card,
    .step-card,
    .officer-card,
    .testimonial-card {
        padding: 28px 22px;
    }

    .counter-strip__inner {
        gap: 30px;
    }

    .experience-card {
        position: static;
        margin-top: 16px;
        max-width: none;
    }

    .contact-panel {
        box-shadow: 0 12px 28px rgba(6, 31, 84, 0.08);
    }

    .contact-panel__form {
        padding: 28px 20px;
    }

    .mobile-menu {
        padding: 26px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}
