.navbar-brand img {
    max-width: 240px;
}

.research-image.small-research-img {
    width: calc(33% - 20px);
    width: 100%;
}

.research-two-section .research-item {
    width: calc(33% - 20px);
    width: 100%;
}

.research-item-list {
    gap: 0px;
}

figure.image-anime.reveal {
    height: 283px;
}

/* Palette (adjust if you already have these variables) */
:root {
    --primary-color: #162d68; /* deep navy */
    --accent-color: #2a7ff5; /* brand blue */
    --accent-color: #1764cb;
    --muted: #6f7175;
    --bg: #ffffff;
    --rounded: 14px;
    --container-pad: 48px;
    --max-width: 1200px;
    --soft-shadow: 0 8px 30px rgba(22, 45, 104, 0.06);
    --radius-small: 10px;
}

/* Section layout */
.how-we-help-section {
    padding: 64px var(--container-pad);
    background: var(--bg);
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #222;
}

    /* center container */
    .how-we-help-section .container {
        max-width: var(--max-width);
        margin: 0 auto;
    }

/* Tabs row */
.how-tabs {
    display: flex;
    gap: 28px;
    justify-content: flex-start;
    border-bottom: 1px solid #e6e9ef;
    padding-bottom: 18px;
    margin-bottom: 28px;
    overflow-x: auto;
}

.how-tab {
    background: transparent;
    border: none;
    padding: 10px 6px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    outline: none;
}

    .how-tab:hover {
        color: var(--primary-color);
    }

    /* active underline */
    .how-tab.active {
        color: var(--primary-color);
    }

        .how-tab.active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--primary-color);
            bottom: -19px;
            border-radius: 4px;
            width: 70%;
            margin: 0 auto;
        }

/* Content grid */
.how-content-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 40px;
    align-items: center;
}

/* Left column */
.how-left h2 {
    font-size: 44px;
    line-height: 1.05;
    margin: 0 0 18px;
    color: var(--primary-color);
    font-weight: 800;
    font-family: "Sora", "Manrope", sans-serif;
}

.how-left p {
    color: #556;
    margin: 0 0 18px;
    max-width: 66ch;
}

.how-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    color: #444;
}

    .how-bullets li {
        margin: 8px 0;
        font-weight: 600;
    }

/* CTA button */
.btn-primary {
    display: inline-block;
    padding: 12px 26px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--soft-shadow);
}

/* Right column image */
.how-right img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-small);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

/* Tab panels spacing */
.how-panel {
    transition: opacity 220ms ease;
}

    .how-panel[hidden] {
        display: none;
    }

/* Responsive: stack on smaller screens */
@media (max-width: 991px) {
    .how-content-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 97px 0 88px !important;
    }

    .how-right {
        order: 2;
        margin-top: 24px;
    }

    .how-left {
        order: 1;
    }

        .how-left h2 {
            font-size: 34px;
        }

    .how-tabs {
        gap: 18px;
        padding-bottom: 12px;
        margin-bottom: 18px;
    }

    .how-tab.active::after {
        bottom: -14px;
        height: 3px;
        width: 100%;
    }
}

#how-main-image {
    transition: opacity 0.2s ease-in-out;
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: 420px !important;
}

.main-menu ul li a {
    /* color: #ffffff; */
    font-size:1.1em !important;
}

header.main-header {
    /* background: #162d68; */
}

.navbar-brand img {
    /* background: white;
  padding-top: 4px;
  padding-left: 4px;
  padding-right: 4px;
  padding-bottom: 3px; */
}

.btn-default::after {
    /* background-color: #0a0400; */
}

.how-tab {
    font-size: 1.1rem;
    color: #282f3c;
}

.page-header {
    background-color: #030711;
    background-image: url("http://127.0.0.1:5500/images/page-header-bg.jpg");
    background-position: center;
}

.navbar {
    /* padding: 10px 0;
  align-items: center; */
}

header.main-header {
    /* background: #ffffff; */
}

header.main-header {
    /* background: #ffffff8f;
  box-shadow: -1px -1px 2px 2px #e7e4e4;
  box-shadow: 0 6px 15px 0 rgba(0, 0, 0, 0.05); */
}

.main-menu ul li a {
    /* color: black; */
}

.footer-logo img {
    background: transparent;
}

.main-footer {
    background: #f1f1f1;
}

.about-footer-content p {
    color: black;
}

.footer-links h3 {
    color: #000;
}

.footer-links ul li a {
    color: #000;
}

.footer-contact-list a {
    color: #000;
}

.footer-contact-list ul li {
    color: #000;
}

.footer-social-links ul li a {
    color: #000;
}

.footer-social-links ul li i {
    color: #000;
}

.footer-copyright-text p {
    color: #000;
}

.footer-privacy-policy ul li a {
    color: black;
}

/*subscribe section*/
/* ===== Subscribe Section ===== */
.subscribe-section {
    background: linear-gradient(180deg, #0a2a66 0%, #1e4fb5 100%);
    color: #fff;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.subscribe-box {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 60px 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    backdrop-filter: blur(6px);
}

.subscribe-content h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.subscribe-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #e0e7ff;
    margin-bottom: 30px;
}

.subscribe-form {
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
    flex-wrap: wrap;
}

    .input-group input {
        width: 320px;
        padding: 14px 18px;
        border-radius: 8px;
        border: none;
        outline: none;
        font-size: 16px;
        color: #333;
        background: #fff;
    }

    .input-group button {
        padding: 14px 28px;
        border: none;
        border-radius: 8px;
        background: #fff;
        color: #0a2a66;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 3px 10px rgba(255, 255, 255, 0.2);
    }

        .input-group button:hover {
            background: #e6eeff;
            transform: translateY(-2px);
        }

.subscribe-content small {
    display: block;
    font-size: 14px;
    color: #c5d3ff;
    margin-top: 10px;
}

.navbar {
    padding: 0px;
    align-items: center;
}

.hero-content .section-title h1 {
    font-size: 45px;
    font-weight: 600;
    line-height: 1.2em;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    cursor: none;
    font-family: "Stack Sans Headline", sans-serif !important;
}

.hero {
    position: relative;
    background: url("../images/hero-bg.jpg") no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    padding: 97px 0 115px !important;
}

header.main-header {
    padding-top: 8px;
    padding-bottom: 7px;
}

a.navbar-brand {
    margin-top: 2px;
}

.blog-card .card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.navbar-brand img {
    width: 200px;
}

@media (max-width: 991px) {
    .hero {
        padding: 52px 0 40px !important;
    }
}
