/* =====================================================
   RAMSCON AGGREGATE
   MATCHES MAIN STYLE.CSS
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');


/* =====================================================
   GLOBAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", Arial, sans-serif;
    background: #ffffff;
    color: #26384c;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}


/* =====================================================
   HEADER
   SAME AS MAIN STYLE.CSS
===================================================== */

.top-header {
    width: 100%;
    min-height: 116px;
    height: 116px;

    padding: 12px 5.5%;

    display: grid;
    grid-template-columns: 78px 1fr 78px;

    align-items: center;

    gap: 25px;

    background: linear-gradient(
        105deg,
      #123b63
    );

    border-bottom: 3px solid #d1a84b;

    position: relative;

    z-index: 1000;
}


/* =====================================================
   LOGOS
===================================================== */

.logo-box {
    width: 70px;
    height: 70px;

    min-width: 70px;
    max-width: 70px;

    min-height: 70px;
    max-height: 70px;

    padding: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border-radius: 5px;

    overflow: hidden;

    flex-shrink: 0;
}

.logo-box img {
    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    display: block;
}


/* =====================================================
   HEADER TEXT
===================================================== */

.header-text {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0 20px;

    text-align: center;

    color: #ffffff;
}

.header-text h1 {
    margin: 0;

    color: #ffffff;

    font-family: "Poppins", Arial, sans-serif;

    font-size: 25px;
    line-height: 1.3;

    font-weight: 600;

    letter-spacing: -0.3px;
}

.header-text p {
    margin: 5px 0 0;

    color: #ffffff;

    font-size: 12px;
    line-height: 1.4;

    font-weight: 400;
}


/* =====================================================
   NAVIGATION
===================================================== */

.navbar {
    width: 100%;

    height: 58px;
    min-height: 58px;

    padding: 0 20px;
    margin: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 32px;

    background: #ffffff;

    border-bottom: 1px solid #e4e7eb;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

    position: relative;

    z-index: 999;
}

.navbar > a,
.dropdown > a {
    position: relative;

    height: 58px;

    padding: 0;

    display: flex;
    align-items: center;

    color: #26384c;

    font-family: "Poppins", Arial, sans-serif;

    font-size: 13px;

    font-weight: 500;

    line-height: 1;

    white-space: nowrap;

    transition: color 0.25s ease;
}

.navbar > a:hover,
.dropdown > a:hover {
    color: #1766c4;
}


/* =====================================================
   ACTIVE PAGE
===================================================== */

.navbar .active {
    color: #1766c4;
}

.navbar .active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 8px;

    height: 2px;

    background: #d1a84b;
}


/* =====================================================
   DROPDOWN
===================================================== */

.dropdown {
    position: relative;
}

.dropdown > a span {
    margin-left: 5px;
    font-size: 8px;
}

.dropdown-content {
    position: absolute;

    top: 58px;
    left: -20px;

    width: 205px;

    display: none;

    background: #ffffff;

    border: 1px solid #dfe5eb;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);

    z-index: 3000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;

    width: 100%;

    padding: 12px 16px;

    color: #26384c;

    font-family: "Poppins", Arial, sans-serif;

    font-size: 12px;

    font-weight: 400;

    line-height: 1.4;

    border-bottom: 1px solid #edf0f3;

    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background: #f5f8fb;
    color: #1766c4;
}


/* =====================================================
   INSTITUTION BAR
===================================================== */

.institution-bar {
    width: calc(100% - 50px);
    max-width: 1200px;

    min-height: 42px;

    margin: auto;

    padding: 8px 18px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    background: #ffffff;

    border-left: 3px solid #d1a84b;

    border-bottom: 1px solid #edf0f3;

    color: #687789;

    font-size: 10px;
}

.institution-bar strong {
    color: #536272;
    font-weight: 600;
}


/* =====================================================
   PAGE HEADER
===================================================== */

.page-header {
    max-width: 900px;

    margin: auto;

    padding: 70px 25px 42px;

    text-align: center;
}

.eyebrow {
    display: block;

    margin-bottom: 10px;

    color: #a47d38;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}

.page-header h2 {
    margin-bottom: 14px;

    color: #123b63;

    font-size: 38px;

    line-height: 1.3;

    font-weight: 600;
}

.page-header p {
    max-width: 760px;

    margin: auto;

    color: #687789;

    font-size: 12px;

    line-height: 1.85;
}


/* =====================================================
   RESEARCH NAVIGATION
===================================================== */

.research-navigation {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 12px;

    margin: 5px auto 35px;

    flex-wrap: wrap;
}

.research-navigation a {
    padding: 10px 18px;

    background: #ffffff;

    border: 1px solid #c9a24d;

    color: #123b63;

    font-size: 11px;

    font-weight: 600;

    transition: all 0.25s ease;
}

.research-navigation a:hover {
    background: #123b63;

    border-color: #123b63;

    color: #ffffff;

    transform: translateY(-2px);
}

.research-navigation a.active {
    background: #123b63;

    border-color: #123b63;

    color: #ffffff;
}


/* =====================================================
   SAMPLE SECTION
===================================================== */

.sample-section {
    width: 100%;

    max-width: 1150px;

    margin: auto;

    padding: 25px 25px 75px;
}


/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {
    max-width: 800px;

    margin: 0 auto 40px;

    text-align: center;
}

.section-heading h2 {
    margin-bottom: 11px;

    color: #123b63;

    font-size: 30px;

    line-height: 1.35;

    font-weight: 600;
}

.section-heading p {
    color: #687789;

    font-size: 12px;

    line-height: 1.8;
}


/* =====================================================
   SAMPLE GALLERY
===================================================== */

.sample-gallery {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


/* =====================================================
   SAMPLE CARD
===================================================== */

.sample-box {
    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dfe6ed;

    border-radius: 0;

    box-shadow: 0 6px 20px rgba(18, 59, 99, 0.06);

    transition: all 0.3s ease;
}

.sample-box:hover {
    transform: translateY(-5px);

    border-color: #c9a24d;

    box-shadow: 0 12px 28px rgba(18, 59, 99, 0.10);
}


/* =====================================================
   IMAGE
===================================================== */

.sample-box img {
    width: 100%;

    height: 245px;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;
}

.sample-box:hover img {
    transform: scale(1.025);
}


/* =====================================================
   CARD TEXT
===================================================== */

.sample-text {
    padding: 22px;
}

.sample-text span {
    color: #a47d38;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.sample-text h3 {
    margin: 7px 0 8px;

    color: #123b63;

    font-size: 17px;

    line-height: 1.4;

    font-weight: 600;
}

.sample-text p {
    color: #687789;

    font-size: 11px;

    line-height: 1.8;
}


/* =====================================================
   RESEARCH PERSPECTIVE
===================================================== */

.research-perspective {
    width: calc(100% - 50px);

    max-width: 1100px;

    margin: 0 auto 75px;

    padding: 40px;

    background: #f4f7fa;

    border: 1px solid #dfe6ed;

    border-left: 4px solid #c9a24d;
}

.research-perspective h2 {
    margin-bottom: 12px;

    color: #123b63;

    font-size: 28px;

    line-height: 1.4;

    font-weight: 600;
}

.research-perspective p {
    color: #687789;

    font-size: 12px;

    line-height: 1.85;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #0d2d4b;

    border-top: 3px solid #c9a24d;

    color: #ffffff;

    text-align: center;
}

.footer-content {
    padding: 24px 20px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 25px;
}

.footer-content strong {
    color: #ffffff;

    font-size: 13px;

    font-weight: 600;
}

.footer-content span {
    color: #c9d5df;

    font-size: 10px;
}

.footer > p {
    padding-bottom: 20px;

    color: #b9c8d4;

    font-size: 9px;
}


/* =====================================================
   BACK TO TOP
===================================================== */

#backToTop {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: #123b63;

    color: #ffffff;

    font-size: 19px;

    font-weight: 500;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition: all 0.3s ease;

    z-index: 9999;
}

#backToTop.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

#backToTop:hover {
    background: #c9a24d;

    color: #123b63;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .top-header {
        padding: 12px 4%;

        grid-template-columns:
            68px 1fr 68px;

        gap: 15px;
    }

    .logo-box {
        width: 62px;
        height: 62px;

        min-width: 62px;
        max-width: 62px;

        min-height: 62px;
        max-height: 62px;
    }

    .header-text h1 {
        font-size: 21px;
    }

    .sample-gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .top-header {
        min-height: 92px;
        height: auto;

        padding: 9px 12px;

        grid-template-columns:
            48px 1fr 48px;

        gap: 8px;
    }

    .logo-box {
        width: 45px;
        height: 45px;

        min-width: 45px;
        max-width: 45px;

        min-height: 45px;
        max-height: 45px;

        padding: 4px;
    }

    .header-text {
        padding: 0 5px;
    }

    .header-text h1 {
        font-size: 13px;
        line-height: 1.3;
    }

    .header-text p {
        margin-top: 3px;
        font-size: 7px;
    }

    .navbar {
        height: auto;
        min-height: auto;

        padding: 8px 10px;

        gap: 4px 15px;

        flex-wrap: wrap;
    }

    .navbar > a,
    .dropdown > a {
        height: 27px;

        font-size: 10px;
    }

    .navbar > a.active::after,
    .dropdown > a.active::after {
        bottom: 1px;
    }

    .dropdown-content {
        top: 27px;
        left: -10px;
    }

    .institution-bar {
        width: calc(100% - 30px);

        min-height: 40px;

        padding: 8px 12px;

        flex-direction: column;

        justify-content: center;

        text-align: center;

        gap: 3px;
    }

    .page-header {
        padding: 55px 20px 35px;
    }

    .page-header h2 {
        font-size: 29px;
    }

    .page-header p {
        font-size: 11px;
    }

    .research-navigation {
        flex-direction: column;

        align-items: stretch;

        max-width: 260px;

        margin-left: auto;
        margin-right: auto;
    }

    .research-navigation a {
        text-align: center;
    }

    .sample-gallery {
        grid-template-columns: 1fr;
    }

    .sample-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .sample-box img {
        height: 240px;
    }

    .research-perspective {
        width: calc(100% - 30px);

        padding: 28px 22px;
    }

    .research-perspective h2 {
        font-size: 23px;
    }

    .footer-content {
        flex-direction: column;

        gap: 6px;
    }
}