@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

body {
    background: #ffffff;
    margin: 0;
    padding: 0;
    font-family: "Lato", Arial, Helvetica, sans-serif;
    color: #1f2f46;
    line-height: 1.6;
    text-align: center;
    -webkit-text-size-adjust: 100%;
}

html { overflow-y: scroll; }

/* =========================================================
   GLOBAL OVERFLOW / WIDTH FIX
   ========================================================= */

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

.footer,
.outerfooter {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.footer-column {
    min-width: 0;
}

.page-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-simple {
    padding: 110px 20px 50px 20px;
    background: #ffffff;
}

.hero-card {
    max-width: 860px;
    margin: 0 auto;
    background: #f7fbff;
    border: 1px solid #d9e7f5;
    border-radius: 18px;
    padding: 42px 30px;
    box-shadow: 0 12px 30px rgba(24, 65, 129, 0.08);
}

.hero-card h1 {
    color: #184181;
    font-size: 44px;
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: -1px;
    margin: 0 0 14px 0;
}

.hero-card h2 {
    color: #2d5d9f;
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 18px 0;
}

.hero-card p {
    color: #35506f;
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 10px auto;
}

.button-row {
    margin-top: 24px;
}

.button-row a {
    display: inline-block;
    margin: 8px 6px;
    text-decoration: none;
}

.button {
    background: #184181;
    color: #fff;
    border: none;
    padding: 12px 22px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 8px 18px rgba(24, 65, 129, 0.14);
}

.button:hover {
    background: #102f5d;
    transform: translateY(-2px);
}

.button.secondary {
    background: #edf4fb;
    color: #184181;
    border: 1px solid #cfe0f0;
    box-shadow: none;
}

.button.secondary:hover {
    background: #dfeefb;
}

.section {
    padding: 25px 0 10px 0;
}

.section-title {
    color: #184181;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin: 0 0 10px 0;
}

.section-intro {
    max-width: 820px;
    margin: 0 auto 30px auto;
    color: #4a617d;
    font-size: 17px;
    line-height: 1.8;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin: 25px auto 10px auto;
}

.service-card {
    background: #ffffff;
    border: 1px solid #dce8f3;
    border-radius: 16px;
    padding: 22px 18px;
    box-shadow: 0 8px 24px rgba(19, 56, 107, 0.06);
    text-align: left;
}

.service-card h3 {
    color: #184181;
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 10px 0;
    text-align: left;
}

.service-card p {
    color: #52677f;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

.about-panel {
    max-width: 980px;
    margin: 40px auto 0 auto;
    background: linear-gradient(to bottom, #f8fbfe, #eef5fb);
    border: 1px solid #d8e6f2;
    border-radius: 18px;
    padding: 38px 28px;
    box-shadow: 0 10px 28px rgba(24, 65, 129, 0.07);
}

.about-panel h2 {
    color: #184181;
    font-size: 32px;
    font-weight: 300;
    margin: 0 0 16px 0;
}

.about-panel h3 {
    color: #2f609d;
    font-size: 22px;
    font-weight: 400;
    margin: 26px 0 10px 0;
    text-align: left;
}

.about-panel p,
.about-panel li {
    color: #42586f;
    font-size: 16px;
    line-height: 1.9;
    text-align: left;
    margin: 0 0 14px 0;
}

.about-panel ul {
    margin: 8px 0 10px 20px;
    padding: 0;
    list-style: disc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 30px auto 0 auto;
    max-width: 980px;
}

.value-box {
    background: #ffffff;
    border: 1px solid #dce8f3;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 8px 22px rgba(24, 65, 129, 0.06);
    text-align: left;
}

.value-box h3 {
    color: #184181;
    font-size: 21px;
    margin: 0 0 10px 0;
    text-align: left;
}

.value-box p {
    color: #52677f;
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
    margin: 0;
}

.cta-panel {
    max-width: 900px;
    margin: 40px auto 60px auto;
    padding: 34px 24px;
    border-radius: 18px;
    background: #184181;
    box-shadow: 0 14px 34px rgba(24, 65, 129, 0.18);
}

.cta-panel h2 {
    color: #ffffff;
    font-size: 30px;
    font-weight: 300;
    margin: 0 0 10px 0;
}

.cta-panel p {
    color: #eaf3ff;
    font-size: 17px;
    line-height: 1.8;
    text-align: center;
    margin: 0 auto 18px auto;
    max-width: 700px;
}

.cta-panel a {
    color: inherit;
    text-decoration: none;
}

@media only screen and (max-width: 999px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 799px) {
    .hero-simple {
        padding: 95px 14px 30px 14px;
    }

    .hero-card {
        padding: 30px 18px;
    }

    .hero-card h1 {
        font-size: 34px;
    }

    .hero-card h2 {
        font-size: 22px;
    }

    .hero-card p,
    .section-intro,
    .about-panel p,
    .about-panel li,
    .cta-panel p {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title,
    .about-panel h2,
    .cta-panel h2 {
        font-size: 28px;
    }
}

/* =========================================================
   FOOTER - CLEAN CLINICAL STYLE
   ========================================================= */

.footer {
    background: #184181;
    padding: 50px 20px 40px 20px;
}

.footer {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    text-align: left;
}

/* individual columns */
.footer-column {
    max-width: 280px;
    min-width: 220px;
}

/* headings */
.footer h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

/* paragraphs */
.footer p {
    color: #dbe7f5;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 8px 0;
}

/* lists */
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: 6px;
}

/* links */
.footer a {
    color: #dbe7f5;
    text-decoration: none;
    position: relative;
    transition: 0.25s ease;
}

/* subtle underline effect */
.footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.25s ease;
}

.footer a:hover {
    color: #ffffff;
}

.footer a:hover::after {
    width: 100%;
}

/* email link special case */
#email-link {
    font-weight: 400;
}

/* =========================================================
   LOWER FOOTER BAR
   ========================================================= */

.outerfooter {
    background: #0e3363 !important;
    padding: 18px 20px;
    text-align: center;
}

.outerfooter p {
    color: #cfe0f5;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.outerfooter a {
    color: #ffffff;
    text-decoration: none;
}

.outerfooter a:hover {
    text-decoration: underline;
}

/* =========================================================
   MOBILE TWEAKS
   ========================================================= */

@media only screen and (max-width: 799px) {

    .footer {
        gap: 30px;
        text-align: center;
    }

    .footer-column {
        max-width: 100%;
    }

    .footer h3 {
        text-align: center;
    }

    .footer p,
    .footer li {
        text-align: center;
    }
}

/* =========================================================
   LOGO TOP LEFT - CLEAN HEADER STYLE
   ========================================================= */

.logo-container {
    position: fixed;
    top: 12px;
    left: 18px;
    z-index: 999;
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 54px;   /* tweak if needed */
    width: auto;
    display: block;
}

/* optional subtle hover */
.logo-container img:hover {
    opacity: 0.9;
}

/* ensure nav doesn't overlap logo */
.top-bar {
    padding-left: 180px; /* creates space for logo */
}

/* MOBILE */
@media only screen and (max-width: 799px) {

    .logo-container {
        top: 10px;
        left: 12px;
    }

    .logo-container img {
        height: 52px;
    }

    .top-bar {
        padding-left: 70px; /* smaller space on mobile */
    }
}

       .logo-container {
            text-align: left;
            max-width: 110px;
            margin: 0 auto;
            border: 0px solid #ddd; /* Light border for structure */
            background: #ffffff; /* Light gray background */
            box-shadow: 
                inset 2px 2px 5px rgba(255, 255, 255, 0.8), /* Top-left highlight */
                inset -2px -2px 5px rgba(0, 0, 0, 0.2); /* Bottom-right shadow */
            border-radius: 8px; /* Slight rounding for a softer look */
            position: absolute;
            left: 50px; /* Adjust left distance */
            top: 106px; 
            transform: translateY(-50%); /* Center vertically */

        }

        .logo-container img {
            width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
        }

        .logo-text {
            font-family: "Lato", sans-serif;
            font-size: 25px;
            font-weight: bold;
            text-align: center;
            margin-top: 5px; /* Adjust spacing */
            color:#1b1f30;
            margin-bottom:4px;
        }

/* =========================================================
   INNER CONTENT - MODERN CLINICAL STYLE
   ========================================================= */

.newinnercontent {
    background: #ffffff;
    padding: 120px 20px 60px 20px;
}

/* constrain width nicely */
.newinnercontent .content {
    max-width: 980px;
    margin: 0 auto;
}

/* MAIN CONTENT PANEL (overrides old dark box) */
.newinnercontent .main-contenttext {
    background: linear-gradient(to bottom, #f8fbfe, #eef5fb);
    border: 1px solid #d8e6f2;
    border-radius: 18px;
    padding: 38px 32px;
    box-shadow: 0 10px 28px rgba(24, 65, 129, 0.07);
    margin-top: 20px;
}

/* =========================================================
   TYPOGRAPHY FIX (important - overrides white text)
   ========================================================= */

.newinnercontent h1 {
    color: #184181 !important;
    font-size: 40px;
    font-weight: 300;
    letter-spacing: -1px;
    text-align: center;
    margin-bottom: 10px;
}

.newinnercontent h2 {
    color: #2d5d9f;
    font-size: 26px;
    font-weight: 400;
    margin: 20px 0 10px 0;
    text-align: left;
}

.newinnercontent h3 {
    color: #184181;
    font-size: 21px;
    font-weight: 400;
    margin: 22px 0 8px 0;
    text-align: left;
}

.newinnercontent p {
    color: #42586f !important;
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 14px 0;
    text-align: left;
}

.newinnercontent li {
    color: #42586f !important;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
    text-align: left;
}

/* =========================================================
   LIST STYLING (big visual upgrade)
   ========================================================= */

/* reset your old tick class mess */
.newinnercontent ul {
    margin: 12px 0 18px 18px;
    padding: 0;
    list-style: none;
}

/* custom tick bullets */
.newinnercontent li {
    position: relative;
    padding-left: 22px;
}

.newinnercontent li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: #2d7bdc;
    font-weight: bold;
    font-size: 14px;
}

/* =========================================================
   STRONG TEXT
   ========================================================= */

.newinnercontent strong {
    color: #184181;
    font-weight: 600;
}

/* =========================================================
   SPACING IMPROVEMENTS
   ========================================================= */

.newinnercontent .main-contenttext h2:first-child {
    margin-top: 0;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 799px) {


.logo-container{

            top: 110px; 
}

    .newinnercontent {
        padding: 95px 14px 40px 14px;
    }

    .newinnercontent .main-contenttext {
        padding: 26px 18px;
    }

    .newinnercontent h1 {
        font-size: 32px;
    }

    .newinnercontent h2 {
        font-size: 22px;
    }

    .newinnercontent h3 {
        font-size: 19px;
    }
}

/* NAV ABOVE LOGO */
.top-bar {
    z-index: 1001;
    position: relative; /* or fixed if you already use that */
}

/* LOGO BELOW NAV */
.logo-container {
    z-index: 1000;
}