/* ================================================== */
/* INSTAGATE & IDRIVE SECTIONS CSS */
/* Compiled from gomrfence.com styles */
/* ================================================== */

/* Services Variant Base Styles */
.sv-tabs ul.nav-tabs{
    display: table;
    table-layout: fixed;
    width: 100%;
    border: 0;
    padding-left: 0;
    padding-right: 0;
}
.sv-tabs ul.nav-tabs li{
    display: table-cell;
    width: 100%;
    float: none;
    margin-bottom: 0;
}
.sv-tabs ul.nav-tabs li a{
    display: block;
    border: 1px solid #E1E1F0 !important;
    margin-right: -1px;
    padding: 15px;
    transition: all 0.35s ease-out;
    border-radius: 0;
}
.sv-tabs ul.nav-tabs li.active a,
.sv-tabs ul.nav-tabs li:hover a{
    color: #fff;
}

.sv-tabs ul.nav-tabs li.active a{
    background-color: #000;
}

@media (max-width: 767px){
    .sv-tabs ul.nav-tabs,
    .sv-tabs ul.nav-tabs li{
        display: block;
        width: 100%;
    }
}

.sv-tabs ul.nav-tabs li:hover:not(.active) a{
    background-color: #2C51AC;
}

/* Gate Image Hover Animation */
.gates-item {
    position: relative;
}

.gates-item img {
    transition: all 0.7s ease-in-out;
}

.gates-item .on-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.7s ease-in-out;
}

.gates-item:hover .on-hover {
    opacity: 1;
    visibility: visible;
}

.gates-item:hover > img {
    opacity: 0;
    visibility: hidden;
}

/* GOMR List Styles */
.gomr-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gomr-list li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 0px;
    color: #2C51AC;
    font-family: "Poppins", Sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 2;
}

.gomr-list li::before {
    content: "\f00c";
    font-family: "FontAwesome";
    font-weight: 100;
    position: absolute;
    left: 0;
    top: 10px;
    color: #2C51AC;
    font-size: 30px;
    line-height: 1;
    -webkit-text-stroke: 1px #2C51AC;
    text-stroke: 1px #2C51AC;
}

/* Clipped Image Style */
.clipped-image {
    width: 100%;
    height: 100%;
    max-width: 800px;
    max-height: 600px;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
    object-position: top;
}

/* Highlight Flex Row */
.hl-flex-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
}

.hl-flex-1 {
    flex: 1 1 0;
}

/* Gap fallback for older browsers */
@supports not (gap: 5px) {
    .hl-flex-1:not(:last-child) {
        margin-right: 5px;
    }
}

/* Background & Well Styles */
.bg-alt {
    background:#FAFAFA;
    border-top:1px solid #E0E0E0;
    border-bottom:1px solid #E0E0E0;
}

.well-white {
    background:#FFF;
}

/* Flexbox Utilities */
.d-flex {
    display: flex;
}

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

.flex-wrap {
    flex-wrap: wrap;
}

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

.justify-content-between {
    justify-content: space-between;
}

.align-items-start {
    align-items: flex-start;
}

.align-items-center {
    align-items: center;
}

.align-items-stretch {
    align-items: stretch;
}

.flex-grow-1 {
    flex-grow: 1;
}

/* Responsive Utilities */
.text-center {
    text-align:center !important;
}

.uppercase {
    text-transform:uppercase;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.center-image {
    display:block;
    margin:auto;
}

.rounded-sm {
    border-radius: 10px;
}

/* Padding Utilities */
.pt-xs{padding-top: 10px;}
.pt-sm{padding-top:20px;}
.pt-md{padding-top: 40px;}
.pt-lg{padding-top: 80px;}

.pb-xs{padding-bottom: 10px;}
.pb-sm{padding-bottom:20px;}
.pb-md{padding-bottom: 40px;}
.pb-lg{padding-bottom: 80px;}

.ptb-lg{padding-top: 80px;padding-bottom: 80px;}

.mb-sm{margin-bottom:20px;}
.mb-md{margin-bottom: 40px;}

/* Animation Box */
.animation-box {
    opacity: 1;
}

/* Stack Order for Mobile */
@media (max-width: 767px) {
    .stack-row {
        display: flex;
        flex-direction: column;
    }

    .stack-1 {
        order: 1;
    }

    .stack-2 {
        order: 2;
    }
}
