/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f5f7fa;

    color: #0b2239;

    line-height: 1.6;

    overflow-x: hidden;
}


/* =========================================
   PAGE LOADER
========================================= */

.page-loader {

    position: fixed;

    inset: 0;

    background: #0b2239;

    z-index: 9999;

    display: flex;

    align-items: center;

    justify-content: center;

    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
}


.page-loader.hidden {

    opacity: 0;

    visibility: hidden;
}


.loader-spinner {

    width: 42px;

    height: 42px;

    border: 3px solid
        rgba(255,255,255,0.2);

    border-top-color: #d62828;

    border-radius: 50%;

    animation:
        loaderSpin 0.8s linear infinite;
}


@keyframes loaderSpin {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================
   HEADER
========================================= */

.nfsc-header {

    background: #ffffff;

    position: relative;

    z-index: 20;

    box-shadow:
        0 2px 15px rgba(0,0,0,0.04);
}


.header-inner {

    max-width: 1220px;

    margin: auto;

    min-height: 92px;

    padding: 14px 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


.brand {

    display: flex;

    align-items: center;

    gap: 17px;

    text-decoration: none;
}


.brand-logo {

    width: 64px;

    height: 64px;

    object-fit: contain;

    flex-shrink: 0;
}


.brand-text {

    display: flex;

    flex-direction: column;
}


.brand-title {

    color: #0b2239;

    font-size: 22px;

    font-weight: 700;

    line-height: 1.2;
}


.brand-location {

    color: #777;

    font-size: 12px;

    margin-top: 4px;
}


.back-website {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #d62828;

    color: #d62828;

    text-decoration: none;

    padding: 9px 17px;

    border-radius: 4px;

    font-size: 13px;

    font-weight: 600;

    transition: all 0.25s ease;
}


.back-website:hover {

    background: #d62828;

    color: #ffffff;

    transform: translateY(-1px);
}


.header-accent {

    height: 4px;

    background: #d62828;
}


/* =========================================
   HERO
========================================= */

.hero {

    position: relative;

    min-height: 315px;

    background:
        linear-gradient(
            135deg,
            #081d31 0%,
            #0b2239 48%,
            #12395a 100%
        );

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;
}


/* Grid pattern */

.hero-grid {

    position: absolute;

    inset: 0;

    opacity: 0.08;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.25) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.25) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    animation:
        gridMove 18s linear infinite;
}


@keyframes gridMove {

    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(55px);
    }

}


/* Circles */

.hero-circle {

    position: absolute;

    border-radius: 50%;

    border: 1px solid
        rgba(255,255,255,0.10);

    animation:
        circleFloat 7s ease-in-out infinite;
}


.hero-circle-one {

    width: 430px;

    height: 430px;

    right: -180px;

    top: -230px;
}


.hero-circle-two {

    width: 320px;

    height: 320px;

    left: -180px;

    bottom: -220px;

    border-color:
        rgba(214,40,40,0.25);

    animation-delay: -3s;
}


@keyframes circleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(18px);
    }

}


/* Red line */

.hero-line {

    position: absolute;

    width: 130px;

    height: 2px;

    background: #d62828;

    left: 0;

    top: 50%;

    opacity: 0.6;

    animation:
        linePulse 3s ease-in-out infinite;
}


@keyframes linePulse {

    0%,
    100% {
        width: 90px;
        opacity: 0.3;
    }

    50% {
        width: 170px;
        opacity: 0.8;
    }

}


/* Hero content */

.hero-content {

    position: relative;

    z-index: 5;

    max-width: 800px;

    padding: 50px 20px;
}


.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #dce7ef;

    border: 1px solid
        rgba(255,255,255,0.18);

    background:
        rgba(255,255,255,0.05);

    border-radius: 50px;

    padding: 7px 14px;

    font-size: 11px;

    letter-spacing: 0.6px;

    margin-bottom: 18px;

    animation:
        fadeUp 0.8s ease both;
}


.badge-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #d62828;

    box-shadow:
        0 0 0 4px
        rgba(214,40,40,0.15);
}


.hero h1 {

    color: #ffffff;

    font-size: 52px;

    line-height: 1.1;

    margin-bottom: 13px;

    animation:
        fadeUp 0.8s 0.1s ease both;
}


.hero h1 span {

    color: #ff3b3b;
}


.hero p {

    color: #dce7ef;

    font-size: 16px;

    animation:
        fadeUp 0.8s 0.2s ease both;
}


.hero-divider {

    width: 55px;

    height: 3px;

    background: #d62828;

    margin: 22px auto 0;

    animation:
        fadeUp 0.8s 0.3s ease both;
}


/* =========================================
   REVEAL ANIMATIONS
========================================= */

.reveal {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal.visible {

    opacity: 1;

    transform: translateY(0);
}


.reveal-left {

    opacity: 0;

    transform: translateX(-35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal-left.visible {

    opacity: 1;

    transform: translateX(0);
}


.reveal-right {

    opacity: 0;

    transform: translateX(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal-right.visible {

    opacity: 1;

    transform: translateX(0);
}


@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* =========================================
   MAIN
========================================= */

.main-container {

    max-width: 1180px;

    margin: auto;

    padding: 65px 20px 75px;
}


.contact-grid {

    display: grid;

    grid-template-columns:
        0.85fr 1.15fr;

    gap: 35px;

    align-items: stretch;
}


/* =========================================
   INFO CARD
========================================= */

.info-card {

    position: relative;

    background:
        linear-gradient(
            145deg,
            #0b2239,
            #102f4a
        );

    border-radius: 10px;

    padding: 42px 38px;

    overflow: hidden;

    box-shadow:
        0 15px 40px
        rgba(11,34,57,0.13);
}


.info-card::before {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    border-radius: 50%;

    border: 1px solid
        rgba(255,255,255,0.06);

    right: -180px;

    top: -150px;
}


.info-card::after {

    content: "";

    position: absolute;

    width: 200px;

    height: 200px;

    border-radius: 50%;

    border: 1px solid
        rgba(214,40,40,0.13);

    left: -120px;

    bottom: -120px;
}


.card-top-line {

    width: 45px;

    height: 3px;

    background: #d62828;

    margin-bottom: 23px;
}


.section-label {

    color: #d62828;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 10px;
}


.info-card h2,
.form-card h2 {

    font-size: 29px;

    line-height: 1.2;

    margin-bottom: 10px;
}


.info-card h2 {

    color: #ffffff;
}


.info-intro {

    color: #cbd9e4;

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 32px;
}


/* Contact items */

.contact-item {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 24px;

    position: relative;

    z-index: 2;
}


.contact-icon {

    width: 42px;

    height: 42px;

    min-width: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #d62828;

    color: #ffffff;

    border-radius: 6px;

    font-size: 17px;

    box-shadow:
        0 5px 15px
        rgba(214,40,40,0.22);

    transition:
        transform 0.25s ease;
}


.contact-item:hover .contact-icon {

    transform:
        translateY(-3px)
        rotate(-3deg);
}


.contact-details h3 {

    color: #ffffff;

    font-size: 14px;

    margin-bottom: 4px;
}


.contact-details p {

    color: #dce7ef;

    font-size: 13px;

    line-height: 1.65;
}


.contact-details a {

    color: #ffffff;

    text-decoration: none;

    transition: color 0.2s ease;
}


.contact-details a:hover {

    color: #ff5555;
}


.info-bottom {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 30px;

    padding-top: 22px;

    border-top:
        1px solid
        rgba(255,255,255,0.10);

    color: #aebfcd;

    font-size: 11px;
}


.info-bottom-line {

    width: 20px;

    height: 2px;

    background: #d62828;
}


/* =========================================
   FORM CARD
========================================= */

.form-card {

    background: #ffffff;

    border:
        1px solid #e1e6eb;

    border-radius: 10px;

    padding: 42px;

    box-shadow:
        0 15px 40px
        rgba(0,0,0,0.055);
}


.form-card h2 {

    color: #0b2239;
}


.form-intro {

    color: #777;

    font-size: 14px;

    margin-bottom: 28px;
}


/* =========================================
   FORM
========================================= */

.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;
}


.form-group {

    margin-bottom: 18px;
}


.form-group label {

    display: block;

    color: #0b2239;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 7px;
}


.form-group label span {

    color: #d62828;
}


.form-group input,
.form-group textarea {

    width: 100%;

    border:
        1px solid #d1d9e0;

    border-radius: 5px;

    background: #ffffff;

    color: #222;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.form-group input {

    height: 47px;

    padding: 0 14px;
}


.form-group textarea {

    min-height: 145px;

    padding: 13px 14px;

    resize: vertical;
}


.form-group input::placeholder,
.form-group textarea::placeholder {

    color: #9a9a9a;
}


.form-group input:focus,
.form-group textarea:focus {

    border-color: #d62828;

    box-shadow:
        0 0 0 3px
        rgba(214,40,40,0.08);
}


.character-count {

    color: #999;

    font-size: 10px;

    margin-top: 5px;

    text-align: right;
}


/* Honeypot */

.honeypot {

    position: absolute;

    left: -9999px;

    width: 1px;

    height: 1px;

    overflow: hidden;
}


/* =========================================
   BUTTON
========================================= */

.submit-button {

    position: relative;

    width: 100%;

    min-height: 49px;

    border: none;

    border-radius: 5px;

    background: #d62828;

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    overflow: hidden;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.submit-button:hover {

    background: #b71f1f;

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(214,40,40,0.20);
}


.submit-button:disabled {

    background: #888;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


.button-arrow {

    margin-left: 7px;

    transition:
        transform 0.25s ease;
}


.submit-button:hover .button-arrow {

    transform:
        translateX(4px);
}


.button-loader {

    display: none;

    width: 16px;

    height: 16px;

    border:
        2px solid
        rgba(255,255,255,0.4);

    border-top-color: #ffffff;

    border-radius: 50%;

    margin-right: 7px;

    vertical-align: middle;

    animation:
        loaderSpin 0.7s linear infinite;
}


.submit-button.loading .button-loader {

    display: inline-block;
}


.submit-button.loading .button-arrow {

    display: none;
}


/* =========================================
   FORM MESSAGE
========================================= */

.form-message {

    display: none;

    margin-top: 17px;

    padding: 13px 15px;

    border-radius: 5px;

    font-size: 13px;

    line-height: 1.5;

    animation:
        messageIn 0.35s ease;
}


.form-message.success {

    display: block;

    color: #217a35;

    background: #edf8f0;

    border:
        1px solid #b9e3c1;
}


.form-message.error {

    display: block;

    color: #b71f1f;

    background: #fff1f1;

    border:
        1px solid #efbcbc;
}


@keyframes messageIn {

    from {

        opacity: 0;

        transform: translateY(5px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* =========================================
   FOOTER
========================================= */

.nfsc-footer {

    background: #0b2239;

    border-top:
        4px solid #d62828;
}


.footer-inner {

    max-width: 1180px;

    margin: auto;

    min-height: 75px;

    padding: 16px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.footer-copy {

    color: #b9c8d4;

    font-size: 11px;
}


.footer-divider {

    display: none;
}


.webyn-credit {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #b9c8d4;

    text-decoration: none;

    font-size: 11px;

    transition:
        opacity 0.2s ease;
}


.webyn-credit:hover {

    opacity: 0.8;
}


.webyn-credit img {

    width: 90px;

    height: auto;

    max-height: 28px;

    object-fit: contain;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .contact-grid {

        grid-template-columns: 1fr;

    }


    .info-card {

        padding: 38px;

    }


    .form-card {

        padding: 38px;

    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .header-inner {

        min-height: 76px;

        padding: 11px 16px;

    }


    .brand {

        gap: 11px;

    }


    .brand-logo {

        width: 51px;

        height: 51px;

    }


    .brand-title {

        font-size: 15px;

    }


    .brand-location {

        font-size: 10px;

    }


    .back-website {

        display: none;

    }


    .hero {

        min-height: 265px;

    }


    .hero-content {

        padding:
            40px 18px;

    }


    .hero h1 {

        font-size: 38px;

    }


    .hero p {

        font-size: 14px;

        max-width: 330px;

        margin: auto;

    }


    .hero-badge {

        font-size: 9px;

    }


    .main-container {

        padding:
            35px 15px 50px;

    }


    .contact-grid {

        gap: 22px;

    }


    .info-card {

        padding:
            30px 23px;

        border-radius: 8px;

    }


    .info-card h2,
    .form-card h2 {

        font-size: 24px;

    }


    .form-card {

        padding:
            28px 20px;

        border-radius: 8px;

    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .footer-inner {

        flex-direction: column;

        justify-content: center;

        text-align: center;

        gap: 12px;

        padding: 20px 15px;

    }


    .footer-divider {

        display: block;

        width: 35px;

        height: 1px;

        background:
            rgba(255,255,255,0.15);

    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .brand-title {

        font-size: 13px;

    }


    .hero h1 {

        font-size: 34px;

    }


    .info-card {

        padding:
            26px 18px;

    }


    .form-card {

        padding:
            25px 17px;

    }


    .contact-icon {

        width: 38px;

        height: 38px;

        min-width: 38px;

    }

}


/* =========================================
   REDUCE MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;

    }

}