/* =========================================================
   PQS PUBLIC PORTAL
   ========================================================= */

:root {
    --pqs-green: #146c43;
    --pqs-dark-green: #0b4d2b;
    --pqs-light-green: #eaf5ef;
    --pqs-gold: #d6a62c;
    --pqs-dark: #1f2933;
    --pqs-gray: #6b7280;
    --pqs-light: #f5f7f6;
}


/* =========================================================
   GENERAL
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--pqs-dark);
    background: #ffffff;
}

a {
    text-decoration: none;
}


/* =========================================================
   HERO
   ========================================================= */

.pqs-hero {
    position: relative;
    min-height: 520px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            135deg,
            rgba(11, 77, 43, 0.97),
            rgba(20, 108, 67, 0.92)
        );

    color: white;
    overflow: hidden;
}

.pqs-hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -150px;
    top: -180px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);
}

.pqs-hero::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: -150px;
    bottom: -180px;

    border-radius: 50%;

    background: rgba(214, 166, 44, 0.10);
}

.pqs-hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;
    margin: auto;

    text-align: center;

    padding: 80px 20px;
}

.pqs-badge {
    display: inline-block;

    padding: 8px 18px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 1.5px;

    margin-bottom: 20px;
}

.pqs-hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;

    margin: 0;
}

.pqs-hero h2 {
    font-size: 28px;
    font-weight: 400;

    margin-top: 10px;
}

.pqs-hero p {
    max-width: 700px;

    margin: 25px auto 35px;

    font-size: 18px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.88);
}

.pqs-hero-button {
    display: inline-block;

    background: white;
    color: var(--pqs-dark-green);

    border-radius: 6px;

    padding: 13px 28px;

    font-weight: 700;
    letter-spacing: .5px;

    transition: .2s;
}

.pqs-hero-button:hover {
    background: var(--pqs-gold);
    color: white;

    transform: translateY(-2px);
}


/* =========================================================
   ABOUT US SECTION
   ========================================================= */

.pqs-section {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7faf8 100%
        );
}

.pqs-section-heading {
    text-align: center;

    margin-bottom: 55px;
}

.pqs-section-heading span {
    color: var(--pqs-green);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2.5px;
}

.pqs-section-heading h2 {
    margin: 10px 0 8px;

    font-size: 44px;
    font-weight: 700;

    color: #172b21;
}

.pqs-section-heading p {
    color: var(--pqs-gray);

    margin: 0;

    font-size: 16px;
}


/* =========================================================
   ABOUT CARDS
   ========================================================= */

.pqs-info-card {
    height: 100%;

    background: #ffffff;

    border: 1px solid #e1e8e4;

    border-radius: 14px;

    padding: 35px;

    box-shadow:
        0 8px 25px rgba(11, 77, 43, .05);

    position: relative;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.pqs-info-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--pqs-green);
}

.pqs-info-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(11, 77, 43, .10);
}


/* Mandate */

.pqs-mandate {
    padding: 40px;
}


/* Card icon */

.pqs-card-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--pqs-light-green);

    color: var(--pqs-green);

    font-size: 23px;

    margin-bottom: 22px;

    border: 1px solid #d7eadf;
}


/* Card headings */

.pqs-info-card h3 {
    color: #172b21;

    font-size: 23px;

    margin-bottom: 17px;

    font-weight: 700;
}


/* Card text */

.pqs-info-card p {
    color: #4b5563;

    line-height: 1.8;

    font-size: 15px;

    margin-bottom: 15px;
}


/* =========================================================
   SERVICES
   ========================================================= */

.pqs-services {
    padding: 90px 0;

    background:
        linear-gradient(
            135deg,
            var(--pqs-dark-green),
            var(--pqs-green)
        );

    color: white;
}

.pqs-section-heading.light span {
    color: var(--pqs-gold);
}

.pqs-section-heading.light p {
    color: rgba(255, 255, 255, .75);
}

.pqs-section-heading.light h2 {
    color: white;
}


/* =========================================================
   SERVICE TABS
   ========================================================= */

.pqs-service-tabs {
    display: flex;

    justify-content: center;

    gap: 12px;

    margin-bottom: 25px;
}

.pqs-service-tab {
    min-width: 170px;

    padding: 18px 25px;

    border: 1px solid rgba(255, 255, 255, .25);

    border-radius: 8px;

    background: rgba(255, 255, 255, .08);

    color: white;

    font-weight: 700;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    cursor: pointer;

    transition: .2s;
}

.pqs-service-tab i {
    font-size: 20px;
}

.pqs-service-tab:hover {
    background: rgba(255, 255, 255, .15);
}

.pqs-service-tab.active {
    background: white;

    color: var(--pqs-dark-green);

    border-color: white;
}


/* =========================================================
   SERVICE PANEL
   ========================================================= */

.pqs-service-panel {
    display: none;

    background: white;

    color: var(--pqs-dark);

    border-radius: 14px;

    padding: 45px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}

.pqs-service-panel.active {
    display: block;
}

.pqs-service-label {
    color: var(--pqs-green);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.pqs-service-panel h3 {
    font-size: 32px;

    margin-bottom: 15px;
}

.pqs-service-panel p {
    color: #4b5563;

    line-height: 1.7;

    max-width: 700px;
}


/* =========================================================
   SERVICE LIST
   ========================================================= */

.pqs-service-list {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;
}

.pqs-service-list span {
    padding: 8px 13px;

    border-radius: 20px;

    background: var(--pqs-light-green);

    color: var(--pqs-dark-green);

    font-size: 14px;
}


/* =========================================================
   ACCESS CARD
   ========================================================= */

.pqs-access-card {
    background: var(--pqs-light-green);

    border-radius: 12px;

    padding: 30px;

    text-align: center;
}

.pqs-access-card h4 {
    color: var(--pqs-dark-green);

    font-size: 20px;

    margin-bottom: 10px;
}

.pqs-access-card p {
    font-size: 14px;

    margin-bottom: 25px;
}

.pqs-login-button {
    display: inline-block;

    background: var(--pqs-green);

    color: white;

    padding: 10px 22px;

    font-weight: 600;

    margin-right: 6px;

    border-radius: 6px;
}

.pqs-login-button:hover {
    background: var(--pqs-dark-green);

    color: white;
}

.pqs-register-button {
    display: inline-block;

    border: 1px solid var(--pqs-green);

    color: var(--pqs-green);

    padding: 10px 22px;

    font-weight: 600;

    border-radius: 6px;
}

.pqs-register-button:hover {
    background: var(--pqs-green);

    color: white;
}


/* =========================================================
   CONTACT
   ========================================================= */

.pqs-contact {
    padding: 60px 0;

    background: #f3f5f4;

    text-align: center;
}

.pqs-contact h3 {
    color: var(--pqs-dark-green);

    margin-bottom: 8px;
}

.pqs-contact p {
    margin-bottom: 5px;

    color: var(--pqs-gray);
}


/* =========================================================
   PQS NAVIGATION
   ========================================================= */

.pqs-navbar {
    background: #ffffff;

    border-bottom: 1px solid #e5e7eb;

    position: sticky;

    top: 0;

    z-index: 1000;
}

.pqs-navbar-container {
    max-width: 1200px;

    margin: 0 auto;

    padding: 0 25px;

    min-height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================================
   BRAND
   ========================================================= */

.pqs-brand {
    display: flex;

    flex-direction: column;

    color: #0b4d2b;

    line-height: 1;
}

.pqs-brand:hover {
    color: #146c43;
}

.pqs-brand-main {
    font-size: 25px;

    font-weight: 800;

    letter-spacing: 1px;
}

.pqs-brand-title {
    margin-top: 4px;

    font-size: 13px;

    font-weight: 600;

    color: #146c43;
}

.pqs-brand-sub {
    margin-top: 4px;

    font-size: 10px;

    font-weight: 600;

    color: #6b7280;

    letter-spacing: 1px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.pqs-navigation {
    display: flex !important;

    align-items: center;

    justify-content: space-between;

    flex-grow: 1;

    margin-left: 70px;
}

.pqs-nav-links {
    display: flex;

    align-items: center;

    list-style: none;

    margin: 0;

    padding: 0;

    gap: 35px;
}

.pqs-nav-links a {
    color: #374151;

    font-size: 15px;

    font-weight: 600;

    transition: .2s;
}

.pqs-nav-links a:hover {
    color: #146c43;
}


/* =========================================================
   NAVIGATION BUTTONS
   ========================================================= */

.pqs-nav-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}

.pqs-nav-login {
    color: #146c43;

    padding: 9px 18px;

    font-weight: 600;

    border-radius: 6px;
}

.pqs-nav-login:hover {
    background: #eaf5ef;

    color: #0b4d2b;
}

.pqs-nav-register {
    background: #146c43;

    color: white;

    padding: 10px 20px;

    border-radius: 6px;

    font-weight: 600;
}

.pqs-nav-register:hover {
    background: #0b4d2b;

    color: white;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.pqs-menu-button {
    display: none;

    width: 42px;
    height: 38px;

    border: 1px solid #d1d5db;

    border-radius: 6px;

    background: white;

    padding: 7px;
}

.pqs-menu-button span {
    display: block;

    height: 2px;

    margin: 5px 0;

    background: #146c43;
}


/* =========================================================
   PQS FOOTER
   ========================================================= */

.pqs-footer {
    background: #0b4d2b;

    color: rgba(255, 255, 255, .8);

    padding: 40px 0;
}

.pqs-footer h5 {
    color: white;

    margin-bottom: 6px;

    font-weight: 700;
}

.pqs-footer p {
    margin-bottom: 5px;
}

.pqs-footer small {
    color: rgba(255, 255, 255, .6);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    /* Hero */

    .pqs-hero {
        min-height: 480px;
    }

    .pqs-hero h1 {
        font-size: 42px;
    }

    .pqs-hero h2 {
        font-size: 23px;
    }

    .pqs-hero p {
        font-size: 16px;
    }


    /* Sections */

    .pqs-section,
    .pqs-services {
        padding: 60px 0;
    }

    .pqs-section-heading {
        margin-bottom: 35px;
    }

    .pqs-section-heading h2 {
        font-size: 34px;
    }


    /* About cards */

    .pqs-info-card,
    .pqs-mandate {
        padding: 28px;
    }


    /* Service tabs */

    .pqs-service-tabs {
        flex-direction: column;
    }

    .pqs-service-tab {
        width: 100%;
    }


    /* Service panel */

    .pqs-service-panel {
        padding: 25px;
    }

    .pqs-service-panel h3 {
        font-size: 26px;
    }

    .pqs-access-card {
        margin-top: 30px;
    }


    /* Navigation */

    .pqs-navbar-container {
        min-height: 68px;

        flex-wrap: wrap;
    }

    .pqs-menu-button {
        display: block;
    }

    .pqs-navigation {
        display: block !important;

        width: 100%;

        margin-left: 0;

        padding: 20px 0;
    }

    .pqs-nav-links {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

        width: 100%;
    }

    .pqs-nav-actions {
        margin-top: 15px;

        width: 100%;

        justify-content: flex-start;
    }

    .pqs-nav-register,
    .pqs-nav-login {
        display: inline-block;
    }

}

/* =========================================================
   SERVICE ACCESS CARD
   ========================================================= */

.pqs-access-card {
    background: #f5faf7;

    border: 1px solid #dcebe2;

    border-radius: 16px;

    padding: 32px 25px;

    text-align: center;
}

.pqs-access-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e1f1e8;

    color: var(--pqs-green);

    font-size: 25px;
}

.pqs-access-card h4 {
    color: var(--pqs-dark-green);

    font-size: 21px;

    margin-bottom: 10px;
}

.pqs-access-card p {
    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 24px;
}

.pqs-access-buttons {
    display: flex;

    justify-content: center;

    gap: 8px;
}


/* =========================================================
   SERVICE PANEL IMPROVEMENT
   ========================================================= */

.pqs-service-panel {
    border: 1px solid rgba(11, 77, 43, .08);
}

.pqs-service-panel h3 {
    color: #172b21;

    font-weight: 700;
}

.pqs-service-list span {
    border: 1px solid #dcebe2;

    font-weight: 500;
}


/* =========================================================
   SERVICE TABS IMPROVEMENT
   ========================================================= */

.pqs-service-tab {
    min-width: 180px;

    position: relative;
}

.pqs-service-tab.active::after {
    content: "";

    position: absolute;

    bottom: -26px;

    left: 50%;

    transform: translateX(-50%);

    width: 0;
    height: 0;

    border-left: 9px solid transparent;
    border-right: 9px solid transparent;

    border-top: 9px solid white;
}


/* =========================================================
   SERVICE MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .pqs-service-tab.active::after {
        display: none;
    }

    .pqs-access-buttons {
        flex-direction: column;
    }

    .pqs-login-button,
    .pqs-register-button {
        width: 100%;

        margin-right: 0;
    }

}

.pqs-service-svg {
    width: 22px;
    height: 22px;
    display: inline-block;
    fill: currentColor;
    vertical-align: middle;
}