﻿/*
Theme Name: CodeGems New
Description: Child theme of Twenty Twenty-One
Author: CodeGems
Template: twentytwentyone
Version: 1.0
*/
@charset "UTF-8";

/* =========================================================
   CODEGEMS CUSTOM HEADER
   Desktop: 1024px+
   Tablet/Mobile: 0–1023px
========================================================= */
a.cg-about-primary-btn:focus {
    background: #f1ba1a !important;
}
.site-logo a:focus {
    background: transparent !important;
    text-decoration: none !important;
}
/* =========================================================
   BASIC RESET
========================================================= */

main#main {
    padding-top: 0 !important;
}

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

.custom-header ul,
.custom-header li {
    list-style: none !important;
}

.custom-header ul {
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   HEADER — STICKY / HIDE / SHOW
========================================================= */

.custom-header {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 80px !important;

    z-index: 99999 !important;

    background: transparent !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: translateY(0) !important;

    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.3s ease !important;

    will-change: transform;
}


/* SCROLLED HEADER */

.custom-header.cg-header-scrolled {
    background-color: #050D20 !important;
}


/* HIDE ON SCROLL DOWN */

.custom-header.cg-header-hidden {
    transform: translateY(-100%) !important;
}


/* SHOW ON SCROLL UP */

.custom-header:not(.cg-header-hidden) {
    transform: translateY(0) !important;
}
/* Instantly close mega menu during header scroll */
.custom-header .primary-menu > li.cg-menu-open.cg-menu-instant-close > ul.sub-menu {
    transition: none !important;
    animation: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* =========================================================
   WORDPRESS ADMIN BAR
========================================================= */

#wpadminbar {
    z-index: 100000 !important;
}

body.admin-bar .custom-header {
    top: 32px !important;
}

@media (max-width: 782px) {

    body.admin-bar .custom-header {
        top: 46px !important;
    }

}


/* NORMAL VISITOR */

body:not(.admin-bar) .custom-header {
    top: 0 !important;
}


/* =========================================================
   HEADER CONTAINER
========================================================= */

.custom-header .header-container {
    width: 100% !important;
    max-width: 1400px !important;

    height: 80px !important;

    margin: 0 auto !important;
    padding: 0 50px !important;

    display: grid !important;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;
}


/* =========================================================
   LOGO
========================================================= */

.custom-header .site-logo {
    grid-column: 1;

    display: flex !important;
    align-items: center;
    justify-content: flex-start;

    margin: 0 !important;
    padding: 0 !important;
}

.custom-header .site-logo a {
    display: flex !important;
    align-items: center;

    margin: 0 !important;
    padding: 0 !important;

    text-decoration: none !important;
}

.custom-header .site-logo img {
    display: block !important;

    width: auto !important;

    max-width: 180px !important;
    max-height: 55px !important;

    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.custom-header .main-navigation {
    grid-column: 2;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;
    height: 80px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    background: transparent !important;
}

.custom-header .main-navigation > ul,
.custom-header .main-navigation .primary-menu {
    display: flex !important;

    flex-direction: row !important;

    align-items: center;
    justify-content: center;

    gap: 32px;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.custom-header .primary-menu > li {
    display: block !important;

    position: relative;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.custom-header .primary-menu li a {
    display: flex !important;
    align-items: center;

    height: 80px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;
    background: transparent !important;

    font-family: "Source Sans Pro", sans-serif !important;

    font-size: 14px !important;
    font-weight: 500 !important;

    line-height: 1 !important;

    text-decoration: none !important;
    text-transform: uppercase !important;

    white-space: nowrap;

    transition: color 0.25s ease !important;
}

.custom-header .primary-menu li a:hover {
    color: #ECC31F !important;
}


/* =========================================================
   DESKTOP CTA
========================================================= */

/* IMPORTANT:
   Mobile CTA is hidden separately so it doesn't create
   duplicate Let's Talk buttons on desktop.
*/

.custom-header .header-cta {
    grid-column: 3;

    display: flex !important;

    align-items: center;
    justify-content: flex-end;

    margin: 0 !important;
    padding: 0 !important;
}


/* MOBILE CTA HIDDEN ON DESKTOP */

.custom-header .mobile-menu-cta {
    display: none !important;
}


/* DESKTOP CTA */

.custom-header .desktop-header-cta {
    display: flex !important;

    grid-column: 3;
}

.custom-header .header-button {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-width: 80px;
    height: 40px;

    padding: 0 18px !important;

    background: #ffffff !important;
    color: #13294B !important;

    border: 1px solid #ffffff !important;
    border-radius: 6px !important;

    font-family: "Source Sans Pro", sans-serif !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    line-height: 1 !important;

    text-decoration: none !important;
    text-transform: uppercase !important;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease !important;
}

.custom-header .header-button:hover {
    background: #ECC31F !important;
    color: #13294B !important;
    border-color: #ECC31F !important;

    transform: translateY(-2px);
}


/* =========================================================
   HAMBURGER
========================================================= */

.custom-header .mobile-menu-toggle {
    display: none !important;
}


/* =========================================================
   DESKTOP SERVICES MEGA MENU
   1024px+
========================================================= */

@media (min-width: 1024px) {

    /* SERVICES PARENT */

  .custom-header .primary-menu
> li.menu-item-has-children {
    position: static !important;
}


    /* SERVICES ARROW */

    .custom-header .primary-menu
    > li.menu-item-has-children
    > a::after {

        content: "";

        display: inline-block;

        width: 7px;
        height: 7px;

        margin-left: 8px;
        margin-top: -3px;

        border-right: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;

        transform: rotate(45deg);

        transition:
            transform 0.25s ease,
            border-color 0.25s ease;
    }


    /* SERVICES OPEN */

    .custom-header .primary-menu
    > li.menu-item-has-children.cg-menu-open
    > a {

        color: #ECC31F !important;
    }

    .custom-header .primary-menu
    > li.menu-item-has-children.cg-menu-open
    > a::after {

        border-color: #ECC31F;

        transform: rotate(225deg);

        margin-top: 3px;
    }


    /* HIDE WP TOGGLE ON DESKTOP */

    .custom-header .primary-menu
    > li.menu-item-has-children
    > button.sub-menu-toggle {

        display: none !important;
    }


    /* =====================================================
       DESKTOP MEGA MENU
    ===================================================== */

    .custom-header .primary-menu
    > li.menu-item-has-children
    > ul.sub-menu {

        position: absolute !important;

        top: 100% !important;
        left: 50% !important;

        width:  740px  !important;
        max-width: calc(100vw - 40px) !important;

        display: grid !important;

         grid-template-columns: repeat(4, minmax(0, 1fr));

        gap: 30px;

        margin: 0 !important;
        padding: 28px 32px 24px !important;

        background: #13294B !important;

        border-top: 2px solid #ECC31F !important;

        border-right: 1px solid rgba(255,255,255,0.10);
        border-bottom: 1px solid rgba(255,255,255,0.10);
        border-left: 1px solid rgba(255,255,255,0.10);

        border-radius: 0 0 6px 6px;

        box-shadow:
            0 20px 40px rgba(0,0,0,0.30);

        opacity: 0 !important;
        visibility: hidden !important;

        pointer-events: none !important;

        transform:
            translateX(-50%)
            translateY(8px) !important;

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease !important;

        z-index: 100000 !important;
    }


    /* OPEN MEGA MENU */

    .custom-header .primary-menu
    > li.menu-item-has-children.cg-menu-open
    > ul.sub-menu {

        opacity: 1 !important;
        visibility: visible !important;

        pointer-events: auto !important;

        transform:
            translateX(-50%)
            translateY(0) !important;
    }


    /* COLUMN */

    .custom-header .primary-menu
    > li.menu-item-has-children
    > ul.sub-menu > li {

        display: block !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* COLUMN TITLE */

    .custom-header .primary-menu
    > li.menu-item-has-children
    > ul.sub-menu > li > a {

        display: block !important;

        height: auto !important;

        padding: 0 0 11px !important;

        color: #ECC31F !important;

        font-size: 14px !important;
        font-weight: 700 !important;

        line-height: 1.3 !important;

        text-transform: uppercase !important;
         white-space: normal !important;
	overflow-wrap: break-word !important;
        border-bottom:
            1px solid rgba(236,195,31,0.25) !important;
    }


    /* INNER SUBMENU */

    .custom-header .primary-menu
    > li.menu-item-has-children
    > ul.sub-menu
    > li > ul.sub-menu {

        position: static !important;

        display: block !important;

        width: 100% !important;

        margin: 0 !important;

        padding: 8px 0 0 !important;

        background: transparent !important;

        border: 0 !important;

        box-shadow: none !important;
    }


    /* INNER ITEMS */

    .custom-header .primary-menu
    > li.menu-item-has-children
    > ul.sub-menu
    > li > ul.sub-menu > li {

        display: block !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* INNER LINKS */

    .custom-header .primary-menu
    > li.menu-item-has-children
    > ul.sub-menu
    > li > ul.sub-menu > li > a {

        display: block !important;

        height: auto !important;

        padding: 6px 0 !important;

        color: rgba(255,255,255,0.75) !important;

        font-size: 12px !important;
        font-weight: 400 !important;

        line-height: 1.5 !important;

        text-transform: none !important;

        transition:
            color 0.2s ease,
            padding-left 0.2s ease !important;
    }


    .custom-header .primary-menu
    > li.menu-item-has-children
    > ul.sub-menu
    > li > ul.sub-menu
    > li > a:hover {

        color: #ECC31F !important;

        padding-left: 5px !important;
    }
}


/* =========================================================
   TABLET + MOBILE
   0–1023px
========================================================= */

@media (max-width: 1023px) {

    /* HEADER */

    .custom-header {

        height: 70px !important;
        min-height: 70px !important;
    }


    /* CONTAINER */

    .custom-header .header-container {

        height: 70px !important;

        max-width: none !important;

        display: flex !important;

        align-items: center;

        justify-content: space-between;

        padding: 0 25px !important;
    }


    /* LOGO */

    .custom-header .site-logo {

        flex: 1 !important;
    }

    .custom-header .site-logo img {

        max-width: 160px !important;
        max-height: 48px !important;
    }


    /* DESKTOP CTA OFF */

    .custom-header .desktop-header-cta {

        display: none !important;
    }


    /* HAMBURGER */

    .custom-header .mobile-menu-toggle {

        display: flex !important;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 5px;

        width: 42px !important;
        height: 42px !important;

        padding: 9px !important;
        margin: 0 !important;

        border: 1px solid #ECC31F !important;
        border-radius: 6px !important;

        background: transparent !important;

        cursor: pointer;

        z-index: 100001 !important;
    }

    .custom-header .mobile-menu-toggle span {

        display: block !important;

        width: 100% !important;
        height: 2px !important;

        background: #ECC31F !important;
    }


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

    .custom-header .main-navigation {

        display: none !important;

        position: absolute !important;

        top: 70px !important;
        left: 0 !important;

        width: 100% !important;

        height: auto !important;

        max-height: calc(100vh - 70px);

        overflow-y: auto;

        padding: 20px 25px !important;

        background: #050D20 !important;

        flex-direction: column !important;

        align-items: stretch !important;

        z-index: 100000 !important;
    }


    /* OPEN MOBILE NAV */

    .custom-header .main-navigation.mobile-menu-open {

        display: flex !important;
    }


    /* MOBILE PRIMARY MENU */

    .custom-header .main-navigation > ul,
    .custom-header .main-navigation .primary-menu {

        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;

        justify-content: flex-start !important;

        gap: 0 !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* TOP LEVEL */

    .custom-header .primary-menu > li {

        position: relative !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        border-bottom:
            1px solid rgba(255,255,255,0.10);
    }


    /* TOP LEVEL LINK */

    .custom-header .primary-menu > li > a {

        display: flex !important;

        align-items: center !important;

        justify-content: flex-start !important;

        width: calc(100% - 45px) !important;

        height: auto !important;

        min-height: 48px !important;

        padding: 14px 0 !important;

        color: #ffffff !important;

        font-size: 14px !important;

        text-transform: uppercase !important;
    }


    /* =====================================================
       REMOVE ALL TWENTY TWENTY-ONE DEFAULT ARROWS/BULLETS
    ===================================================== */

    .custom-header .primary-menu li::before,
    .custom-header .primary-menu li::after {

        content: none !important;
    }

    .custom-header .primary-menu ul li::before,
    .custom-header .primary-menu ul li::after {

        content: none !important;
    }


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

    .custom-header .primary-menu ul.sub-menu {

        position: static !important;

        display: none !important;

        width: 100% !important;

        height: auto !important;

        margin: 0 !important;

        padding: 0 0 8px 15px !important;

        background: transparent !important;

        border: 0 !important;

        box-shadow: none !important;

        opacity: 1 !important;

        visibility: visible !important;

        transform: none !important;

        overflow: visible !important;
    }


    /* OPEN SUBMENU */

    .custom-header .primary-menu
    li.menu-item-has-children.submenu-open
    > ul.sub-menu,

    .custom-header .primary-menu
    li.menu-item-has-children.sub-menu-open
    > ul.sub-menu,

    .custom-header .primary-menu
    li.menu-item-has-children.cg-menu-open
    > ul.sub-menu,

    .custom-header .primary-menu
    li.menu-item-has-children
    > button.sub-menu-toggle[aria-expanded="true"]
    ~ ul.sub-menu {

        display: block !important;
    }


    /* =====================================================
       SUBMENU ITEMS
    ===================================================== */

    .custom-header .primary-menu
    ul.sub-menu li {

        position: relative !important;

        display: block !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;

        list-style: none !important;
    }


    /* SUBMENU LINKS */

    .custom-header .primary-menu
    ul.sub-menu li a {

        display: flex !important;

        align-items: center !important;

        width: calc(100% - 45px) !important;

        height: auto !important;

        min-height: 42px !important;

        padding: 10px 0 !important;

        color: rgba(255,255,255,0.78) !important;

        background: transparent !important;

        font-size: 13px !important;

        font-weight: 400 !important;

        line-height: 1.4 !important;

        text-transform: none !important;

        text-decoration: none !important;
    }


    .custom-header .primary-menu
    ul.sub-menu li a:hover {

        color: #ECC31F !important;
    }


    /* =====================================================
       NESTED SUBMENU
    ===================================================== */

    .custom-header .primary-menu
    ul.sub-menu ul.sub-menu {

        position: static !important;

        display: none !important;

        width: 100% !important;

        margin: 0 !important;

        padding: 0 0 5px 15px !important;

        background: transparent !important;

        border: 0 !important;

        box-shadow: none !important;
    }


    /* OPEN NESTED SUBMENU */

    .custom-header .primary-menu
    ul.sub-menu li.submenu-open
    > ul.sub-menu,

    .custom-header .primary-menu
    ul.sub-menu li.sub-menu-open
    > ul.sub-menu,

    .custom-header .primary-menu
    ul.sub-menu li
    > button.sub-menu-toggle[aria-expanded="true"]
    ~ ul.sub-menu {

        display: block !important;
    }


    /* =====================================================
       MOBILE + / - BUTTON
    ===================================================== */

    .custom-header .primary-menu
    li.menu-item-has-children
    > button.sub-menu-toggle {

        display: flex !important;

        position: absolute !important;

        top: 4px !important;
        right: 0 !important;

        align-items: center !important;
        justify-content: center !important;

        width: 40px !important;
        height: 40px !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;

        background: transparent !important;

        color: #ECC31F !important;

        font-size: 0 !important;

        line-height: 1 !important;

        cursor: pointer;

        z-index: 20 !important;

        box-shadow: none !important;
    }


    /* REMOVE TWENTY TWENTY-ONE ICON */

    .custom-header .primary-menu
    li.menu-item-has-children
    > button.sub-menu-toggle::after {

        display: none !important;
        content: none !important;
    }

    .custom-header .primary-menu
    li.menu-item-has-children
    > button.sub-menu-toggle::before {

        content: "+" !important;

        display: block !important;

        width: auto !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #ECC31F !important;

        font-family: Arial, sans-serif !important;

        font-size: 24px !important;
        font-weight: 300 !important;

        line-height: 1 !important;

        transform: none !important;
    }


    /* OPEN = MINUS */

    .custom-header .primary-menu
    li.menu-item-has-children
    > button.sub-menu-toggle[aria-expanded="true"]::before {

        content: "−" !important;

        color: #ECC31F !important;
    }


    /* REMOVE DEFAULT BUTTON EFFECTS */

    .custom-header .primary-menu
    li.menu-item-has-children
    > button.sub-menu-toggle:hover,

    .custom-header .primary-menu
    li.menu-item-has-children
    > button.sub-menu-toggle:focus,

    .custom-header .primary-menu
    li.menu-item-has-children
    > button.sub-menu-toggle:active {

        background: transparent !important;

        color: #ECC31F !important;

        outline: none !important;

        box-shadow: none !important;
    }


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

    .custom-header .mobile-menu-cta {

        display: flex !important;

        grid-column: auto !important;

        width: 100% !important;

        margin-top: 18px !important;

        margin-left: 0 !important;

        justify-content: flex-start !important;
    }


    .custom-header .mobile-menu-cta .header-button {

        display: inline-flex !important;

        width: 100% !important;

        height: 44px !important;

        align-items: center;
        justify-content: center;

        background: #ECC31F !important;

        color: #13294B !important;

        border: 1px solid #ECC31F !important;

        border-radius: 6px !important;
    }
}

/* =========================================================
   TABLET HEADER FIX — 768px to 1023px
========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {

    .custom-header {
        top: 0 !important;
        height: 70px !important;
        min-height: 70px !important;
        z-index: 99999 !important;
    }

    /* Logged-in WordPress admin bar */
    body.admin-bar .custom-header {
        top: 32px !important;
    }

    /* Tablet navigation starts below header */
    .custom-header .main-navigation {
        top: 70px !important;
        z-index: 100000 !important;
    }

    /* Keep hamburger above navigation */
    .custom-header .mobile-menu-toggle {
        position: relative !important;
        z-index: 100001 !important;
    }

    /* When header hides on scroll */
    .custom-header.cg-header-hidden {
        transform: translateY(-100%) !important;
    }
}
/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .custom-header .header-container {

        padding: 0 18px !important;
    }

    .custom-header .site-logo img {

        max-width: 135px !important;
    }

    .custom-header .main-navigation {

        top: 70px !important;

        padding: 18px !important;
    }
}


/* =========================================================
   MOBILE MENU ABOVE EVERYTHING
========================================================= */

.custom-header:has(.mobile-menu-open) {

    z-index: 100001 !important;
}


/* =========================================================
   CTA SHINE
========================================================= */

.header-cta.desktop-header-cta .header-button {

    position: relative !important;

    overflow: hidden !important;

    isolation: isolate !important;
}

.header-cta.desktop-header-cta .header-button::after {

    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 60%;
    height: 100%;

    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255,255,255,0.15) 40%,
        rgba(255,255,255,0.75) 50%,
        rgba(255,255,255,0.15) 60%,
        transparent 100%
    );

    transform: skewX(-20deg);

    animation:
        codegemsCTAshine 3.5s ease-in-out infinite;

    pointer-events: none;

    z-index: 2;
}

@keyframes codegemsCTAshine {

    0% {
        left: -120%;
    }

    35% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}


/* =========================================================
   WEBSITE BACKGROUND
========================================================= */

body.custom-background {

    background-size: cover !important;

    background-repeat: no-repeat !important;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .custom-header {

        transition: none !important;
    }

    .custom-header.cg-header-hidden {

        transition: none !important;
    }
}
@media (max-width: 1023px) {

    .custom-header .primary-menu
    li.menu-item-has-children
    > button.sub-menu-toggle::before,
    .custom-header .primary-menu
    li.menu-item-has-children
    > button.sub-menu-toggle::after,
    .custom-header .primary-menu
    li.menu-item-has-children
    > button.sub-menu-toggle svg {

        display: none !important;
        content: none !important;
    }

}
/* =========================================
   CODEGEMS - Banner section
   ========================================= */
.n2-ss-slider *:focus,
.n2-ss-slider *:focus-visible,
.n2-ss-slider *:active {
    outline: none !important;
    box-shadow: none !important;
}

.n2-ss-control-bullet,
.n2-ss-control-bullet *,
.n2-ss-control-bullet-horizontal,
.n2-ss-control-bullet-vertical {
    outline: none !important;
    box-shadow: none !important;
}
section.hero-slider {
    margin-bottom: 0px !important;
}

.cg-rotating-word {
    display: inline-block !important;
    width: 175px !important;
    color: #f1ba1a !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: baseline !important;
    opacity: 1;
    transition: opacity 0.45s ease !important;
}


.n2-ss-slider .n2-ss-item-image-content img{
width:300px !important;
height:300px !important;
}
.n2-ss-item-image-content a {
    background: transparent !important;
    text-decoration: none !important;
}
@media screen and (width:1024px){
.n2-ss-slider .n2-ss-item-image-content img {
    width: 250px !important;
    height: 250px !important;
}
.cg-rotating-word {   
    width: 105px !important;
}
div#n2-ss-4 .n2-font-5685208de5ab1cbe669dce0c14439966-hover {  
    font-size: 245.75% !important;
}
.n2-ss-slide.n2-ow.n2-ss-slide-5.n2-ss-slide-active {
    height: 510px !important;
}
h1#n2-ss-4item2 {
    font-size: 42px !important;
}
}
@media screen and (max-width: 768px){
.n2-ss-slider .n2-ss-item-image-content img {
    width: 200px !important;
    height: 200px !important;
}
.cg-rotating-word {   
    width: 105px !important;
}
.n2-ss-slide.n2-ow.n2-ss-slide-5.n2-ss-slide-active {
    height: 510px !important;
}
}

@media screen and (max-width:767px){
h1#n2-ss-4item2 {
    margin-bottom: 10px;
}
}
/* =========================================
   CODEGEMS - TRUSTED BRANDS SECTION
   ========================================= */

.trusted-logos-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;

   background: linear-gradient(
    180deg,
    #dce8f2 0%,
    #e8f0f7 18%,
    #edf3f8 50%,
    #e4edf5 82%,
    #d7e4ef 100%
) !important;

    /* Keep section compact */
    padding: 32px 20px 32px !important;
    margin: 0 !important;
}


/* =========================================
   CONTENT
   ========================================= */

.trusted-logos-container {
    position: relative;
    z-index: 5;
    width: 100%;
}


/* Section heading */
.trusted-logos-heading {
    position: relative;
    z-index: 6;

    color: #071b3a !important;

    text-align: left;

    margin: 0 0 22px 0 !important;
    padding: 0 !important;
}

.trusted-logos-heading span {
    color: #071b3a !important;

    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

/* Logo carousel - controlled size */
.trusted-logos-section .swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.trusted-logos-section .swiper-slide img {
    height: 160px !important;
    max-width: 140px !important;
    object-fit: contain !important;
}
/* =========================================
   FINAL TOP TRANSITION
   DARK NAVY → SOFT BLUE
   ========================================= */

.trusted-logos-section::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 32px;

    background: linear-gradient(
        to bottom,
        #071b3a 0%,
        rgba(7, 27, 58, 0.55) 30%,
        rgba(90, 125, 155, 0.25) 65%,
        rgba(232, 240, 247, 0) 100%
    );

    z-index: 2;
    pointer-events: none;
}


/* =========================================
   FINAL BOTTOM TRANSITION
   SOFT BLUE → DARK NAVY
   ========================================= */

.trusted-logos-section::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 38px;

    background: linear-gradient(
        to bottom,
        rgba(215, 228, 239, 0) 0%,
        rgba(170, 195, 214, 0.25) 40%,
        rgba(55, 87, 115, 0.45) 70%,
        #071b3a 100%
    );

    z-index: 2;
    pointer-events: none;
}

/* =========================================
   IMPACT / WHY CODEGEMS SECTION
========================================= */

.impact-section {
    width: 100%;
    padding: 60px 50px;
    margin: 0;
    box-sizing: border-box;

    /* WHITE BACKGROUND */
    background: #ffffff !important;

    /* REQUIRED FOR BEFORE / AFTER */
    position: relative;
    overflow: hidden;
    isolation: isolate;
}


/* =========================================
   TOP BACKGROUND GLOW
========================================= */

.impact-section::before {
    content: "";
    position: absolute;

    top: -170px;
    left: 5%;
    width: 90%;
    height: 300px;

    background:
        radial-gradient(
            ellipse at center,
            rgba(19, 41, 75, 0.13) 0%,
            rgba(236, 195, 31, 0.08) 28%,
            rgba(255, 255, 255, 0) 70%
        );

    filter: blur(25px);
    pointer-events: none;
    z-index: -1;
}


/* =========================================
   BOTTOM BACKGROUND GLOW
========================================= */

.impact-section::after {
    content: "";
    position: absolute;

    bottom: -170px;
    left: 5%;
    width: 90%;
    height: 300px;

    background:
        radial-gradient(
            ellipse at center,
            rgba(19, 41, 75, 0.13) 0%,
            rgba(236, 195, 31, 0.08) 28%,
            rgba(255, 255, 255, 0) 70%
        );

    filter: blur(25px);
    pointer-events: none;
    z-index: -1;
}


/* =========================================
   CONTAINER
========================================= */

.impact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    text-align: center;
    box-sizing: border-box;

    position: relative;
    z-index: 2;
}


/* =========================================
   IMAGE
========================================= */

.impact-section .impact-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.impact-section .impact-image img {
    width: 100%;
    height: 340px;
    display: block;

    object-fit: cover;
    object-position: center;
    padding-bottom: 10px;
    transition: transform 0.6s ease;
}

.impact-section .impact-image:hover img {
    transform: scale(1.03);
}


/* =========================================
   CONTENT
========================================= */

.impact-section .impact-content {
    padding: 10px 0;
}


/* =========================================
   LABEL
========================================= */

.impact-section .impact-label {
       display: inline-flex;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.6px !important;
    line-height: 1 !important;
    color: #13294B !important;
    text-transform: uppercase !important;
}

.impact-label::before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #13294B, #ECC31F) !important;
}

.impact-label::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #13294B, #ECC31F) !important;
}


/* =========================================
   HEADING
========================================= */

.impact-section .impact-content h2 {
    margin: 0 0 25px;
    font-size: 58px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -1.5px;

    /* NAVY */
    color: #13294B !important;
}


/* YELLOW HIGHLIGHT */

.impact-section .impact-content h2 span {
    color: #f1ba1a !important;
}


/* If strong/bold text exists */

.impact-section .impact-content h2 strong,
.impact-section .impact-content h2 b {
    color: #13294B !important;
}


/* =========================================
   PARAGRAPH
========================================= */

.impact-section .impact-content p {
    margin: 0 0 32px;

    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;

    /* NAVY */
    color: #13294B !important;
}

.impact-section .impact-content p strong,
.impact-section .impact-content p b {
    color: #13294B !important;
}




@media screen and (width:1024px){
.impact-section .impact-content h2 {
    font-size: 36px !important;
}
.impact-section .impact-image img {
    height: 345px !important;
}
}
/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .impact-section {
        padding: 80px 0;
    }

    .impact-container {
        gap: 50px;
        padding: 0 25px;
    }

    .impact-section .impact-content h2 {
        font-size: 34px;
    }

    .impact-section .impact-image img {
        height: 285px;
    }
}


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


@media (max-width: 767px) {

    .impact-section {
        padding: 48px 20px;
    }

    .impact-container {
        grid-template-columns: 1fr;
        gap: 0px;
        padding: 0;
    }

    .impact-section .impact-image {
        order: 1;
    }

    .impact-section .impact-content {
        order: 2;
        align-items:center !important;
        text-align:center !important;
    }
    
    .impact-section .impact-image img {
        height: 260px;
        border-radius: 18px;
        align-items:center !important;
    }
    .impact-section .impact-label {
    justify-content: center;
    width: 100%;
     }
    .impact-section .impact-content h2 {
        font-size: 32px;
        line-height: 1.1;
        letter-spacing: -1px;
	align-items:center !important;
        text-align:center !important;
    }

    .impact-section .impact-content p {
        font-size: 14px;
        align-items:center !important;
        text-align:center !important;
    }
}


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

     .impact-section .impact-container {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .impact-section .impact-image {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box;
    }

    .impact-section .impact-image img {
        display: block;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        border-radius: 12px;
    }

    .impact-section .impact-content {
        width: 100% !important;
        max-width: 100% !important;
    }

    .impact-section .impact-container {
        display: flex !important;
        flex-direction: column !important;
    }

    .impact-section .impact-content {
        order: 1 !important;
        width: 100% !important;
    }

    .impact-section .impact-image {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box;
    }

    .impact-section .impact-image img {
        display: block;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
    }

}

/* =========================================
   ACHIEVEMENTS SHOWCASE
   CODEGEMS DARK THEME
========================================= */

.achievements-showcase { 
    width: 100%; 
    max-width: 100%; 
    margin: 0 auto; 
    padding: 60px 50px; 
    box-sizing: border-box; 
    color: #ffffff; 
    background: #050D20 !important; 
    position: relative; 
} 

.achievements-header { 
    display: grid; 
    grid-template-columns: 210px 1fr; 
    align-items: center; 
    gap: 50px; 
    margin-bottom: 45px; 
} 


/* ========================================= 
   ACHIEVEMENT BADGE 
========================================= */ 
 
.achievement-badge { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
} 
 
.badge-circle {
    width: 135px;
    height: 135px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    background: transparent;
    border: none;
    border-radius: 0;

    transition: transform 0.35s ease, filter 0.35s ease;
}

.badge-circle img {
    width: 135px;
    height: 135px;

    object-fit: contain;
    display: block;

    background: transparent;
    border: none;
    border-radius: 0;
}

.achievement-badge:hover .badge-circle {
    transform: scale(1.08) rotate(2deg);

    filter:
        drop-shadow(0 0 8px rgba(245, 196, 0, 0.35))
        drop-shadow(0 0 18px rgba(30, 105, 220, 0.25));
}
 
.achievement-intro h2 { 
    margin: 0; 
    max-width: 820px; 
    font-size: 28px; 
    line-height: 1.4; 
    font-weight: 400; 
    letter-spacing: -0.5px; 
    color: #fff; 
} 
 
.achievement-intro h2 span { 
    color: #f1ba1a !important; 
    font-weight: 600; 
} 
 
.achievement-intro h2 .ai-text { 
    color: #f5c400; 
    font-weight: 600; 
} 


.achievement-grid { 
    display: grid; 
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    column-gap: 20px; 
    row-gap: 20px; 
    border: none; 
    padding: 0 60px;
} 


.achievement-card { 
    min-height: 82px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 16px 22px; 
    box-sizing: border-box; 
    background: 
        linear-gradient( 
            135deg, 
            rgba(18, 31, 52, 0.92), 
            rgba(7, 16, 30, 0.96) 
        ); 
    border: 1px solid rgba(82, 111, 150, 0.28); 
    border-radius: 8px; 
    position: relative; 
    overflow: hidden; 
 
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.035), 
        0 8px 25px rgba(0, 0, 0, 0.18); 
 
    transition: 
        transform 0.3s ease, 
        box-shadow 0.3s ease, 
        border-color 0.3s ease, 
        background 0.3s ease; 
} 


.achievement-card::after { 
    content: ""; 
    position: absolute; 
    width: 100px; 
    height: 100px; 
    right: -40px; 
    top: -50px; 
    background: rgba(30, 104, 190, 0.12); 
    filter: blur(35px); 
    border-radius: 50%; 
    pointer-events: none; 
} 


.achievement-card::before { 
    content: ""; 
    position: absolute; 
    left: 0; 
    bottom: 0; 
    width: 100%; 
    height: 2px; 
    background: #f5c400; 
    transform: scaleX(0); 
    transform-origin: left; 
 
    transition: transform 0.4s ease; 
} 


.achievement-card:hover { 
    transform: translateY(-4px); 
    border-color: rgba(245, 196, 0, 0.45); 
    background: 
        linear-gradient( 
            135deg, 
            rgba(22, 39, 65, 0.98), 
            rgba(8, 18, 34, 0.98) 
        ); 
 
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.28), 
        0 0 22px rgba(245, 196, 0, 0.06); 
} 
 
.achievement-card:hover::before { 
    transform: scaleX(1); 
} 


.achievement-info { 
    padding-left: 0; 
    max-width: 62%; 
    position: relative; 
    z-index: 2; 
} 


.achievement-info p { 
    margin: 0; 
    font-size: 26px; 
    line-height: 1.5; 
    color: #fff; 
    letter-spacing: 0.1px; 
} 


.achievement-info strong { 
    display: block; 
    color: #e9edf4; 
    font-size: 14px; 
    line-height: 1.35; 
    font-weight: 600; 
    margin-bottom: 3px; 
} 


.achievement-value { 
    margin-left: 15px; 
    font-size: 30px; 
    line-height: 1; 
    font-weight: 500; 
    font-family: Georgia, "Times New Roman", serif; 
    font-style: italic; 
    color: #ffffff; 
    white-space: nowrap; 
    position: relative; 
    z-index: 2; 
    transition: 
        color 0.3s ease, 
        transform 0.3s ease, 
        text-shadow 0.3s ease; 
} 


.achievement-card:hover .achievement-value { 
    color: #f5c400; 
    transform: translateX(-3px); 
    text-shadow: 
        0 0 15px rgba(245, 196, 0, 0.2); 
} 


.achievements-showcase::after { 
    content: ""; 
    position: absolute; 
    width: 280px; 
    height: 280px; 
    right: -100px; 
    bottom: -100px; 
    background: rgba(31, 91, 170, 0.12); 
    filter: blur(90px); 
    border-radius: 50%; 
    pointer-events: none; 
    z-index: -1; 
} 

@media (width: 1024px) {

.achievement-info p {
    font-size: 18px;
}
.achievement-value {
    font-size: 24px;
}
 }
@media (max-width: 900px) { 
      .badge-circle {
    	width: 120px;
        height: 120px;
       }

	.badge-circle img {
  	  width: 120px;
 	   height: 120px;
	}
    .achievements-showcase { 
        padding: 60px 25px; 
    } 

    .achievements-header { 
        grid-template-columns: 150px 1fr; 
        gap: 35px; 
        margin-bottom: 40px; 
    } 

    .achievement-intro h2 { 
        font-size: 24px; 
    } 

    .achievement-grid { 
        column-gap: 10px; 
        row-gap: 10px; 
    } 

    .achievement-card { 
        min-height: 78px; 
        padding: 14px 17px; 
    } 

    .achievement-info p { 
        font-size: 14px; 
    } 

    .achievement-info strong { 
        font-size: 13px; 
    } 
 
    .achievement-value { 
        font-size: 20px; 
    } 
} 


@media (max-width: 650px) { 
 
    .achievements-showcase { 
        padding: 48px 20px; 
    } 
 
    .achievements-header { 
        grid-template-columns: 1fr; 
        gap: 25px; 
        margin-bottom: 35px; 
        text-align: center; 
    } 
 
    .achievement-badge { 
        width: 100%; 
    } 

    .badge-circle {
        width: 100px;
        height: 100px;
    }

    .badge-circle img {
        width: 100px;
        height: 100px;
        object-fit: contain;
    }
 
    .achievement-intro h2 { 
        max-width: 100%; 
        font-size: 21px; 
        line-height: 1.4; 
    } 
 
    .achievement-grid { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
        column-gap: 8px; 
        row-gap: 8px; 
        padding: 0px !important;
    } 
 
    .achievement-card { 
        min-height: 78px; 
        padding: 9px !important; 
    } 
 
    .achievement-info { 
        max-width: 56%; 
    } 
 
    .achievement-info p { 
        font-size: 16px; 
        line-height: 1.4; 
    } 
 
    .achievement-info strong { 
        font-size: 11px; 
    } 
 
    .achievement-value { 
        font-size: 23px; 
        margin-left: 5px; 
    } 
} 


@media (max-width: 400px) { 
 
    .achievements-showcase { 
        padding: 48px 20px; 
    } 
 
    .achievement-intro h2 { 
        font-size: 19px; 
    } 
 
    .achievement-grid { 
        column-gap: 7px; 
        row-gap: 7px; 
    } 
 
    .achievement-card { 
        min-height: 74px; 
        padding: 10px; 
    } 
 
    .achievement-info p { 
        font-size: 14px; 
    } 
 
    .achievement-info strong { 
        font-size: 10px; 
    } 
 
    .achievement-value { 
        font-size: 20px; 
    } 
    .badge-circle {
        width: 90px;
        height: 90px;
    }

    .badge-circle img {
        width: 90px;
        height: 90px;
        object-fit: contain;
    }
}
/* ==============================
   CodeGems CTA Section
================================ */

.codegems-cta {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 60px 50px;
  color: #13294B !important;
  text-align: center;
  box-sizing: border-box;
  background: #FFFFFF !important;
  margin: 0px !important;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

.cta-label {
   display: inline-flex;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.6px !important;
    line-height: 1 !important;
    color: #13294B !important;
    text-transform: uppercase !important;
}
.cta-label::before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #13294B, #ECC31F) !important;
}
 
.cta-label::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #13294B, #ECC31F) !important;
}
.cta-content h2 {
  margin: 0;
  font-size: 58px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -2px;
  color: #13294B !important;
}

.cta-content h2 span {
  color: #f1ba1a !important;
}

.cta-content p {
  max-width: 600px;
  margin: 15px auto 30px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #13294B !important;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
 
    gap: 12px;
    padding: 14px 14px;
    border: 1px solid #13294B !important;
    border-radius: 6px !important;
    color: #13294B !important;
    background: #ffffff !important;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
 
    text-decoration: none;
 
    transition: all 0.3s ease;
}

.cta-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-size: 21px;
  line-height: 1 !important;

  color: #13294B !important;

  position: relative;
  bottom: 2px;

  transition: transform 0.35s ease;
}

.cta-button:hover {
   background: #f1ba1a !important;
   color: #13294B !important;
   border-color: #f1ba1a !important;
   transform: translateY(-3px);
   box-shadow: 0 12px 35px rgba(236, 195, 31, 0.18);
}

.cta-button:hover .cta-arrow {
  transform: translateX(5px);
  color: #13294B !important;
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}

.cta-glow-one {
  width: 300px;
  height: 300px;
  left: -100px;
  top: 50%;
  background: rgba(19, 41, 75, 0.06);
}

.cta-glow-two {
  width: 300px;
  height: 300px;
  right: -100px;
  top: 10%;
  background: rgba(236, 195, 31, 0.08);
}

.codegems-cta::before,
.codegems-cta::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 1px;
}

.codegems-cta::before {
  left: 0;
  top: 30%;
  transform: rotate(-35deg);
}

.codegems-cta::after {
  right: 0;
  bottom: 25%;
  transform: rotate(-35deg);
}
@media (max-width: 1024px) {
.cta-content h2 {
    font-size: 42px;
  }
}
@media (max-width: 767px) {

  .codegems-cta {
    padding: 48px 20px;
  }

  .cta-content h2 {
    font-size: 34px;
    letter-spacing: -1px;
    color: #13294B !important;
  }

  .cta-content p {
    font-size: 14px !important;
    margin-top: 22px;
    color: #13294B !important;
  }

  .cta-button {
    padding: 14px 22px;
  }

  .cta-glow-one,
  .cta-glow-two {
    width: 180px;
    height: 180px;
  }
}
/* ========================================= 
   CODEGEMS PROJECTS SECTION
========================================= */

.cg-projects-section {
    width: 100% !important;
    padding: 60px 50px !important;
    color: #13294B !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
    margin:0px !important;
}

.cg-projects-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 50px;
}


/* =========================================
   PREMIUM HEADING
========================================= */

.cg-projects-heading {
    max-width: 850px !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.cg-projects-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;

    margin-bottom: 18px !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.6px !important;
    line-height: 1 !important;

    color: #13294B !important;
    text-transform: uppercase !important;
}

.cg-projects-eyebrow::before {
    content: "" !important;

    display: block !important;

    width: 34px !important;
    height: 1px !important;

    background: linear-gradient(
        90deg,
        #13294B,
        #ECC31F
    ) !important;
}

.cg-projects-eyebrow::after {
      content: "" !important;

    display: block !important;

    width: 34px !important;
    height: 1px !important;

    background: linear-gradient(
        90deg,
        #13294B,
        #ECC31F
    ) !important;
}
/* =========================================
   MAIN HEADING
========================================= */

.cg-projects-heading h2 {
    margin: 0 0 22px !important;

    /* max-width: 850px !important; */

    font-size: 58px !important;
    line-height: 1.08 !important;

    letter-spacing: -2.2px !important;

    font-weight: 600 !important;

    color: #13294B !important;

    text-wrap: balance !important;
    text-align: center !important;
}

.cg-projects-heading h2 span {
    color: #f1ba1a !important;
}


.our-projects{
color:#ecc31f !important;
}

/* =========================================
   DESCRIPTION
========================================= */

.cg-projects-heading p {
    margin: 0 !important;

    max-width: 850px !important;

    font-size: 16px !important;
    line-height: 1.8 !important;

    letter-spacing: 0.1px !important;

    color: #13294B !important;
}


/* =========================================
   PROJECT GRID
========================================= */

.cg-projects-grid {
    display: grid !important;

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    gap: 60px 32px !important;

    width: 100% !important;
}


/* =========================================
   PROJECT CARD
========================================= */

.cg-project-card {
    position: relative !important;

    width: 100% !important;
    min-width: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;

    background: linear-gradient(
        145deg,
        #FFFFFF 0%,
        #F7F9FC 70%,
        rgba(236,195,31,0.10) 100%
    ) !important;

    border: 1px solid rgba(19,41,75,0.10) !important;

    border-radius: 20px !important;

    padding: 14px !important;

    box-shadow:
        0 12px 35px rgba(19,41,75,0.08),
        0 2px 8px rgba(236,195,31,0.06) !important;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease !important;
}

.cg-project-card:hover {
    transform: translateY(-6px) !important;

    box-shadow:
        0 20px 45px rgba(19,41,75,0.14),
        0 4px 15px rgba(236,195,31,0.12) !important;
}


/* =========================================
   PROJECT LINK
========================================= */

.cg-project-link {
    display: block !important;

    width: 100% !important;

    color: inherit !important;
    text-decoration: none !important;
}


/* =========================================
   PROJECT IMAGE
========================================= */

.cg-project-image {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 16 / 10 !important;

    overflow: hidden !important;

    background: #FFFFFF !important;

    border: 1px solid rgba(19,41,75,0.12) !important;

    border-radius: 18px !important;
}

.cg-project-image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    object-fit: cover !important;

    opacity: 1 !important;
    visibility: visible !important;

    border: 0 !important;

    transition:
        transform 0.8s cubic-bezier(.16, 1, .3, 1),
        filter 0.8s ease !important;
}


/* =========================================
   IMAGE OVERLAY
========================================= */

.cg-project-image::after {
    content: "" !important;

    position: absolute !important;

    inset: 0 !important;

    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(19,41,75,0.18) 100%
    ) !important;

    pointer-events: none !important;
}


/* =========================================
   IMAGE HOVER
========================================= */

.cg-project-card:hover .cg-project-image img {
    transform: scale(1.05) !important;

    filter: brightness(0.78) !important;
}


/* =========================================
   PROJECT OVERLAY
========================================= */

.cg-project-overlay {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    transform: translate(-50%, -50%) !important;

    z-index: 3 !important;

    padding: 15px 20px !important;

    border: 1px solid rgba(19,41,75,0.28) !important;

    border-radius: 6px !important;

    background: rgba(255,255,255,0.92) !important;

    backdrop-filter: blur(10px) !important;

    opacity: 0 !important;

    white-space: nowrap !important;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease !important;
        align-items: center;
    display: inline-flex;
}

.cg-project-overlay span {
    font-size: 12px !important;

    font-weight: 600 !important;

    color: #13294B !important;
}

.cg-project-card:hover .cg-project-overlay {
    opacity: 1 !important;
    transform: translate(-50%, -50%) translateY(-4px) !important;
}


/* =========================================
   PROJECT CONTENT
========================================= */

.cg-project-content {
    padding: 22px 4px 0 !important;
}

.cg-project-category {
    display: block !important;

    margin-bottom: 12px !important;

    font-size: 12px !important;

    font-weight: 700 !important;

    letter-spacing: 1.8px !important;

    color: #13294B !important;

    text-transform: uppercase !important;
}

.cg-project-content h3 {
    margin: 0 !important;

    font-size: 28px !important;

    line-height: 1.15 !important;

    font-weight: 500 !important;

    letter-spacing: -0.5px !important;

    color: #13294B !important;

    transition:
        color 0.3s ease,
        transform 0.3s ease !important;
}

p.cg-project-description {
    font-size: 16px;
    margin-top:12px;
    color: #13294B !important;

}

.cg-project-card:hover .cg-project-content h3 {
    color: #f1ba1a !important;

    transform: translateX(3px) !important;
}


/* =========================================
   VIEW ALL PROJECTS
========================================= */

.cg-projects-button-wrap {
    display: flex !important;

    justify-content: center !important;

    margin-top: 75px !important;
}

.cg-view-projects-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
 
    gap: 12px;
    padding: 14px 14px;
    border: 1px solid #13294B !important;
    border-radius: 6px !important;
    color: #13294B !important;
    background: #ffffff !important;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
 
    text-decoration: none;
 
    transition: all 0.3s ease;
}

.cg-view-projects-btn {
    font-size: 16px !important;

    transition:
        transform 0.3s ease,
        color 0.3s ease !important;
}

.cg-view-projects-btn:hover {
    background: #f1ba1a !important;

    border-color: #f1ba1a !important;

    color: #13294B !important;

   transform: translate(-3px);
}

.cg-view-projects-btn:hover{
    transform: translateY(-3px);
    color: #13294B !important;
}

.cg-view-projects-btn:hover .cg-project-arrow {
  transform: translateX(5px);
  color: #13294B !important;
}
.cg-project-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 21px;
    line-height: 1 !important;
    color: #13294B !important;
    position: relative;
    bottom: 2px;
    transition: transform 0.35s ease;
}

@media screen and (width: 1024px){
.cg-projects-heading h2 {
    font-size: 48px !important;
}
.cg-project-content h3 {
  font-size: 24px !important;
}
.cg-view-projects-btn {
    font-size: 14px !important;
}
}

@media screen and (max-width:768px){
.cg-projects-heading h2 {
    font-size: 42px !important;
}
.cg-projects-container {
    padding: 0px !important;
}
.cg-projects-grid {
    gap: 60px 20px !important;
}
.cg-project-content h3 {
    font-size: 24px !important;
}
.cg-view-projects-btn {
    font-size: 14px !important;
}
}
/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .cg-projects-section {
        padding: 48px 5px !important;
    }

    .cg-projects-container {
        width: 90% !important;
    }

    .cg-projects-heading {
        margin-bottom: 48px !important;
        text-align: center !important;
    }

    .cg-projects-eyebrow {
        margin-bottom: 20px !important;

        font-size: 10px !important;

        letter-spacing: 2.5px !important;
    }

    .cg-projects-eyebrow::before {
        width: 25px !important;
    }

    .cg-projects-heading h2 {
        font-size: 36px !important;

        line-height: 1.05 !important;

        letter-spacing: -1.8px !important;

        text-align: center !important;
    }
 
    .cg-projects-heading h2::after {
        width: 50px !important;

        margin-top: 25px !important;
    }

    .cg-projects-heading p {
        font-size: 15px !important;

        line-height: 1.7 !important;
    }

    .cg-projects-grid {
        grid-template-columns: 1fr !important;

        gap: 45px !important;
    }

    .cg-project-image {
        aspect-ratio: 16 / 11 !important;

        border-radius: 14px !important;
    }

    .cg-projects-button-wrap {
        margin-top: 50px !important;
    }
}


/* =========================================
   FINAL VISIBILITY SAFETY
========================================= */

.cg-project-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.cg-project-card .cg-project-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cg-project-card .cg-project-image img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
a.cg-project-link {
    background: transparent !important;
}
h2.wp-block-heading {
    color: #ffffff !important;
    font-size: 48px;
    font-weight: 600;
}
p.wp-block-paragraph {
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 400;
}
footer.entry-footer.default-max-width {
    display: none !important;
}
nav.navigation.post-navigation {
    display: none !important;
}
h1.entry-title {
    display: none !important;
    /* margin-top: 26px; */
}
figure.post-thumbnail {
    padding-top: 30px !important;
}
figure.wp-block-post-featured-image {
    display: none !important;
}
@media screen and (max-width:1023px){
h2.wp-block-heading {
    font-size: 32px !important;
}
.entry-content {
    margin-top: 0px !important;
}
}
/* =========================================================
   CODEGEMS TESTIMONIAL SECTION
   STRONG OVERRIDE VERSION
   ========================================================= */

section.codegems-testimonials {
    position: relative !important;
    width: 100% !important;

    padding: 60px 50px !important;

    margin: 0 !important;

    box-sizing: border-box !important;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(46, 111, 214, 0.12) 0%,
            transparent 48%
        ),
        #050D20 !important;

    overflow: hidden !important;
}


/* =========================================================
   REMOVE OLD DECORATIVE LINE
   ========================================================= */

section.codegems-testimonials::before {
    display: none !important;

    content: none !important;
}


/* =========================================================
   HEADING AREA
   ========================================================= */

section.codegems-testimonials .testimonials-heading {
    position: relative !important;

    z-index: 5 !important;

    width: 100% !important;

    max-width: 1200px !important;

    margin: 0 auto !important;

    padding: 0 !important;

    text-align: center !important;
}

section.codegems-testimonials .testimonials-heading .gold-text {
    color: #f1ba1a !important;
    display: inline-block !important;
}
/* =========================================================
   BLUE EYEBROW
   ========================================================= */

section.codegems-testimonials .testimonials-eyebrow {
        display: inline-flex;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.6px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
}
.testimonials-eyebrow::before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #FFFFFF, #F5C542) !important;
}

.testimonials-eyebrow::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #F5C542, #FFFFFF) !important;
}

/* =========================================================
   MAIN HEADING
   ========================================================= */

section.codegems-testimonials .testimonials-heading h2 {
    display: block !important;

    width: 100% !important;

    margin: 0 0 22px 0 !important;

    padding: 0 !important;

    color: #FFFFFF !important;

    font-size: 58px !important;

    line-height: 1.08 !important;

    font-weight: 600 !important;

    letter-spacing: -1.8px !important;

    text-align: center !important;
}


/* =========================================================
   YELLOW ACCENT ON "IMPACT"
   ========================================================= */

section.codegems-testimonials .testimonials-heading h2 {
    text-shadow:
        0 0 25px rgba(255, 255, 255, 0.03) !important;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

section.codegems-testimonials .testimonials-heading p {
    display: block !important;

    width: 100% !important;

    padding: 0 !important;

    color: #fff !important;

    font-size: 16px !important;

    line-height: 1.8 !important;

    font-weight: 400 !important;

    text-align: center !important;
}


/* =========================================================
   SLIDER WRAPPER
   ========================================================= */

section.codegems-testimonials .testimonial-coverflow {
    position: relative !important;

    z-index: 5 !important;

    width: 100% !important;

    max-width: 1250px !important;

    margin: 0 auto !important;

    padding: 0 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   TESTIMONIAL PLUGIN CONTAINER
   ========================================================= */

section.codegems-testimonials .ucs-container {
    background: transparent !important;

    padding: 30px 0 35px 0 !important;

    margin: 0 !important;

    overflow: visible !important;
}


/* =========================================================
   TESTIMONIAL CARD
   ========================================================= */

section.codegems-testimonials .ucs-container .ucs-item {
    background:
        linear-gradient(
            145deg,
            #101B35 0%,
            #172B4D 100%
        ) !important;

    border: 1px solid rgba(46, 111, 214, 0.38) !important;

    border-radius: 22px !important;

    padding: 45px 40px !important;

    min-height: 320px !important;

    box-sizing: border-box !important;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.32) !important;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease !important;
}


/* =========================================================
   CARD HOVER
   ========================================================= */

section.codegems-testimonials .ucs-container .ucs-item:hover {
    transform: translateY(-7px) !important;

    border-color: rgba(46, 111, 214, 0.75) !important;

    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(46, 111, 214, 0.12) !important;
}


/* =========================================================
   QUOTE ICON
   ========================================================= */

section.codegems-testimonials
.ucs-container
.ucs-item > img.attachment-large {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;

    object-fit: cover !important;

    margin: 0 auto 25px auto !important;

    border-radius: 50% !important;

    opacity: 1 !important;

    filter: none !important;

    display: block !important;
}

/* =========================================================
   TESTIMONIAL TEXT
   ========================================================= */

section.codegems-testimonials
.ucs-container
.details-content {
    text-align: center !important;

    color: #FFFFFF !important;
}


section.codegems-testimonials
.ucs-container
.details-content p {
    color: #fff !important;

    font-size: 16px !important;

    line-height: 1.75 !important;

    margin: 0 auto 25px auto !important;

    max-width: 650px !important;
}


/* =========================================================
   CLIENT NAME
   ========================================================= */

section.codegems-testimonials
.ucs-container
.details-content h3 {
    color: #FFFFFF !important;

    font-size: 21px !important;

    line-height: 1.3 !important;

    font-weight: 700 !important;

    margin: 8px 0 6px 0 !important;
}


/* =========================================================
   DESIGNATION
   ========================================================= */

section.codegems-testimonials
.ucs-container
.details-content h4 {
    color: #fff !important;

    font-size: 14px !important;

    line-height: 1.4 !important;

    font-weight: 600 !important;

    margin: 0 !important;
}


/* =========================================================
   PAGINATION
   ========================================================= */

section.codegems-testimonials
.ucs-container
.swiper-pagination-bullet {
    width: 8px !important;

    height: 8px !important;

    background: rgba(255, 255, 255, 0.30) !important;

    opacity: 1 !important;
}


section.codegems-testimonials
.ucs-container
.swiper-pagination-bullet-active {
    width: 26px !important;

    border-radius: 20px !important;

    background: #D9A441 !important;

    box-shadow:
        0 0 14px rgba(217, 164, 65, 0.45) !important;
}


/* =========================================================
   ARROWS
   ========================================================= */

section.codegems-testimonials
.ucs-container
.swiper-button-next,

section.codegems-testimonials
.ucs-container
.swiper-button-prev {
    width: 42px !important;

    height: 42px !important;

    color: #FFFFFF !important;

    background: #101B35 !important;

    border: 1px solid rgba(46, 111, 214, 0.40) !important;

    border-radius: 50% !important;
}


section.codegems-testimonials
.ucs-container
.swiper-button-next:hover,

section.codegems-testimonials
.ucs-container
.swiper-button-prev:hover {
    color: #050D20 !important;

    background: #D9A441 !important;

    border-color: #D9A441 !important;
}
@media screen and (max-width:1024px){
section.codegems-testimonials .testimonials-heading h2 {
    font-size: 48px !important;
}
}
@media screen and (max-width:768px){
section.codegems-testimonials .testimonials-heading h2 {
    font-size: 42px !important;
}
}
/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    section.codegems-testimonials {
        padding: 48px 20px !important;
    }

   .codegems-testimonials .swiper-wrapper {
    padding-bottom: 35px !important;
}

    section.codegems-testimonials
    .testimonials-heading {
        margin-bottom: 40px !important;
    }


    section.codegems-testimonials
    .testimonials-eyebrow {
        font-size: 11px !important;

        letter-spacing: 2px !important;
    }


    section.codegems-testimonials
    .testimonials-heading h2 {
        font-size: 34px !important;

        line-height: 1.15 !important;

        letter-spacing: -0.8px !important;
    }


    section.codegems-testimonials
    .testimonials-heading p {
        font-size: 15px !important;

        line-height: 1.7 !important;
    }


    section.codegems-testimonials
    .ucs-container {
        padding: 20px 0 !important;
    }


    section.codegems-testimonials
    .ucs-container
    .ucs-item {
        padding: 35px 25px !important;

        min-height: 300px !important;

        border-radius: 18px !important;
    }
}

.codegems-testimonials .codegems-review-media {
    width: 100% !important;
    margin: 15px auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
}

.codegems-testimonials .codegems-review-media img {
    display: block !important;
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
    max-height: 350px !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    margin: 0 auto !important;
}
/* =========================================
   CODEGEMS CUSTOM FOOTER
========================================= */

.cg-footer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    background: #050D20 !important;
    margin-top: 0px !important;
}


/* FOOTER CONTAINER */

.cg-footer-container {
    width: 100%;
    max-width:100%;
    margin: 0 auto;
    padding: 40px 0px;
    position: relative;
    z-index: 2;
}


/* =========================================
   FOOTER TOP
========================================= */

.cg-footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    padding: 0 50px;
}


/* =========================================
   BRAND
========================================= */

.cg-footer-brand {
    max-width: 360px;
}

.cg-footer-logo {
    margin-bottom: 25px;
}

.cg-footer-logo img {
    width: 175px !important;
    height: auto !important;
    max-width: 100% !important;
    display: block;
}

.cg-footer-site-name {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
}

.cg-footer-description {
    color: #fff;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 28px !important;
    max-width: 340px;
}



/* =========================================
   FOOTER COLUMNS
========================================= */

.cg-footer-column h3 {
    margin: 0 0 15px !important;
    padding: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cg-footer-column h3::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: #f1ba1a !important;
    margin-top: 10px;
}

.cg-footer-column ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cg-footer-column li {
    padding: 0 !important;
}

.cg-footer-column li a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: all 0.25s ease;
}

.cg-footer-column li a:hover {
    color: #ffffff !important;
    padding-left: 5px;
}


/* =========================================
   CONTACT
========================================= */

.cg-footer-contact p {
    color: #fff;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 18px !important;
}

.cg-contact-label {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cg-contact-link {
    display: inline-block;
    margin-top: 5px;
    color: #f1ba1a !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.cg-contact-link:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}


/* =========================================
   DIVIDER
========================================= */

.cg-footer-divider {
    width: 100%;
    height: 1px;
    margin: 65px 0 25px;
    background: rgba(244, 196, 48, 0.25);
}


/* =========================================
   FOOTER BOTTOM
========================================= */

.cg-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 50px;
}

.cg-footer-copyright {
    color: #fff;
    font-size: 12px;
}

.cg-footer-legal {
    display: flex;
    align-items: center;
    gap: 25px;
}

.cg-footer-legal a {
    color: #fff !important;
    font-size: 12px;
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.cg-footer-legal a:hover {
    color: #ffffff !important;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .cg-footer-container {
        padding: 65px 35px 25px;
    }

    .cg-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 45px 35px;
    }

    .cg-footer-brand {
        max-width: 100%;
    }

    .cg-footer-bottom {
    padding: 10px 20px !important;
}
.cg-footer-container {
    padding: 0px !important;
}
}


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

@media (max-width: 600px) {

    .cg-footer-container {
        padding: 55px 22px 22px;
    }

    .cg-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding:17px !important;
    }

    .cg-footer-brand {
        max-width: 100%;
    }

    .cg-footer-logo img {
        width: 155px !important;
    }
    .cg-footer-description {
    font-size: 14px;
}

    .cg-footer-column h3 {
        margin-bottom: 20px !important;
    }

    .cg-footer-divider {
        margin: 45px 0 22px;
    }
    
    .cg-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cg-footer-legal {
        flex-wrap: wrap;
        gap: 15px;
    }
 .cg-footer-bottom {
    display: flex !important;
    gap: 5px !important;
    justify-content: space-between !important;
      align-items: flex-start !important;
      padding: 0px 12px !important;
        margin-bottom: 12px;
}
}

@media (min-width: 992px) {

    .site-header,
    .site-main,
    .site-footer {
        max-width: 100% !important;
        width: 100% !important;
    }

}

div#page {
    overflow: hidden !important;
}




/* =========================================
   CODEGEMS ABOUT US HERO
========================================= */

.cg-about-hero {
    position: relative;
    width: 100%;
    min-height: 600px;

    display: flex;
    align-items: center;

    overflow: hidden;

    /* Generated futuristic background */
    background-image: url("https://codegemssolutions.com/Codegem/wp-content/uploads/2026/10/db5e5c5b-34cb-4e52-9dfa-7282ec5c48be.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    color: #ffffff;
}


/* =========================================
   CONTAINER
========================================= */

.cg-about-hero-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 90px 30px;

    box-sizing: border-box;
}


/* =========================================
   BREADCRUMB
========================================= */

.cg-about-breadcrumb {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 32px;

    font-size: 13px;
    font-weight: 500;

    color: rgba(255,255,255,0.70);
}

.cg-about-breadcrumb .current {
    color: #ffffff;
}

.cg-about-breadcrumb .arrow {
    color: #F5C542;

    font-size: 18px;
}


/* =========================================
   HERO CONTENT
========================================= */

.cg-about-hero-content {
    max-width: 850px;
}


/* Main Heading */

.cg-about-hero-content h1 {
    margin: 0 0 12px;

    font-size: clamp(48px, 6vw, 67px);

    line-height: 1.03;

    font-weight: 600;

    letter-spacing: -2px;

    color: #ffffff;
}

.cg-about-hero-content h1 span {
    color: #f1ba1a;
}


/* Yellow Italic Heading */

/* Description */

.cg-about-hero-content p {
    max-width: 760px;

    margin: 0 0 36px;

    font-size: 16px;

    line-height: 1.75;

    color: #fff;
}


/* =========================================
   BUTTONS
========================================= */

.cg-about-hero-buttons {
    display: flex;

    align-items: center;

    gap: 16px;
}


/* Primary Button */

.cg-about-primary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    min-height: 54px;

    padding: 0 27px;

    border-radius: 6px;

    background: #ffffff;

    color: #07152F !important;

    text-decoration: none !important;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.3px;

    transition: all 0.3s ease;
}

.cg-about-primary-btn span {
    font-size: 18px;
}

.cg-about-primary-btn:hover {
    background: #f1ba1a;

    color: #07152F !important;

    transform: translateY(-2px);
}

.about-banner-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 21px;
    line-height: 1 !important;
    color: #13294B !important;
    position: relative;
    bottom: 2px;
    transition: transform 0.35s ease;
}
.cg-about-primary-btn:hover .about-banner-arrow {
    transform: translateX(5px);
    color: #13294B !important;
}
/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .cg-about-hero {
        min-height: 600px;

        background-position: 65% center;
    }

    .cg-about-hero-container {
        padding: 75px 30px;
    }

}


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

@media (max-width: 767px) {

    .cg-about-hero {
        min-height: auto;

        background-position: 65% center;
    }

    .cg-about-hero-container {
        padding: 60px 22px 70px;
    }

    .cg-about-breadcrumb {
        margin-bottom: 25px;

        font-size: 12px;
    }

    .cg-about-hero-content {
        max-width: 100%;
    }

    .cg-about-hero-content h1 {
        font-size: 36.8px;
        text-align: center;
        line-height: 1.05;

        letter-spacing: -1.5px;
    }

       .cg-about-hero-content p {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 28px;
        text-align: center;
    }

    .cg-about-hero-buttons {
        flex-direction: column;

        align-items: center;

        gap: 12px;
    }

    .cg-about-primary-btn {
        width: 75%;

        box-sizing: border-box;
    }

}




/* ===== CODEGEMS PURPOSE SECTION ===== */

.cg-purpose-section {
    width: 100%;
    background: #FFFFFF;
    padding: 60px 50px;
    box-sizing: border-box;
}

.cg-purpose-section *,
.cg-purpose-section *::before,
.cg-purpose-section *::after {
    box-sizing: border-box;
}

/* ===== MAIN LAYOUT ===== */
/* Content LEFT, Image RIGHT */

.cg-purpose-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 50px;
    align-items: center;
}

/* ===== LEFT CONTENT ===== */

.cg-purpose-content {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

/* ===== RIGHT IMAGE ===== */

.cg-purpose-visual {
    grid-column: 2;
    grid-row: 1;

    position: relative;
    min-height: 660px;
    height: 100%;
    overflow: hidden;
    isolation: isolate;

    background: linear-gradient(
        145deg,
        #FFFFFF 0%,
        #FAFCFF 35%,
        #F0F6FF 70%,
        #E7F0FC 100%
    ) !important;

    border: 1px solid #E3ECF8 !important;
    border-radius: 22px !important;

    box-shadow: 0 5px 16px rgba(19, 41, 75, 0.06) !important;
}

.cg-purpose-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: -2;
}

.cg-purpose-image-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(235, 244, 255, 0.02) 0%,
        rgba(19, 41, 75, 0.05) 45%,
        rgba(19, 41, 75, 0.65) 78%,
        rgba(7, 22, 46, 0.96) 100%
    ) !important;

    z-index: -1;
}

.cg-purpose-quote {
    position: absolute;
    left: 30px;
    right: 25px;
    bottom: 32px;
}

.cg-purpose-quote p {
    color: #FFFFFF;
    font-family: Georgia, serif;
    font-size: 21px;
    font-style: italic;
    line-height: 1.5;
    margin: 0 0 18px;
}

.cg-purpose-quote span {
    display: block;
    color: #FFC928;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1.6;
}

/* ===== CONTENT LABEL ===== */

.cg-purpose-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #13294B;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    margin-bottom: 17px;
}

.cg-purpose-label::before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    flex-shrink: 0;
    background: linear-gradient(
        90deg,
        #13294B,
        #ECC31F
    ) !important;
}

.cg-purpose-label::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    flex-shrink: 0;
    background: linear-gradient(
        90deg,
        #13294B,
        #ECC31F
    ) !important;
}

/* ===== HEADING ===== */

.cg-purpose-heading {
    color: #13294B;
    font-size: 46px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 0 0 22px;
}

.cg-purpose-heading span {
    color: #f1ba1a;
}

/* ===== PARAGRAPHS ===== */

.cg-purpose-intro,
.cg-purpose-description {
    color: #13294B !important;
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 16px;
    font-family: Arial, sans-serif;
}

/* ===== MISSION & VISION CARDS ===== */

.cg-purpose-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 42px;
}

.cg-purpose-card {
    padding: 26px 24px;
    background: #FFFFFF;
    border: 1px solid #E7EAF0;
    border-radius: 22px;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

/* ===== CARD HOVER ===== */

.cg-purpose-card:hover {
    transform: translateY(-5px);
    border-color: #E7C64F;
    box-shadow: 0 12px 30px rgba(19, 41, 75, 0.08);
}

/* ===== ICON DESIGN ===== */

.cg-purpose-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;
    border-radius: 15px;

    background: #FFF8DF;
    color: #B58C00;

    margin-bottom: 19px;

    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.cg-purpose-icon svg {
    width: 25px;
    height: 25px;
    display: block;

    transition: transform 0.35s ease;
}

/* Icon hover when card is hovered */

.cg-purpose-card:hover .cg-purpose-icon {
    background: #FFC928;
    color: #13294B;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 201, 40, 0.25);
}

.cg-purpose-card:hover .cg-purpose-icon svg {
    transform: scale(1.12);
}

/* Icon-only hover */

.cg-purpose-icon:hover {
    background: #f1ba1a;
    color: #13294B;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 201, 40, 0.25);
}

.cg-purpose-icon:hover svg {
    transform: scale(1.12);
}

/* ===== CARD TEXT ===== */

.cg-purpose-card h3 {
    color: #13294B;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 10px;
}

.cg-purpose-card p {
    color: #647084;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* ===== TABLET ===== */

@media (max-width: 1024px) {

    .cg-purpose-section {
        padding: 65px 24px;
    }

    .cg-purpose-container {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 30px;
    }

    .cg-purpose-visual {
        min-height: 540px;
    }

    .cg-purpose-cards {
        gap: 14px;
        margin-top: 28px;
    }

    .cg-purpose-card {
        padding: 22px 18px;
    }
    .cg-purpose-intro,
    .cg-purpose-description {
        font-size: 14px;
	}
    .cg-purpose-heading {
        font-size: 36px;
    }
}

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

@media (max-width: 767px) {

    .cg-purpose-section {
        padding: 48px 20px;
    }

    .cg-purpose-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    /* Content first */

    .cg-purpose-content {
        grid-column: 1;
        grid-row: 1;
    }
    .cg-purpose-label{
	justify-content:center;
	}

    /* Image below content */

    .cg-purpose-visual {
        grid-column: 1;
        grid-row: 2;

        min-height: 420px;
        height: 420px;
        border-radius: 18px !important;
    }

    .cg-purpose-quote {
        left: 22px;
        right: 22px;
        bottom: 25px;
    }

    .cg-purpose-quote p {
        font-size: 19px;
    }

    .cg-purpose-heading {
        font-size: 34px;
        letter-spacing: -0.8px;
        margin-bottom: 18px;
        text-align:center;
    }

    .cg-purpose-intro,
    .cg-purpose-description {
        font-size: 14px;
        line-height: 1.7;
         text-align:center;
    }

    .cg-purpose-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .cg-purpose-card {
        padding: 24px;
    }
}

/* ===== REDUCED MOTION ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {

    .cg-purpose-card,
    .cg-purpose-icon,
    .cg-purpose-icon svg {
        transition: none;
    }
}



/* ===== CODEGEMS WHY CHOOSE US ===== */

.cg-why-section {
    position: relative;
    width: 100%;
    padding: 60px 50px;
    box-sizing: border-box;
    overflow: hidden;

    background:  rgb(5, 13, 32) !important;
}

.cg-why-section *,
.cg-why-section *::before,
.cg-why-section *::after {
    box-sizing: border-box;
}

.cg-why-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== HEADER ===== */

.cg-why-header {
    max-width: 1200px;
    margin-bottom: 55px;
    align-items: center;
    text-align: center;
}

.cg-why-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;

    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.cg-why-eyebrow::before {
    content: "";
    width: 25px;
    height: 3px;
    border-radius: 10px;
    background: #FFC928;
}
.cg-why-eyebrow::before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(255, 255, 255), rgb(245, 197, 66)) !important;
}

.cg-why-eyebrow::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(245, 197, 66), rgb(255, 255, 255)) !important;
}
.cg-why-header h2 {
    margin: 0 0 18px;
    color: #FFFFFF;
    font-size: 58px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.3px;
}

.cg-why-header h2 span {
    color: #f1ba1a;
}

.cg-why-header p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
}

/* ===== FEATURES GRID ===== */

.cg-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* ===== FEATURE CARD ===== */

.cg-why-card {
    position: relative;
    padding: 32px 28px 30px;
    min-height: 245px;

    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.055),
        rgba(255, 255, 255, 0.018)
    );

    border: 1px solid rgba(174, 199, 232, 0.17);
    border-radius: 18px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.cg-why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 201, 40, 0.55);

    background: linear-gradient(
        145deg,
        rgba(46, 111, 214, 0.16),
        rgba(255, 255, 255, 0.035)
    );

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

/* ===== ICON ===== */

.cg-why-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;
    margin-bottom: 24px;
    background: rgba(255, 201, 40, 0.09);
    border: 1px solid rgba(255, 201, 40, 0.25);
    border-radius: 15px;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.cg-why-icon svg {
    width: 27px;
    height: 27px;
    display: block;
}

.cg-why-card:hover .cg-why-icon {
    background: #f1ba1a;
    color:#13294B;
    transform: translateY(-2px);
}

/* ===== CARD CONTENT ===== */

.cg-why-card h3 {
    margin: 0 0 12px;
    color: #FFFFFF;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
}

.cg-why-card p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.8;
}

/* ===== TABLET ===== */

@media (max-width: 1024px) {
    .cg-why-section {
        padding: 75px 24px;
    }

    .cg-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .cg-why-card {
        padding: 28px 24px;
        min-height: 230px;
    }
     .cg-why-header h2{
     font-size: 42px;
} 
   .cg-about-story-heading h2 {
    font-size: 42px !important;
}
     .cg-why-header p{
     font-size: 14px;
} 
    .cg-why-header {
        margin-bottom: 40px;
    }
}

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

@media (max-width: 767px) {
    .cg-why-section {
        padding: 48px 20px;
    }

    .cg-why-header {
        margin-bottom: 32px;
    }

    .cg-why-header h2 {
        font-size: 34px;
        letter-spacing: -0.7px;
    }

    .cg-why-header p {
        font-size: 14px;
        line-height: 1.75;
    }

    .cg-why-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cg-why-card {
        min-height: auto;
        padding: 25px 23px;
        border-radius: 16px;
    }

    .cg-why-icon {
        margin-bottom: 19px;
    }
}

/* ===== REDUCED MOTION ===== */

@media (prefers-reduced-motion: reduce) {
    .cg-why-card,
    .cg-why-icon {
        transition: none;
    }
}





/* ===== CODEGEMS DIRECTOR'S DESK ===== */

.cg-director-section {
    width: 100%;
    padding: 60px 50px;
    background: #FFFFFF;
    box-sizing: border-box;
    overflow: hidden;
}

.cg-director-section *,
.cg-director-section *::before,
.cg-director-section *::after {
    box-sizing: border-box;
}

.cg-director-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 65px;
    align-items: center;
}

/* ===== LEFT VISUAL ===== */

.cg-director-visual {
    position: relative;
    min-width: 0;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.cg-director-illustration {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    object-position: center;
}

/* ===== RIGHT CONTENT ===== */

.cg-director-content {
    min-width: 0;
}

.cg-director-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #13294B;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    line-height: 1.5;
}

 .cg-director-eyebrow::before {
     content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(19, 41, 75), rgb(236, 195, 31)) !important;
}
 .cg-director-eyebrow::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(19, 41, 75), rgb(236, 195, 31)) !important;
}

.cg-director-heading {
    margin: 0 0 14px;
    color: #13294B;
    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -1.3px;
}

.cg-director-heading span {
    color: #f1ba1a;
}

.cg-director-paragraph {
    margin: 0 0 20px;
    color: rgb(19, 41, 75) !important;
    font-size: 15px;
    line-height: 1.85;
}

/* ===== SINGLE DIRECTOR IMAGE ===== */

.cg-director-signature {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-top: 28px;
}

/* Supports the image directly inside the signature wrapper */
.cg-director-signature-image {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: left center;

    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

/* Also supports the image inside .cg-director-details */
.cg-director-details {
    min-width: 0;
    width: 100%;
}

/* Hide separate photo if old HTML still contains it */
.cg-director-photo {
    display: none !important;
}

/* Hide separate name/role if included in the image */
.cg-director-name,
.cg-director-role {
    display: none;
}

/* ===== TABLET ===== */

@media (max-width: 1024px) {

    .cg-director-section {
        padding: 65px 24px;
    }

    .cg-director-container {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 20px;
    }

    .cg-director-visual {
        min-height: 380px;
    }

    .cg-director-heading {
        font-size: 35px;
    }

    .cg-director-paragraph {
        font-size: 14px;
    }

    .cg-director-signature-image {
        max-width: 320px;
    }
}

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

@media (max-width: 767px) {

    .cg-director-section {
        padding: 48px 20px;
    }

    .cg-director-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cg-director-visual {
        min-height: 300px;
    }

    .cg-director-illustration {
        max-height: 330px;
    }

   .cg-director-heading {
    font-size: 32px;
    letter-spacing: -0.7px;
    text-align: center;
}

    .cg-director-paragraph {
        font-size: 14px;
        line-height: 1.8;
        text-align:center;
    }

    .cg-director-signature {
        margin-top: 22px;
        justify-content: center;
        width: 100%;
    }

    .cg-director-signature-image {
        max-width: 300px;
    }
}

/* ===== ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {
    .cg-director-section * {
        scroll-behavior: auto;
    }
}
/* =========================================================
   CODEGEMS ABOUT STORY
   REFERENCE-MATCHED DARK NAVY DESIGN
========================================================= */

.cg-about-story {
    width: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;

   

    padding: 60px 50px;
}


/* =========================================================
   INNER CONTAINER
========================================================= */

.cg-about-story-inner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 0 35px;

    box-sizing: border-box;
}


/* =========================================================
   HEADING
========================================================= */

.cg-about-story-heading {
    width: 100%;

    text-align: center;

    margin-bottom: 48px;
}


/* SMALL LABEL */

.cg-about-eyebrow {
       display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    justify-content: center;
    margin-bottom: 17px;
}
.cg-about-eyebrow::before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(255, 255, 255), rgb(245, 197, 66)) !important;
}

.cg-about-eyebrow::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(245, 197, 66), rgb(255, 255, 255)) !important;
}

/* MAIN HEADING */

.cg-about-story-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 58px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.8px;
}

.cg-about-story-heading h2 span {
    color: #f1ba1a;
}

/* TAGLINE */

.cg-about-tagline {
    margin: 12px 0 0;

    color: rgba(255,255,255,0.92);

    font-size: 16px;

    line-height: 1.55;

    font-weight: 400;
}


/* GOLD LINE */

.cg-about-heading-line {
    display: block;

    width: 50px;

    height: 3px;

    margin: 18px auto 0;

    background: #f5c542;

    border-radius: 20px;

    box-shadow:
        0 0 14px rgba(245,197,66,0.18);
}


/* =========================================================
   CONTENT
========================================================= */

.cg-about-story-content {
    width: 100%;

    max-width: 1060px;

    margin: 0 auto;
}


/* TOP PARAGRAPHS */

.cg-about-story-content > p {
    margin: 0 0 11px;

    color: #fff;

    font-size: 15.5px;

    line-height: 1.72;

    font-weight: 400;

    letter-spacing: 0.1px;
}


/* =========================================================
   LOWER AREA
========================================================= */

.cg-about-lower-area {
    width: 100%;

    position: relative;

    min-height: 365px;

    margin-top: 14px;

    box-sizing: border-box;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.cg-about-left-details {
    width: 57%;

    position: relative;

    z-index: 3;
}


/* =========================================================
   FINAL PARAGRAPH
========================================================= */

.cg-about-final-copy {
    width: 100%;

    margin-bottom: 34px;
}

.cg-about-final-copy p {
    margin: 0;

    color: rgba(255,255,255,0.86);

    font-size: 15.5px;

    line-height: 1.72;

    letter-spacing: 0.1px;
}


/* =========================================================
   DETAILS GRID
   EXACTLY 2 COLUMNS × 3 ROWS
========================================================= */

.cg-about-details-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    column-gap: 35px;

    row-gap: 25px;

    box-sizing: border-box;
}


/* =========================================================
   DETAIL ITEM
========================================================= */

.cg-about-detail {
    min-width: 0;

    display: flex;

    align-items: center;

    box-sizing: border-box;
}


/* =========================================================
   ICON BOX
========================================================= */

.cg-detail-icon {
    width: 62px;

    height: 62px;

    flex: 0 0 62px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.07),
            rgba(255,255,255,0.025)
        );

    border: 1px solid rgba(255,255,255,0.14);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 7px 20px rgba(0,0,0,0.15);

    overflow: hidden;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


/* ICON BACKGROUND GLOW */

.cg-detail-icon::before {
    content: "";

    position: absolute;

    width: 42px;
    height: 42px;

    left: 50%;
    top: 50%;

    transform: translate(-50%,-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(245,197,66,0.09),
            transparent 70%
        );
}


/* SVG */

.cg-detail-icon svg {
    width: 30px;

    height: 30px;

    position: relative;

    z-index: 2;

    display: block;

    stroke: #f1ba1a;

    transition: transform .3s ease;
}


/* HOVER */

.cg-about-detail:hover .cg-detail-icon {
    transform: translateY(-3px);

    border-color:
        rgba(245,197,66,0.35);

    box-shadow:
        0 12px 25px rgba(0,0,0,0.2),
        0 0 18px rgba(245,197,66,0.07);
}

.cg-about-detail:hover .cg-detail-icon svg {
    transform: scale(1.06);
}


/* =========================================================
   DETAIL TEXT
========================================================= */

.cg-detail-text {
    min-width: 0;

    margin-left: 14px;

    display: flex;

    flex-direction: column;
}


/* LABEL */

.cg-detail-label {
    display: block;

    margin-bottom: 5px;

    color: #fff;

    font-size: 10.5px;

    line-height: 1.3;

    font-weight: 600;

    letter-spacing: 0.45px;

    text-transform: uppercase;
}


/* VALUE */

.cg-detail-text strong {
    display: block;

    color: #ffffff;

    font-size: 17px;

    line-height: 1.35;

    font-weight: 500;
}


/* =========================================================
   RIGHT ILLUSTRATION
   DESKTOP = SAME POSITION AS REFERENCE
========================================================= */

.cg-about-image {
    position: absolute;

    top: -5px;

    right: -5px;

    width: 55%;

    height: 365px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

    z-index: 2;

    pointer-events: none;
}


/* IMAGE GLOW */

.cg-about-image-glow {
    position: absolute;

    width: 310px;

    height: 310px;

    left: 50%;

    top: 52%;

    transform: translate(-50%,-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(38,101,215,0.20) 0%,
            rgba(38,101,215,0.07) 45%,
            transparent 72%
        );

    filter: blur(20px);

    z-index: 0;
}


/* ACTUAL ILLUSTRATION */

.cg-about-image img {
    position: relative;

    z-index: 2;

    display: block;

    width: 100%;

    max-width: 560px;

    height: auto;

    max-height: 365px;

    object-fit: contain;

    margin: 0 auto;

    filter:
        drop-shadow(
            0 20px 30px rgba(0,0,0,0.18)
        );
}

@media (max-width: 950px) {
  .cg-about-story-heading h2 {
        font-size: 42px;
    }
}
/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .cg-about-story-inner {
        padding-left: 28px;
        padding-right: 28px;
    }

    .cg-about-story-heading h2 {
        font-size: 42px;
    }
     .cg-about-story-content > p{
       font-size: 14px !important;
}
   .cg-about-final-copy p{
       font-size: 14px !important;
}
    .cg-about-left-details {
        width: 58%;
    }

    .cg-about-image {
        width: 40%;

        right: 0;

        height: 350px;
    }

    .cg-about-image img {
        max-width: 360px;
    }
}


/* =========================================================
   TABLET / SMALL SCREEN
========================================================= */

@media (max-width: 800px) {

    .cg-about-lower-area {
        min-height: auto;
    }

    .cg-about-left-details {
        width: 100%;
    }

    .cg-about-image {
        position: relative;

        top: auto;

        right: 80px;

        width: 100%;

        height: 320px;

        pointer-events: none;
    }

    .cg-about-image img {
        max-width: 390px;
    }
}


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

@media (max-width: 650px) {

    .cg-about-story {
        padding: 48px 20px;
    }

    .cg-about-story-inner {
        padding: 0 20px;
    }

    .cg-about-story-heading {
        margin-bottom: 38px;
    }
    .cg-about-story-content {
    text-align: center !important;
}
    .cg-about-eyebrow {
        font-size: 13px;

        letter-spacing: 2px;
    }
     span.cg-director-eyebrow {
      justify-content: center !important;
        width: 100% !important;
      }
    .cg-about-story-heading h2 {
        font-size: 32px !important;

        line-height: 1.25;
    }

    .cg-about-tagline {
        font-size: 14px;
    }

    .cg-about-story-content > p,
    .cg-about-final-copy p {
        font-size: 14px;

        line-height: 1.7;
    }


    /* STATS */

    .cg-about-details-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));

        column-gap: 14px;

        row-gap: 22px;
    }

    .cg-detail-icon {
        width: 52px;

        height: 52px;

        flex-basis: 52px;

        border-radius: 13px;
    }

    .cg-detail-icon svg {
        width: 26px;

        height: 26px;
    }

    .cg-detail-text {
        margin-left: 9px;
    }

    .cg-detail-label {
        font-size: 12px;

        letter-spacing: .2px;
    }

    .cg-detail-text strong {
        font-size: 14px;
    }


    /* IMAGE */

    .cg-about-image {
        width: 100%;
        right: 50px;
        height: 280px;
    }

    .cg-about-image img {
        max-width: 330px;

        max-height: 280px;
    }

    .cg-about-image-glow {
        width: 230px;

        height: 230px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .cg-about-story-inner {
        padding-left: 16px;

        padding-right: 16px;
    }

    .cg-about-story-heading h2 {
        font-size: 25px;
    }
      span.cg-director-eyebrow {
      gap:6px !important;
      }
    .cg-about-details-grid {
        column-gap: 9px;

        row-gap: 20px;
    }

    .cg-detail-icon {
        width: 46px;

        height: 46px;

        flex-basis: 46px;
    }

    .cg-detail-icon svg {
        width: 23px;

        height: 23px;
    }

    .cg-detail-text {
        margin-left: 7px;
    }

    .cg-detail-label {
        font-size: 7px;
    }

    .cg-detail-text strong {
        font-size: 13px;
    }

    .cg-about-image {
        height: 240px;
    }

    .cg-about-image img {
        max-width: 290px;
    }
}


/* ================================
   CODEGEMS SERVICE PAGE
   ================================ */
/* =========================================================
   CODEGEMS SERVICES HERO
========================================================= */

.cg-services-hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    box-sizing: border-box;
     
    overflow: hidden;
    display: flex;
    align-items: center;
    background-image:
        url("https://codegemssolutions.com/Codegem/wp-content/uploads/2026/10/eeb390d2-23c7-45da-b06b-b0d9b4f20c59.png");

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    color: #ffffff;
}


/* =========================================================
   SUBTLE NAVY OVERLAY
========================================================= */

.cg-services-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(2, 8, 22, 0.15) 0%,
            rgba(2, 8, 22, 0.05) 45%,
            rgba(2, 8, 22, 0.30) 100%
        );
}


/* =========================================================
   INNER CONTAINER
========================================================= */

.cg-services-hero-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1200px;
     padding: 90px 30px;
    margin: 0 auto;

    box-sizing: border-box;

    display: flex;
    align-items: center;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.cg-services-hero-content {
    width: 62%;
    max-width: 760px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.cg-services-breadcrumb {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 24px;

    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.cg-services-breadcrumb span {
    color: rgba(255, 255, 255, 0.72);
}

.cg-services-breadcrumb .arrow {
    color: #F1BA1A;
    font-size: 18px;
    line-height: 1;
}

.cg-services-breadcrumb .current {
    color: #ffffff;
    font-weight: 600;
}


/* =========================================================
   HEADING
========================================================= */

.cg-services-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(48px, 5.2vw, 67px);
    line-height: 1.06;

    font-weight: 600;

    letter-spacing: -2.5px;
}

.cg-services-hero h1 span {
    display: block;

    margin-top: 2px;

    color: #f1ba1a !important;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.cg-services-hero p {
    max-width: 680px;

    margin: 0 0 12px;

    color: #fff;

    font-size: 16px;
    line-height: 1.8;

    font-weight: 400;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .cg-services-hero {
        min-height: auto;

        background-position:
            center center;
    }

    .cg-services-hero-inner {
        padding: 75px 30px;
    }

    .cg-services-hero-content {
        width: 100%;
    }

    .cg-services-hero h1 {
        font-size: clamp(44px, 6vw, 58px);
    }

    .cg-services-hero p {
        font-size: 15px;
    }
}


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

@media (max-width: 480px) {

    .cg-services-hero {
        min-height: auto;
    }

     .cg-services-hero-inner {
        padding: 60px 22px 70px;
     }

    .cg-services-breadcrumb {
        font-size: 12px;
        gap: 10px;
    }

    .cg-services-hero h1 {
        font-size: 36.8px;
	text-align: center;
    }

    .cg-services-hero p {
        font-size: 14px;
	text-align: center;
    }
}

/* =========================================================
   SERVICES INTRO
========================================================= */

.cg-services-intro {
    position: relative;
    padding: 60px 50px;
    background: #ffffff;
    overflow: hidden;
}


/* subtle background detail */

.cg-services-intro::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    right: -220px;
    top: -180px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255, 196, 0, 0.10) 0%,
        rgba(255, 196, 0, 0) 70%
    );

    pointer-events: none;
}


/* left-bottom subtle blue glow */

.cg-services-intro::after {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    left: -180px;
    bottom: -170px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(19, 41, 75, 0.07) 0%,
        rgba(19, 41, 75, 0) 70%
    );

    pointer-events: none;
}


/* =========================================================
   INNER
========================================================= */

.cg-services-intro-inner {
    position: relative;
    z-index: 2;

    max-width: 1080px;
    margin: 0 auto;

    text-align: center;
}


/* =========================================================
   LABEL
========================================================= */


.cg-services-intro-label {
  display: inline-flex;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.6px !important;
    line-height: 1 !important;
    color: #13294B !important;
    text-transform: uppercase !important;
}
.cg-services-intro-label::before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #13294B, #ECC31F) !important;
}
.cg-services-intro-label::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #13294B, #ECC31F) !important;
}


/* =========================================================
   HEADING
========================================================= */

.cg-services-intro h2 {
    max-width: 900px;

    margin: 0 auto;

    color: #13294B;

    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 1.08;

    font-weight: 600;

    letter-spacing: -1.8px;
}

.cg-services-intro h2 span {
    display: block;

    color: #f1ba1a !important;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.cg-services-intro p {
    max-width: 700px;

    margin: 27px auto 0;

    color: #13294B;

    font-size: 16px;
    line-height: 1.8;

    font-weight: 400;
}


/* =========================================================
   SERVICE POINTS
========================================================= */

.cg-services-intro-points {
    max-width: 850px;

    margin: 55px auto 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid rgba(19, 41, 75, 0.13);
    border-bottom: 1px solid rgba(19, 41, 75, 0.13);
}


/* individual point */

.cg-services-intro-point {
    min-height: 72px;

    padding: 20px 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    box-sizing: border-box;
}


/* vertical separators */

.cg-services-intro-point + .cg-services-intro-point {
    border-left: 1px solid rgba(19, 41, 75, 0.13);
}


/* numbers */

.cg-services-intro-point strong {
    color: #f1ba1a !important;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.5px;
}


/* text */

.cg-services-intro-point span {
    color: #13294B;

    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   HOVER
========================================================= */

.cg-services-intro-point {
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.cg-services-intro-point:hover {
    background: rgba(19, 41, 75, 0.025);
}

@media screen and (max-width:1024px){
.cg-services-intro h2 {
   
    font-size:42px !important;
}
}
/* =========================================================
   TABLET
========================================================= */

@media (max-width: 767px) {

    .cg-services-intro {
        padding: 48px 20px;
    }

    .cg-services-intro h2 {
        font-size: clamp(36px, 8vw, 48px);
        letter-spacing: -1px;
    }

    .cg-services-intro p {
        font-size: 15px;
        line-height: 1.7;
    }

    .cg-services-intro-points {
        margin-top: 45px;
    }

    .cg-services-intro-point {
        padding: 18px 12px;
        flex-direction: column;
        gap: 5px;
    }

    .cg-services-intro-point span {
        font-size: 16px;
    }
    .cg-services-intro-point strong {
    font-size: 16px;
}
}


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

@media (max-width: 520px) {

    .cg-services-intro {
        padding: 48px 20px;
    }

    .cg-services-intro-top {
        margin-bottom: 18px;
    }

    .cg-services-intro-label {
         width:100% !important;
         justify-content:center;
    }

    .cg-services-intro-line {
        width: 30px;
    }

    .cg-services-intro h2 {
        font-size: 32px !important;
        line-height: 1.1;
    }

    .cg-services-intro p {
        margin-top: 22px;
        font-size: 14px;
    }

    .cg-services-intro-points {
        grid-template-columns: 1fr;

        margin-top: 38px;
    }

    .cg-services-intro-point {
        min-height: auto;
        padding: 16px 10px;

        flex-direction: row;
        justify-content: flex-start;
    }

    .cg-services-intro-point + .cg-services-intro-point {
        border-left: none;
        border-top: 1px solid rgba(19, 41, 75, 0.13);
    }
}

/* =========================================
   CODEGEMS - SERVICES SECTION
========================================= */

.cg-services-list {
    position: relative;
    width: 100%;
    padding: 60px 50px;
    box-sizing: border-box;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(30, 82, 150, 0.16),
            transparent 35%
        ),
        linear-gradient(135deg, #050b18 0%, #07152b 55%, #081a35 100%);
    color: #ffffff;
}

.cg-services-list *,
.cg-services-list *::before,
.cg-services-list *::after {
    box-sizing: border-box;
}

.cg-services-list-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */

.cg-services-list-header {
    max-width: 760px;
    margin: 0 auto 58px;
    text-align: center;
}

.cg-services-list-label {
 display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    justify-content: center;
    margin-bottom: 17px;
}

.cg-services-list-label::before,
.cg-services-list-label::after {
        content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(255, 255, 255), rgb(245, 197, 66)) !important;
}

.cg-services-list-header h2 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(42px, 4vw, 58px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.cg-services-list-header h2 span {
    color: #ffc928;
}

.cg-services-list-header p {
    max-width: 660px;
    margin: 0 auto;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
}

/* SERVICES GRID */

.cg-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* SERVICE CARD */

.cg-services-list .cg-service-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
    min-height: 190px;
    padding: 30px 25px;
    overflow: hidden;

    background: linear-gradient(
        145deg,
        rgba(15, 35, 64, 0.94),
        rgba(8, 23, 44, 0.96)
    );

    border: 1px solid rgba(149, 177, 215, 0.15);
    border-radius: 14px;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

/* Subtle yellow top line */

.cg-services-list .cg-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25px;
    width: 0;
    height: 2px;
    background: #ffc928;
    transition: width 0.35s ease;
}

/* Hover */

.cg-services-list .cg-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 201, 40, 0.48);
    background: linear-gradient(
        145deg,
        rgba(19, 44, 78, 0.98),
        rgba(9, 27, 51, 0.98)
    );
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.cg-services-list .cg-service-card:hover::before {
    width: 55px;
}

/* ICON */

.cg-services-list .cg-service-icon {
    position: relative;
    display: flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;

    color: #ffc928;
    background: rgba(255, 201, 40, 0.08);
    border: 1px solid rgba(255, 201, 40, 0.24);
    border-radius: 12px;

    font-size: 23px;
    line-height: 1;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.cg-services-list .cg-service-icon span {
    display: inline-block;
    color: inherit;
    font-size: inherit;
    line-height: 1;
}

.cg-services-list .cg-service-card:hover .cg-service-icon {
    background: rgba(255, 201, 40, 0.15);
    border-color: rgba(255, 201, 40, 0.55);
    transform: scale(1.05);
}

/* CONTENT */

.cg-services-list .cg-service-content {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 2px 0 0;
}

.cg-services-list .cg-service-content h3 {
    margin: 0 0 12px;
    padding: 0;
    color: #ffffff;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.cg-services-list .cg-service-content p {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {
    .cg-services-list {
        padding: 80px 24px;
    }

    .cg-services-list-header {
        margin-bottom: 42px;
    }

    .cg-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .cg-services-list .cg-service-card {
        min-height: 180px;
        padding: 26px 22px;
        gap: 17px;
    }

    .cg-services-list .cg-service-content h3 {
        font-size: 18px;
    }
}

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

@media (max-width: 600px) {
    .cg-services-list {
        padding: 48px 20px;
    }

    .cg-services-list-header {
        margin-bottom: 32px;
    }

    .cg-services-list-label {
        margin-bottom: 15px;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .cg-services-list-label::before,
    .cg-services-list-label::after {
        width: 17px;
    }

    .cg-services-list-header h2 {
        margin-bottom: 16px;
        font-size: 36px;
        line-height: 1.2;
        letter-spacing: -0.8px;
    }

    .cg-services-list-header p {
        font-size: 14px;
        line-height: 1.8;
    }

    .cg-services-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .cg-services-list .cg-service-card {
        min-height: auto;
        padding: 23px 20px;
        gap: 16px;
        border-radius: 12px;
    }

    .cg-services-list .cg-service-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        font-size: 20px;
    }

    .cg-services-list .cg-service-content {
        padding-top: 1px;
    }

    .cg-services-list .cg-service-content h3 {
        margin-bottom: 8px;
        font-size: 17px;
        line-height: 1.4;
    }

    .cg-services-list .cg-service-content p {
        font-size: 13px;
        line-height: 1.75;
    }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .cg-services-list .cg-service-card,
    .cg-services-list .cg-service-icon,
    .cg-services-list .cg-service-card::before {
        transition: none;
    }

    .cg-services-list .cg-service-card:hover,
    .cg-services-list .cg-service-card:hover .cg-service-icon {
        transform: none;
    }
}



/* =========================================================
   CODEGEMS — SERVICE INNER PAGE
   UPDATED COMPLETE CSS
========================================================= */

.cg-service-page {

    --cg-navy: #050D20;
    --cg-navy-2: #071B3A;
    --cg-blue: #2E6FD6;
    --cg-yellow: #FFC928;

    --cg-white: #FFFFFF;
    --cg-light: #F5F8FC;
    --cg-border: #E3E9F1;

    --cg-text: #071B3A;
    --cg-muted: #66758C;

    width: 100%;
    margin: 0;
    padding: 0;

    overflow: hidden;
}

.cg-service-page *,
.cg-service-page *::before,
.cg-service-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   COMMON CONTAINER
========================================================= */

.cg-service-page .cg-container {

    width: min(1200px, calc(100% - 100px));

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   COMMON RESET
========================================================= */

.cg-service-page h1,
.cg-service-page h2,
.cg-service-page h3,
.cg-service-page p {
    margin-top: 0;
}

.cg-service-page img {
    max-width: 100%;
}


/* =========================================================
   COMMON LABEL
========================================================= */

.cg-service-label {
    display: inline-flex;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.6px !important;
    line-height: 1 !important;
    color: #13294B !important;
    text-transform: uppercase !important;
}

.cg-service-label::before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #13294B, #ECC31F) !important;
}
.cg-service-label::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #13294B, #ECC31F) !important;
}
.cg-label-dark {
    color: #D7A500;
}

.cg-label-dark::before {
    background: #D7A500;
}


/* =========================================================
   Service main image
========================================================= */

.cg-service-hero {

    position: relative;

    width: 100%;
    min-height: 600px;

    display: flex;
    align-items: center;

    color: #ffffff;

    overflow: hidden;
}

.cg-service-hero.has-background-image {
    background-image: var(--cg-hero-image) !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Decorative circle */

.cg-service-hero::after {

    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    right: -300px;
    top: -260px;

    border-radius: 50%;

    border: 1px solid rgba(46,111,214,0.15);

    box-shadow:
        0 0 0 80px rgba(46,111,214,0.025),
        0 0 0 160px rgba(46,111,214,0.018);

    pointer-events: none;

    z-index: 1;
}


/* Hero inner */

.cg-service-hero-inner {

    position: relative;

    z-index: 2;

    width: 100%;
    padding: 90px 30px;
    min-height: 620px;

    display: flex;

    align-items: center;

    justify-content: flex-start;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.cg-service-hero-content {

    width: 68%;
    max-width: 780px;
}

.cg-service-hero h1 {

    margin: 0 0 20px;

    max-width: 780px;

    color: #ffffff;

    font-size: clamp(48px, 5.3vw, 67px);

    line-height: 1.02;

    font-weight: 600;

    letter-spacing: -2.8px;
}
span.sub-service {
    color: #f1ba1a !important;
}
.cg-service-hero p {

    max-width: 650px;

    margin: 0 0 12px;

    color: #fff;

    font-size: 16px;

    line-height: 1.8;
}


/*
   Hero image element hidden because
   ACF image is being used as background.
*/

.cg-service-hero-image {
    display: none !important;
}


/* =========================================================
   02 — INTRO
   WHITE
========================================================= */

.cg-service-intro {

    position: relative;

    width: 100%;

    padding: 60px 50px;

    background: #ffffff !important;

    color: var(--cg-text);

    overflow: hidden;
}




/* Intro grid */

.cg-service-intro-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    gap: 95px;

    align-items: center;
}


/* No image */

.cg-service-intro-grid.no-image {
    grid-template-columns: 1fr;
}


/* Intro image */

.cg-service-intro-image {

    display: flex;

    align-items: center;
    justify-content: center;
}

.cg-service-intro-image img {

    width: 100%;

    max-width: 510px;

    height: auto;

    display: block;

    object-fit: contain;
}


/* Intro content */

.cg-service-intro-content {
    max-width: 650px;
}
span.cg-intro-label.cg-label-dark{
    display: inline-flex;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.6px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
}
.cg-intro-label::before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #FFFFFF, #F5C542) !important;
}
.cg-intro-label::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #FFFFFF, #F5C542) !important;
}
.cg-service-intro h2 {

     margin: 0 0 25px;
    font-size: 46px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: #13294B !important;
}

.cg-service-description {

    color: #13294B !important;

    font-size: 15px;

    line-height: 1.85;
}

.cg-service-description p {
    margin: 0 0 14px;
}


/* =========================================================
   03 — WHAT WE OFFER
   NAVY
========================================================= */

.cg-service-offerings {

    position: relative;

    width: 100%;

    padding: 60px 50px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(46,111,214,0.12) 0%,
            transparent 42%
        ),
        #050D20 !important;

    overflow: hidden;
}



/* =========================================================
   OFFERING HEADER
========================================================= */

.cg-service-offerings-heading {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(300px, .85fr);

    gap: 80px;

    align-items: end;

    margin-bottom: 58px;
}

.cg-service-offerings-title {
    max-width: 700px;
}

.cg-service-offerings h2 {

    margin: 0;

    color: #ffffff;

    font-size: clamp(40px, 4vw, 58px);

    line-height: 1.04;

    font-weight: 600;

    letter-spacing: -2px;
}

.cg-service-offerings-description {

    max-width: 500px;

    color: #fff;

    font-size: 15px;

    line-height: 1.8;
}

.cg-service-offerings-description p {
    margin: 0;
}


/* =========================================================
   SERVICE CARDS
========================================================= */

.cg-service-cards {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}

.cg-service-card {

    position: relative;

    min-height: 285px;

    padding: 30px 27px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.018)
        );

    border: 1px solid rgba(255,255,255,0.10);

    border-top: 2px solid rgba(255,201,40,0.8);

    border-radius: 6px;

    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.cg-service-card:hover {

    transform: translateY(-8px);

    background:
        linear-gradient(
            145deg,
            rgba(46,111,214,0.13),
            rgba(255,255,255,0.035)
        );

    border-color: rgba(255,201,40,0.45);

    box-shadow:
        0 20px 45px rgba(0,0,0,0.20);
}


/* Number */

.cg-service-card-number {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-bottom: 38px;

    border: 1px solid rgba(255,201,40,0.60);

    border-radius: 50%;

    color: var(--cg-yellow);

    font-size: 11px;

    font-weight: 700;
}

.cg-service-card h3 {

    margin: 0 0 13px;

    color: #ffffff;

    font-size: 19px;

    line-height: 1.3;

    font-weight: 700;
}

.cg-service-card p {

    margin: 0;

    color: #fff;

    font-size: 13px;

    line-height: 1.75;
}



/* =========================================================
   CODEGEMS — SHOPIFY FEATURE INFOGRAPHIC
   Compact layout | Navy + White + Yellow
========================================================= */

.cg-shopify-feature {
    --sf-navy: #07152F;
    --sf-blue: #245AA8;
    --sf-yellow: #FFC400;
    --sf-white: #FFFFFF;

    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 60px 50px;
    overflow: hidden;
    color: var(--sf-navy);
    background:
        radial-gradient(
            ellipse at 72% 50%,
            rgba(46, 111, 214, 0.14),
            transparent 62%
        ),
        #FFFFFF;
}

.cg-shopify-feature,
.cg-shopify-feature * {
    box-sizing: border-box;
}

.cg-shopify-feature .cg-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* Main columns */

.cg-shopify-feature .cg-service-feature-grid {
    display: block;
    align-items: center;
    gap: 35px;
    min-width: 0;
}

/* Intro */

.cg-shopify-feature .cg-service-feature-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: center;
}

.cg-shopify-feature .cg-service-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--sf-navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.cg-shopify-feature .cg-service-label::before,
.cg-shopify-feature .cg-service-label::after {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--sf-yellow);
}

.cg-shopify-feature .cg-service-feature-content h2 {
    margin: 0 0 20px;
    color: var(--sf-navy);
    font-size: 58px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -1.5px;
    overflow-wrap: normal;
}

.cg-shopify-feature .cg-service-feature-content h2 span {
    color: #E9AD00;
}

.cg-shopify-feature .cg-feature-description {
    max-width: 450px;
    margin: 0;
    color: #355171;
    font-size: 15px;
    line-height: 1.85;
}

/* Infographic area */

.cg-shopify-feature .cg-shopify-infographic {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(125px, 0.72fr) minmax(0, 1fr);
    grid-template-rows: repeat(3, minmax(145px, auto));
    align-items: center;
    column-gap: 10px;
    row-gap: 12px;
    width: 100%;
    min-width: 0;
    padding: 12px 0;
}

/* Feature list occupies the left and right columns */

.cg-shopify-feature .cg-shopify-feature-list {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 1 / 4;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: subgrid;
    align-items: center;
    gap: 30px 41%;
    min-width: 0;
}

/* Each feature item is compact */

.cg-shopify-feature .cg-shopify-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.cg-shopify-feature .cg-shopify-feature-item:nth-child(odd) {
    grid-column: 1;
}

.cg-shopify-feature .cg-shopify-feature-item:nth-child(even) {
    grid-column: 2;
}

/* Icon */

.cg-shopify-feature .cg-shopify-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--sf-yellow);
    border-radius: 50%;
    background: var(--sf-navy);
    color: var(--sf-yellow);
    font-size: 19px;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(7, 21, 47, 0.12);
}

/* Feature text */

.cg-shopify-feature .cg-shopify-feature-copy {
    min-width: 0;
    padding-top: 2px;
}

.cg-shopify-feature .cg-shopify-feature-copy h3 {
    margin: 0 0 7px;
    color: var(--sf-navy);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.cg-shopify-feature .cg-shopify-feature-copy p {
    margin: 0;
    color: #355B8A;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* Central image */

.cg-shopify-feature .cg-shopify-center-image {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34%;
    max-width: 270px;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cg-shopify-feature .cg-shopify-image-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.cg-shopify-feature .cg-shopify-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

/* Yellow dotted connectors */

.cg-shopify-feature .cg-shopify-connectors {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.cg-shopify-feature .cg-shopify-connectors path {
    fill: none;
    stroke: var(--sf-yellow);
    stroke-width: 1.6;
    stroke-dasharray: 4 6;
    stroke-linecap: round;
}

.cg-shopify-feature .cg-shopify-connectors circle {
    fill: var(--sf-yellow);
}

/* Tablet */

@media (max-width: 1100px) {
    .cg-shopify-feature {
        padding: 60px 25px;
    }

    .cg-shopify-feature .cg-service-feature-grid {
        grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
        gap: 22px;
    }

    .cg-shopify-feature .cg-shopify-infographic {
        grid-template-rows: repeat(3, minmax(165px, auto));
    }

    .cg-shopify-feature .cg-shopify-feature-list {
        gap: 15px 24%;
    }

    .cg-shopify-feature .cg-shopify-feature-item {
        gap: 8px;
    }

    .cg-shopify-feature .cg-shopify-feature-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .cg-shopify-feature .cg-shopify-feature-copy h3 {
        font-size: 12px;
    }

    .cg-shopify-feature .cg-shopify-feature-copy p {
        font-size: 11px;
    }

    .cg-shopify-feature .cg-shopify-center-image {
        width: 32%;
    }
}

/* Mobile: stack content, image and feature list */

@media (max-width: 767px) {
    .cg-shopify-feature {
        padding: 48px 20px;
    }

    .cg-shopify-feature .cg-service-feature-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }

    .cg-shopify-feature .cg-service-feature-content {
        max-width: none;
    }

    .cg-shopify-feature .cg-service-feature-content h2 {
        font-size: clamp(32px, 7vw, 42px);
        letter-spacing: -1px;
    }

    .cg-shopify-feature .cg-feature-description {
        font-size: 14px;
    }

    .cg-shopify-feature .cg-shopify-infographic {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .cg-shopify-feature .cg-shopify-connectors {
        display: none;
    }

    .cg-shopify-feature .cg-shopify-center-image {
        position: relative;
        top: auto;
        left: auto;
        width: min(100%, 320px);
        max-width: none;
        margin: 0 auto;
        transform: none;
    }

    .cg-shopify-feature .cg-shopify-feature-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 22px 16px;
    }

    .cg-shopify-feature .cg-shopify-feature-item,
    .cg-shopify-feature .cg-shopify-feature-item:nth-child(n) {
        grid-column: auto;
    }

    .cg-shopify-feature .cg-shopify-feature-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .cg-shopify-feature .cg-shopify-feature-copy h3 {
        font-size: 13px;
    }

    .cg-shopify-feature .cg-shopify-feature-copy p {
        font-size: 12px;
    }
}

/* Small mobile */

@media (max-width: 480px) {
    .cg-shopify-feature {
        padding: 40px 18px;
    }

    .cg-shopify-feature .cg-shopify-feature-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .cg-shopify-feature .cg-shopify-feature-item {
        padding-bottom: 16px;
        border-bottom: 1px solid #E2E8F0;
    }

    .cg-shopify-feature .cg-shopify-feature-copy h3 {
        font-size: 14px;
    }

    .cg-shopify-feature .cg-shopify-feature-copy p {
        font-size: 12px;
    }
}

/* =========================================================
   TABLET — 1024px
========================================================= */

@media (max-width: 1024px) {

    .cg-service-page .cg-container {

        width:  100%;
    }


    /* HERO */

    .cg-service-hero,
    .cg-service-hero-inner {

        min-height: 560px;
    }

    .cg-service-hero-content {

        width: 75%;
    }


    /* INTRO */

    .cg-service-intro {

        padding: 64px 22px;
    }
    .cg-service-intro h2 {
    font-size: 40px !important;
}
    .cg-service-intro-grid {

        gap: 55px;
    }


    /* SERVICES */

    .cg-service-offerings {

        padding: 64px 22px;
    }

    .cg-service-offerings-heading {

        grid-template-columns: 1fr .8fr;

        gap: 45px;
    }

    .cg-service-cards {

        grid-template-columns:
            repeat(2, 1fr);
    }


    /* FEATURE */

    .cg-service-feature {

        padding: 64px 22px;
    }
    .cg-service-feature-content {
    text-align: center;
}
.cg-service-feature h2, .cg-feature-description {
    max-width: 100%;
}
    .cg-service-feature-grid,
    .cg-service-feature-grid.has-image {

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .cg-service-feature-image {

        height: 420px;

        order: 2;
    }
}
@media (max-width: 991px) {
.cg-container.cg-service-hero-inner  {
    padding: 75px 30px;
}
}
/* =========================================================
   MOBILE — 767px
========================================================= */

@media (max-width: 767px) {
.cg-service-page .cg-container{
   text-align:center !important;
}
.cg-container.cg-service-hero-inner {
    padding: 0px;
 
      }


    /* HERO */

    .cg-service-hero {

        min-height: auto !important;
     
        padding: 60px 22px 70px;
    }

    .cg-service-hero-inner {

        min-height: auto;

        display: block;
    }

    .cg-service-hero-content {

        width: 100%;

        padding: 0;
    }

    .cg-service-hero h1 {

        font-size: 37px;

        letter-spacing: -1.8px;
        text-align:center;
    }

    .cg-service-hero h2 {

        font-size: 25px;
    }

    .cg-service-hero p {

        font-size: 14px;

        line-height: 1.75;
        text-align:center;
    }


    /* INTRO */

    .cg-service-intro {

        padding: 48px 20px;
    }

    .cg-service-intro-grid {

        grid-template-columns: 1fr;

        gap: 45px;
    }

    .cg-service-intro-image {

        order: 2;
    }

    .cg-service-intro-content {
       text-align:center;
        order: 1;
    }

    .cg-service-intro h2 {

        font-size: 40px;

        letter-spacing: -1.2px;
    }


    /* SERVICES */

    .cg-service-offerings {

        padding: 75px 0 85px;
    }

    .cg-service-offerings-heading {

        grid-template-columns: 1fr;

        gap: 25px;

        margin-bottom: 40px;
    }

    .cg-service-offerings h2 {

        font-size: 40px;

        letter-spacing: -1.2px;
    }

    .cg-service-cards {

        grid-template-columns: 1fr;

        gap: 15px;
    }

    .cg-service-card {

        min-height: auto;

        padding: 27px 24px;
    }


    /* FEATURE */

    .cg-service-feature {

        padding: 75px 0;
    }

    .cg-service-feature-grid,
    .cg-service-feature-grid.has-image {

        grid-template-columns: 1fr;

        gap: 42px;
    }

    .cg-service-feature-grid.no-image {

        display: block !important;
    }

    .cg-service-feature h2 {

        font-size: 37px;

        letter-spacing: -1.2px;
    }

    .cg-feature-description {

        font-size: 14px;

        margin-bottom: 28px;
    }

    .cg-feature-points {

        grid-template-columns: 1fr;

        gap: 13px;
    }

    .cg-feature-point {

        min-height: auto;

        padding: 22px;
    }


    /* FEATURE IMAGE */

    .cg-service-feature-image {

        height: 350px;

        order: 2;
    }

    .cg-feature-image-frame {

        width: 100%;
        height: 100%;
    }

    .cg-feature-image-frame img {

        width: 100%;
        height: 100%;

        object-fit: contain;

        object-position: center center;
    }
}


/* =========================================================
   SMALL MOBILE — 480px
========================================================= */

@media (max-width: 480px) {

    .cg-container.cg-service-hero-inner {
    padding: 0px;
      }
   

    .cg-service-hero {

       min-height: auto !important;
     
        padding: 60px 22px 70px;
    }

    .cg-service-hero h1 {

        font-size: 37px;
        text-align:center;
        letter-spacing: -1.3px;
    }

    .cg-service-hero h2 {

        font-size: 22px;
    }


    .cg-service-intro,
    .cg-service-offerings,
    .cg-service-feature {

        padding: 48px 20px;
    }


    .cg-service-intro h2,
    .cg-service-offerings h2,
    .cg-service-feature h2 {

        font-size: 37px;
    }


    .cg-service-label {

        font-size: 13px !important;

        letter-spacing: 1.3px !important;
        text-align:center;
    }


    .cg-service-card {

        padding: 24px 21px;
    }


    .cg-service-card-number {

        margin-bottom: 28px;
    }


    .cg-service-feature-image {

        height: 290px;
    }


    .cg-feature-image-decoration {

        inset: 8px;

        border-radius: 9px;
    }
}
/* =========================================
   CODEGEMS — SELECTED PROJECTS V2
   Fully scoped CSS
========================================= */

#cgsp-projects-v2 {
    position: relative;
    isolation: isolate;
    width: 100%;
    margin: 0;
    overflow: hidden;
    box-sizing: border-box;
    background: linear-gradient(135deg, #07152f 0%, #091d3d 55%, #061329 100%);
    color: #ffffff;
}

#cgsp-projects-v2,
#cgsp-projects-v2 *,
#cgsp-projects-v2 *::before,
#cgsp-projects-v2 *::after {
    box-sizing: border-box;
}

/* CONTAINER */

#cgsp-projects-v2 .cgsp-projects-v2__container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding:60px 50px;
    margin: 0 auto;
}

/* SECTION HEADER */

#cgsp-projects-v2 .cgsp-projects-v2__header {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 52px;
    padding: 0;
    text-align: center;
}

#cgsp-projects-v2 .cgsp-projects-v2__eyebrow {
        display: inline-flex;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.6px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
}
.cgsp-projects-v2__eyebrow::before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #FFFFFF, #F5C542) !important;
}
.cgsp-projects-v2__eyebrow::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #FFFFFF, #F5C542) !important;
}
#cgsp-projects-v2 .cgsp-projects-v2__heading {
   display: block !important;
    width: 100% !important;
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
    color: #FFFFFF !important;
    font-size: 58px ;
    line-height: 1.08 !important;
    font-weight: 600 !important;
    letter-spacing: -1.8px !important;
    text-align: center !important;
}

#cgsp-projects-v2 .cgsp-projects-v2__intro {
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

/* PROJECT GRID */

#cgsp-projects-v2 .cgsp-projects-v2__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* PROJECT CARD */

#cgsp-projects-v2 .cgsp-projects-v2__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 177, 220, 0.17);
    border-radius: 18px;
    background: linear-gradient(160deg, #10274a 0%, #0a1b35 100%);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

#cgsp-projects-v2 .cgsp-projects-v2__card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 201, 40, 0.55);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

/* PROJECT IMAGE */

#cgsp-projects-v2 .cgsp-projects-v2__media {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 255px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #102342;
}

#cgsp-projects-v2 .cgsp-projects-v2__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(3, 12, 27, 0.02) 35%,
        rgba(3, 12, 27, 0.55) 100%
    );
}

#cgsp-projects-v2 .cgsp-projects-v2__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

#cgsp-projects-v2 .cgsp-projects-v2__card:hover
.cgsp-projects-v2__image {
    transform: scale(1.045);
}

/* IMAGE PLACEHOLDER */

#cgsp-projects-v2 .cgsp-projects-v2__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 20px;
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 201, 40, 0.12), transparent 45%),
        linear-gradient(135deg, #122b50, #07152d);
}

#cgsp-projects-v2 .cgsp-projects-v2__placeholder span {
    display: inline-block;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid rgba(255, 201, 40, 0.4);
    border-radius: 6px;
    color: #ffc928;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* PROJECT NUMBER */

#cgsp-projects-v2 .cgsp-projects-v2__number {
    position: absolute;
    top: 17px;
    left: 17px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(5, 16, 35, 0.76);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(8px);
}

/* ACCENT LINE */

#cgsp-projects-v2 .cgsp-projects-v2__accent-line {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: block;
    width: 42px;
    height: 2px;
    margin: 0;
    padding: 0;
    background: #ffc928;
    transform: scaleX(0.65);
    transform-origin: right center;
    transition: transform 0.4s ease;
}

#cgsp-projects-v2 .cgsp-projects-v2__card:hover
.cgsp-projects-v2__accent-line {
    transform: scaleX(1);
}

/* CARD BODY */

#cgsp-projects-v2 .cgsp-projects-v2__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 26px 24px 28px;
    background: transparent;
}

#cgsp-projects-v2 .cgsp-projects-v2__card-title {
    margin: 0 0 12px;
    padding: 0;
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.3px;
    transition: color 0.35s ease;
}

#cgsp-projects-v2 .cgsp-projects-v2__card:hover
.cgsp-projects-v2__card-title {
    color: #ffc928;
}

#cgsp-projects-v2 .cgsp-projects-v2__card-description {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

/* TABLET */

@media (max-width: 1024px) {
    #cgsp-projects-v2 {
        padding: 65px 24px;
    }
  .cgsp-projects-v2__container {
    padding: 0px !important;
}
h2.cgsp-projects-v2__heading {
    font-size: 42px !important;
}
    #cgsp-projects-v2 .cgsp-projects-v2__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    #cgsp-projects-v2 .cgsp-projects-v2__header {
        margin-bottom: 42px;
    }

    #cgsp-projects-v2 .cgsp-projects-v2__media {
        height: 235px;
    }

    #cgsp-projects-v2 .cgsp-projects-v2__body {
        padding: 23px 21px 25px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    #cgsp-projects-v2 {
        padding: 48px 20px;
    }
    .cgsp-projects-v2__container {
    padding: 0px !important;
}
    #cgsp-projects-v2 .cgsp-projects-v2__header {
        margin-bottom: 32px;
    }

    #cgsp-projects-v2 .cgsp-projects-v2__eyebrow {
        margin-bottom: 13px;
        padding: 7px 12px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    #cgsp-projects-v2 .cgsp-projects-v2__heading {
        margin-bottom: 14px;
        font-size: 37px !important;
        line-height: 1.2;
        letter-spacing: -0.5px;
    }

    #cgsp-projects-v2 .cgsp-projects-v2__intro {
        font-size: 14px;
        line-height: 1.75;
    }

    #cgsp-projects-v2 .cgsp-projects-v2__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    #cgsp-projects-v2 .cgsp-projects-v2__media {
        height: 235px;
    }

    #cgsp-projects-v2 .cgsp-projects-v2__body {
        padding: 22px 20px 24px;
    }

    #cgsp-projects-v2 .cgsp-projects-v2__card-title {
        font-size: 19px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    #cgsp-projects-v2 .cgsp-projects-v2__card,
    #cgsp-projects-v2 .cgsp-projects-v2__image,
    #cgsp-projects-v2 .cgsp-projects-v2__accent-line,
    #cgsp-projects-v2 .cgsp-projects-v2__card-title {
        transition: none;
    }

    #cgsp-projects-v2 .cgsp-projects-v2__card:hover,
    #cgsp-projects-v2 .cgsp-projects-v2__card:hover
    .cgsp-projects-v2__image {
        transform: none;
    }
}


/* =========================================
   SPACING FIX (banner top + footer top gap)
   Only this block is new
========================================= */
main.cg-portfolio {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

a.cg-view-projects-btn:focus {
    text-decoration: none !important;
}
/* =========================================
   CODEGEMS PORTFOLIO PAGE
   Updated classes only
========================================= */

/* BASE */
.cg-portfolio-page {
    --cg-navy: #13294B;
    --cg-dark: #050D20;
    --cg-yellow: #F1BA1A;
    --cg-white: #FFFFFF;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--cg-navy);
    overflow: hidden;
}

.cg-portfolio-page,
.cg-portfolio-page * {
    box-sizing: border-box;
}

.cg-portfolio-page section {
    margin-block: 0;
}

.cg-portfolio-page a {
    text-decoration: none;
}

.cg-portfolio-page .cg-portfolio-hero-container,
.cg-portfolio-page .cg-portfolio-work-container,
.cg-portfolio-page .cg-portfolio-approach-container {
    width: min(1180px, 88%);
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

/* BUTTONS */
.cg-portfolio-page .cg-portfolio-hero-button,
.cg-portfolio-page .cg-portfolio-approach-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid var(--cg-white);
    border-radius: 6px;
    background: var(--cg-white);
    color: var(--cg-navy);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.cg-portfolio-page .cg-portfolio-hero-button:hover,
.cg-portfolio-page .cg-portfolio-approach-button:hover {
    background: var(--cg-yellow) !important;
    color: var(--cg-navy);
    border: 1px solid var(--cg-yellow);
    transform: translateY(-2px);
}

a.cg-portfolio-hero-button:focus {
    transform: translateX(5px);
    background: var(--cg-yellow) !important;
    color: #13294B !important;
}

.cg-portfolio .cg-approach-button span:hover {
    transform: translateX(5px);
    color: #13294B !important;
}

.cg-portfolio-page .cg-portfolio-hero-button:hover .cg-portfolio-hero-button-arrow {
    transform: translateX(5px);
    color: #13294B !important;
}

span.cg-portfolio-hero-button-arrow {
    transition: transform 0.35s ease;
}

/* EYEBROW */
.cg-portfolio-page .cg-portfolio-work-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #13294B;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    margin-bottom: 17px;
    justify-content: center;
}

.cg-portfolio-page .cg-portfolio-work-eyebrow::before,
.cg-portfolio-page .cg-portfolio-work-eyebrow::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    flex-shrink: 0;
    background: linear-gradient(90deg, #13294B, #ECC31F) !important;
}

.cg-portfolio-page .cg-portfolio-approach-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    margin-bottom: 17px;
}

.cg-portfolio-page .cg-portfolio-approach-eyebrow::before,
.cg-portfolio-page .cg-portfolio-approach-eyebrow::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    flex-shrink: 0;
    background: linear-gradient(90deg, #fff, #ECC31F) !important;
}
.cg-portfolio-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.70);
}
span.cg-portfolio-hero-arrow {
    color: #F5C542;
    font-size: 18px;
}
span.cg-portfolio-hero-current {
    color: #fff;
}
/* =========================================
   1. HERO BANNER
========================================= */
.cg-portfolio-page .cg-portfolio-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 90px 30px;
    background:
        linear-gradient(
            90deg,
            rgba(5, 13, 32, .18) 0%,
            rgba(5, 13, 32, .05) 50%,
            rgba(5, 13, 32, .08) 100%
        ),
        url('https://codegemssolutions.com/Codegem/wp-content/uploads/2026/10/39c61a41-b9ef-4a7c-901f-6184a7dad3b7.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--cg-white);
}

.cg-portfolio-page .cg-portfolio-hero-content {
    position: relative;
    z-index: 1;
    width: 52%;
    max-width: 620px;
}

.cg-portfolio-page .cg-portfolio-hero-title {
    margin: 0 0 18px;
    color: var(--cg-white);
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.cg-portfolio-page .cg-portfolio-hero-highlight {
    display: block;
    color: var(--cg-yellow);
}

.cg-portfolio-page .cg-portfolio-hero-description {
    max-width: 480px;
    margin: 0 0 24px;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.8;
}
a.cg-portfolio-approach-button:focus,
a.cg-portfolio-hero-button:focus,
a.cta-button:focus {
    text-decoration: none !important;
}
/* =========================================
   2. SHARED SECTION SPACING
========================================= */
.cg-portfolio-page .cg-portfolio-work-section,
.cg-portfolio-page .cg-portfolio-approach-section {
    padding: 60px 50px;
}

.cg-portfolio-page .cg-portfolio-work-header {
    max-width: 100%;
    margin: 0 0 28px;
}

.cg-portfolio-page .cg-portfolio-work-title,
 {
    margin: 0 0 13px;
    color: var(--cg-navy);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.7px;
    text-align: center;
}

.cg-portfolio-page .cg-portfolio-approach-title
 {
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.7px;
}

.cg-portfolio-approach-title span {
    color: #f1ba1a;
}

.cg-portfolio-page .cg-portfolio-work-description {
    margin: 0;
    color: #58677D;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

.cg-portfolio-page .cg-portfolio-approach-description {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================
   3. PROJECTS + FILTERS
========================================= */
.cg-portfolio-page .cg-portfolio-work-section {
    padding: 60px 50px;
    background: #fff;
    color: var(--cg-white);
}

/* Main heading */
.cg-portfolio-page .cg-portfolio-work-title {
    color: #13294B;
    font-size: 58px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 0 0 22px;
    text-align: center;
}

.cg-portfolio-page .cg-portfolio-work-highlight {
    color: #f1ba1a;
}

.cg-portfolio-page .cg-portfolio-work-description {
    color: #13294B;
    font-size: 16px;
}

/* Filters */
.cg-portfolio-page .cg-portfolio-category-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 42px;
    justify-content: center;
}

.cg-portfolio-page .cg-portfolio-category-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 10px 16px;
    border: 1px solid #DCE3ED;
    border-radius: 5px;
    background: #FFFFFF;
    color: var(--cg-navy);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: .25s ease;
}

.cg-portfolio-page .cg-portfolio-category-button:focus,
.cg-portfolio-page .cg-portfolio-category-button:focus-visible,
.cg-portfolio-page .cg-portfolio-category-button:active {
    outline: none !important;
    box-shadow: none !important;
}

.cg-portfolio-page .cg-portfolio-category-button:hover,
.cg-portfolio-page .cg-portfolio-category-button.is-active {
    border-color: var(--cg-yellow);
    background: var(--cg-yellow);
    color: var(--cg-navy);
}

/* Project grid */
.cg-portfolio-page .cg-portfolio-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px 24px;
}

.cg-portfolio-page .cg-portfolio-project-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: #FFFFFF;
}

.cg-portfolio-page .cg-portfolio-project-card[hidden] {
    display: none !important;
}

/* Project visual */
.cg-portfolio-page .cg-portfolio-project-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1.5 / 1;
    min-height: 220px;
    padding: 24px;
    overflow: hidden;
    border-radius: 8px;
    background:
        radial-gradient(
            ellipse at 70% 20%,
            rgba(46, 111, 214, .38),
            transparent 50%
        ),
        linear-gradient(140deg, #1D3963, #0A1428);
}

/* Mockup */
.cg-portfolio-page .cg-portfolio-project-mockup {
    width: 80%;
    max-width: 400px;
    padding: 20px;
    border-radius: 5px;
    background: #FFFFFF;
    color: var(--cg-navy);
    box-shadow: 0 16px 35px rgba(0, 0, 0, .22);
    transform: rotate(-2deg);
    transition: transform .35s ease;
}

.cg-portfolio-page .cg-portfolio-project-card:hover .cg-portfolio-project-mockup {
    transform: rotate(0) scale(1.035);
}

.cg-portfolio-page .cg-portfolio-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
    color: #6C7B90;
    font-size: 9px;
}

.cg-portfolio-page .cg-portfolio-mockup-line {
    width: 70%;
    height: 4px;
    margin: 8px 0;
    border-radius: 4px;
    background: #DDE4EE;
}

.cg-portfolio-page .cg-portfolio-mockup-line.is-short {
    width: 42%;
    background: var(--cg-yellow);
}

.cg-portfolio-page .cg-portfolio-mockup-line.is-medium {
    width: 55%;
}

.cg-portfolio-page .cg-portfolio-mockup-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 16px;
}

.cg-portfolio-page .cg-portfolio-mockup-products span {
    display: block;
    height: 36px;
    border-radius: 3px;
    background: #E9EEF5;
}

/* Project information */
.cg-portfolio-page .cg-portfolio-project-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: #FFFFFF;
}

.cg-portfolio-page .cg-portfolio-project-category {
    display: block;
    margin: 0 0 9px;
    color: #9A7800;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    line-height: 1.5;
}

.cg-portfolio-page .cg-portfolio-project-title {
    margin: 0 0 10px;
    color: var(--cg-navy);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.cg-portfolio-page .cg-portfolio-project-description {
    margin: 0 0 15px;
    color: #58677D;
    font-size: 13px;
    line-height: 1.75;
}

.cg-portfolio-page .cg-portfolio-project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--cg-navy);
    font-size: 12px;
    font-weight: 700;
    transition: color .25s ease;
}

.cg-portfolio-page .cg-portfolio-project-link:hover {
    color: #9A7800;
}

/* =========================================
   4. APPROACH SECTION
========================================= */
.cg-portfolio-page .cg-portfolio-approach-section {
    padding: 60px 50px;
}

.cg-portfolio-page .cg-portfolio-approach-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 45px;
}

.cg-portfolio-page .cg-portfolio-approach-title {
    margin-bottom: 16px;
}

.cg-portfolio-page .cg-portfolio-approach-description {
    margin-bottom: 20px;
}

.cg-portfolio-page .cg-portfolio-approach-panel {
    padding: 25px 28px;
    border: 1px solid #E2EAF5;
    border-radius: 9px;
    background: linear-gradient(140deg, #F4F8FF, #FFFFFF);
}

.cg-portfolio-page .cg-portfolio-approach-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 0;
    border-bottom: 1px solid #E0E7F0;
}

.cg-portfolio-page .cg-portfolio-approach-step:first-child {
    padding-top: 0;
}

.cg-portfolio-page .cg-portfolio-approach-step:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.cg-portfolio-page .cg-portfolio-approach-number {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 5px;
    background: var(--cg-navy);
    color: var(--cg-yellow);
    font-size: 11px;
    font-weight: 700;
}

.cg-portfolio-page .cg-portfolio-approach-step-content h3 {
    margin: 0 0 5px;
    color: var(--cg-navy);
    font-size: 15px;
    line-height: 1.4;
}

.cg-portfolio-page .cg-portfolio-approach-step-content p {
    margin: 0;
    color: #64738A;
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================
   RESPONSIVE - TABLET
========================================= */
@media (min-width: 768px) and (max-width: 1024px) {
    .cg-portfolio-page .cg-portfolio-hero-container,
    .cg-portfolio-page .cg-portfolio-work-container,
    .cg-portfolio-page .cg-portfolio-approach-container {
        width: 100%;
        padding: 65px 24px;
    }
    .cg-portfolio-hero-breadcrumb {
    margin-bottom: 25px;
    font-size: 12px;
}
h2.cg-portfolio-work-title {
    font-size: 42px !important;
}
    .cg-portfolio-page .cg-portfolio-hero {
        min-height: 340px;
        padding: 55px 0;
        background-position: center;
    }

    .cg-portfolio-page .cg-portfolio-hero-content {
        width: 100%;
    }

    .cg-portfolio-page .cg-portfolio-hero-title {
        font-size: clamp(48px, 5vw, 48px);
    }

    .cg-portfolio-page .cg-portfolio-work-section,
    .cg-portfolio-page .cg-portfolio-approach-section {
        padding: 0;
    }

    .cg-portfolio-page .cg-portfolio-project-grid {
        gap: 22px;
    }

    .cg-portfolio-page .cg-portfolio-project-preview {
        min-height: 200px;
        padding: 18px;
    }

    .cg-portfolio-page .cg-portfolio-project-details {
        padding: 17px;
    }

    .cg-portfolio-page .cg-portfolio-approach-grid {
        gap: 28px;
    }
}

/* =========================================
   RESPONSIVE - MOBILE
========================================= */
@media (max-width: 767px) {
    .cg-portfolio-page .cg-portfolio-hero-container,
    .cg-portfolio-page .cg-portfolio-work-container,
    .cg-portfolio-page .cg-portfolio-approach-container {
        width: 90%;
    }

    .cg-portfolio-page .cg-portfolio-hero {
        min-height: auto;
        padding: 60px 22px 70px;
        background-position: 30% center;
    }

    .cg-portfolio-page .cg-portfolio-hero-content {
        width: 100%;
        max-width: 420px;
        text-align:center;
    }

    .cg-portfolio-page .cg-portfolio-hero-title {
        max-width: 380px;
        font-size: clamp(34px, 9vw, 44px);
        line-height: 1.12;
        letter-spacing: -1px;
        text-align: center;
    }

    .cg-portfolio-page .cg-portfolio-hero-description {
        max-width: auto;
        font-size: 13px;
        line-height: 1.75;
        text-align:center;
    }

    .cg-portfolio-page .cg-portfolio-work-section,
    .cg-portfolio-page .cg-portfolio-approach-section {
        padding: 48px 20px;
    }
    .cg-portfolio-page .cg-portfolio-work-header {
        margin-bottom: 22px;
    }

    .cg-portfolio-page .cg-portfolio-work-title,
    .cg-portfolio-page .cg-portfolio-approach-title {
        font-size: 29px;
        line-height: 1.22;
        letter-spacing: -.5px;
        text-align:center;
    }

    .cg-portfolio-page .cg-portfolio-work-description,
    .cg-portfolio-page .cg-portfolio-approach-description {
        font-size: 13px;
        line-height: 1.8;
        text-align:center;
    }

    .cg-portfolio-page .cg-portfolio-work-section {
        padding: 42px 0;
    }
    .cg-portfolio-approach-content {
    text-align: center;
    }
    .cg-portfolio-page .cg-portfolio-category-list {
        gap: 8px;
        margin-bottom: 32px;
    }

    .cg-portfolio-page .cg-portfolio-category-button {
        min-height: 35px;
        padding: 9px 11px;
        font-size: 11px;
    }

    .cg-portfolio-page .cg-portfolio-project-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .cg-portfolio-page .cg-portfolio-project-preview {
        min-height: 0;
        aspect-ratio: 1.5 / 1;
        padding: 20px;
    }

    .cg-portfolio-page .cg-portfolio-project-mockup {
        width: 82%;
        padding: 17px;
    }

    .cg-portfolio-page .cg-portfolio-mockup-products span {
        height: 30px;
    }

    .cg-portfolio-page .cg-portfolio-project-details {
        padding: 18px;
    }

    .cg-portfolio-page .cg-portfolio-project-title {
        font-size: 21px;
    }

    .cg-portfolio-page .cg-portfolio-approach-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .cg-portfolio-page .cg-portfolio-approach-panel {
        padding: 22px;
    }
    .cg-portfolio-page .cg-portfolio-hero-title {
        font-size: 36.8px;
    }
.cg-portfolio-hero-breadcrumb {
    margin-bottom: 25px;
    font-size: 12px;
}
    .cg-portfolio-page .cg-portfolio-category-list {
        gap: 6px;
    }

    .cg-portfolio-page .cg-portfolio-category-button {
        padding: 8px 9px;
        font-size: 10px;
    }

    .cg-portfolio-page .cg-portfolio-project-details {
        padding: 15px;
    }
}




.cg-portfolio-work-section .cg-project-card {
    opacity: 0;
    transform: translate3d(0, 25px, 0);

    transition:
        opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 300ms ease;

    will-change: opacity, transform;
}

.cg-portfolio-work-section .cg-project-card.cg-card-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.cg-portfolio-work-section .cg-project-card:hover {
    box-shadow: 0 14px 30px rgba(19, 41, 75, 0.12);
}

.cg-portfolio-work-section .cg-project-card[hidden] {
    display: none !important;
}

.cg-portfolio-work-section .cg-project-card .cg-project-image img {
    transition: transform 500ms ease;
}

.cg-portfolio-work-section .cg-project-card:hover .cg-project-image img {
    transform: scale(1.035);
}



/* CONTACT PAGE */
.cg-contact-page {
    --cg-navy: #13294B;
    --cg-dark: #050D20;
    --cg-yellow: #F1BA1A;
    --cg-white: #FFFFFF;

    color: var(--cg-navy);
    overflow: hidden;
}

.cg-contact-page * {
    box-sizing: border-box;
}

.cg-contact-container {
    width: min(1160px, 90%);
    margin: 0 auto;
}

/* HERO */

.cg-contact-hero {
    position: relative;
    padding: 115px 0 105px;
    min-height: 600px;
    color: #FFFFFF;
    background: url('https://codegemssolutions.com/Codegem/wp-content/uploads/2026/10/contact.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}


.cg-contact-hero h1 {
    max-width: 780px;
    margin: 0 0 22px;
    color: #FFFFFF;
    font-size: clamp(48px, 5vw, 67px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.cg-contact-hero h1 span,
.cg-contact-form-content h2 span {
    color: rgb(241, 186, 26);
;
}

.cg-contact-hero p {
    max-width: 600px;
    margin: 0 0 30px;
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
}

.cg-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 23px;
    border: 1px solid #FFF;
    border-radius: 6px;
    background: #FFF;
    color: #13294B !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease;  
}

.cg-contact-btn:hover {
    background: #f1ba1a;
    color:  #13294B !important;
     border: 1px solid #f1ba1a;
      transform: translateY(-2px);
}
.cg-contact-btn:hover .contact-banner-arrow {
    transform: translateX(5px);
    color: #13294B !important;
}
.contact-banner-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 21px;
    line-height: 1 !important;
    color: #13294B !important;
    position: relative;
    bottom: 2px;
    transition: transform 0.35s ease;
}
/* CONTACT INFO CARDS */
.cg-contact-info {
    padding: 60px 50px;
    background: #FFFFFF;
}

.cg-contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.cg-contact-info-card {
    padding: 30px 25px;
    border: 1px solid rgba(19, 41, 75, 0.12);
    border-radius: 10px;
    background: #FFFFFF;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cg-contact-info-card:hover {
    transform: translateY(-5px);
    border-color: #F1BA1A;
}
a.cg-contact-open-tab {
    text-decoration: none !important;
}
.cg-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #FFF5C7;
    color: #13294B;
    font-size: 23px;
}
.cg-contact-info-card:hover .cg-contact-icon {
    background-color: #F1BA1A;
    transform: translateY(-3px);
}
.cg-contact-info-card h3 {
    margin: 0 0 10px;
    color: #13294B;
    font-size: 20px;
}

.cg-contact-info-card p {
    margin: 0 0 14px;
    color: #13294B;
    opacity: 0.75;
    font-size: 14px;
    line-height: 1.7;
}

.cg-contact-info-card a {
    color: #13294B;
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.cg-contact-info-card a:hover {
    color: #9A7600;
}


/* ==========================================
   CODEGEMS CONTACT PAGE
   Navy Blue + White + Yellow
========================================== */

.cg-contact-page {
    --cg-navy: #13294B;
    --cg-dark: #050D20;
    --cg-yellow: #f1ba1a;
    --cg-white: #FFFFFF;
    --cg-border: #D9E0EA;
    --cg-muted: #657087;
}

.cg-contact-page *,
.cg-contact-form-section *,
.cg-contact-info * {
    box-sizing: border-box;
}
.cg-contact-tab.active:focus {
    text-transform: none;
    outline: none !important;
}
.cg-career-back:focus {
    outline: none !important;
}
/* ==========================================
   CONTACT INFO CARDS
========================================== */

.cg-contact-info {
    padding: 60px 0;
    background: var(--cg-white);
}

.cg-contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.cg-contact-info-card {
    padding: 30px 25px;
    border: 1px solid rgba(19, 41, 75, 0.12);
    border-radius: 10px;
    background: var(--cg-white);
    transition: transform 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.cg-contact-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--cg-yellow);
    box-shadow: 0 12px 28px rgba(19, 41, 75, 0.08);
}

.cg-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #FFF5C7;
    color: var(--cg-navy);
    font-size: 23px;
    transition: background-color 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}

.cg-contact-info-card:hover .cg-contact-icon {
    background: var(--cg-yellow);
    color: var(--cg-navy);
    transform: translateY(-3px);
}

.cg-contact-info-card h3 {
    margin: 0 0 10px;
    color: var(--cg-navy);
    font-size: 20px;
    line-height: 1.4;
}

.cg-contact-info-card p {
    margin: 0 0 14px;
    color: var(--cg-navy);
    opacity: 0.75;
    font-size: 14px;
    line-height: 1.7;
}

.cg-contact-info-card a {
    color: var(--cg-navy);
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cg-contact-info-card a:hover {
    color: #9A7600;
}

/* ==========================================
   CONTACT FORM SECTION
========================================== */

.cg-contact-form-section {
    padding: 60px 50px;
    background:
        radial-gradient(
            ellipse at 10% 90%,
            rgba(46, 111, 214, 0.15),
            transparent 38%
        ),
        var(--cg-dark);
    color: var(--cg-white);
}

.cg-contact-container {
    width: min(1160px, 90%);
    margin-left: auto;
    margin-right: auto;
}

.cg-contact-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 65px;
}

/* ==========================================
   LEFT CONTENT
========================================== */

.cg-contact-form-content {
    padding-top: 25px;
    min-width: 0;
}

.cg-contact-tag {
  display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 17px;
}
.cg-contact-tag::before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(255, 255, 255), rgb(245, 197, 66)) !important;
}
.cg-contact-tag::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(255, 255, 255), rgb(245, 197, 66)) !important;
}
.cg-contact-form-content h2 {
    display: block !important;
    margin: 0 0 20px !important;
    color: var(--cg-white) !important;
    font-size: clamp(32px, 4vw, 46px) !important;
    font-weight:600;
    line-height: 1.2 !important;
    letter-spacing: -0.7px;
}

.cg-contact-form-content h2 span {
    color: var(--cg-yellow) !important;
}

.cg-contact-form-content > p {
    display: block !important;
    max-width: 430px;
    margin: 0 !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    opacity: 1 !important;
}

.cg-contact-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 35px;
    color: var(--cg-white);
    font-size: 15px;
    line-height: 1.7;
}

.cg-contact-note span {
    flex-shrink: 0;
    color: var(--cg-yellow);
}

/* ==========================================
   WHITE FORM BOX
========================================== */

.cg-contact-form-box {
    min-width: 0;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: var(--cg-white);
    color: var(--cg-navy);
}

/* ==========================================
   TWO TABS
========================================== */

.cg-contact-tabs {
    display: flex;
    gap: 8px;
    margin: 0 0 28px;
    padding: 0 0 18px;
    border-bottom: 1px solid #E7EAF0;
}

.cg-contact-tabs .cg-contact-tab {
    flex: 1;
    min-width: 0;
    padding: 12px 8px;
    border: 1px solid #D9E0EA !important;
    border-radius: 6px;
    background: var(--cg-white) !important;
    color: var(--cg-navy) !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease;
}

/* Active tab: navy background, white text */
.cg-contact-tabs .cg-contact-tab.active,
.cg-contact-tabs .cg-contact-tab[aria-selected="true"] {
    background: var(--cg-navy) !important;
    color: var(--cg-white) !important;
    border-color: var(--cg-navy) !important;
}

.cg-contact-tabs .cg-contact-tab:not(.active):hover {
    background:  #E8EEF8 !important;
    color: var(--cg-navy) !important;
    border-color: #13294B !important;
      transition: all 0.3s ease;
}


/* ==========================================
   CODEGEMS - FORMINATOR FORMS
   Business + Career
   Navy + White + Yellow
========================================== */

.cg-contact-form-box .forminator-ui {
    width: 100% !important;
    margin: 0 !important;
    color: var(--cg-navy) !important;
    font-family: inherit !important;
}

/* Form rows and fields */
.cg-contact-form-box .forminator-ui .forminator-row {
    margin-bottom: 16px !important;
}

.cg-contact-form-box .forminator-ui .forminator-col {
    min-width: 0 !important;
}

.cg-contact-form-box .forminator-ui .forminator-label {
    display: block !important;
    margin-bottom: 9px !important;
    color: var(--cg-navy) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

/* Input fields */
.cg-contact-form-box .forminator-ui input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]),
.cg-contact-form-box .forminator-ui select,
.cg-contact-form-box .forminator-ui textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px !important;
    padding: 13px 14px !important;
    border: 1px solid var(--cg-border) !important;
    border-radius: 6px !important;
    background: #FFFFFF !important;
    color: var(--cg-navy) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

/* Message field */
.cg-contact-form-box .forminator-ui textarea {
    min-height: 130px !important;
    resize: vertical;
}

/* File upload */
.cg-contact-form-box .forminator-ui input[type="file"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px !important;
    border: 1px solid var(--cg-border) !important;
    border-radius: 6px !important;
    background: #FFFFFF !important;
    color: var(--cg-navy) !important;
    font-size: 13px !important;
}

/* Placeholder */
.cg-contact-form-box .forminator-ui input::placeholder,
.cg-contact-form-box .forminator-ui textarea::placeholder {
    color: #7B8494 !important;
    opacity: 1 !important;
}

/* Focus state */
.cg-contact-form-box .forminator-ui input:focus,
.cg-contact-form-box .forminator-ui select:focus,
.cg-contact-form-box .forminator-ui textarea:focus {
    border-color: var(--cg-navy) !important;
    box-shadow: 0 0 0 3px rgba(19, 41, 75, 0.08) !important;
    outline: none !important;
}

/* Submit button */
.cg-contact-form-box .forminator-ui .forminator-button-submit {
    display: block !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 14px 20px !important;
    border: 1px solid var(--cg-navy) !important;
    border-radius: 6px !important;
    background: var(--cg-navy) !important;
    color: #FFFFFF !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.cg-contact-form-box .forminator-ui .forminator-button-submit:hover {
    background: var(--cg-yellow) !important;
    border-color: var(--cg-yellow) !important;
    color: var(--cg-navy) !important;
    transform: translateY(-2px);
}

/* Validation messages */
.cg-contact-form-box .forminator-ui .forminator-error-message {
    color: #B42318 !important;
    font-size: 12px !important;
}

/* Success message */
.cg-contact-form-box .forminator-ui .forminator-response-message {
    border-radius: 6px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}
@media (max-width: 1024px) {
.cg-contact-form-section {
    padding: 65px 24px;
}
section.cg-contact-location {
    padding: 60px 24px;
}
.cg-location-heading h2 {
    font-size: 42px !important;
}
}
/* Mobile */
@media (max-width: 600px) {
    .cg-contact-form-box .forminator-ui .forminator-row {
        margin-bottom: 14px !important;
    }

    .cg-contact-form-box .forminator-ui .forminator-button-submit {
        width: 100% !important;
    }
   .cg-contact-form-content > p {
    font-size: 14px !important;
}
.cg-contact-note {
    font-size: 14px;
}
.cg-contact-hero p {
    text-align: center;
}
}

/* ==========================================
   FORMINATOR 401 - SERVICE DROPDOWN
========================================== */

/* Dropdown closed state */
#forminator-module-401 #select-1 .select2-selection--single {
    height: 48px !important;
    border: 1px solid #D9E0EA !important;
    border-radius: 6px !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
}

/* Placeholder and selected text */
#forminator-module-401 #select-1 .select2-selection__rendered {
    padding-left: 14px !important;
    padding-right: 35px !important;
    line-height: 46px !important;
    color: #9CA3AF !important;
    font-size: 14px !important;
    font-family: inherit !important;
}

/* Actual selected value */
#forminator-module-401 #select-1 .select2-selection__rendered[title]:not([title="Select your service"]) {
    color: #13294B !important;
}

/* Dropdown arrow */
#forminator-module-401 #select-1 .select2-selection__arrow {
    height: 46px !important;
}

/* Focus */
#forminator-module-401 #select-1 .select2-selection--single:focus,
#forminator-module-401 #select-1 .select2-selection--single:focus-within {
    border-color: #13294B !important;
    box-shadow: 0 0 0 3px rgba(19, 41, 75, 0.08) !important;
}

/* Open dropdown options */
.select2-container--open .select2-dropdown {
    border: 1px solid #D9E0EA !important;
    border-radius: 6px !important;
    background: #FFFFFF !important;
    overflow: hidden !important;
}

/* Each option */
.select2-container--open .select2-results__option {
    padding: 12px 14px !important;
    background: #FFFFFF !important;
    color: #13294B !important;
    font-size: 14px !important;
}

/* Hover / highlighted option */
.select2-container--open .select2-results__option--highlighted[aria-selected] {
    background: #FFF5C7 !important;
    color: #13294B !important;
}

/* Selected option */
.select2-container--open .select2-results__option[aria-selected="true"] {
    background: #13294B !important;
    color: #FFFFFF !important;
}

/* Forminator Service Dropdown - Arrow Color Fix */

#forminator-module-401 #select-1 .select2-selection__arrow,
#forminator-module-401 #select-1 .select2-selection__arrow:hover,
#forminator-module-401 #select-1 .select2-selection__arrow:focus {
    color: #13294B !important;
    background: transparent !important;
}

#forminator-module-401 #select-1 .forminator-icon-chevron-down,
#forminator-module-401 #select-1 .select2-selection__arrow span {
    color: #13294B !important;
    fill: #13294B !important;
}

/* Keep arrow navy when dropdown is open */
#forminator-module-401 #select-1 .select2-selection[aria-expanded="true"] .forminator-icon-chevron-down {
    color: #13294B !important;
}

/* ==========================================
   CODEGEMS CAREERS PANEL
   Navy + White + Yellow
========================================== */

/* Careers panel */
.cg-contact-panel {
    width: 100%;
    color: #13294B;
}

/* Intro */
.cg-careers-intro {
    margin-bottom: 30px;
}

.cg-careers-intro h3 {
    margin: 0 0 12px !important;
    color: #13294B !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.cg-careers-intro p {
    margin: 0 !important;
    color: #657087 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

/* Open positions heading */
.cg-open-positions h4 {
    margin: 0 0 12px !important;
    color: #13294B !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* Position cards */
.cg-position-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid #E7EAF0;
}

/* Job title */
.cg-position-card h5 {
    margin: 0 0 7px !important;
    color: #13294B !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

/* Job type */
.cg-position-card p {
    margin: 0 !important;
    color: #657087 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

/* Apply link */
.cg-apply-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 7px;
    padding: 10px 15px;
    border: 1px solid #13294B;
    border-radius: 6px;
    background: #13294B;
    color: #FFFFFF !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cg-apply-link:hover {
    background: #F1BA1A;
    border-color: #F1BA1A;
    color: #13294B !important;
    transform: translateY(-2px);
}

/* General resume footer */
.cg-careers-footer {
    margin-top: 18px;
    padding-top: 20px;
    border-top: 1px solid #E7EAF0;
}

.cg-careers-footer p {
    margin: 0 0 8px !important;
    color: #657087 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

.cg-careers-footer a {
    color: #13294B !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.cg-careers-footer a:hover {
    color: #9A7600 !important;
}

/* Hide application form initially */
.cg-career-application[hidden],
.cg-contact-panel[hidden] {
    display: none !important;
}

/* Application form */
.cg-career-application {
    margin-top: 10px;
}

.cg-career-application h3 {
    margin: 0 0 10px !important;
    color: #13294B !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.cg-career-application > p {
    margin: 0 0 20px !important;
    color: #657087 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* Selected position */
.cg-career-selected-position {
    margin-bottom: 18px;
    padding: 13px 15px;
    border-left: 3px solid #F1BA1A;
    border-radius: 4px;
    background: #FFF9E5;
    color: #13294B;
    font-size: 13px;
    line-height: 1.6;
}

.cg-career-selected-position strong {
    color: #13294B;
    font-weight: 700;
}

/* Back button */
.cg-career-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px;
    padding: 10px 14px;
    border: 1px solid #D9E0EA;
    border-radius: 6px;
    background: #FFFFFF;
    color: #13294B;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cg-career-back:hover {
    border-color: #F1BA1A;
    background: #FFF5C7;
    color: #13294B;
}

/* Mobile */
@media (max-width: 600px) {
    .cg-careers-intro h3 {
        font-size: 22px !important;
    }

    .cg-position-card {
        align-items: flex-start;
        gap: 12px;
        padding: 17px 0;
    }

    .cg-position-card h5 {
        font-size: 14px !important;
    }

    .cg-apply-link {
        padding: 9px 11px;
        font-size: 12px !important;
    }

    .cg-career-application h3 {
        font-size: 22px !important;
    }
}
/* CAREER FORM - SELECT YOUR ROLE DROPDOWN */
#forminator-module-402 #select-1 .select2-selection--single {
    background: #FFFFFF !important;
    border: 1px solid #D9E0EA !important;
    border-radius: 6px !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 12px !important;
    box-shadow: none !important;
}

/* Selected text */
#forminator-module-402 #select-1 .select2-selection__rendered {
    color: #13294B !important;
    font-size: 15px !important;
    padding-left: 0 !important;
    line-height: normal !important;
}

/* Placeholder */
#forminator-module-402 #select-1 .select2-selection__placeholder {
    color: #657087 !important;
}

/* Dropdown arrow */
#forminator-module-402 #select-1 .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 10px !important;
}

#forminator-module-402 #select-1 .forminator-icon-chevron-down {
    color: #13294B !important;
}

/* Dropdown options */
.select2-container--open .select2-dropdown {
    background: #FFFFFF !important;
    border: 1px solid #D9E0EA !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.select2-container--open .select2-results__option {
    color: #13294B !important;
    background: #FFFFFF !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
}

/* Hover / highlighted option */
.select2-container--open .select2-results__option--highlighted {
    background: #FFF4BF !important;
    color: #13294B !important;
}

/* Selected option */
.select2-container--open .select2-results__option[aria-selected="true"] {
    background: #13294B !important;
    color: #FFFFFF !important;
}
/* =====================================
   SECTION 3: OFFICE LOCATION
===================================== */

.cg-contact-location {
    width: 100%;
    padding: 60px 50px;
    background: #fff;
    color: #13294B;
}

.cg-location-container {
    width: 92%;
    max-width: 1160px;
    margin: 0 auto;
}

.cg-location-heading {
    margin: 0 0 32px;
    text-align: center;
}

.cg-location-heading h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    color:#13294B;
    font-size: 46px;
    font-weight: 600;
    line-height: 1.3;
}

.cg-location-pin {
    font-size: 46px;
    line-height: 1;
}

.cg-location-heading p {
    margin: 0;
    color: #13294B;
    font-size: 14px;
    line-height: 1.7;
}
span.location-heading {
    color: #f1ba1a !important;
}
.cg-location-map {
    width: 100%;
    height: 390px;
    overflow: hidden;
    background: #FFFFFF;
}

.cg-location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* TABLET & MOBILE */

@media (max-width: 767px) {
    .cg-contact-location {
        padding: 32px 0;
    }

    .cg-location-container {
        width: 92%;
    }

    .cg-location-heading {
        margin-bottom: 24px;
    }

    .cg-location-heading h2 {
        font-size: 32px !important;
    }

    .cg-location-heading p {
        font-size: 14px;
    }

    .cg-location-map {
        height: 300px;
    }
}
@media screen and (max-width: 767px) {
    body .custom-header .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: relative !important;
        z-index: 999999 !important;
    }
}

/* CONTACT PAGE - MOBILE RESPONSIVE FIX */
@media (max-width: 767px) {

    /* Prevent horizontal overflow */
    .cg-contact-page,
    .cg-contact-page *,
    .cg-contact-form-section,
    .cg-contact-location {
        box-sizing: border-box;
        min-width: 0;
    }

    .cg-contact-page {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    /* Hero */
    .cg-contact-hero {
        width: 100%;
        padding: 90px 0 55px;
        min-height: auto;
        background-position: 65% center;
    }

    .cg-contact-hero h1 {
        font-size: clamp(36px, 9vw, 46px);
        line-height: 1.12;
        letter-spacing: -1px;
        overflow-wrap: break-word;
        text-align: center;
    }
    .cg-contact-hero p {
    font-size: 14px;
}
    .cg-contact-container {
        width: 90%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align:center;
    }

    /* Contact information cards */
    .cg-contact-info {
        padding: 48px 20px;
    }

    .cg-contact-info-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        width: 100%;
    }

    .cg-contact-info-card {
        width: 100%;
        padding: 24px 20px;
    }

    .cg-contact-info-card a {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    /* Contact form section */
    .cg-contact-form-section {
        width: 100%;
        padding: 48px 20px;
    }
    span.cg-contact-tag {
    justify-content: center;
}
    .cg-contact-form-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        width: 100%;
    }

    .cg-contact-form-content {
        width: 100%;
        padding-top: 0;
    }

    .cg-contact-form-box {
        width: 100%;
        max-width: 100%;
        padding: 20px 16px;
        border-radius: 12px;
    }

    /* Business / Careers tabs */
    .cg-contact-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .cg-contact-tabs .cg-contact-tab {
        flex: 1 1 0;
        min-width: 0;
        padding: 11px 5px;
        font-size: 12px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    /* Form fields */
    .cg-contact-form-box .forminator-ui,
    .cg-contact-form-box .forminator-ui .forminator-row,
    .cg-contact-form-box .forminator-ui .forminator-field,
    .cg-contact-form-box .forminator-ui .forminator-col {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .cg-contact-form-box .forminator-ui input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]),
    .cg-contact-form-box .forminator-ui select,
    .cg-contact-form-box .forminator-ui textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .cg-contact-form-box .forminator-ui .forminator-button-submit {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Careers panel */
    .cg-contact-panel,
    .cg-career-application {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .cg-position-card {
        flex-wrap: wrap;
        width: 100%;
    }

    /* Office location */
    .cg-contact-location {
        padding: 48px 20px;
    }

    .cg-location-container {
        width: 92%;
        max-width: 100%;
    }

    .cg-location-heading h2 {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 32px;
    }

    .cg-location-pin {
        font-size: 25px;
    }

    .cg-location-map {
        width: 100%;
        height: 280px;
    }
}
/* Fix Forminator hidden select overflow - Tablet & Mobile */
@media screen and (max-width: 2560px) {

    .cg-contact-page select.forminator-screen-reader-only,
    .cg-contact-page select.forminator-select--field.forminator-screen-reader-only {
        position: absolute !important;

        left: 0 !important;
        right: auto !important;
        top: 0 !important;
        bottom: auto !important;

        width: 1px !important;
        min-width: 1px !important;
        max-width: 1px !important;

        height: 1px !important;
        min-height: 1px !important;
        max-height: 1px !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;

        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        clip-path: inset(50%) !important;

        white-space: nowrap !important;
        border: 0 !important;
    }
}


/* ==================================================
   CODEGEMS — PREMIUM SINGLE PROJECT CASE STUDY
   Navy → White → Navy → White → Navy → White
   Existing PHP classes preserved
================================================== */

.cg-case-study {
    --cg-navy: rgb(5, 13, 32) !important;
    --cg-dark: #050D20;
    --cg-blue: #13294B;
    --cg-yellow: #FFC400;
    --cg-white: #FFFFFF;
    --cg-muted: #56657A;
    --cg-border: #DCE5F2;

    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--cg-navy);
    background: var(--cg-white);
    overflow: hidden;
}

.cg-case-study *,
.cg-case-study *::before,
.cg-case-study *::after {
    box-sizing: border-box;
}

.cg-case-container {
    width: min(1160px, calc(100% - 60px));
    margin: 0 auto;
}

.cg-case-study h1,
.cg-case-study h2,
.cg-case-study h3,
.cg-case-study p {
    margin-top: 0;
}
h2.mobile-project {
    font-size: 46px !important;
    text-align: left !important;
}
span.cg-case-label.responsive-design {
    color: #fff !important;
    text-align: left !important;
    justify-content: left !important;
}
.cg-case-study h2 {
    max-width: 100%;
    margin-bottom: 24px;
    font-size: clamp(42px, 3.8vw, 58px);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -1.3px;
    text-align: center;
}

.cg-case-study h2 span {
    color: var(--cg-blue);
}

.cg-case-study p {
    line-height: 1.85;
}

.cg-case-category{
display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}
.cg-case-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    justify-content: center;
}

.cg-case-label::before {
   content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(19, 41, 75), rgb(236, 195, 31)) !important;
}
.cg-case-label::after {
   content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(19, 41, 75), rgb(236, 195, 31)) !important;
}
.cg-deliver-label{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.6;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    justify-content: center;
}
.cg-deliver-label::before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(255, 255, 255), rgb(245, 197, 66)) !important;
}
.cg-deliver-label::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(255, 255, 255), rgb(245, 197, 66)) !important;
}
/* ==================================================
   SECTION 1 — HERO
   NAVY BACKGROUND + FEATURED IMAGE
================================================== */

.cg-case-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 90px 30px;
    color: var(--cg-white);
    background-color: var(--cg-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cg-case-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
    circle at 85% 20%,
    rgba(30, 75, 150, 0.16),
    transparent 38%
),
linear-gradient(
    90deg,
    rgba(3, 8, 22, 0.99) 0%,
    rgba(5, 16, 38, 0.95) 56%,
    rgba(4, 12, 29, 0.88) 100%
)
}

.cg-case-hero .cg-case-container {
    position: relative;
    z-index: 1;
}

.cg-case-hero .cg-case-category {
    padding: 9px 16px;
    border: 1px solid rgba(255, 196, 0, 0.5);
    border-radius: 30px;
    color: var(--cg-yellow);
    background: rgba(5, 13, 32, 0.4);
}

.cg-case-hero h1 {
    max-width: 900px;
    margin: 0 0 25px;
    color: var(--cg-white);
    font-size: clamp(42px, 5.5vw, 67px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -1.8px;
    overflow-wrap: anywhere;
}
.sub-line {
    color: #f1ba1a !important;
}
.cg-case-intro {
    max-width: 720px;
    margin-bottom: 30px;
    color: #fff;
    font-size: clamp(14px, 1.4vw, 16px);
    line-height: 1.85;
}

.cg-case-project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.cg-case-meta-item {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 190px;
    max-width: 360px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(5, 13, 32, 0.48);
    backdrop-filter: blur(10px);
    overflow-wrap: anywhere;
}

.cg-case-meta-item strong {
    color: var(--cg-yellow);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cg-case-meta-item span {
    color: var(--cg-white);
    font-size: 14px;
    line-height: 1.65;
}


/* ==================================================
   SHARED SECTION SPACING
================================================== */

.cg-case-section,
.cg-case-showcase,
.cg-case-gallery-section {
    position: relative;
    padding: 60px 50px;
}

.cg-case-copy {
    max-width: 900px;
    color: var(--cg-muted);
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.cg-case-copy p {
    margin-bottom: 18px;
}

.cg-case-copy > :last-child {
    margin-bottom: 0;
}


/* ==================================================
   SECTION 2 — PROJECT OVERVIEW
   WHITE BACKGROUND
================================================== */

.cg-case-overview {
    background: var(--cg-white);
    color: var(--cg-navy);
}

.cg-case-overview .cg-case-container {
    max-width: 1000px;
}

.cg-case-overview .cg-case-label {
    color: var(--cg-blue);
}

.cg-case-overview h2,
.cg-case-overview .cg-case-copy h3,
.cg-case-overview .cg-case-copy h4 {
    color: var(--cg-blue);
}

.cg-case-overview .cg-case-copy {
    max-width: 100%;
    color: var(--cg-blue);
    text-align: center;
}


/* ==================================================
   SECTION 3 — KEY FEATURES
   NAVY BACKGROUND + LIGHT GLASS CARDS
================================================== */

.cg-case-features {
    background: var(--cg-navy);
    color: var(--cg-white);
}

.cg-case-features h2,
.cg-case-features .cg-case-copy h3,
.cg-case-features .cg-case-copy h4 {
    color: var(--cg-white);
}

.cg-case-label {
    color: var(--cg-yellow);
}
.cg-case-features {
 color: var(--cg-white);
}
.cg-case-features .cg-case-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.cg-case-features .cg-case-detail {
    position: relative;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
    overflow-wrap: anywhere;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.cg-case-features .cg-case-detail::before {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-bottom: 24px;
    border-radius: 3px;
    background: var(--cg-yellow);
}

.cg-case-features .cg-case-detail:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 196, 0, 0.55);
    background: rgba(255, 255, 255, 0.085);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.17);
}

.cg-case-features .cg-case-feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 40px;
    padding: 0 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 196, 0, 0.24);
    border-radius: 8px;
    color: var(--cg-yellow);
    background: rgba(255, 196, 0, 0.10);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.cg-case-features .cg-case-detail h3 {
    margin: 0 0 13px;
    color: var(--cg-white);
    font-size: 21px;
    font-weight: 750;
    line-height: 1.4;
}

.cg-case-features .cg-case-detail .cg-case-copy {
    color: #fff;
    font-size: 15px;
    line-height: 1.85;
}


/* ==================================================
   SECTION 4 — PROJECT SHOWCASE
   WHITE BACKGROUND + PREMIUM IMAGE FRAME
================================================== */

.cg-case-showcase {
    background: var(--cg-white);
    color: var(--cg-navy);
}

.cg-case-showcase .cg-case-label {
    color: var(--cg-blue);
}

.cg-case-showcase h2 {
    color: var(--cg-blue);
}




/* ==================================================
   SECTION 5 — MOBILE EXPERIENCE + GALLERY
   DARK NAVY BACKGROUND
================================================== */

.cg-case-gallery-section {
    background: var(--cg-dark);
    color: var(--cg-white);
}

.cg-case-gallery-section .cg-case-label {
    color: var(--cg-yellow);
}

.cg-case-gallery-section h2,
.cg-case-gallery-section .cg-case-mobile-copy h2 {
    color: var(--cg-white);
}

.cg-case-gallery-section .cg-case-copy,
.cg-case-gallery-section .cg-case-mobile-copy p {
    color: #fff;
}
.responsive-design:before{
content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(255, 255, 255), rgb(245, 197, 66)) !important;
}
.responsive-design:after{
content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgb(255, 255, 255), rgb(245, 197, 66)) !important;
}

.cg-case-mobile-copy p {
    max-width: 500px;
    font-size: 16px;
    line-height: 1.9;
}

.cg-case-mobile-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background:
        radial-gradient(
            circle at center,
            rgba(46, 111, 214, 0.17),
            transparent 70%
        ),
        rgba(255, 255, 255, 0.035);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}
div#n2-ss-5 .n2-style-df32cb3742fdac43eb0251df7d67c185-simple {
    background: transparent !important;
}
div#n2-ss-5 .nextend-thumbnail-horizontal .n2-align-content-start {
    justify-content: center !important;
}
.cg-case-mobile-image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 540px;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.25));
}


/* Gallery */

.cg-case-project-gallery {
    padding-top:0px;
}

.cg-case-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.cg-case-gallery-grid a {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: var(--cg-navy);
}

.cg-case-gallery-grid img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.cg-case-gallery-grid a:hover img {
    transform: scale(1.035);
}


/* Smart Slider 3 */

.cg-case-project-gallery .n2-ss-slider,
.cg-case-project-gallery .n2-ss-slider-wrapper,
.cg-case-project-gallery .n2-ss-slider-1 {
    max-width: 100%;
}

.cg-case-project-gallery .n2-ss-slider {
    margin-top: 28px;
    overflow: hidden;
    border-radius: 12px;
}


/* ==================================================
   SECTION 6 — YOUR CTA
   WHITE BACKGROUND
   Add .cg-case-cta to your own CTA wrapper if needed
================================================== */

.cg-case-study > .cg-case-cta {
    padding: 85px 0;
    color: var(--cg-navy);
    background: var(--cg-white);
}

.cg-case-study > .cg-case-cta h2 {
    color: var(--cg-navy);
}


/* ==================================================
   RESPONSIVE — TABLET
================================================== */

@media (max-width: 900px) {
    .cg-case-container {
        width: calc(100% - 44px);
    }

    .cg-case-hero {
        min-height: 510px;
    }

  

    .cg-case-section,
    .cg-case-showcase,
    .cg-case-gallery-section {
        padding: 78px 0;
    }

    .cg-case-features .cg-case-detail {
        padding: 26px;
    }
}


/* ==================================================
   RESPONSIVE — MOBILE
================================================== */

@media (max-width: 767px) {
    .cg-case-container {
        width: calc(100% - 36px);
    }

    .cg-case-hero {
        min-height: 0;
        padding: 75px 0 65px;
        background-position: center;
    }

    .cg-case-hero::before {
        background: linear-gradient(
            90deg,
            rgba(5, 13, 32, 0.95),
            rgba(19, 41, 75, 0.82)
        );
    }

    .cg-case-hero h1 {
        font-size: clamp(35px, 8.5vw, 48px);
        line-height: 1.1;
        letter-spacing: -0.8px;
       
    }

    .cg-case-intro {
        font-size: 15px;
        line-height: 1.8;
    }

    .cg-case-project-meta {
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
    }

    .cg-case-meta-item {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .cg-case-section,
    .cg-case-showcase,
    .cg-case-gallery-section {
        padding: 48px 20px;
    }

    .cg-case-study h2 {
        font-size: 32px !important;
        letter-spacing: -0.7px;
        text-align: center !important;
    }
    span.cg-case-label.responsive-design {
    text-align: center;
    justify-content: center !important;
    width: 100%;
}
.cg-case-mobile-copy p{
  font-size: 14px !important;
}
.cg-case-features .cg-case-detail .cg-case-copy{
font-size:14px !important;
}
    .cg-case-copy p {
    font-size: 14px !important;
}
    .cg-case-features .cg-case-details {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .cg-case-features .cg-case-detail {
        padding: 25px 22px;
    }

  

    .cg-case-mobile-image {
        min-height: 0;
        padding: 22px;
    }

    .cg-case-mobile-image img {
        max-height: 440px;
    }

    .cg-case-gallery-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

   

    .cg-case-copy {
        font-size: 15px;
        line-height: 1.85;
    }
}


/* ==================================================
   RESPONSIVE — SMALL MOBILE
================================================== */

@media (max-width: 480px) {
    .cg-case-container {
        width: calc(100% - 30px);
        text-align: center;
    }

    .cg-case-hero {
        padding: 60px 0 52px;
    }

    .cg-case-hero h1 {
        font-size: 34px;
        text-align: center;
    }

    .cg-case-category,
    .cg-case-label {
        font-size: 13px;
        letter-spacing: 1.3px;
    }

    .cg-case-meta-item {
        padding: 15px 17px;
    }

    .cg-case-features .cg-case-detail {
        padding: 22px 19px;
    }

    .cg-case-features .cg-case-detail h3 {
        font-size: 19px;
    }
}


/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .cg-case-detail,
    .cg-case-gallery-grid img {
        transition: none;
    }
}

/* Only required change: combine Overview, Services & Technologies */

.cg-case-overview .cg-case-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 38px;
    padding-top: 30px;
}


.cg-case-overview .cg-case-info-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    border: 1px solid #DCE5F2;
    border-radius: 16px;

    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #F7F9FD 100%
    );

    box-shadow: 0 5px 20px rgba(5, 13, 32, 0.035);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Premium hover effect */
.cg-case-overview .cg-case-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(46, 111, 214, 0.35);
    box-shadow: 0 14px 35px rgba(5, 13, 32, 0.09);
}

/* Card icons */
.cg-case-overview .cg-case-info-card > :first-child {
    flex-shrink: 0;
}

/* Icon styling when using SVG */
.cg-case-overview .cg-case-info-card svg {
    width: 42px;
    height: 42px;
    padding: 10px;
    box-sizing: content-box;
    color: #f1ba1a;
    background: rgba(46, 111, 214, 0.07);
    border: 1px solid rgba(46, 111, 214, 0.12);
    border-radius: 12px;
}

/* Card headings */
.cg-case-overview .cg-case-info-card h3 {
    color: #071B3A;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    margin: 4px 0 10px;
}

/* Card description */
.cg-case-overview .cg-case-info-card p {
    color: #53647D;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* Small category label */
.cg-case-overview .cg-case-info-card .cg-case-info-label {
    color: #2E6FD6;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .cg-case-overview .cg-case-info-card {
        gap: 15px;
        padding: 22px 18px;
        border-radius: 14px;
    }

    .cg-case-overview .cg-case-info-card h3 {
        font-size: 17px;
    }
}


.cg-case-overview .cg-case-info-icon {
    flex-shrink: 0;
}

.cg-case-overview .cg-case-info-content {
    min-width: 0;
}

.cg-case-overview .cg-case-info-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #f1ba1a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.cg-case-overview .cg-case-info-card h3 {
    margin: 0 0 10px;
    color: #13294B;
    font-size: 20px;
}

.cg-case-overview .cg-case-info-value {
    color: #13294B;
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .cg-case-overview .cg-case-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 28px;
        padding-top: 24px;
    }

    .cg-case-overview .cg-case-info-card {
        padding: 20px;
    }
}




/* ============================================
   CODEGEMS — CLIENT REVIEW
   FIXED DESKTOP + RESPONSIVE LAYOUT
============================================ */

.cg-case-study section.cg-case-client-review {
    position: relative !important;
    isolation: isolate;
    overflow: hidden;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 55px 30px !important;
    color: #F5F8FC !important;
    background:
        radial-gradient(circle at 18% 90%, rgba(0,74,180,.24), transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(255,201,40,.10), transparent 25%),
        linear-gradient(115deg, #06142C 0%, #020C20 55%, #071831 100%) !important;
}




/* Main container */
.cg-case-study .cg-case-client-review > .cg-case-container {
    position: relative;
    z-index: 1;
    width: 100% !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* ============================================
   HEADING — OUTSIDE THE CARD
============================================ */

.cg-case-study .cg-case-review-heading {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto 30px !important;
    padding: 0 !important;
    text-align: center !important;
    border: 0 !important;
    background: transparent !important;
}

.cg-case-study .cg-case-review-heading .cg-case-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 0 15px !important;
    color: #FFFFFF !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.8px !important;
    text-align: center !important;
}

.cg-case-study .cg-case-review-heading .cg-case-label::before,
.cg-case-study .cg-case-review-heading .cg-case-label::after {
    content: "";
    display: block;
    flex: 0 0 32px;
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, #FFFFFF, #FFC928) !important;
}

.cg-case-study .cg-case-review-heading h2 {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #FFFFFF !important;
    font-size: clamp(42px, 3.2vw, 58px) !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: -.8px !important;
    text-align: center !important;
}

.cg-case-study .cg-case-review-heading h2 .sub-line {
    color: #FFC928 !important;
}

/* ============================================
   REVIEW CARD — TWO COLUMNS
============================================ */

.cg-case-study .cg-case-review-inner {
    display: grid !important;
    grid-template-columns: minmax(230px, 30%) minmax(0, 70%) !important;
    grid-template-areas: "author content" !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 1250px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 1px solid rgba(46,111,214,.48) !important;
    border-radius: 18px !important;
    background: rgba(4,17,40,.30) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

/* Left — client details */
.cg-case-study .cg-case-review-inner .cg-case-review-author {
    grid-area: author !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 28px !important;
    border: 0 !important;
    border-right: 1px solid rgba(46,111,214,.40) !important;
    border-radius: 17px 0 0 17px !important;
    background: rgba(4,19,43,.38) !important;
    box-sizing: border-box !important;
}

/* Client photo */
.cg-case-study .cg-case-review-inner img.cg-case-review-photo {
    display: block !important;
    flex: 0 0 100px !important;
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 3px solid #FFC928 !important;
    border-radius: 50% !important;
    box-shadow:
        0 0 0 6px rgba(255,201,40,.10),
        0 0 0 12px rgba(255,201,40,.025) !important;
}

/* Client name, position, company */
.cg-case-study .cg-case-review-author-details {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-wrap: anywhere;
}

.cg-case-study .cg-case-review-author-details h3 {
    margin: 0 0 5px !important;
    color: #FFFFFF !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

.cg-case-study .cg-case-review-author-details p {
    margin: 0 0 8px !important;
    color: #B9C9E2 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.cg-case-study .cg-case-review-author-details span {
    color: #FFC928 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* ============================================
   RIGHT — REVIEW TEXT + STARS
============================================ */

.cg-case-study .cg-case-review-content {
    grid-area: content !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 30px 36px !important;
    border: 0 !important;
    background: rgba(4,17,40,.35) !important;
    border-radius: 0 17px 17px 0 !important;
    box-sizing: border-box !important;
}

/* Review quote */
.cg-case-study blockquote.cg-case-review-quote {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 35px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #F4F7FF !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
}

/* Decorative quote mark */
.cg-case-study blockquote.cg-case-review-quote::before {
    content: "\201C" !important;
    position: absolute !important;
    top: -7px !important;
    left: 0 !important;
    color: #FFC928 !important;
    font-family: Georgia, serif !important;
    font-size: 58px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    pointer-events: none !important;
}

.cg-case-study .cg-case-review-quote p {
    margin: 0 0 10px !important;
    color: #F4F7FF !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}

.cg-case-study .cg-case-review-quote p:last-child {
    margin-bottom: 0 !important;
}

/* Stars directly BELOW the review */
.cg-case-study .cg-case-review-content .cg-case-review-rating {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #FFC928 !important;
    font-size: 21px !important;
    line-height: 1 !important;
}

.cg-case-study .cg-case-review-content .cg-case-review-rating span {
    display: inline-block !important;
    flex: 0 0 auto !important;
    color: #FFC928 !important;
    line-height: 1 !important;
}

/* ============================================
   TABLET
============================================ */

@media (max-width: 900px) {
    .cg-case-study section.cg-case-client-review {
        padding: 45px 22px !important;
    }

    .cg-case-study .cg-case-review-inner {
        grid-template-columns: minmax(190px, 32%) minmax(0, 68%) !important;
    }

    .cg-case-study .cg-case-review-inner .cg-case-review-author {
        padding: 24px 20px !important;
    }

    .cg-case-study .cg-case-review-content {
        padding: 26px 24px !important;
    }
     .cg-case-study .cg-case-review-quote p {
    margin: 0 0 10px !important;
    color: #FFF !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}
    .cg-case-study blockquote.cg-case-review-quote {
        font-size: 15px !important;
        line-height: 1.75 !important;
    }

    .cg-case-study .cg-case-review-author-details h3 {
        font-size: 18px !important;
    }
}

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

@media (max-width: 600px) {
    .cg-case-study section.cg-case-client-review {
        padding: 38px 16px !important;
    }

    .cg-case-study .cg-case-review-heading {
        margin-bottom: 23px !important;
    }

    .cg-case-study .cg-case-review-heading .cg-case-label {
        gap: 9px !important;
        font-size: 13px !important;
        letter-spacing: 1.5px !important;
    }

    .cg-case-study .cg-case-review-heading .cg-case-label::before,
    .cg-case-study .cg-case-review-heading .cg-case-label::after {
        flex-basis: 25px;
        width: 25px;
    }
    .cg-case-study .cg-case-review-quote p {
    font-size: 14px !important;
	}
    .cg-case-study .cg-case-review-heading h2 {
        font-size: 32px !important;
        line-height: 1.2 !important;
        letter-spacing: -.5px !important;
    }

    .cg-case-study .cg-case-review-inner {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "author"
            "content" !important;
        border-radius: 16px !important;
    }

    .cg-case-study .cg-case-review-inner .cg-case-review-author {
        align-items: center !important;
        text-align: center !important;
        gap: 10px !important;
        padding: 15px 18px !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(46,111,214,.40) !important;
        border-radius: 15px 15px 0 0 !important;
    }

    .cg-case-study .cg-case-review-inner img.cg-case-review-photo {
        flex-basis: 82px !important;
        width: 82px !important;
        height: 82px !important;
        min-width: 82px !important;
        max-width: 82px !important;
        margin: 0 0 3px !important;
    }

    .cg-case-study .cg-case-review-author-details h3 {
        font-size: 19px !important;
    }

    .cg-case-study .cg-case-review-content {
        align-items: stretch !important;
        padding: 24px 20px !important;
        border-radius: 0 0 15px 15px !important;
    }

    .cg-case-study blockquote.cg-case-review-quote {
        padding-top: 35px !important;
        font-size: 14px !important;
        line-height: 1.8 !important;
    }

    .cg-case-study blockquote.cg-case-review-quote::before {
        top: -5px !important;
        font-size: 52px !important;
    }

    .cg-case-study .cg-case-review-content .cg-case-review-rating {
        margin-top: 14px !important;
        font-size: 19px !important;
        justify-content: center !important;
    }
}
