/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    background: #f4f9ff;
    color: #172b45;
    line-height: 1.55;
}


/* =========================================================
   HEADER
========================================================= */

.nss-header {
    width: 100%;
    height: 105px;
    background: linear-gradient(
        135deg,
        #06376c,
        #0a427d,
        #073566
    );

    display: flex;
    align-items: center;

    box-shadow:
        0 3px 12px rgba(0, 35, 80, 0.18);
}

.header-inner {
    width: min(1380px, 94%);
    margin: auto;
}

.nss-logo {
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo-circle {
    width: 60px;
    height: 60px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        145deg,
        #56a8ff,
        #2b79d4
    );

    color: white;

    font-size: 26px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.16);
}

.logo-text h1 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.logo-text span {
    display: block;
    margin-top: 5px;

    color: #58aaff;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
}


/* =========================================================
   PAGE TITLE
========================================================= */

.page-title {
    width: min(1380px, 94%);
    margin: 25px auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;
}

.page-title h2 {
    color: #073665;

    font-size: 25px;
    font-weight: 700;

    white-space: nowrap;
}

.title-line {
    width: 74px;
    height: 3px;

    background: #318bea;
    border-radius: 10px;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.main-container {
    width: min(1380px, 94%);
    margin: 0 auto 0;

    display: grid;

    grid-template-columns: 270px 1fr;

    gap: 22px;

    align-items: start;
}


/* =========================================================
   SIDEBAR
========================================================= */

.activities-sidebar {
    background: white;

    border: 1px solid #d8e7f7;

    border-radius: 9px;

    overflow: hidden;

    box-shadow:
        0 5px 18px rgba(25, 83, 135, 0.08);
}

.sidebar-title {
    min-height: 52px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 20px;

    color: white;

    font-size: 16px;
    font-weight: 700;

    background: linear-gradient(
        135deg,
        #06366b,
        #0a4887
    );
}

.sidebar-title i {
    color: #8ac5ff;
    font-size: 18px;
}

.activity-link {
    min-height: 49px;

    padding: 0 17px;

    display: flex;
    align-items: center;

    gap: 12px;

    color: #243b55;

    text-decoration: none;

    border-bottom: 1px solid #e4edf6;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        padding-left 0.25s ease;
}

.activity-link:last-child {
    border-bottom: none;
}

.activity-link:hover {
    background: #edf6ff;
    color: #07549b;
    padding-left: 21px;
}

.activity-icon {
    width: 25px;

    color: #2379ce;

    font-size: 19px;
}

.activity-link span {
    flex: 1;

    font-size: 13.5px;
}

.arrow {
    color: #777;
    font-size: 12px;
}


/* =========================================================
   CONTENT CARD
========================================================= */

.content-card {
    min-width: 0;

    padding: 21px 23px 18px;

    background: white;

    border: 1px solid #dceafa;

    border-radius: 10px;

    box-shadow:
        0 5px 20px rgba(31, 86, 134, 0.07);
}

.content-heading {
    display: flex;
    align-items: center;

    gap: 17px;
}

.heart-box {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #eaf4ff;

    color: #2678c8;

    font-size: 24px;
}

.content-heading h2 {
    color: #063665;

    font-size: 20px;
    line-height: 1.25;
}

.content-heading p {
    margin-top: 4px;

    color: #75869a;

    font-size: 13px;
}

.separator {
    width: 100%;
    height: 1px;

    margin: 17px 0 14px;

    background: #dce8f4;
}

.description p {
    margin-bottom: 12px;

    color: #263746;

    font-size: 13.5px;

    line-height: 1.55;

    text-align: left;
}


/* =========================================================
   SERVICE CARDS
========================================================= */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    margin-top: 15px;
}

.service-card {
    min-height: 145px;

    padding: 9px 12px 12px;

    text-align: center;

    background: linear-gradient(
        180deg,
        #f8fbff,
        #f1f7fd
    );

    border: 1px solid #cfe2f6;

    border-radius: 8px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-3px);

    border-color: #8fc5f4;

    box-shadow:
        0 8px 20px rgba(26, 101, 169, 0.12);
}

.service-icon {
    width: 44px;
    height: 44px;

    margin: 0 auto 7px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        145deg,
        #0c5caa,
        #267ecb
    );

    color: white;

    font-size: 19px;

    box-shadow:
        inset 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.service-card h3 {
    color: #063664;

    font-size: 14px;

    margin-bottom: 5px;
}

.service-card p {
    color: #647487;

    font-size: 12px;

    line-height: 1.4;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    width: min(1380px, 94%);

    min-height: 215px;

    margin: 0 auto 10px;

    padding: 14px 16px;

    display: flex;

    gap: 18px;

    background:
        linear-gradient(
            110deg,
            #f8fbff,
            #eef6ff
        );

    border: 1px solid #d2e5f8;

    border-radius: 9px;

    box-shadow:
        0 4px 15px rgba(31, 91, 140, 0.08);
}

.contact-left {
    flex: 1;
    min-width: 0;
}

.contact-title {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 11px;
}

.phone-circle {
    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    background: #083d73;

    font-size: 18px;
}

.contact-title span {
    color: #287fd0;

    font-size: 13px;
    font-weight: 600;
}

.contact-title h2 {
    color: #063766;

    font-size: 23px;

    line-height: 1.15;
}

.small-line {
    width: 62px;
    height: 3px;

    margin-top: 8px;

    background: #318be2;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {
    display: grid;

    grid-template-columns:
        1.05fr 1.25fr 1.15fr 0.8fr;

    gap: 0;
}

.contact-item {
    min-height: 78px;

    display: flex;

    gap: 11px;

    padding: 0 18px 0 0;

    margin-right: 16px;

    border-right: 1px solid #d7e4f1;
}

.contact-icon {
    width: 39px;
    height: 39px;

    flex: 0 0 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: white;

    background: linear-gradient(
        145deg,
        #2f8bdf,
        #1663ad
    );

    font-size: 16px;
}

.contact-item small,
.social-box small {
    display: block;

    color: #3c6287;

    font-size: 11.5px;

    margin-bottom: 2px;
}

.contact-item strong {
    display: block;

    color: #073b70;

    font-size: 12.5px;

    line-height: 1.45;
}

.contact-item p {
    color: #53687c;

    font-size: 11.5px;

    line-height: 1.5;
}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.social-box {
    padding-left: 4px;
}

.social-icons {
    display: flex;

    gap: 9px;

    margin-top: 10px;
}

.social-icons a {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    color: white;

    background: #2784d5;

    font-size: 18px;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);

    background: #073c72;
}


/* =========================================================
   CONTACT IMAGE
========================================================= */

.contact-image {
    width: 290px;

    flex: 0 0 290px;

    overflow: hidden;

    border-radius: 8px;

    background: #dceafa;
}

.contact-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   RESPONSIVE - LAPTOP
========================================================= */

@media (max-width: 1100px) {

    .main-container {
        grid-template-columns: 230px 1fr;
    }

    .service-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .contact-details {
        grid-template-columns:
            repeat(2, 1fr);

        row-gap: 15px;
    }

    .contact-item {
        border-right: none;
    }

    .contact-image {
        width: 230px;
        flex-basis: 230px;
    }
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 800px) {

    .nss-header {
        height: 90px;
    }

    .logo-circle {
        width: 50px;
        height: 50px;

        font-size: 21px;
    }

    .logo-text h1 {
        font-size: 22px;
    }

    .logo-text span {
        font-size: 12px;
    }

    .main-container {
        grid-template-columns: 1fr;
    }

    .activities-sidebar {
        width: 100%;
    }

    .activity-link {
        min-height: 45px;
    }

    .contact-section {
        flex-direction: column;
    }

    .contact-image {
        width: 100%;
        height: 220px;
        flex-basis: auto;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 560px) {

    .nss-header {
        height: 82px;
    }

    .header-inner,
    .main-container,
    .contact-section,
    .page-title {
        width: 94%;
    }

    .nss-logo {
        gap: 11px;
    }

    .logo-circle {
        width: 44px;
        height: 44px;

        font-size: 18px;
    }

    .logo-text h1 {
        font-size: 17px;
    }

    .logo-text span {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .page-title {
        margin-top: 18px;
        margin-bottom: 17px;

        gap: 10px;
    }

    .page-title h2 {
        font-size: 19px;
    }

    .title-line {
        width: 35px;
    }

    .content-card {
        padding: 16px 13px;
    }

    .content-heading h2 {
        font-size: 17px;
    }

    .description p {
        font-size: 12.5px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-item {
        padding-bottom: 12px;
        margin-right: 0;

        border-bottom: 1px solid #d7e4f1;
    }

    .contact-title h2 {
        font-size: 20px;
    }

    .contact-image {
        height: 190px;
    }
}