:root {
    --heading-font: "Oswald", "Barlow Condensed", "Bebas Neue", sans-serif;
    --secondary-font: "inter", sans-serif;
}


/* =========================
   HEADER
========================= */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

p {
    font-family: var(--secondary-font);
}

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eef1f5;
    position: fixed;
    top: 0;
    box-shadow: 0 10px 10px 0px #0b223d26;
    z-index: 9999;
    font-family: var(--secondary-font);
    height: 70px;
}

.container {
    width: 100%;
    max-width: 1280px;
    height: 70px;
    min-height: 70px;
    margin: 0 auto;
    padding: 0 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* =========================
   LOGO
========================= */

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
}

.logo-main {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 1.5px;
}

.logo-sub {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-top: 3px;
}

/* =========================
   NAVIGATION
========================= */

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex: 1;
}

.nav a {
    color: #172437;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: color .25s ease;
}

.nav a:hover {
    color: #0b223d;
}

.mobile-header-btn {
    display: none;
}

/* =========================
   BUTTON
========================= */

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 135px;
    height: 42px;
    padding: 0 20px;

    background: #0b223d;
    color: #fff !important;

    text-decoration: none;
    border-radius: 24px;

    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.3px;

    transition: all .25s ease;
}

.header-btn:hover {
    background: #143560;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 34, 61, .22);
}

/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-btn {
    display: none;

    width: 40px;
    height: 40px;
    padding: 6px;

    background: transparent;
    border: 0;
    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0b223d;
    border-radius: 5px;

    transition: .3s ease;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .site-header {
        height: 65px;
    }

    .container {
        height: 65px;
        min-height: 65px;
        padding: 0 25px;
    }

    .logo img {
        height: 52px;
    }

    .nav {
        gap: 20px;
    }

    .nav a {
        font-size: 12.5px;
    }

    .header-btn {
        min-width: 120px;
        height: 38px;
        padding: 0 16px;
        font-size: 12px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .site-header {
        height: 64px;
    }

    .container {
        height: 64px;
        min-height: 64px;
        padding: 0 20px;
    }

    .logo {
        align-items: flex-start;
        min-width: auto;
    }

    .logo img {
        height: 52px;
    }

    .logo-main {
        font-size: 24px;
    }

    .logo-sub {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .nav {
        display: none;
    }

    .header-btn {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    /* Mobile Navigation */

    .nav.active {
        display: flex;

        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;

        background: #fff;
        padding: 20px;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        border-top: 1px solid #eee;
        box-shadow: 0 12px 25px rgba(0, 0, 0, .08);

        animation: menuOpen .25s ease;
    }

    .nav.active span {
        display: none;
    }

    .nav.active a {
        width: 100%;
        padding: 14px 5px;

        font-size: 14px;
        border-bottom: 1px solid #eee;
    }

    /* Mobile CTA */

    .nav.active .mobile-header-btn {
        display: flex;
        align-items: center;
        justify-content: center;

        height: 45px;
        margin-top: 15px;
        padding: 0 20px;

        background: #102b50;
        color: #fff;

        border-radius: 25px;

        font-size: 13px;
        font-weight: 700;
    }

    /* Hamburger Animation */

    .menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .container {
        padding: 0 15px;
    }

    .logo-main {
        font-size: 25px;
    }

    .logo-sub {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .nav.active {
        padding: 18px 15px;
    }
}

@keyframes menuOpen {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO SECTION START */
/* =========================
   HERO SECTION
========================= */

.hero {
    width: 100%;
    /* height: calc(100vh - 70px);
    min-height: calc(100vh - 70px); */
    height: 100vh;
    min-height: 100vh;
    background: #ffffff url(../img/banner1.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center right;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 45px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 5;
}

/* =========================
   CONTENT
========================= */

.hero-content {
    width: 65%;
    position: relative;
    z-index: 5;
}

.hero-label {
    display: none;
}

.hero-content h1 {
    margin-top: 70px;
    color: #0b1a30;
    font-family: "Oswald", "Barlow Condensed", "Bebas Neue", sans-serif;
    font-size: 58px;
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-content h1 span {
    color: #0b1a30;
}

.hero-content p {
    max-width: 530px;
    margin: 20px 0 28px;
    color: #2c384e;
    font-family: var(--secondary-font);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
}

/* =========================
   BUTTONS
========================= */

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.primary-btn,
.secondary-btn {
    min-height: 48px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--secondary-font);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 8px;
    transition: all .25s ease;
}

.primary-btn {
    color: #ffffff;
    background: #0b223d;
    border: 2px solid #0b223d;
}

.primary-btn span {
    font-size: 16px;
    line-height: 1;
}

.primary-btn:hover {
    background: #143560;
    border-color: #143560;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 34, 61, .25);
}

.secondary-btn {
    color: #0b223d;
    background: #ffffff;
    border: 2px solid #0b223d;
}

.secondary-btn:hover {
    background: #f0f4f9;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 34, 61, .12);
}

/* =========================
   RIGHT ABSTRACT GRAPHIC
========================= */

.hero-visual {
    position: relative;

    width: 100%;
    max-width: 580px;
    height: 500px;

    margin-left: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    perspective: 1000px;
}

/* Common shape */

.shape {
    position: absolute;

    border-style: solid;
    border-width: 0;

    transform-style: preserve-3d;

    transition: transform .5s ease;
}

/* Back arch */

.shape-back {
    width: 275px;
    height: 410px;

    right: 75px;
    top: 25px;

    border-radius: 150px 150px 0 0;

    background:
        linear-gradient(110deg,
            #102c51 0%,
            #183c69 48%,
            #dbe5f2 100%);

    box-shadow:
        inset -18px 0 25px rgba(255, 255, 255, .35),
        -12px 15px 30px rgba(15, 38, 68, .15);
}

/* Cut inner section */

.shape-back::after {
    content: "";

    position: absolute;

    width: 125px;
    height: 210px;

    left: 75px;
    top: 100px;

    background: #ffffff;

    border-radius: 80px 80px 0 0;

    box-shadow:
        inset 10px 0 20px rgba(20, 50, 85, .08);
}

/* Middle arch */

.shape-middle {
    width: 250px;
    height: 290px;

    left: 90px;
    bottom: 15px;

    border-radius: 145px 145px 0 0;

    background:
        linear-gradient(120deg,
            #dce6f2 0%,
            #9aabc1 45%,
            #f3f7fb 100%);

    box-shadow:
        inset -15px 0 20px rgba(255, 255, 255, .55),
        0 20px 35px rgba(12, 35, 62, .13);
}

/* Front arch */

.shape-front {
    width: 185px;
    height: 245px;

    left: 160px;
    bottom: 15px;

    border-radius: 105px 105px 0 0;

    background:
        linear-gradient(115deg,
            #eff4f9 0%,
            #b9c8d9 55%,
            #e9eff5 100%);

    box-shadow:
        inset -10px 0 18px rgba(255, 255, 255, .5),
        0 15px 30px rgba(15, 40, 70, .12);
}

/* Inner dark cut */

.shape-front::after {
    content: "";

    position: absolute;

    width: 88px;
    height: 145px;

    left: 48px;
    top: 60px;

    border-radius: 55px 55px 0 0;

    background:
        linear-gradient(90deg,
            #0c2545,
            #173b68);
}

/* Small front shape */

.shape-small {
    width: 135px;
    height: 170px;

    right: 90px;
    bottom: 15px;

    border-radius: 75px 75px 0 0;

    background:
        linear-gradient(120deg,
            #f4f7fa,
            #c7d2df);

    box-shadow:
        0 12px 25px rgba(15, 40, 70, .15);
}

/* Extra highlight */

.shape-inner {
    width: 100px;
    height: 155px;

    left: 85px;
    bottom: 15px;

    border-radius: 55px 55px 0 0;

    background:
        linear-gradient(100deg,
            #173961,
            #547594);

    opacity: .9;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {
    .hero {
        width: 100%;
        height: auto;
        min-height: auto;
        background: #ffffff url(../img/banner1.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center right;
        display: flex;
        align-items: center;
        overflow: hidden;
        position: relative;
    }

    .hero-container {
        padding: 60px 30px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-visual {
        height: 430px;
        transform: scale(.85);
        transform-origin: center;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .hero {
        height: 100vh;
        min-height: 85vh;
        background: #f6f8fb url(../img/mobile.png);
        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
        padding: 0;
        overflow: hidden;
    }

    .hero-container {
        min-height: 100vh;
        height: 100%;
        margin-top: 120px;
        padding: 40px 20px 30px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
        box-sizing: border-box;
    }

    .hero-content {
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 10;
    }

    .hero-label {
        display: inline-block;
        margin-bottom: 12px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
        color: #17355d;
    }

    .hero-content h1 {
        font-size: 30px;
        line-height: 1.08;
        letter-spacing: 0.5px;
        margin-top: 40px;
    }

    .hero-content p {
        margin: 14px auto 20px;
        max-width: 100%;
        font-size: 13px;
        line-height: 1.5;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100%;
        margin-top: 10px;
    }

    .primary-btn,
    .secondary-btn {
        width: 50%;
        min-height: 48px;
        padding: 0 20px;
        font-size: 12px;
        font-weight: 700;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .hero-visual {
        display: none;
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .hero-container {
        padding: 75px 16px 30px;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.15;
        letter-spacing: 0;
    }

    .hero-content p {
        font-size: 14px;
        margin: 14px 0 20px;
        line-height: 1.5;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .primary-btn,
    .secondary-btn {
        width: 50%;
        justify-content: center;
        align-items: center;
        padding: 0 16px;
    }
}

/* HERO SECTION END */
/* ================================
   ABOUT SECTION
================================ */

.about-section {
    width: 100%;
    padding: 40px 5%;
    background: #f5f7fa;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}

.about-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* ================================
   IMAGE
================================ */

.about-image-wrap {
    width: 55%;
    height: 440px;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

.about-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* transition: transform 0.6s ease; */
}

.about-image-wrap:hover .about-image {
    transform: scale(1.04);
}

/* ================================
   CONTENT CARD
================================ */

.about-card {
    width: 56%;
    background: #ffffff;
    padding: 38px 42px;
    border-radius: 16px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;

    box-shadow:
        0 18px 45px rgba(15, 35, 65, 0.12),
        0 4px 12px rgba(15, 35, 65, 0.06);
}

/* Label */

.about-label {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #111b31;
    margin-bottom: 14px;
}

.about-label span {
    margin-right: 7px;
}

/* Heading */

.about-card h2 {
    margin: 0 0 16px;
    color: #0d1d38;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

/* Description */

.about-description {
    margin: 0;
    color: #30343b;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 500;
    max-width: 620px;
}

/* ================================
   STATS
================================ */

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 22px;
}

.about-stat {
    display: flex;
    flex-direction: column;
}

.about-stat strong {
    color: #111b31;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 2px;
}

.about-stat span {
    color: #151a22;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
}

.about-stat small {
    color: #555b65;
    font-size: 13px;
    margin-top: 2px;
}

/* ================================
   TABLET
================================ */

@media (max-width: 991px) {

    .about-section {
        padding: 40px 30px;
    }

    .about-container {
        min-height: 430px;
    }

    .about-image-wrap {
        width: 58%;
        height: 380px;
    }

    .about-card {
        width: 58%;
        padding: 30px;
    }

    .about-card h2 {
        font-size: 26px;
    }

    .about-description {
        font-size: 14px;
    }

    .about-stats {
        gap: 15px;
    }

    .about-stat strong {
        font-size: 18px;
    }

    .about-stat span {
        font-size: 13px;
    }

    .about-stat small {
        font-size: 12px;
    }
}

/* ================================
   MOBILE
================================ */

@media (max-width: 767px) {

    .about-section {
        padding: 40px 18px;
    }

    .about-container {
        display: flex;
        flex-direction: column-reverse;
        min-height: auto;
        align-items: stretch;
    }

    /* Image becomes full width */

    .about-image-wrap {
        width: 100%;
        height: 400px;
        border-radius: 14px;
    }

    /* Card no longer overlaps */

    .about-card {
        width: 100%;
        position: relative;
        right: auto;
        top: auto;
        transform: none;

        margin-top: -25px;
        padding: 28px 22px;
        border-radius: 14px;
    }

    .about-label {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .about-card h2 {
        font-size: 24px;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .about-description {
        font-size: 14px;
        line-height: 1.55;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 22px;
    }

    .about-stat {
        padding-bottom: 12px;
        border-bottom: 1px solid #e8e8e8;
    }

    .about-stat:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .about-stat strong {
        font-size: 20px;
    }

    .about-stat span {
        font-size: 14px;
    }

    .about-stat small {
        font-size: 12px;
    }
}

/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 480px) {

    .about-section {
        padding: 40px 14px;
    }

    .about-image-wrap {
        height: 280px;
    }

    .about-card {
        padding: 24px 18px;
        margin-top: -18px;
    }

    .about-card h2 {
        font-size: 22px;
    }

    .about-description {
        font-size: 13.5px;
    }
}

/* ================================
   ABOUT SECTION SCROLL ANIMATION
================================ */

.about-section.about-hidden .about-image-wrap {
    opacity: 0;
    transform: translateX(-40px);
}

.about-section.about-hidden .about-card {
    opacity: 0;
    transform: translate(40px, -50%);
}

.about-section.about-visible .about-image-wrap {
    opacity: 1;
    transform: translateX(0);
    /* transition: opacity 0.7s ease, transform 0.7s ease; */
}

.about-section.about-visible .about-card {
    opacity: 1;
    transform: translate(0, -50%);
    /* transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s; */
}

/* Mobile animation correction */
@media (max-width: 767px) {
    .about-section.about-hidden .about-card {
        transform: translateY(30px);
    }

    .about-section.about-visible .about-card {
        transform: translateY();
    }
}

/* our portfolio section start point*/
/* =========================================
   PORTFOLIO SECTION
========================================= */

.portfolio-section {
    width: 100%;
    padding: 20px 4%;
    background: #f4f6fa;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    overflow-x: hidden;
}

.portfolio-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}


/* =========================================
   HEADING
========================================= */

.portfolio-heading {
    text-align: center;
    margin-bottom: 15px;
}

.portfolio-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #101b31;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.portfolio-heading h2 {
    margin: 0 0 8px;
    color: #111827;
    font-family: var(--heading-font);
    font-size: 42px;
    line-height: 0.98;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.portfolio-heading p {
    margin: 0 auto;
    max-width: 600px;
    color: #444b57;
    font-size: 18px;
    line-height: 1.5;
}


/* =========================================
   CAROUSEL LAYOUT
========================================= */

.portfolio-carousel {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
}

.portfolio-track-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 35px 0 45px 0;
    cursor: grab;
}

.portfolio-track-wrapper.is-dragging {
    cursor: grabbing;
}

.portfolio-track {
    display: flex;
    align-items: center;
    position: relative;
    will-change: transform;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================
   PORTFOLIO CARDS (LUXURY EDITORIAL DESIGN)
========================================= */

.portfolio-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    margin: 0 8px;
    background: #ffffff;
    border: 1px solid #e7ecf2;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(16, 30, 55, 0.06);
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
    transform: translateY(0) scale(0.96);
    opacity: 0.90;
    z-index: 2;
    cursor: pointer;
    transition:
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.65s ease,
        border-color 0.65s ease,
        opacity 0.65s ease;
}

/* Center / Active Card */
.portfolio-card.is-active {
    transform: translateY(-14px) scale(1.10);
    box-shadow:
        0 24px 50px rgba(16, 30, 55, 0.14),
        0 8px 20px rgba(16, 30, 55, 0.05);
    border-color: #d7e0ea;
    opacity: 1;
    z-index: 10;
    cursor: default;
}

/* Hover effects */
.portfolio-card:not(.is-active):hover {
    transform: translateY(-4px) scale(0.88);
    opacity: 1;
    box-shadow: 0 16px 36px rgba(16, 30, 55, 0.10);
}

.portfolio-card.is-active:hover {
    transform: translateY(-16px) scale(1.05);
    box-shadow:
        0 28px 56px rgba(16, 30, 55, 0.16),
        0 10px 24px rgba(16, 30, 55, 0.08);
}

/* Card Image (Top) */
.portfolio-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f1f4f8;
    border-top-left-radius: 27px;
    border-top-right-radius: 27px;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.05);
}

/* Card Content (Bottom) */
.portfolio-card-content {
    position: relative;
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
    background: #ffffff;
    flex: 1 1 auto;
    overflow: hidden;
}

/* Subtle luxury warm ambient sweep in bottom right corner */
.portfolio-card-content::after {
    content: "";
    position: absolute;
    bottom: -35px;
    right: -15px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(202, 163, 89, 0.13) 0%, rgba(244, 238, 230, 0.35) 45%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 1;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.portfolio-card:hover .portfolio-card-content::after {
    transform: scale(1.15);
    opacity: 0.95;
}

/* Category Badge */
.portfolio-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: #f4eee6;
    color: #6e4e2e;
    border-radius: 50px;
    font-family: var(--secondary-font);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: capitalize;
    line-height: 1;
    border: 1px solid rgba(186, 142, 68, 0.15);
    position: relative;
    z-index: 2;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.portfolio-card:hover .portfolio-card-badge {
    background: #ede4d8;
    border-color: rgba(186, 142, 68, 0.3);
}

.portfolio-badge-icon {
    width: 12px;
    height: 12px;
    fill: #8c6339;
    flex-shrink: 0;
}

/* Project Title */
.portfolio-card-title {
    margin: 4px 0 2px;
    font-family: var(--heading-font);
    text-transform: capitalize;
    font-size: 28px;
    font-weight: 400;
    line-height: 0.98;
    color: #0c182b;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    word-break: break-word;
}

/* Project Description */
.portfolio-card-desc {
    margin: 0;
    font-family: var(--secondary-font);
    font-size: 14px;
    line-height: 1.58;
    color: #586577;
    position: relative;
    z-index: 2;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 52px;
}

/* Circular Gold/Brown Arrow Button */
.portfolio-arrow-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: navy;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.9),
        0 0 0 6px rgba(186, 142, 68, 0.24),
        0 10px 24px rgba(118, 76, 23, 0.36); */
    opacity: 0;
    transform: translate(6px, 6px) scale(0.85);
    pointer-events: none;
    transition:
        opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease;
    z-index: 15;
    cursor: pointer;
}

.portfolio-card:hover .portfolio-arrow-btn {
    opacity: 1;
    transform: translate(0, 0) scale(.9);
    pointer-events: auto;
}

.portfolio-arrow-btn:hover {
    transform: scale(1.08) !important;
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.95),
        0 0 0 7px rgba(186, 142, 68, 0.38),
        0 14px 28px rgba(118, 76, 23, 0.46);
}

.portfolio-arrow-icon {
    width: 22px;
    height: 22px;
    stroke: #ffffff;
    stroke-width: 2.4;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-arrow-icon {
    transform: translateX(2px);
}

.portfolio-arrow-btn:hover .portfolio-arrow-icon {
    transform: translateX(4px);
}

/* Touch & Mobile Always-Visible Rule */
@media (hover: none) {
    .portfolio-arrow-btn {
        opacity: 1;
        transform: translate(0, 0) scale(1);
        pointer-events: auto;
    }
}


/* =========================================
   NAVIGATION BUTTONS
========================================= */

.portfolio-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(220, 225, 235, 0.9);
    color: #101b31;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 6px 18px rgba(16, 30, 55, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    outline: none;
}

.portfolio-nav-btn:hover {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 30, 55, 0.22);
    transform: translateY(-50%) scale(1.1);
}

.portfolio-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.portfolio-prev-btn {
    left: -24px;
}

.portfolio-next-btn {
    right: -24px;
}


/* =========================================
   PAGINATION DOTS
========================================= */

.portfolio-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.portfolio-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-dot:hover {
    background: #94a3b8;
}

.portfolio-dot.is-active {
    width: 28px;
    background: #111827;
    border-radius: 4px;
}


/* =========================================
   TABLET RESPONSIVE (768px - 991px)
========================================= */

@media (max-width: 991px) {
    .portfolio-section {
        padding: 40px 24px;
    }

    .portfolio-heading h2 {
        font-size: 36px;
    }

    .portfolio-heading p {
        font-size: 16px;
    }

    .portfolio-card {
        flex: 0 0 calc((100% - 32px) / 3);
        min-width: calc((100% - 32px) / 3);
        max-width: calc((100% - 32px) / 3);
        margin: 0 6px;
        border-radius: 24px;
    }

    .portfolio-card-image {
        height: 200px;
        border-top-left-radius: 23px;
        border-top-right-radius: 23px;
    }

    .portfolio-card-content {
        padding: 20px 18px 22px;
    }

    .portfolio-card-title {
        font-size: 23px;
    }

    .portfolio-card-desc {
        font-size: 13px;
        padding-right: 46px;
    }

    .portfolio-card-badge {
        font-size: 10.5px;
        text-transform: capitalize;
        padding: 5px 12px;
    }

    .portfolio-arrow-btn {
        bottom: 18px;
        right: 18px;
        width: 50px;
        height: 50px;
    }

    .portfolio-arrow-icon {
        width: 19px;
        height: 19px;
    }

    .portfolio-prev-btn {
        left: -12px;
    }

    .portfolio-next-btn {
        right: -12px;
    }
}


/* =========================================
   MOBILE RESPONSIVE (<= 767px)
========================================= */

@media (max-width: 767px) {
    .portfolio-section {
        padding: 40px 16px;
    }

    .portfolio-heading {
        margin-bottom: 25px;
    }

    .portfolio-heading h2 {
        font-size: 30px;
    }

    .portfolio-heading p {
        font-size: 15px;
    }

    .portfolio-track-wrapper {
        padding: 25px 0 35px 0;
    }

    .portfolio-card {
        flex: 0 0 86%;
        min-width: 86%;
        max-width: 86%;
        margin: 0 8px;
        border-radius: 22px;
        transform: translateY(0) scale(0.96);
        opacity: 0.88;
    }

    .portfolio-card.is-active {
        transform: translateY(-6px) scale(1.03);
        box-shadow:
            0 16px 36px rgba(16, 30, 55, 0.12),
            0 6px 14px rgba(16, 30, 55, 0.05);
        opacity: 1;
    }

    .portfolio-card:not(.is-active):hover {
        transform: translateY(0) scale(0.96);
    }

    .portfolio-card.is-active:hover {
        transform: translateY(-8px) scale(1.04);
    }

    .portfolio-card-image {
        height: 210px;
        border-top-left-radius: 21px;
        border-top-right-radius: 21px;
    }

    .portfolio-card-content {
        padding: 20px 18px 22px;
    }

    .portfolio-card-title {
        font-size: 24px;
    }

    .portfolio-card-desc {
        font-size: 13.5px;
        padding-right: 48px;
    }

    /* On mobile, arrow button is always visible & accessible */
    .portfolio-arrow-btn {
        opacity: 1;
        transform: translate(0, 0) scale(1);
        pointer-events: auto;
        bottom: 18px;
        right: 18px;
        width: 50px;
        height: 50px;
    }

    .portfolio-arrow-icon {
        width: 19px;
        height: 19px;
    }

    .portfolio-nav-btn {
        display: none;
    }
}


/* =========================================
   SMALL MOBILE (<= 480px)
========================================= */

@media (max-width: 480px) {
    .portfolio-section {
        padding: 20px 12px;
    }

    .portfolio-card {
        flex: 0 0 90%;
        min-width: 90%;
        max-width: 90%;
        border-radius: 20px;
    }

    .portfolio-card-image {
        height: 185px;
        border-top-left-radius: 19px;
        border-top-right-radius: 19px;
    }

    .portfolio-heading h2 {
        font-size: 26px;
    }

    .portfolio-heading p {
        font-size: 14px;
    }

    .portfolio-card-content {
        padding: 16px 16px 18px;
    }

    .portfolio-card-title {
        font-size: 21px;
    }

    .portfolio-card-desc {
        font-size: 13px;
        padding-right: 44px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .portfolio-card-badge {
        font-size: 10px;
        padding: 4px 10px;
    }

    .portfolio-arrow-btn {
        bottom: 14px;
        right: 14px;
        width: 44px;
        height: 44px;
    }

    .portfolio-arrow-icon {
        width: 17px;
        height: 17px;
    }
}

/*our portfolio section end point*/
/* what we offer section start  */
/* ==============================
   SERVICES SECTION
================================ */

.services-section {
    width: 100%;
    padding: 40px 50px;
    background: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
}

.services-container {
    max-width: 1400px;
    margin: auto;

    display: grid;
    grid-template-columns: 0.8fr 1.7fr;
    gap: 40px;
    align-items: center;
}


/* ==============================
   LEFT CONTENT
================================ */

.services-intro {
    padding-right: 15px;
}

.services-label {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 28px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #0d2345;
}

.services-label i {
    display: block;
    width: 30px;
    height: 2px;
    background: #8994a5;
}


.services-intro h2 {
    margin: 0 0 22px;

    font-family: var(--heading-font);
    font-size: 38px;
    line-height: 0.98;
    font-weight: 400;
    letter-spacing: 0.5px;

    color: #0b2144;
}


.services-intro p {
    max-width: 320px;
    margin: 0 0 28px;

    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;

    color: #42516a;
}


/* ==============================
   BUTTON
================================ */

.services-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 13px 20px;

    background: #092858;
    color: #ffffff;

    border-radius: 7px;

    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}

.services-button span {
    font-size: 17px;
    line-height: 1;
}

.services-button:hover {
    background: #123b78;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(9, 40, 88, 0.18);
}


/* ==============================
   SERVICE GRID
================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}


/* ==============================
   SERVICE CARD
================================ */

.service-card {
    position: relative;

    height: 200px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #f7f8fa;
    border: 1px solid #dce1e8;
    border-radius: 15px;

    text-decoration: none;

    box-sizing: border-box;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.service-card:hover {
    transform: translateY(-5px);
    border-color: #bcc6d4;
    box-shadow: 0 15px 35px rgba(15, 35, 65, 0.13);
}


/* ==============================
   CARD TOP
================================ */

.service-card-top {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    min-height: 62px;
    padding: 10px 14px 4px;
    box-sizing: border-box;
}


.service-card h3 {
    margin: 0 0 3px 0;
    font-family: var(--heading-font);
    font-size: 16.5px;
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: #102546;
}

.service-card p {
    margin: 0;
    font-family: var(--secondary-font);
    font-size: 12.5px;
    line-height: 1.35;
    color: #42516a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ==============================
   ARROW
================================ */

/* .service-arrow {
    width: 35px;
    height: 35px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border-radius: 50%;

    color: #102546;

    font-family: Arial, sans-serif;
    font-size: 16px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);

    transition: all 0.3s ease;
}

.service-card:hover .service-arrow {
    background: #102e5c;
    color: #ffffff;
    transform: rotate(8deg);
} */


/* ==============================
   CARD IMAGE
================================ */

.service-card img {
    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    width: 100%;
    height: 68%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


/* Image bottom fade */

.service-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(to bottom,
            #f7f8fa 0%,
            #f7f8fa 34%,
            rgba(247, 248, 250, 0.95) 36%,
            rgba(247, 248, 250, 0) 72%);

    pointer-events: none;
    z-index: 2;
}


.service-card:hover img {
    transform: scale(1.06);
}


/* ==============================
   TABLET
================================ */

@media (max-width: 1100px) {

    .services-section {
        padding: 40px 30px;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-intro {
        padding-right: 0;
    }

    .services-intro p {
        max-width: 500px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ==============================
   SMALL TABLET
================================ */

@media (max-width: 800px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        height: 200px;
    }

    .services-intro h2 {
        font-size: 38px;
    }
}


/* ==============================
   MOBILE
================================ */

@media (max-width: 600px) {

    .services-section {
        padding: 40px 18px;
    }

    .services-container {
        gap: 32px;
    }

    .services-label {
        margin-bottom: 20px;
        font-size: 12px;
    }

    .services-label i {
        width: 25px;
    }

    .services-intro h2 {
        font-size: 34px;
        line-height: 1.1;
        letter-spacing: -0.8px;
    }

    .services-intro p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .services-button {
        padding: 12px 17px;
        font-size: 12px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        height: 210px;
        border-radius: 14px;
    }

    .service-card h3 {
        font-size: 19px;
    }

    .service-arrow {
        width: 34px;
        height: 34px;
    }
}


/* ==============================
   SMALL MOBILE
================================ */

@media (max-width: 380px) {

    .services-section {
        padding: 40px 14px;
    }

    .services-intro h2 {
        font-size: 30px;
    }

    .service-card {
        height: 200px;
    }
}

/* what we offer section end */
/* testimonial section start */
/* ================================
   TESTIMONIAL SECTION
================================ */

.testimonial-section {
    width: 100%;
    background: #06245c;
    color: #ffffff;
    padding: 40px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.testimonial-container {
    width: 100%;
    max-width: 1100px;
    min-height: 190px;
    margin: 0 auto;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Small Heading */

.testimonial-label {
    font-family: var(--secondary-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
    margin-bottom: 14px;
    opacity: 0.9;
}

/* Slider */

.testimonial-slider {
    width: 100%;
    max-width: 680px;
    position: relative;
    min-height: 110px;
}

/* Slides */

.testimonial-slide {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;

    text-align: center;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        visibility 0.45s ease;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Quote */

.testimonial-slide blockquote {
    margin: 0 auto 12px;

    max-width: 650px;

    font-family: var(--secondary-font);
    font-size: 23px;
    line-height: 1.28;
    font-weight: 400;

    color: #ffffff;
}

/* Name */

.testimonial-slide h3 {
    margin: 0 0 3px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;

    color: #ffffff;
}

/* Position */

.testimonial-slide p {
    margin: 0;

    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;

    color: rgba(255, 255, 255, 0.72);
}

/* ================================
   ARROWS
================================ */

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 34px;
    height: 34px;

    border: none;
    border-radius: 50%;

    background: #ffffff;
    color: #06245c;

    font-size: 27px;
    line-height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 5;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.testimonial-arrow:hover {
    background: #f5f5f5;

    transform:
        translateY(-50%) scale(1.08);

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}

.testimonial-prev {
    left: 35px;
}

.testimonial-next {
    right: 35px;
}

/* ================================
   DOTS
================================ */

.testimonial-dots {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 14px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: #ffffff;

    cursor: pointer;

    opacity: 0.9;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.testimonial-dot.active {
    background: #f4df28;
    transform: scale(1.05);
}

.testimonial-dot:hover {
    transform: scale(1.15);
}

/* ================================
   TABLET
================================ */

@media (max-width: 900px) {

    .testimonial-section {
        padding: 40px 20px;
    }

    .testimonial-container {
        min-height: 205px;
    }

    .testimonial-slider {
        max-width: 600px;
    }

    .testimonial-slide blockquote {
        font-size: 21px;
    }

    .testimonial-prev {
        left: 10px;
    }

    .testimonial-next {
        right: 10px;
    }
}

/* ================================
   MOBILE
================================ */

@media (max-width: 600px) {

    .testimonial-section {
        padding: 40px 45px;
    }

    .testimonial-container {
        min-height: 245px;
    }

    .testimonial-label {
        font-size: 11px;
        margin-bottom: 13px;
    }

    .testimonial-slider {
        width: 100%;
        min-height: 150px;
    }

    .testimonial-slide blockquote {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 14px;
    }

    .testimonial-slide h3 {
        font-size: 13px;
    }

    .testimonial-slide p {
        font-size: 11px;
    }

    .testimonial-arrow {
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    .testimonial-prev {
        left: -30px;
    }

    .testimonial-next {
        right: -30px;
    }

    .testimonial-dots {
        margin-top: 12px;
    }

    .testimonial-dot {
        width: 9px;
        height: 9px;
    }
}

/* Small Mobile */

@media (max-width: 380px) {

    .testimonial-section {
        padding-left: 38px;
        padding-right: 38px;
    }

    .testimonial-slide blockquote {
        font-size: 16px;
    }

    .testimonial-prev {
        left: -25px;
    }

    .testimonial-next {
        right: -25px;
    }
}

/* testimonial section end */
/* patner logo */
/* =========================================
   CLIENTS SECTION
========================================= */

.clients-section {
    width: 100%;
    background: #ffffff;
    padding: 20px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.clients-wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* =========================================
   HEADING
========================================= */

.clients-heading {
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #14284b;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

/* =========================================
   CAROUSEL MARQUEE
========================================= */

.clients-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.clients-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    user-select: none;
    cursor: grab;
}

.clients-track.is-dragging {
    cursor: grabbing;
}

/* =========================================
   LOGOS
========================================= */

.client-logo {
    flex: 0 0 calc((min(100vw, 1280px) - 40px) / 8);
    width: calc((min(100vw, 1280px) - 40px) / 8);
    height: 70px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.client-logo img {
    height: auto;
    max-height: 52px;
    max-width: 140px;
    object-fit: contain;
    display: block;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.client-logo:hover img {
    transform: scale(1.06);
}

.clients-arrow,
.clients-dots {
    display: none !important;
}

/* =========================================
   TABLET & MOBILE BREAKPOINTS
========================================= */

@media (max-width: 900px) {
    .clients-section {
        padding: 35px 0;
    }

    .client-logo {
        padding: 0 20px;
        height: 65px;
    }

    .client-logo img {
        max-height: 46px;
        max-width: 120px;
    }
}

@media (max-width: 600px) {
    .clients-section {
        padding: 30px 0;
    }

    .clients-heading {
        font-size: 10px;
        letter-spacing: 0.4px;
        margin-bottom: 18px;
    }

    .client-logo {
        flex: 0 0 calc((min(100vw, 1280px) - 40px) / 3);
        width: calc((min(100vw, 1280px) - 40px) / 3);
        padding: 0 16px;
        height: 58px;
    }

    .client-logo img {
        max-height: 40px;
        max-width: 100px;
    }
}

@media (max-width: 380px) {
    .client-logo {
        padding: 0 12px;
        height: 52px;
    }

    .client-logo img {
        max-height: 36px;
        max-width: 90px;
    }
}

/* patner logo end  */

/* footer section start */
/* =========================================
   CATSEYE GROUP FOOTER
========================================= */

.cg-footer {
    width: 100%;
    background: #021b3d;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    border-radius: 6px;
    padding: 40px 0 0;
}

.cg-footer *,
.cg-footer *::before,
.cg-footer *::after {
    box-sizing: border-box;
}


/* =========================================
   MAIN CONTAINER
========================================= */

.cg-footer-inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 62px 25px;

    display: grid;
    grid-template-columns:
        1.35fr 1fr 1.2fr 1.15fr;
    gap: 20px;
}


/* =========================================
   COMMON COLUMN
========================================= */

.cg-footer-col h3 {
    margin: 0;

    color: #ffffff;

    font-size: 20px;
    font-weight: 600;

    line-height: 1.3;
}


/* =========================================
   LOGO
========================================= */

.cg-logo {
    display: block;
    align-items: center;
    gap: 12px;
}

.cg-logo img {
    height: 72px;
    width: auto;
}

/* =========================================
   ABOUT
========================================= */

.cg-about p {
    max-width: 280px;

    margin: 5px 0 10px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================
   HEADING LINE
========================================= */

.cg-heading-line {
    width: 44px;
    height: 3px;

    background: #6c96ff;

    margin-top: 18px;
}


/* =========================================
   SOCIAL ICONS
========================================= */

.cg-socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cg-socials a {
    width: 47px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 17px;
    font-weight: 600;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


/* =========================================
   LINKS
========================================= */

.cg-links {
    list-style: none;

    margin: 28px 0 0;
    padding: 0;
}

.cg-links li {
    margin-bottom: 20px;
}

.cg-links a {
    display: flex;
    align-items: center;

    gap: 15px;

    color: rgba(255, 255, 255, 0.82);

    text-decoration: none;

    font-size: 16px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

/* .cg-links a span {
    font-size: 28px;
    line-height: 10px;

    transition: transform 0.25s ease;
} */

.cg-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.cg-links a:hover span {
    transform: translateX(4px);
}


/* =========================================
   CONTACT
========================================= */

.cg-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 17px;

    margin-top: 22px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 16px;
    /* line-height: 1.65; */
}

.cg-contact-icon {
    width: 39px;
    height: 39px;

    min-width: 39px;

    border: 1px solid rgba(255, 255, 255, 0.7);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
}

.cg-contact-item a {
    color: rgba(255, 255, 255, 0.84);

    text-decoration: none;

    padding-top: 6px;

    transition: color 0.25s ease;
}

.cg-contact-item a:hover {
    color: #ffffff;
}

.cg-contact-item span {
    font-size: 15px;
}

/* =========================================
   NEWSLETTER
========================================= */

.cg-newsletter p {
    margin: 20px 0 0;

    color: rgba(255, 255, 255, 0.8);

    font-size: 16px;
    line-height: 1.8;

    max-width: 370px;
}


/* =========================================
   NEWSLETTER FORM
========================================= */

.cg-newsletter-form {
    width: 100%;

    height: 60px;

    margin-top: 38px;

    display: flex;
    align-items: stretch;

    border: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 12px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.02);
}

.cg-newsletter-form input {
    flex: 1;

    min-width: 0;

    padding: 0 15px;

    border: 0;
    outline: none;

    background: transparent;

    color: #ffffff;

    font-size: 16px;
}

.cg-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.cg-newsletter-form button {
    width: 55px;

    margin: 5px;

    border: 0;

    border-radius: 9px;

    background: #315fe0;

    color: #ffffff;

    cursor: pointer;

    font-size: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.cg-newsletter-form button:hover {
    background: #4875ed;
}

.cg-newsletter-form button span {
    transition: transform 0.25s ease;
}

.cg-newsletter-form button:hover span {
    transform: translateX(3px);
}


/* Newsletter message */

#cgNewsletterMessage {
    display: block;

    min-height: 20px;

    margin-top: 8px;

    font-size: 13px;
}

.cg-privacy {
    margin-top: 5px !important;

    font-size: 15px !important;

    line-height: 1.8 !important;
}


/* =========================================
   FOOTER BOTTOM
========================================= */

.cg-footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 16px 62px;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    gap: 16px;
    box-sizing: border-box;
}

.copy-right {
    text-align: left;
    justify-self: start;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
}

.cg-footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 12px;
    flex-wrap: wrap;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.cg-footer-legal a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.25s ease;
}

.cg-footer-legal a:hover {
    color: #ffffff;
}

.cg-legal-dot {
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    user-select: none;
}

.mktx {
    text-align: right;
    justify-self: end;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
}

.mktx a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.mktx a:hover {
    transform: translateX(3px);
}


/* =========================================
   LARGE TABLET
========================================= */

@media (max-width: 1200px) {

    .cg-footer-inner {
        padding: 30px 45px 45px;

        grid-template-columns:
            1.2fr 1fr 1.2fr;

        gap: 45px;
    }

    .cg-about {
        grid-row: span 2;
    }

    .cg-newsletter {
        grid-column: 2 / -1;
    }

    .cg-footer-bottom {
        padding: 16px 45px;
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .cg-footer-inner {
        grid-template-columns: 1fr 1fr;

        padding: 50px 35px 40px;

        gap: 45px 35px;
    }

    .cg-about {
        grid-row: auto;
    }

    .cg-newsletter {
        grid-column: auto;
    }

    .cg-footer-col h3 {
        font-size: 21px;
    }

    .cg-logo {
        margin-bottom: 30px;
    }

    .cg-about p {
        font-size: 15px;
    }

    .cg-footer-bottom {
        padding: 16px 35px;
    }

}

@media (max-width: 768px) {

    .cg-footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 12px;
        padding: 20px 25px;
    }

    .copy-right,
    .mktx {
        text-align: center;
        justify-self: center;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .cg-footer {
        border-radius: 0;
    }

    .cg-footer-inner {
        display: flex;
        flex-direction: column;

        gap: 38px;

        padding: 5px 22px 35px;
    }

    .cg-logo {
        margin-bottom: 28px;
    }

    .cg-logo-icon {
        width: 49px;
        height: 49px;
    }

    .cg-logo-icon::after {
        width: 14px;
        height: 14px;

        left: 14px;
        top: 14px;
    }

    .cg-logo-name strong {
        font-size: 22px;
    }

    .cg-logo-name span {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .cg-footer-col h3 {
        font-size: 21px;
    }

    .cg-heading-line {
        margin-top: 14px;
    }

    .cg-about p {
        margin-top: 20px;
        margin-bottom: 28px;

        font-size: 14px;
        line-height: 1.75;
    }

    .cg-socials {
        gap: 12px;
    }

    .cg-socials a {
        width: 42px;
        height: 42px;

        font-size: 15px;
    }

    .cg-links {
        margin-top: 22px;
    }

    .cg-links li {
        margin-bottom: 15px;
    }

    .cg-links a {
        font-size: 14px;
        gap: 12px;
    }

    .cg-contact-item {
        margin-top: 22px;

        font-size: 14px;

        gap: 12px;
    }

    .cg-contact-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .cg-newsletter p {
        font-size: 14px;
    }

    .cg-newsletter-form {
        height: 60px;

        margin-top: 25px;
    }

    .cg-newsletter-form button {
        width: 55px;
    }

    .cg-newsletter-form input {
        font-size: 14px;
        padding: 0 15px;
    }

    .cg-privacy {
        font-size: 13px !important;
    }

    .cg-footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 12px;
        padding: 20px 15px 25px;
    }

    .copy-right,
    .mktx {
        text-align: center;
        justify-self: center;
    }

    .cg-footer-bottom p {
        font-size: 12px;
        line-height: 1.6;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .cg-footer-inner {
        padding-left: 17px;
        padding-right: 17px;
    }

    .cg-newsletter-form {
        height: 56px;
    }

    .cg-newsletter-form button {
        width: 49px;
    }


}

/* footer section end */

/* =========================================
   CONTACT US PAGE
========================================= */

.contact-page-hero {
    width: 100%;
    background: linear-gradient(135deg, #0d1f3c 0%, #102b50 60%, #1a3c6b 100%);
    padding: 85px 5% 75px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #dbeafe;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.contact-page-hero h1 {
    font-family: var(--heading-font, "Bebas Neue", sans-serif);
    font-size: 58px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.05;
    margin-bottom: 16px;
    color: #ffffff;
}

.contact-page-hero p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Main Section */
.contact-section {
    width: 100%;
    padding: 85px 5%;
    background: #f4f6fa;
    font-family: var(--secondary-font, "Inter", sans-serif);
}

.contact-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 45px;
    align-items: stretch;
}

/* Left: Form Card */
.contact-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 45px 40px;
    box-shadow: 0 15px 35px rgba(16, 30, 55, 0.06);
    display: flex;
    flex-direction: column;
}

.contact-tag-label {
    display: inline-block;
    color: #102b50;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-form-card h2 {
    font-size: 34px;
    color: #111827;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.contact-form-note {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-form-note::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #0f172a;
    transition: all 0.25s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    background: #ffffff;
    border-color: #102b50;
    box-shadow: 0 0 0 3px rgba(16, 43, 80, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: #102b50;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 8px 20px rgba(16, 43, 80, 0.2);
}

.contact-submit-btn:hover {
    background: #173b6b;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(16, 43, 80, 0.28);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-submit-btn svg {
    transition: transform 0.25s ease;
}

.contact-submit-btn:hover svg {
    transform: translateX(4px);
}

.form-status-message {
    display: none;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
}

.form-status-message.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-status-message.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Right: Office Locations Card */
.contact-locations-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 15px 35px rgba(16, 30, 55, 0.06);
    display: flex;
    flex-direction: column;
}

.contact-locations-card h2 {
    font-size: 34px;
    color: #111827;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Google Map Wrap */
.google-map-wrap {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(16, 30, 55, 0.06);
    border: 1px solid #e2e8f0;
}

.google-map-wrap iframe {
    width: 100%;
    height: 280px;
    border: 0;
    display: block;
}

/* Location Cards */
.location-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-card:hover,
.location-card.is-active {
    background: #ffffff;
    border-color: #102b50;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16, 43, 80, 0.09);
}

.location-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.location-city {
    font-size: 18px;
    font-weight: 700;
    color: #102b50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    background: #e2e8f0;
    color: #334155;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-address {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 8px;
}

.location-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748b;
}

.location-meta a {
    color: #102b50;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.location-meta a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Hours Banner */
.contact-hours-bar {
    width: 100%;
    margin-top: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #334155;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(16, 30, 55, 0.04);
}

.contact-hours-bar svg {
    color: #102b50;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-page-hero h1 {
        font-size: 46px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 50px 10px;
    }

    .contact-page-hero {
        padding: 60px 18px 50px;
    }

    .contact-page-hero h1 {
        font-size: 38px;
    }

    .contact-page-hero p {
        font-size: 16px;
    }

    .contact-form-card,
    .contact-locations-card {
        padding: 30px 15px;
        border-radius: 16px;
    }

    .contact-form-card h2,
    .contact-locations-card h2 {
        font-size: 28px;
    }

    .contact-hours-bar {
        font-size: 14px;
        padding: 16px 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-page-hero h1 {
        font-size: 32px;
    }

    .contact-form-card h2,
    .contact-locations-card h2 {
        font-size: 24px;
    }

    .location-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* =========================================
   PORTFOLIO PAGE (portfolio.php)
========================================= */

.portfolio-page-hero {
    position: relative;
    width: 100%;
    padding: 90px 24px 40px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #edf2f7;
    text-align: center;
    overflow: hidden;
}

/* Subtle tech/digital ambient background glow */
.portfolio-page-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 450px;
    background: radial-gradient(circle, rgba(11, 34, 61, 0.05) 0%, rgba(37, 99, 235, 0.03) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.portfolio-hero-container {
    padding-top: 40px;
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portfolio-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    color: #0b223d;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: capitalize;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(11, 34, 61, 0.04);
}

.portfolio-hero-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    background: #2563eb;
    border-radius: 50%;
    display: inline-block;
}

.portfolio-page-hero h1 {
    font-family: var(--heading-font), sans-serif;
    font-size: 54px;
    line-height: 1.05;
    letter-spacing: 1.5px;
    color: #0b223d;
    margin: 0 0 14px;
    text-transform: uppercase;
    font-weight: 800;
}

.portfolio-hero-subtitle {
    font-family: var(--secondary-font), sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
    margin: 0 0 12px;
}

.portfolio-hero-text {
    font-family: var(--secondary-font), sans-serif;
    font-size: 15.5px;
    line-height: 1.65;
    color: #64748b;
    max-width: 620px;
    margin: 0 auto;
}

.portfolio-hero-bg-graphic {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 90%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.9;
}

.portfolio-hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-hero-tags {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding: 8px 22px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    font-family: var(--heading-font);
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(11, 34, 61, 0.04);
}

.hero-tag-item {
    transition: color 0.2s ease;
}

.hero-tag-sep {
    color: #cbd5e1;
    font-size: 10px;
}

/* =========================================
   PORTFOLIO GRID SECTION
========================================= */

.portfolio-grid-section {
    width: 100%;
    padding: 70px 24px 100px;
    background: #ffffff;
}

.portfolio-grid-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
}

/* =========================================
   PORTFOLIO GRID CARD
========================================= */

.portfolio-grid-card {
    background: #ffffff;
    border: 1px solid #e7e9ed;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
    position: relative;
}

.portfolio-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

/* Card Image Area */
.portfolio-grid-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f1f5f9;
}

.portfolio-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-grid-card:hover .portfolio-grid-image img {
    transform: scale(1.06);
}

/* Case Study Badge */
.portfolio-case-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: rgba(11, 34, 61, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
}

/* Card Body */
.portfolio-grid-body {
    padding: 26px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: flex-start;
    text-align: left;
    background: #ffffff;
}

.portfolio-grid-category {
    display: inline-block;
    font-family: var(--secondary-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.portfolio-grid-body h3 {
    font-family: var(--heading-font);
    font-size: 21px;
    font-weight: 800;
    color: #0b223d;
    line-height: 1.25;
    margin: 0 0 10px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.portfolio-grid-desc {
    font-family: var(--secondary-font);
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 22px;
    flex-grow: 1;
}

/* View Project Button */
.portfolio-grid-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    background: #0b223d;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 10px;
    font-family: var(--secondary-font), sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(11, 34, 61, 0.14);
    margin-top: auto;
}

.portfolio-grid-btn svg {
    transition: transform 0.3s ease;
}

.portfolio-grid-btn:hover {
    background: #143560;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(11, 34, 61, 0.28);
}

.portfolio-grid-btn:hover svg {
    transform: translateX(4px);
}

/* Empty State */
.portfolio-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 24px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-size: 16px;
}

/* =========================================
   PORTFOLIO PAGE RESPONSIVE MEDIA QUERIES
========================================= */

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .portfolio-page-hero {
        padding: 70px 20px 50px;
    }

    .portfolio-page-hero h1 {
        font-size: 52px;
    }

    .portfolio-hero-subtitle {
        font-size: 18px;
    }

    .portfolio-grid-section {
        padding: 50px 20px 80px;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .portfolio-page-hero {
        padding: 55px 16px 40px;
    }

    .portfolio-page-hero h1 {
        font-size: 42px;
    }

    .portfolio-hero-subtitle {
        font-size: 17px;
    }

    .portfolio-hero-text {
        font-size: 14.5px;
    }

    .portfolio-grid-section {
        padding: 40px 16px 60px;
    }

    .portfolio-grid-image {
        height: 220px;
    }

    .portfolio-grid-body {
        padding: 22px 18px 20px;
    }

    .portfolio-grid-body h3 {
        font-size: 19px;
    }

    .portfolio-grid-desc {
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    .portfolio-hero-container {
        padding-top: 80px;
    }

    .portfolio-page-hero {
        padding: 45px 14px 35px;
    }

    .portfolio-page-hero h1 {
        font-size: 34px;
    }

    .portfolio-hero-subtitle {
        font-size: 15.5px;
    }

    .portfolio-hero-text {
        font-size: 13.5px;
    }

    .portfolio-grid-image {
        height: 200px;
    }

    .portfolio-grid-btn {
        padding: 12px 16px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .portfolio-hero-container {
        padding-top: 80px;
    }

    .portfolio-page-hero h1 {
        font-size: 28px;
    }

    .portfolio-grid-image {
        height: 180px;
    }

    .portfolio-grid-body {
        padding: 18px 14px 16px;
    }
}

/* =========================================
   ABOUT US PAGE (about.php)
========================================= */

/* General Section Label */
.about-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--secondary-font), sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: #0b223d;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.about-section-label span {
    font-size: 14px;
    color: #2563eb;
}

.about-section-label.white-label {
    color: #94a3b8;
}

.about-section-label.white-label span {
    color: #60a5fa;
}

.about-section-label.center-label {
    justify-content: center;
}

/* 1. HERO SECTION */
.about-page-hero {
    position: relative;
    width: 100%;
    background: #081424;
    color: #ffffff;
    overflow: hidden;
    padding: 0;
}

.about-hero-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    min-height: 540px;
}

.about-hero-content {
    flex: 1 1 50%;
    padding: 90px 48px 90px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.about-hero-content h1 {
    font-family: var(--heading-font);
    font-size: 52px;
    line-height: 1.15;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 24px;
    max-width: 600px;
}

.about-hero-lead {
    font-family: var(--secondary-font), sans-serif;
    font-size: 16.5px;
    line-height: 1.7;
    color: #cbd5e1;
    margin: 0 0 16px;
    max-width: 540px;
}

.about-hero-sub {
    font-family: var(--secondary-font), sans-serif;
    font-size: 15.5px;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0;
    max-width: 540px;
}

.about-hero-image-wrap {
    flex: 1 1 50%;
    position: relative;
    min-height: 480px;
    overflow: hidden;
}

.about-hero-image-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #081424 0%, rgba(8, 20, 36, 0.4) 30%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 2. WELCOME / AMBITION SECTION */
.about-welcome-section {
    width: 100%;
    padding: 70px 24px 70px;
    background: #ffffff;
}

.about-welcome-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.about-welcome-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-welcome-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-welcome-content h2 {
    font-family: var(--heading-font);
    font-size: 44px;
    line-height: 1.2;
    font-weight: 500;
    color: #0b223d;
    margin: 0 0 24px;
}

.about-welcome-text {
    font-family: var(--secondary-font), sans-serif;
    font-size: 15.5px;
    line-height: 1.75;
    color: #475569;
    margin: 0 0 18px;
}

.about-approach-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    background: #0b223d;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 30px;
    font-family: var(--secondary-font), sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(11, 34, 61, 0.15);
    margin-top: 10px;
}

.about-approach-btn:hover {
    background: #143560;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(11, 34, 61, 0.28);
}

.about-approach-btn .btn-arrow {
    transition: transform 0.3s ease;
}

.about-approach-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.about-welcome-image-wrap {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.about-welcome-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-welcome-image-wrap:hover .about-welcome-img {
    transform: scale(1.03);
}

/* 3. STATS STRIP BANNER */
.about-stats-section {
    width: 100%;
    padding: 20px 24px 80px;
    background: #ffffff;
}

.about-stats-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.about-stats-banner {
    background: #081a30;
    border-radius: 20px;
    padding: 10px 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(8, 26, 48, 0.18);
    position: relative;
}

.about-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 16px;
}

.about-stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.about-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.about-stat-item:hover .about-stat-icon {
    transform: translateY(-3px) scale(1.05);
    background: rgba(96, 165, 250, 0.12);
}

.about-stat-number {
    font-family: var(--heading-font);
    font-size: 24px;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.about-stat-title {
    font-family: var(--secondary-font), sans-serif;
    font-size: 13.5px;
    line-height: 1.45;
    color: #94a3b8;
    font-weight: 500;
}

/* 4. CAPABILITIES SECTION (ZIG-ZAG GRID) */
.about-capabilities-section {
    width: 100%;
    padding: 50px 24px 100px;
    background: #ffffff;
}

.about-capabilities-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.about-capabilities-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 70px;
}

.about-capabilities-header h2 {
    font-family: var(--heading-font);
    font-size: 46px;
    line-height: 1.2;
    font-weight: 500;
    color: #0b223d;
    margin: 0 0 16px;
}

.about-capabilities-intro {
    font-family: var(--secondary-font), sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

.about-capabilities-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.capability-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.capability-media {
    width: 100%;
    height: 280px;
    min-height: 280px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.capability-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.capability-row:hover .capability-media img {
    transform: scale(1.05);
}

.capability-card {
    background: #ffffff;
    border: 1px solid #e7e9ed;
    border-radius: 18px;
    padding: 38px 36px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.capability-card-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.capability-num {
    font-family: var(--secondary-font), sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #94a3b8;
}

.capability-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #081a30;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.capability-card:hover .capability-icon {
    transform: scale(1.08);
    background: #143560;
}

.capability-card h3 {
    font-family: var(--secondary-font), sans-serif;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
    color: #0b223d;
    margin: 0 0 12px;
}

.capability-card p {
    font-family: var(--secondary-font), sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
    margin: 0 0 22px;
}

.capability-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    color: #0b223d !important;
    text-decoration: none;
    font-family: var(--secondary-font), sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: all 0.25s ease;
    margin-top: auto;
}

.capability-explore-btn:hover {
    background: #0b223d;
    border-color: #0b223d;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 34, 61, 0.15);
}

.capability-explore-btn .btn-arrow {
    transition: transform 0.25s ease;
}

.capability-explore-btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* 5. BOTTOM CTA BANNER */
.about-cta-section {
    width: 100%;
    padding: 20px 24px 100px;
    background: #ffffff;
}

.about-cta-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.about-cta-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #081424;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(8, 20, 36, 0.2);
}

.about-cta-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    transform: scale(1.02);
    filter: blur(1px);
}

.about-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 20, 36, 0.85) 0%, rgba(8, 20, 36, 0.95) 100%);
    z-index: 1;
}

.about-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-cta-content h2 {
    font-family: var(--heading-font), sans-serif;
    font-size: 42px;
    line-height: 1.05;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0 0 14px;
    text-transform: uppercase;
    font-weight: 800;
}

.about-cta-content p {
    font-family: var(--secondary-font), sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 28px;
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #ffffff;
    color: #0b223d !important;
    text-decoration: none;
    border-radius: 30px;
    font-family: var(--secondary-font), sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.about-cta-btn:hover {
    background: #173b6b;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.about-cta-btn .btn-arrow {
    transition: transform 0.3s ease;
}

.about-cta-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* =========================================
   ABOUT US RESPONSIVE BREAKPOINTS
========================================= */

@media (max-width: 1024px) {
    .about-hero-content {
        padding: 70px 32px 70px 24px;
    }

    .about-hero-content h1 {
        font-size: 42px;
    }

    .about-welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-welcome-content h2 {
        font-size: 38px;
    }

    .about-welcome-img {
        height: 350px;
    }

    .about-stats-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 20px;
        padding: 10px 24px;
    }

    .about-stat-item:not(:last-child)::after {
        display: none;
    }

    .about-capabilities-header h2 {
        font-size: 38px;
    }

    .capability-card {
        padding: 30px 24px;
    }

    .about-cta-content h2 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .about-hero-container {
        flex-direction: column;
        min-height: auto;
    }

    .about-hero-content {
        padding: 60px 20px 40px;
    }

    .about-hero-content h1 {
        font-size: 34px;
    }

    .about-hero-image-wrap {
        min-height: 280px;
    }

    .about-hero-image-wrap::before {
        background: linear-gradient(180deg, #081424 0%, transparent 40%);
    }

    .about-welcome-section {
        padding: 60px 18px 40px;
    }

    .about-welcome-content h2 {
        font-size: 30px;
    }

    .about-welcome-text {
        font-size: 14.5px;
    }

    .about-stats-section {
        padding: 10px 18px 50px;
    }

    .about-capabilities-section {
        padding: 40px 18px 60px;
    }

    .about-capabilities-header {
        margin-bottom: 40px;
    }

    .about-capabilities-header h2 {
        font-size: 30px;
    }

    .capability-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* On mobile, stack image always above the card */
    .capability-row.row-img-right {
        display: flex;
        flex-direction: column-reverse;
    }

    .capability-media {
        /* min-height: 220px; */
        height: 260px;
    }

    .capability-card {
        padding: 26px 20px;
    }

    .about-cta-section {
        padding: 10px 18px 60px;
    }

    .about-cta-card {
        padding: 50px 20px;
    }

    .about-cta-content h2 {
        font-size: 30px;
    }

    .about-cta-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .about-hero-content h1 {
        font-size: 28px;
    }

    .about-hero-lead {
        font-size: 15px;
    }

    .about-welcome-content h2 {
        font-size: 26px;
    }

    .about-stats-banner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 30px 16px;
    }

    .about-stat-number {
        font-size: 32px;
    }

    .about-capabilities-header h2 {
        font-size: 26px;
    }

    .capability-card h3 {
        font-size: 19px;
    }

    .about-cta-content h2 {
        font-size: 30px;
    }
}

/* ==========================================================================
   BLOG PAGE & BLOG DETAIL STYLES (MATCHING REFERENCE DESIGN)
   ========================================================================== */

/* 1. Blog Hero Section */
.blog-hero-section {
    position: relative;
    padding: 90px 24px 30px;
    background: #ffffff;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid #edf2f7;
}

.blog-hero-bg-graphic {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

.blog-hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-container {
    padding-top: 40px;
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
}

.blog-hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(11, 34, 61, 0.06);
    color: #0b223d;
    font-family: var(--secondary-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.blog-hero-section h1 {
    font-family: var(--heading-font);
    font-size: 56px;
    font-weight: 700;
    color: #0b223d;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.blog-hero-subtitle {
    font-family: var(--secondary-font);
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 14px;
    letter-spacing: -0.2px;
}

.blog-hero-text {
    font-family: var(--secondary-font);
    font-size: 16px;
    line-height: 1.65;
    color: #64748b;
    max-width: 680px;
    margin: 0 auto;
}

.blog-hero-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--heading-font);
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
}

.hero-tag-sep {
    color: #cbd5e1;
}

/* 2. Featured Insights Section */
.featured-blog-section {
    padding: 50px 24px 40px;
    background: #f8fafc;
}

.featured-blog-container {
    max-width: 1240px;
    margin: 0 auto;
}

.featured-section-header {
    margin-bottom: 24px;
}

.featured-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--secondary-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #173b6b;
    margin-bottom: 6px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.featured-section-header h2 {
    font-size: 32px;
    font-family: var(--heading-font);
    font-weight: 700;
    color: #0b223d;
    letter-spacing: 0.5px;
}

.featured-blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    box-shadow: 0 10px 30px rgba(11, 34, 61, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.featured-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 34, 61, 0.09);
    border-color: #cbd5e1;
}

.featured-blog-image-wrap {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: block;
}

.featured-blog-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.featured-blog-card:hover .featured-blog-image-wrap img {
    transform: scale(1.04);
}

.featured-image-tagline {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(11, 34, 61, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: var(--secondary-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.featured-blog-content {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-blog-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.featured-category-badge {
    background: #0b223d;
    color: #ffffff;
    font-family: var(--secondary-font);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.featured-meta-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.featured-meta-info .meta-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.featured-blog-title {
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: 14px;
}

.featured-blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.featured-blog-title a:hover {
    color: #2563eb;
}

.featured-blog-excerpt {
    font-family: var(--secondary-font);
    font-size: 15px;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 28px;
}

.featured-blog-footer {
    margin-top: auto;
}

.featured-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0b223d;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--secondary-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.featured-cta-btn:hover {
    background: #172437;
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(11, 34, 61, 0.2);
}

/* 3. All Articles Section */
.all-blogs-section {
    padding: 60px 24px 90px;
    background: #ffffff;
}

.all-blogs-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Category Navigation & Search Controls */
.blog-controls-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1.5px solid #e2e8f0;
    padding-bottom: 14px;
}

.blog-category-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.blog-category-nav::-webkit-scrollbar {
    display: none;
}

.category-tab-btn {
    position: relative;
    background: transparent;
    border: none;
    padding: 8px 0;
    font-family: var(--secondary-font);
    font-size: 14.5px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.category-tab-btn:hover {
    color: #0b223d;
}

.category-tab-btn.is-active {
    color: #0b223d;
}

.category-tab-btn.is-active::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #0b223d;
    border-radius: 3px 3px 0 0;
}

/* Search Box */
.blog-search-container {
    flex-shrink: 0;
}

.blog-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.blog-search-box .search-icon {
    position: absolute;
    left: 14px;
    color: #64748b;
    pointer-events: none;
}

.blog-search-box input {
    width: 260px;
    padding: 10px 36px 10px 38px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-family: var(--secondary-font);
    font-size: 13.5px;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, width 0.3s ease;
}

.blog-search-box input:focus {
    background: #ffffff;
    border-color: #0b223d;
    box-shadow: 0 0 0 3px rgba(11, 34, 61, 0.08);
    width: 290px;
}

.blog-search-box .clear-search-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
    padding: 2px;
}

.blog-search-box .clear-search-btn:hover {
    color: #0f172a;
}

/* 4. Blog Card Grid (Matching Reference Image) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 50px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(11, 34, 61, 0.03);
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(11, 34, 61, 0.08);
    border-color: #cbd5e1;
}

.blog-card-image-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.blog-card-image-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.blog-card:hover .blog-card-image-wrap img {
    transform: scale(1.05);
}

.blog-image-tagline {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 34, 61, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-family: var(--secondary-font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-card-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Card Top Metadata: Pill Badge + Date */
.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.blog-category-pill {
    background: #0b223d;
    color: #ffffff;
    font-family: var(--secondary-font);
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    display: inline-block;
}

.blog-card-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
}

.blog-card-title {
    font-family: var(--secondary-font);
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.38;
    margin-bottom: 10px;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #2563eb;
}

.blog-card-excerpt {
    font-family: var(--secondary-font);
    font-size: 13.5px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 22px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer: Read More link + Circular Arrow Button */
.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--secondary-font);
    font-size: 13.5px;
    font-weight: 600;
    color: #0b223d;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.blog-read-link svg {
    transition: transform 0.2s ease;
}

.blog-card:hover .blog-read-link {
    color: #2563eb;
}

.blog-card:hover .blog-read-link svg {
    transform: translateX(4px);
}

.blog-circle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f4f8;
    color: #0b223d;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.blog-card:hover .blog-circle-btn {
    background: #0b223d;
    color: #ffffff;
    transform: translateX(2px);
}

/* Empty State / No Results */
.blog-no-results,
.blog-empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
}

.no-results-icon,
.empty-icon {
    font-size: 44px;
    color: #94a3b8;
    margin-bottom: 16px;
}

.blog-no-results h3,
.blog-empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0b223d;
    margin-bottom: 8px;
}

.blog-no-results p,
.blog-empty-state p {
    font-size: 14.5px;
    color: #64748b;
    max-width: 440px;
    margin: 0 auto 20px;
}

.reset-filter-btn {
    background: #0b223d;
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.reset-filter-btn:hover {
    background: #172437;
}

/* Load More Button */
.blog-load-more-wrap {
    text-align: center;
    margin-top: 20px;
}

.blog-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 13px 32px;
    background: #ffffff;
    border: 1.5px solid #0b223d;
    color: #0b223d;
    border-radius: 10px;
    font-family: var(--secondary-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.blog-load-more-btn:hover {
    background: #0b223d;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(11, 34, 61, 0.15);
}

.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(11, 34, 61, 0.2);
    border-top-color: #0b223d;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 5. CTA Section at bottom of blog */
.blog-cta-section {
    padding: 0 24px 80px;
    background: #ffffff;
}

.blog-cta-container {
    max-width: 1240px;
    margin: 0 auto;
}

.blog-cta-card {
    background: linear-gradient(135deg, #0b223d 0%, #172437 100%);
    border-radius: 22px;
    padding: 60px 40px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(11, 34, 61, 0.15);
}

.blog-cta-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.blog-cta-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
}

.blog-cta-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #93c5fd;
    font-family: var(--secondary-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.blog-cta-content h2 {
    font-family: var(--heading-font);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.15;
    margin-bottom: 14px;
    color: #ffffff;
}

.blog-cta-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 28px;
}

.blog-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0b223d;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 10px;
    font-family: var(--secondary-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.blog-cta-btn:hover {
    background: #173b6b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   BLOG DETAIL PAGE STYLES
   ========================================================================== */
.article-header-section {
    padding: 115px 24px 30px;
    background: #ffffff;
}

.article-header-container {
    max-width: 880px;
    margin: 0 auto;
}

.article-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: var(--secondary-font);
    font-size: 13px;
    color: #64748b;
    margin-bottom: 24px;
}

.article-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-breadcrumbs a:hover {
    color: #0b223d;
}

.bc-sep {
    color: #cbd5e1;
}

.bc-curr {
    color: #0b223d;
    font-weight: 600;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-meta-badge-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.article-category-badge {
    background: #0b223d;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.article-readtime-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #64748b;
}

.article-main-title {
    font-family: var(--secondary-font);
    font-size: 40px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}

.article-lead-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 30px;
    font-weight: 400;
}

.article-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0b223d;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--heading-font);
    font-size: 14px;
    margin-right: 12px;
}

.article-author-row .author-details {
    display: flex;
    flex-direction: column;
    margin-right: auto;
}

.author-name {
    font-family: var(--heading-font);
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
}

.author-pubdate {
    font-family: var(--secondary-font);
    font-size: 12.5px;
    color: #64748b;
}

.article-share-quick {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-label {
    font-family: var(--secondary-font);
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-right: 4px;
}

.share-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-icon-btn:hover {
    background: #0b223d;
    color: #ffffff;
    border-color: #0b223d;
    transform: translateY(-2px);
}

/* Article Media & Content */
.article-main-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 30px 24px 60px;
}

.article-featured-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(11, 34, 61, 0.05);
}

.article-featured-media img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.article-media-caption {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(11, 34, 61, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: var(--secondary-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 6px;
}

/* Rich Editorial Content */
.article-content-body {
    font-family: var(--secondary-font);
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 50px;
}

.article-content-body p {
    margin-bottom: 24px;
}

.article-content-body .lead-paragraph {
    font-size: 19px;
    line-height: 1.7;
    color: #1e293b;
    font-weight: 500;
}

.article-content-body h2 {
    font-family: var(--secondary-font);
    font-size: 26px;
    font-weight: 700;
    color: #0b223d;
    margin: 40px 0 16px;
    letter-spacing: -0.3px;
}

.article-content-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 28px 0 12px;
}

.article-content-body ul,
.article-content-body ol {
    margin: 0 0 24px 24px;
    padding: 0;
}

.article-content-body li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.article-content-body strong {
    font-family: var(--secondary-font);
    color: #0f172a;
    font-weight: 600;
}

.blog-quote-box {
    margin: 36px 0;
    padding: 28px 32px;
    background: #f8fafc;
    border-left: 4px solid #0b223d;
    border-radius: 0 14px 14px 0;
}

.blog-quote-box blockquote {
    font-size: 18px;
    font-style: italic;
    color: #1e293b;
    line-height: 1.6;
    margin: 0 0 10px;
}

.blog-quote-box cite {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    font-style: normal;
}

.blog-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.blog-stats-grid .stat-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.blog-stats-grid .stat-val {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #15803d;
    margin-bottom: 4px;
}

.blog-stats-grid .stat-lbl {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.blog-table th,
.blog-table td {
    padding: 14px 18px;
    text-align: left;
    font-family: var(--secondary-font);
    border-bottom: 1px solid #e2e8f0;
    font-size: 14.5px;
}

.blog-table th {
    background: #0b223d;
    color: #ffffff;
    font-weight: 600;
}

.blog-table tr:nth-child(even) {
    background: #f8fafc;
}

/* Tags and Share Footer */
.article-bottom-bar {
    padding: 28px 0;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 40px;
}

.article-tags-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tags-title {
    font-family: var(--secondary-font);
    font-size: 13.5px;
    font-weight: 700;
    color: #0b223d;
    margin-right: 6px;
}

.tag-chip {
    background: #f1f5f9;
    color: #475569;
    font-family: var(--secondary-font);
    font-size: 12.5px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 6px;
}

.article-share-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.share-footer-label {
    font-family: var(--secondary-font);
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.share-footer-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.share-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--secondary-font);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-pill-btn:hover {
    background: #0b223d;
    color: #ffffff;
    border-color: #0b223d;
    transform: translateY(-2px);
}

.share-wa:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
}

.share-li:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #ffffff;
}

/* Author Bio Card */
.article-author-bio-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 60px;
}

.bio-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0b223d;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    font-family: var(--heading-font);
    flex-shrink: 0;
}

.bio-label {
    font-size: 11px;
    font-weight: 700;
    font-family: var(--secondary-font);
    letter-spacing: 1.5px;
    color: #2563eb;
    display: block;
    margin-bottom: 4px;
}

.bio-text-wrap h4 {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    color: #0b223d;
    margin-bottom: 8px;
}

.bio-text-wrap p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Related Articles Section */
.related-blogs-section {
    padding: 60px 24px;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
}

.related-blogs-container {
    max-width: 1240px;
    margin: 0 auto;
}

.related-section-header {
    margin-bottom: 30px;
}

.related-badge {
    font-family: var(--secondary-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #2563eb;
    display: block;
    margin-bottom: 6px;
}

.related-section-header h2 {
    font-family: var(--heading-font);
    font-size: 32px;
    font-weight: 700;
    color: #0b223d;
}

.related-grid {
    margin-bottom: 0;
}

/* 404 / Not Found */
.blog-not-found-section {
    padding: 100px 24px;
    text-align: center;
    background: #ffffff;
}

.not-found-box {
    max-width: 500px;
    margin: 0 auto;
}

.not-found-code {
    font-size: 72px;
    font-weight: 900;
    font-family: var(--heading-font);
    color: #cbd5e1;
    display: block;
    line-height: 1;
    margin-bottom: 12px;
}

.not-found-box h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0b223d;
    margin-bottom: 12px;
}

.not-found-box p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
}

.not-found-btn {
    display: inline-block;
    background: #0b223d;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease;
}

.not-found-btn:hover {
    background: #172437;
}

/* Copy Link Toast */
.copy-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0b223d;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    animation: fadeInToast 0.3s ease;
}

@keyframes fadeInToast {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   PARTNER LOGOS CONTINUOUS INFINITE AUTOPLAY (ISSUE 2 FIX & POLISH)
   ========================================================================== */
.clients-section {
    width: 100%;
    padding: 20px 0 20px;
    background: #ffffff;
    overflow: hidden;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.clients-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.clients-heading {
    text-align: center;
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.clients-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.clients-viewport {
    width: 100%;
    overflow: hidden;
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 50px;
    width: max-content;
    will-change: transform;
    animation: partnerMarquee 70s linear infinite;
}

.clients-carousel:hover .clients-track {
    animation-play-state: paused;
}

@keyframes partnerMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0 15px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.client-logo:hover {
    transform: scale(1.08);
}

.client-logo img {
    max-height: 52px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR BLOG
   ========================================================================== */
@media (max-width: 1024px) {
    .featured-blog-card {
        grid-template-columns: 1fr;
    }

    .featured-blog-image-wrap {
        min-height: 300px;
        height: 300px;
    }

    .featured-blog-content {
        padding: 32px 28px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .blog-hero-section h1 {
        font-size: 46px;
    }

    .article-main-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .blog-hero-section {
        padding: 60px 18px 45px;
    }

    .blog-hero-section h1 {
        font-size: 38px;
    }

    .blog-hero-subtitle {
        font-size: 19px;
    }

    .blog-controls-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .blog-search-box input,
    .blog-search-box input:focus {
        width: 100%;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .featured-blog-title {
        font-size: 22px;
    }

    .blog-cta-card {
        padding: 40px 20px;
    }

    .blog-cta-content h2 {
        font-size: 30px;
    }

    .article-main-title {
        font-size: 26px;
    }

    .article-lead-excerpt {
        font-size: 16px;
    }

    .blog-stats-grid {
        grid-template-columns: 1fr;
    }

    .clients-track {
        gap: 30px;
        animation-duration: 20s;
    }
}

@media (max-width: 480px) {
    .blog-hero-container {
        padding-top: 80px;
    }

    .blog-hero-section h1 {
        font-size: 32px;
    }

    .blog-hero-subtitle {
        font-size: 17px;
    }

    .blog-hero-text {
        font-size: 14.5px;
    }

    .blog-card-body {
        padding: 18px 16px;
    }

    .blog-card-title {
        font-size: 17.5px;
    }

    .article-author-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-share-quick {
        width: 100%;
        justify-content: flex-start;
    }

    .share-footer-buttons {
        width: 100%;
    }

    .share-pill-btn {
        flex: 1;
        justify-content: center;
    }
}