/* Homepage only (loaded via $page_css in index.php).
   Colours come from custom.css and the logo. */
:root {
    --hp-blue: #14428d;
    --hp-navy: #132e57;
    --hp-ink: #031521;
    --hp-red: #cf2212;
    --hp-red-dark: #ad1b0e;
    --hp-pale: #f2f9ff;
    --hp-mist: #ecf0f2;
    --hp-text: #434748;
    --hp-rule: rgb(3 21 33 / .14);
    --hp-serif: Georgia, "Times New Roman", serif;
}

/* ---------- Shared ---------- */
.hp-h2 {
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.16;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--hp-ink);
    margin: 0 0 20px;
}

.hp-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hp-red);
    margin: 0 0 18px;
}

.hp-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

.hp-eyebrow--light {
    color: #fff;
}

.hp-eyebrow--light::before {
    background: var(--hp-red);
}

.hp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.hp-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.hp-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px var(--hp-blue);
}

.hp-btn--red {
    background: var(--hp-red);
    color: #fff;
}

.hp-btn--red:hover {
    background: var(--hp-red-dark);
    color: #fff;
}

.hp-btn--blue {
    background: var(--hp-blue);
    color: #fff;
}

.hp-btn--blue:hover {
    background: var(--hp-navy);
    color: #fff;
}

.hp-btn--white {
    background: #fff;
    color: var(--hp-ink);
}

.hp-btn--white:hover {
    background: var(--hp-ink);
    color: #fff;
}

.hp-btn--ghost {
    border-color: rgb(255 255 255 / .65);
    color: #fff;
}

.hp-btn--ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--hp-ink);
}

.hp-btn--line {
    border-color: var(--hp-ink);
    color: var(--hp-ink);
}

.hp-btn--line:hover {
    background: var(--hp-ink);
    color: #fff;
}

.hp-center {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hp-center .hp-eyebrow {
    justify-content: center;
}

.hp-center p:last-child {
    font-size: 18px;
    line-height: 1.7;
    color: var(--hp-text);
    margin: 0;
}

/* ---------- Header (sits over the hero) ---------- */
@media (min-width: 993px) and (max-width: 1299px) {
    .logo__sec__mian img {
        width: 190px !important;
    }
}

/* ---------- Hero ---------- */
.hp-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 760px;
    padding: 150px 0 80px;
    color: #fff;
    background:
        linear-gradient(100deg, rgb(3 21 33 / .96) 0%, rgb(19 46 87 / .9) 52%, rgb(20 66 141 / .62) 100%),
        url(../images/home-bg.jpg) center / cover no-repeat;
}

.hp-hero .container {
    position: relative;
}

.hp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
}

.hp-hero h1 {
    font-size: clamp(34px, 3.9vw, 54px);
    line-height: 1.14;
    font-weight: 600;
    letter-spacing: -.02em;
    color: #fff;
    margin: 0 0 22px;
}

.hp-hero h1 em {
    font-family: var(--hp-serif);
    font-weight: 400;
}

.hp-hero__lead {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.7;
    color: rgb(255 255 255 / .86);
    margin: 0;
}

.hp-hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 34px 0 0;
    padding: 24px 0 0;
    list-style: none;
    border-top: 1px solid rgb(255 255 255 / .2);
    font-size: 15px;
}

.hp-hero__points i {
    color: #fff;
    font-size: 12px;
    margin-right: 8px;
}

.hp-hero__art img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 40px rgb(0 0 0 / .45));
}

/* ---------- Logos ---------- */
.lgoos_sec_main {
    padding: 30px 0;
}

/* ---------- Why ---------- */
.hp-why {
    padding: 100px 0 0;
    background: #fff;
}

.hp-why__intro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
    align-items: start;
}

.hp-why__intro p:not(.hp-eyebrow) {
    font-size: 17px;
    line-height: 1.8;
    color: var(--hp-text);
    margin: 0;
}

.hp-why__intro .hp-h2 {
    margin: 0;
}

.hp-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 70px;
    border-top: 2px solid var(--hp-ink);
    border-bottom: 1px solid var(--hp-rule);
}

.hp-pillar {
    padding: 34px 28px 38px;
    border-left: 1px solid var(--hp-rule);
}

.hp-pillar:first-child {
    border-left: 0;
    padding-left: 0;
}

.hp-pillar i {
    font-size: 22px;
    color: var(--hp-red);
    margin-bottom: 18px;
}

.hp-pillar h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--hp-ink);
    margin: 0 0 8px;
}

.hp-pillar p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--hp-text);
    margin: 0;
}

/* ---------- Services as a contents page ---------- */
.hp-services {
    padding: 100px 0;
    background: #fff;
}

.hp-services__grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 72px;
    align-items: start;
}

.hp-services__head {
    position: sticky;
    top: 40px;
}

.hp-services__head p:last-child {
    font-size: 17px;
    line-height: 1.75;
    color: var(--hp-text);
    margin: 0;
}

.hp-toc {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-toc__row {
    display: grid;
    grid-template-columns: 44px auto minmax(24px, 1fr) auto;
    align-items: baseline;
    column-gap: 10px;
    padding: 22px 14px;
    border-bottom: 1px solid var(--hp-rule);
    color: var(--hp-ink);
    transition: background .2s;
}

.hp-toc li:first-child .hp-toc__row {
    border-top: 1px solid var(--hp-rule);
}

.hp-toc__row:hover {
    background: var(--hp-pale);
    color: var(--hp-ink);
    text-decoration: none;
}

.hp-toc__num {
    font-family: var(--hp-serif);
    font-style: italic;
    font-size: 17px;
    color: var(--hp-red);
}

.hp-toc__title {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.hp-toc__leader {
    border-bottom: 2px dotted rgb(3 21 33 / .3);
    transform: translateY(-5px);
}

.hp-toc__go {
    font-size: 14px;
    font-weight: 600;
    color: var(--hp-blue);
    white-space: nowrap;
}

.hp-toc__go i {
    font-size: 12px;
    margin-left: 4px;
    transition: transform .2s;
}

.hp-toc__row:hover .hp-toc__go i {
    transform: translateX(4px);
}

.hp-toc__desc {
    grid-column: 2 / -1;
    font-size: 15px;
    line-height: 1.6;
    color: var(--hp-text);
    margin-top: 6px;
}

/* ---------- Portfolio (shared include, restyled here) ---------- */
.port_Section {
    padding: 100px 0;
    background: var(--hp-ink);
    color: #fff;
}

.port_Section .txt_wrp {
    max-width: 820px;
    margin: 0 auto;
}

.port_Section .txt_wrp h2 {
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.16;
    font-weight: 600;
    letter-spacing: -.02em;
    color: #fff;
}

.port_Section .txt_wrp p {
    font-size: 17px;
    line-height: 1.75;
    color: rgb(255 255 255 / .8);
}

.port_Section ul.tbing {
    flex-wrap: wrap;
    gap: 10px;
    margin: 36px 0 50px;
}

.port_Section ul.tbing li {
    padding: 10px 22px;
    border: 1px solid rgb(255 255 255 / .3);
    border-radius: 50px;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.port_Section ul.tbing li:hover {
    background: rgb(255 255 255 / .1);
    border-color: #fff;
}

.port_Section ul.tbing li.current {
    background: var(--hp-red);
    border-color: var(--hp-red);
    color: #fff;
}

.port_Section .wrpp figure {
    margin: 0 0 24px;
}

.port_Section .wrpp a figure img {
    display: block;
    border-radius: 6px;
    box-shadow: 0 18px 34px rgb(0 0 0 / .5);
    transition: transform .25s;
}

.port_Section .wrpp a:hover figure img {
    transform: translateY(-8px);
}

/* ---------- Process ---------- */
.hp-process {
    padding: 100px 0;
    background: #fff;
}

.hp-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
    margin: 64px 0 0;
    padding: 0;
    list-style: none;
}

.hp-steps::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--hp-rule);
}

.hp-step {
    position: relative;
}

.hp-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: content-box;
    width: 54px;
    height: 54px;
    margin: -6px 0 24px -6px;
    border: 6px solid #fff;
    border-radius: 50%;
    background: var(--hp-blue);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.hp-step:last-child .hp-step__num {
    background: var(--hp-red);
}

.hp-step h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--hp-ink);
    margin: 0 0 10px;
}

.hp-step p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--hp-text);
    margin: 0;
}

/* ---------- About ---------- */
.hp-about {
    padding: 90px 0;
    background: linear-gradient(110deg, var(--hp-navy), var(--hp-blue));
    color: #fff;
}

.hp-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
    align-items: center;
}

.hp-about__img img {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    margin: 0 auto;
}

.hp-about .hp-h2 {
    color: #fff;
}

.hp-about p:not(.hp-eyebrow) {
    font-size: 17px;
    line-height: 1.8;
    color: rgb(255 255 255 / .88);
    margin: 0;
}

/* ---------- Testimonials (shared include, restyled here) ---------- */
.author__testimonials__section.padding__90 {
    padding: 100px 0 90px;
    background: var(--hp-pale);
}

.author__testimonials__section .heading__web h2 {
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.16;
    font-weight: 600;
    letter-spacing: -.02em;
}

.author__testimonials__section .heading__web p {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
    color: var(--hp-text);
}

.author__testimonials__slider {
    margin-top: 40px;
}

.author__testimonials__slider .slick-track {
    display: flex;
}

.author__testimonials__slider .slick-slide {
    height: auto;
}

.author__testimonials__slider .slick-slide>div,
.author__testimonial__item {
    height: 100%;
}

.author__testimonial__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 0;
    padding: 56px 30px 30px;
    background: #fff;
    border-top: 0;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgb(3 21 33 / .07);
}

.author__testimonial__card::before {
    content: "\201C";
    position: absolute;
    top: 8px;
    left: 26px;
    font-family: var(--hp-serif);
    font-size: 72px;
    line-height: 1;
    color: var(--hp-red);
}

.author__testimonial__card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--hp-text);
}

.author__testimonial__card h4 {
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--hp-ink);
}

/* ---------- CTA ---------- */
.hp-cta {
    padding: 64px 0;
    background: var(--hp-red);
    color: #fff;
}

.hp-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 56px;
    align-items: center;
}

.hp-cta .hp-h2 {
    color: #fff;
    margin-bottom: 12px;
}

.hp-cta p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.hp-cta .hp-actions {
    flex-direction: column;
    margin: 0;
}

/* ---------- FAQ + form (shared include, restyled here) ---------- */
.faq__contact.padding__90 {
    margin: 0;
    padding: 100px 0;
    background: var(--hp-mist);
    border-radius: 0;
}

.faq__sec__content h2 {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.16;
    font-weight: 600;
    letter-spacing: -.02em;
}

.faq__sec__content p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--hp-text);
}

.faq__sec .card {
    border: 0;
}

.faq__sec button {
    padding: 20px 22px;
    font-size: 16px;
}

.faq__sec .card-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--hp-text);
}

.faq__contact .contact__form__sec {
    border-radius: 8px;
}

footer {
    padding-top: 70px;
}

.det__loc__tab a {
    overflow-wrap: anywhere;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hp-hero__grid {
        gap: 32px;
    }

    .hp-services__grid, .hp-about__grid {
        gap: 48px;
    }
}

@media (max-width: 991px) {
    header .col-sm-2 {
        flex: 0 0 240px;
        max-width: 240px;
    }

    .hp-hero {
        min-height: 0;
        padding: 130px 0 64px;
    }

    .hp-hero__grid, .hp-why__intro, .hp-services__grid, .hp-about__grid, .hp-cta__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-hero__art img {
        max-width: 460px;
        margin: 0 auto;
    }

    .hp-why__intro {
        gap: 28px;
    }

    .hp-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 48px;
    }

    .hp-pillar {
        padding: 28px 22px;
        border-left: 0;
        border-bottom: 1px solid var(--hp-rule);
    }

    .hp-pillar:first-child {
        padding-left: 22px;
    }

    .hp-services__head {
        position: static;
    }

    .hp-services__grid {
        gap: 36px;
    }

    .hp-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-steps::before {
        display: none;
    }

    .hp-cta__inner {
        gap: 28px;
    }

    .hp-cta .hp-actions {
        flex-direction: row;
    }

    .hp-why {
        padding-top: 70px;
    }

    .hp-services, .hp-process, .port_Section, .author__testimonials__section.padding__90, .faq__contact.padding__90 {
        padding: 70px 0;
    }

    .hp-about {
        padding: 70px 0;
    }
}

@media (max-width: 575px) {
    .hp-actions .hp-btn {
        width: 100%;
    }

    .hp-eyebrow {
        font-size: 12px;
        gap: 10px;
    }

    .hp-eyebrow::before {
        width: 24px;
        flex: none;
    }

    .hp-hero h1 {
        font-size: 31px;
    }

    .hp-hero__lead {
        font-size: 16px;
    }

    .port_Section .wrpp .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 8px;
    }

    .port_Section .wrpp figure {
        margin-bottom: 16px;
    }

    .hp-pillars, .hp-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-pillar, .hp-pillar:first-child {
        padding: 24px 0;
    }

    .hp-pillar:last-child {
        border-bottom: 0;
    }

    .hp-toc__row {
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 20px 4px;
    }

    .hp-toc__leader {
        display: none;
    }

    .hp-toc__desc {
        grid-column: 2;
    }

    .hp-toc__go {
        grid-column: 2;
        grid-row: 3;
        margin-top: 8px;
    }

    .hp-toc__title {
        font-size: 19px;
    }

    .hp-hero__points {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-btn, .hp-toc__row, .hp-toc__go i, .port_Section .wrpp a figure img {
        transition: none;
    }

    .hp-btn:hover, .port_Section .wrpp a:hover figure img {
        transform: none;
    }
}