/**
 * Ready Layouts Modular Styles
 */

html {
    scroll-behavior: smooth;
}

/* General Wrapper */

/* Multidirection Layout */
.layout-multidirection-item {
    transition: transform 0.3s ease;
    margin-top: 2rem;
}

.layout-multidirection-item img {
    object-fit: cover;
    height: 100%;
    min-height: 300px;
    max-height: 450px;
}

.layout-multidirection-item .content-body {
    font-size: 1.1rem;
    color: #555;
}

/* Animations for entries */
.layout-multidirection-item:hover {
    transform: translateY(-5px);
}

@media (max-width: 767px) {
    .layout-multidirection-item img {
        min-height: auto;
        margin-bottom: 2rem;
    }
}

/* Hero Section */
.layout-hero_section {
    position: relative;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    min-height: 700px;
    /* Increased for better zoom handling */
    display: flex;
    align-items: center;
    padding: 0;
    /* Premium spacious padding from mockup */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgb(56 87 167) 0%, rgb(26 48 104) 35%, rgba(40, 65, 129, 0.5) 100%);
    /* Adjusted opacity for better coverage */
    z-index: 1;
}

.layout-hero_section .container {
    z-index: 2;
    padding-left: 12px;
    padding-right: 12px;
}

.layout-hero_section .container>.row>.mt-5 {
    padding-top: 0 !important;
    padding-bottom: 2em !important;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #FF9500;
    border-radius: 50%;
}

.hero-title .title-white {
    color: #ffffff;
}

.hero-title .title-orange {
    color: #FF9500;
    white-space: nowrap;
    /* Prevent title from wrapping into two lines */
}

.hero-title .underlined-word {
    position: relative;
    display: inline-block;
}

.hero-title .underlined-word::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    /* Perfectly aligned under the word */
    width: 100%;
    height: 14px;
    /* Increased for better visibility */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8c20-2 40-4 60-4 15 0 30 2 35 4' stroke='%23FF9500' stroke-width='6' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 10;
    display: block !important;
    pointer-events: none;
}

.hero-subtitle {
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.btn-primary-hero {
    background: #FF9500;
    border: none;
    color: #ffffff;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-primary-hero:hover {
    background: #e68600;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 149, 0, 0.3);
    color: #ffffff;
}

.btn-secondary-hero {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: #ffffff;
}

@media (max-width: 991px) {
    .layout-hero_section {
        min-height: auto;
        padding: 40px 0;
    }

    .layout-hero_section .container>.row {

        padding-top: 0 !important;

    }

    .layout-hero_section .container>.row>.mt-5 {
        margin-top: 1em !important;
    }

    .hero-overlay {
        background: rgba(26, 43, 86, 0.85);
        /* Use a more solid navy for readability on mobile wrap */
    }

    .hero-title {
        font-size: calc(1.8rem + 2.5vw);
        /* Responsive scaling */
        line-height: 1.2;
    }

    .hero-title .underlined-word::after {
        height: 8px;
        /* Slightly thinner underline for smaller text */
        bottom: -10px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-title .title-orange {
        white-space: normal;
        /* Allow wrap on mobile to avoid overflow */
    }
}

/* Steps Boxes Section */
.layout-steps-boxes {
    overflow: hidden;
    margin-bottom: 3em;
}

.hiw-step-icon-wrapper {
    z-index: 2;
    width: fit-content;
}

.hiw-step-icon-wrapper img {
    max-width: 130px;
    /* Adjust based on image scale */
    height: auto;
}

.hiw-steps-row .hiw-line {
    position: absolute;
    top: 5em;
    /* Centers line vertically on 130px tall icons */
    left: 12%;
    width: 76%;
    height: 1px;
    background: #d4c4b6;
    /* Light tan/brown from image */
    z-index: 1;
}

.hiw-step-item {
    position: relative;
    z-index: 2;
}

.hiw-step-item .h5,
.hiw-step-item h4,
.hiw-step-item h3 {
    font-size: 1.25rem;
    margin-top: 1rem;
}

.step-desc {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

.col-lg-custom-5 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 991px) {
    .hiw-steps-row .hiw-line {
        display: none;
    }

    .col-lg-custom-5 {
        width: 100%;
    }
}

/* Media Inside Boxes Section */
.layout-media-inside-boxes {
    background-color: #ffffff !important;
}

.layout-media-inside-boxes .media-box-wrapper {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.layout-media-inside-boxes .media-box-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(40, 65, 129, 0.08) !important;
}

.layout-media-inside-boxes .media-box-wrapper.no-box-style {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

.layout-media-inside-boxes .media-box-wrapper.no-box-style:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Hard override for when classes are stripped in 1-column mode */
.mib-flat-col {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.mib-flat-col .media-box-wrapper,
.mib-flat-col .media-box-image-container,
.mib-flat-col .h-100 {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    transform: none !important;
}

.rounded-5 {
    border-radius: 1.5rem !important;
    /* Approx 24px */
}

.layout-media-inside-boxes .media-box-image-container {
    background-color: #F8F9FB;
    /* Very light grey-blue */
    min-height: 140px;
}

.layout-media-inside-boxes .media-box-image-container img {
    width: auto;
}

.media-box-desc>p {
    overflow-wrap: anywhere;
}

.media-box-item a.media-box-wrapper:hover h5,
.media-box-item a.media-box-wrapper:hover h4,
.media-box-item a.media-box-wrapper:hover h3,
.media-box-item a.media-box-wrapper:hover h2,
.media-box-item a.media-box-wrapper:hover h1 {
    color: var(--prime-orange) !important;
}

.layout-media-inside-boxes>.container>.text-center p {
    max-width: unset !important;
}

/* Locations Mapping Section */
.layout-locations-mapping .lm-list-container {
    scrollbar-width: thin;
    scrollbar-color: #284181 rgba(40, 65, 129, 0.05);
}

.layout-locations-mapping .lm-list-container::-webkit-scrollbar {
    width: 6px;
}

.layout-locations-mapping .lm-list-container::-webkit-scrollbar-track {
    background: rgba(40, 65, 129, 0.05);
    border-radius: 10px;
}

.layout-locations-mapping .lm-list-container::-webkit-scrollbar-thumb {
    background: #284181;
    border-radius: 10px;
}

.layout-locations-mapping .lm-search-input:focus {
    box-shadow: none;
    border-color: var(--prime-blue);
}

.lm-map-canvas {
    min-height: 400px;
}

.lm-location-box h4 {
    line-height: 1.3;
}

.lm-location-box .lm-distance {
    white-space: nowrap;
}

.lm-location-box.highlighted,
.lm-location-box:hover {
    border-color: #284181 !important;
    background-color: #20439d12 !important;
    box-shadow: 0 10px 25px rgba(40, 65, 129, 0.1) !important;
    transform: translateY(-2px);
}

.lm-location-box.highlighted h4,
.lm-location-box:hover h4 {
    color: #284181 !important;
}

/* Mapbox Popup Styling */
.mapboxgl-popup-content {
    border-radius: 12px;
    padding: 10px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
}

.mapboxgl-popup-close-button {
    padding: 5px;
}

/* Page Banner Section */
.page-banner-section {
    background-color: var(--prime-blue);
    position: relative;
    padding: 4rem 0;
}

.banner-badge {
    color: #ffffff;
    font-size: 0.9rem;
}

.banner-title {
    color: #ffffff;
    letter-spacing: -0.5px;
}

.banner-underlined-word {
    position: relative;
    display: inline-block;
}

.banner-underlined-word::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 100%;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8c20-2 40-4 60-4 15 0 30 2 35 4' stroke='%23FF9500' stroke-width='6' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 10;
}

.banner-subtitle {
    line-height: 1.6;
    font-size: 1.25rem;
}

@media (max-width: 767px) {
    .banner-title {
        font-size: 2.5rem;
    }
}

/* Multidirection Layout */
.multidirection-section {
    position: relative;
}

.md-badge {
    border: 1px solid rgba(255, 149, 0, 0.1);
}

.md-title {
    font-size: 2.8rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.md-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.md-image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

.md-bullet-group li svg {
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .md-title {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   DESIGNED FOR BUSINESS SECTION
   ========================================================================== */
.designed-for-business-section {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    background-color: #284181;
}

.dfb-badge {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dfb-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 100px;
}

.dfb-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.dfb-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.dfb-icon-wrapper img {
    object-fit: contain;
    max-width: 32px;
}

.designed-for-business-section h2 {
    letter-spacing: -1px;
    font-size: 3.5rem;
}

@media (max-width: 767px) {
    .designed-for-business-section h2 {
        font-size: 2.5rem;
    }

    .dfb-item {
        padding: 1.5rem !important;
    }
}

/* ==========================================================================
   GLOBAL CTA SECTIONS
   ========================================================================== */
.cta-section-design-1 {
    background-color: #263238;
    /* Updated Dark Blue Grey */
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-section-design-1 .cta-title {
    font-size: 2.75rem;
    letter-spacing: -0.5px;
}

.cta-section-design-1 .cta-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
}

.cta-features-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.features-box-title {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.cta-section-design-1 .btn-primary.btn-cta-main {
    background-color: #FF9500;
    border-color: #FF9500;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 149, 0, 0.3);
    transition: all 0.3s ease;
}

.cta-section-design-1 .btn-primary.btn-cta-main:hover {
    background-color: #e68600;
    border-color: #e68600;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 149, 0, 0.4);
}

.cta-section-design-1 .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.cta-section-design-1 .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-divider {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.cta-questions-section h3 {
    font-size: 2rem;
}

@media (max-width: 767px) {
    .cta-section-design-1 .cta-title {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
    background-color: #F7F8F9 !important;
}

.custom-faq-accordion .accordion-item {
    border: 1px solid #E2E8F0 !important;
}

.custom-faq-accordion .accordion-button {
    background-color: transparent !important;
    color: var(--prime-blue);
    font-size: 1.15rem;
    box-shadow: none !important;
}

.custom-faq-accordion .accordion-button:not(.collapsed) {
    background-color: #F1F4F9 !important;
    color: var(--prime-blue);
}

.custom-faq-accordion .accordion-button::after {
    background-size: 1rem;
    transition: transform 0.2s ease-in-out;
}

.custom-faq-accordion .accordion-body {
    font-size: 1rem;
    line-height: 1.7;
    background-color: #fff;
}

.faq-group h3 {
    letter-spacing: -0.5px;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumb-wrapper {
    background-color: transparent;
}

.shipdesk-breadcrumb-nav .breadcrumb {
    font-size: 0.9rem;
    padding: 0;
}

.shipdesk-breadcrumb-nav .breadcrumb-item a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.shipdesk-breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--prime-orange);
}

.shipdesk-breadcrumb-nav .breadcrumb-item.active {
    color: var(--prime-blue);
    font-weight: 500;
}

.shipdesk-breadcrumb-nav .breadcrumb-separator {
    color: #94A3B8;
}

@media (max-width: 767px) {
    .shipdesk-breadcrumb-nav .breadcrumb {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   MAIN SECTION WITH CTA (HIGH FIDELITY)
   ========================================================================== */
.ms-cta-card {
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
    background: #ffffff;
}

.ms-cta-card.ms-bg-glow {
    background: radial-gradient(circle at 100% 0%, #fff8f0 0%, #ffffff 50%);
}

.p-xl-100 {
    padding: 70px !important;
}

.ms-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff5e6;
    color: #ff9500;
    padding: 10px 20px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: none;
}

.ms-badge i {
    font-size: 1rem;
}

.ms-title {
    color: #1a2b56;
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.ms-description {
    color: #64748b;
    font-size: 1.4rem;
    line-height: 1.5;
    max-width: 580px;
}

.ms-bullets {
    margin: 0;
    padding: 0;
}

.ms-bullet-icon {
    color: #1a2b56;
    flex-shrink: 0;
}

.ms-bullet-text {
    color: #64748b;
    font-size: 1.3rem;
    font-weight: 500;
}

.ms-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ff9500;
    color: #ffffff !important;
    padding: 20px 48px;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 15px 40px rgba(255, 149, 0, 0.3);
    transition: all 0.3s ease;
}

.ms-cta-btn:hover {
    background: #e68600;
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(255, 149, 0, 0.4);
}

.ms-cta-btn i {
    font-size: 2rem;
    line-height: 1;
}

.ms-disclaimer {
    color: #94A3B8;
    font-size: 1.1rem;
}

.ms-disclaimer i {
    font-size: 1.2rem;
}

.ms-main-image {
    /* max-width: 100%; */
    transform: perspective(1000px) rotateY(-5deg);
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.15));
    width: 100%;
}

@media (max-width: 1199px) {
    .p-xl-100 {
        padding: 60px !important;
    }

    .ms-title {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    .ms-title {
        font-size: 2.5rem;
    }

    .ms-cta-card {
        border-radius: 30px;
    }

    .ms-main-image {
        transform: none;
        max-width: 80%;
        margin-top: 2rem;
    }
}

.max-width-800 {
    max-width: 800px;
}

/* ==========================================================================
   TOP BULLETS LAYOUT (CENTERED GRID)
   ========================================================================== */
.top-bullets-layout {
    font-family: inherit;
}

.tb-title {
    color: #1a2b56;
    font-size: 3rem;
    letter-spacing: -0.02em;
}

.tb-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tb-default-icon {
    width: 64px;
    height: 64px;
    background: #3c589b;
    /* Navy blue from design */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 10px 20px rgba(60, 88, 155, 0.2);
}

.tb-custom-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tb-text {
    font-size: 1.15rem;
    color: #4a5568;
    line-height: 1.5;
    font-weight: 500;
}

.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
    position: relative;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
}

@media (max-width: 991px) {
    .col-lg-2-4 {
        width: 33.333%;
    }

    .tb-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 767px) {
    .col-lg-2-4 {
        width: 50%;
    }
}

/* Distance Badge */
.lm-distance-badge {
    font-size: 0.9em !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    background-color: #F99E1F1A !important;
    /* Light grey */
    color: #F99E1F !important;
    /* Dark grey text */
    border: 1px solid #E5E7EB !important;
    white-space: nowrap;
}

/* ==========================================================================
   CTA WITH 4 BOXES SECTION
   ========================================================================== */
.cta-4-boxes-section {
    background-color: #F0F2F480 !important;
    /* EXACT Background */
}

/* Badge Styling */
.c4b-badge {
    background-color: #FFF5E6 !important;
    /* Light-orange/beige background */
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
}

.c4b-badge .small {
    color: #FF9500 !important;
    font-size: 0.85rem !important;
}

.c4b-badge-icon {
    color: #FF9500 !important;
}

/* Typography Styling */
.c4b-title {
    color: #1a2b56 !important;
    /* Navy Dark */
    font-size: 3.75rem !important;
    /* matches display-4 */
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.c4b-underlined {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.c4b-underlined::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -15px;
    /* lower and thicker wavy line */
    width: 100%;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8c20-2 40-4 60-4 15 0 30 2 35 4' stroke='%23FF9500' stroke-width='6' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -1;
}

.c4b-description {
    color: #94A3B8 !important;
    /* Slate Light */
    font-size: 1.35rem !important;
    line-height: 1.5;
    max-width: 600px;
    font-weight: 500;
}

/* Highlight Sentence Styling */
.c4b-highlight-text {
    color: #1a2b56 !important;
    /* Navy Bold */
    font-size: 1.3rem !important;
    font-weight: 800 !important;
}

.c4b-line {
    width: 40px;
    height: 3px;
    background: #FF9500;
}

/* CTA Button Styling */
.c4b-cta-btn {
    background-color: #FF9500 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 1.4rem !important;
    border-radius: 16px !important;
    padding: 20px 48px !important;
    border: none !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.c4b-cta-btn:hover {
    background-color: #e68600 !important;
    transform: translateY(-3px);
}

.shadow-orange {
    box-shadow: 0 15px 40px rgba(255, 149, 0, 0.4);
}

/* Cards Styling */
.c4b-card {
    background-color: #ffffff !important;
    border-radius: 30px !important;
    /* rounded-5 plus */
    border: none !important;
    padding: 40px !important;
    transition: all 0.4s ease;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.03) !important;
    height: 100%;
}

.c4b-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08) !important;
}

.c4b-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #FFF5E6 !important;
    border-radius: 14px;
    color: #FF9500 !important;
}

.c4b-card h3 {
    color: #3c589b !important;
    /* Mid Navy */
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    margin-top: 15px;
    line-height: 1.25;
}

.c4b-card p {
    color: #94A3B8 !important;
    /* Slate */
    font-size: 1.1rem !important;
    line-height: 1.6;
    margin-top: 15px;
}

@media (max-width: 991px) {
    .c4b-title {
        font-size: 2.8rem !important;
    }

    .c4b-description {
        font-size: 1.15rem !important;
    }
}

.c4b-bottom-cta {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Icon Feature Grid Layout */
.layout-icon-feature-grid {
    background-color: #F8F9FB;
}

.ifg-card {
    background: #fff;
    border: 1px solid #EDEDED !important;
    transition: all 0.3s ease;
}

.ifg-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-8px);
}

.ifg-icon-bg {
    transition: transform 0.3s ease;
}

.ifg-card:hover .ifg-icon-bg {
    transform: scale(1.05);
}

.col-lg-custom-5 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 1200px) {
    .col-lg-custom-5 {
        width: 33.333333%;
    }
}

@media (max-width: 991px) {
    .col-lg-custom-5 {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .col-lg-custom-5 {
        width: 100%;
    }
}

/* ==========================================================================
   GRID FEATURE LAYOUT
   ========================================================================== */
.layout-grid-feature {
    background-color: #fcfcfc;
}

.gf-main-title {
    color: #1a2b56;
    font-size: 3.25rem;
    letter-spacing: -0.02em;
}

.gf-main-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
}

.gf-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
    border-radius: 24px !important;
}

.gf-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 43, 86, 0.1) !important;
    border-color: rgba(26, 43, 86, 0.1) !important;
}

.gf-logo-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F9FB;
    border-radius: 12px;
    padding: 12px;
}

.gf-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gf-badge {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 6px 16px !important;
}

.gf-badge-gray {
    background-color: #F1F4F9;
    color: #4A5568;
}

.gf-badge-orange {
    background-color: #FFF5E6;
    color: #ff9500;
}

.gf-item-desc {
    font-size: 1.05rem;
    color: #64748b;
}

.gf-item-desc p {
    margin-bottom: 0.75rem;
}

.gf-item-desc p:last-child {
    margin-bottom: 0;
}

.gf-footer-text {
    font-size: 1.1rem;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .gf-main-title {
        font-size: 2.25rem;
    }

    .gf-card {
        padding: 1.75rem !important;
    }

    .gf-logo-wrapper {
        width: 56px;
        height: 56px;
        padding: 10px;
    }
}

/* ==========================================================================
   VERTICAL ICON GRID LAYOUT
   ========================================================================== */
.layout-vertical-icon-grid {
    background-color: #ffffff;
}

.layout-vertical-icon-grid .vig-badge {
    background: #FFF8EE;
    border: 1px solid #FFE6C7;
    border-radius: 50px;
}

.layout-vertical-icon-grid .vig-badge .badge-text {
    color: #FF9500;
    font-size: 0.9rem;
}

.layout-vertical-icon-grid .vig-main-title {
    color: #1a2b56;
    font-size: 3rem;
    letter-spacing: -0.02em;
}

.layout-vertical-icon-grid .vig-card {
    border-color: #f1f5f9 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 24px !important;
}

.layout-vertical-icon-grid .vig-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(26, 43, 86, 0.08) !important;
}

.layout-vertical-icon-grid .vig-box-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.layout-vertical-icon-grid .vig-box-icon {
    max-width: 64px;
    height: auto;
}

.layout-vertical-icon-grid .vig-box-title {
    color: #1a2b56;
    font-size: 1.5rem;
    font-family: 'Raleway', sans-serif;
}

.layout-vertical-icon-grid .vig-feature-icon {
    max-width: 24px;
    height: auto;
}

.layout-vertical-icon-grid .vig-feature-text {
    color: #64748B;
    font-size: 1.05rem;
    line-height: 1.4;
    font-weight: 500;
}

.layout-vertical-icon-grid .vig-footer-text {
    font-size: 1.15rem;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .layout-vertical-icon-grid .vig-main-title {
        font-size: 2.25rem;
    }

    .layout-vertical-icon-grid .vig-card {
        padding: 2.5rem !important;
    }
}

@media (max-width: 575px) {
    .layout-vertical-icon-grid .vig-main-title {
        font-size: 1.8rem;
    }
}