/* --- Global & Typography Rules --- */
html {
    scroll-behavior: smooth;
}

body *, 
i, 
em, 
#vvgS-kvfV-YsiK-Jbdf.Menu-Bar-3-v1 .mobile_menu_icon i {
    font-family: Helvetica !important;
}

/* --- Container 1 --- */
.cont-1 {
    background: #fff;
}

.cont-1:before,
.cont-1:after {
    content: "";
    display: table;
}

.bgcont-1 {
    position: relative;
}

/* --- Menu Bar & Header --- */
#vvgS-kvfV-YsiK-Jbdf {
    height: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 15px;
}

#vvgS-kvfV-YsiK-Jbdf.Menu-Bar-3-v1 .mobile_menu_icon {
    color: #0066ab !important;
}

#vvgS-kvfV-YsiK-Jbdf.Menu-Bar-3-v1 .search_icon2 {
    display: none;
}

@media screen and (min-width: 480px) {
    #vvgS-kvfV-YsiK-Jbdf.Menu-Bar-3-v1 .search_icon2, 
    #vvgS-kvfV-YsiK-Jbdf.Menu-Bar-3-v1 .mobile_menu_icon {
        display: none;
    }
}

#vvgS-kvfV-YsiK-Jbdf.Menu-Bar-3-v1 .desktop {
    background-color: #1e5aa200 !important; 
    color: #1e5aa2;
    box-shadow: none;
}

#vvgS-kvfV-YsiK-Jbdf.Menu-Bar-3-v1 .desktop.fixed {
    background-color: #1e5aa200 !important;
    color: #1e5aa2;
    display: none;
}

#vvgS-kvfV-YsiK-Jbdf.Menu-Bar-3-v1 .menu_container > ul > li a {
     font-weight: normal !important; 
}

#vvgS-kvfV-YsiK-Jbdf.Menu-Bar-3-v1 .menu_container > ul > li a:after {    
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: #0066ab;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

#vvgS-kvfV-YsiK-Jbdf.Menu-Bar-3-v1 .menu_container > ul > li a:hover:after { 
    width: 100%; 
    left: 0; 
}

div#gvSD-ALXR-Ghwg-PLvy.logo_image_container {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

/* --- UI Component 112 --- */
.ui-112 .ui-112-cap {   
    padding: 9px 10px 10px !important;   
    min-height: 70px !important;
    max-height: 70px !important;
    overflow: hidden !important;
}

.ui-112 .ui-112-cap h4 {
    line-height: 22px !important;
}

/* --- Grid & Item Sections --- */
.cont-3 {
    padding: 70px 0px 0px;
}

.cont-3 .Img-Title-Intro-Grid-7-v1 .article-card:hover .overley,
.cont-8 .Img-Title-Intro-Grid-7-v1 .article-card:hover .overley {
    height: 45% !important;
    transition-delay: 0s;
}

#qsQD-CCOZ-pAba-rrhd.Slider-Grid-2-v1 .image {
    background-size: contain !important;
}

#Umvj-nCrN-JEBu-wsff .Img-Title-Intro-UI-1-v1 {
    box-shadow: 0px 1px 8px -1px #d9d9d9 !important;
    margin-top: 0px;
}

#Umvj-nCrN-JEBu-wsff .content {
    background-position: -40px 319px;
}

#rCNY-gCPT-eCnB-sODn.Multimedia-Gallery-1-v2 {
    margin-top: 20px;
}

#rCNY-gCPT-eCnB-sODn.Multimedia-Gallery-1-v2 .grid a {
    background-size: contain !important;
}

#pJEQ-iKoA-blBc-NsGq {    
    border: 1px solid #d9d9d9;
}

#pJEQ-iKoA-blBc-NsGq .Img-Title-Intro-UI-1-v1 {
    padding-bottom: 10px;
    border-bottom: 1px solid #d9d9d9;
}

.hcont-2 {
    position: absolute;
    width: 100%;
    z-index: 500;
    margin-top: 30px;
}

.samtol-cat-grd {  
    padding: 102px 0 !important;
}

#XHZL-ezxU-uYaX-rgXV {
    display: none;
}

#ILVE-ntuv-CkhU-nOVJ.Img-Title-Intro-UI-2-v1 .mdntra-comp-03 .bg_transparent.bg_1::after {
    background-color: rgba(35, 31, 32, 0) !important;
}

.block-hourse.bg.bg_1.bg_transparent {
    height: 500px;
}

#hkDg-BPxB-xZjD-EhEL .owl-item .item .image {
    background-image: url('https://www.flexgrip.in/images/WebSiteImg_new size 1 border 4.png') !important;
    background-size: contain !important;
}

/* --- News Component --- */
#NewsComp-AMzH-kUyw-HLYx-qFyt {
    border-top: 0.1px solid #dcdcdc;
}

#NewsComp-AMzH-kUyw-HLYx-qFyt li {
    list-style-type: none;
    position: relative;
}

#NewsComp-AMzH-kUyw-HLYx-qFyt li::before {
    content: '';
    border: 2px solid #FFEB3B;
    right: -17px;
    position: absolute;
    top: 9px;
    left: -24px;
    font-weight: bold;
    height: 7px;
    width: 7px;
    border-radius: 50%;
}

#NewsComp-AMzH-kUyw-HLYx-qFyt .News-Article-1-v1 {
    border-top: 5px solid blue;
}

/* --- SVG Background Pattern Section --- */
.cont-10 .ncont {
    background-color: #f0f0f0;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nNDAnIGhlaWdodD0nNDAnIHZpZXdCb3g9JzAgMCA0MCA0MCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cGF0aCBkPSdNMCAwaDIwdjIwSDBWMHptMTAgMTdhNyA3IDAgMSAwIDAtMTQgNyA3IDAgMCAwIDAgMTR6bTIwIDBhNyA3IDAgMSAwIDAtMTQgNyA3IDAgMCAwIDAgMTR6TTEwIDM3YTcgNyAwIDEgMCAwLTE0IDcgNyAwIDAgMCAwIDE0em0xMC0xN2gyMHYyMEgyMFYyMHptMTAgMTdhNyA3IDAgMSAwIDAtMTQgNyA3IDAgMCAwIDAgMTR6YyBmaWxsPScjZmZmZmZmJyBmaWxsLW9wYWNpdHk9JzAuNDgnIGZpbGwtcnVsZT0nZXZlbm9kZCcvPjwvc3ZnPg==);
    padding: 30px 0px;
}

/* --- Contact & Forms --- */
#TGhB-xqvQ-ssVH-CZiK.Contact-Form-1-v1 .grid .details .grid2:nth-child(4) {
    display: none !important;
}

/* --- Gallery & Grid Layouts --- */
.Gallery_Container .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
}

.Gallery_Container .grid a {
    min-height: 325px !important;
}

/* --- Specific UI Grids --- */
.Img-Title-Intro-Grid-3-v2 .image {
    height: 100%;
    transition: all 0.6s ease;
}

#hkad-CPlk-CKmG-UYgt.Img-Title-Intro-Grid-3-v2 .description,
#bQjY-TYys-mrsE-cBsT.Img-Title-Intro-Grid-3-v2 .description {
    margin-top: 50px;
    background-color: #1e5aa2 !important;
}

#hkad-CPlk-CKmG-UYgt.Img-Title-Intro-Grid-3-v2 p {
    color: #a6d8f6 !important;
}

#hkad-CPlk-CKmG-UYgt.Img-Title-Intro-Grid-3-v2 h2 {
    color: #ffffff !important;
}

/* --- Special Embed Layout --- */
#jSTU-pyep-KnNe-adte.Special-Embed-Code {
    margin-bottom: -329px !important;
}

/* --- Catalogue Button (Frozen Element) --- */
#catalogueBtn {
    position: fixed !important;
    top: 20px !important;
    right: 139px !important;
    z-index: 99999999 !important;
}

/* --- Slider Custom Buttons Container --- */
#xcAs-govu-DHCX-TiXL .Custom-Buttons-1-v1 {
    margin-bottom: 20px !important;
    margin-right: -1181px !important;
    margin-top: -61px !important;
    position: relative;
    z-index: 999; 
}

/* --- Hide Button 2, Button 3, Button 4 --- */
#xcAs-govu-DHCX-TiXL .Custom-Buttons-1-v1 a:nth-child(n+2),
#xcAs-govu-DHCX-TiXL .Custom-Buttons-1-v1 > *:nth-child(n+2) {
    display: none !important;
}

/* --- Learn More Button Styling & Premium Looks --- */
#xcAs-govu-DHCX-TiXL .Custom-Buttons-1-v1 a:first-child {
    background-color: #0066ab !important; 
    color: #ffffff !important;
    font-weight: bold !important;
    padding: 10px 24px !important;
    border-radius: 4px !important; 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15) !important; 
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

#xcAs-govu-DHCX-TiXL .Custom-Buttons-1-v1 a:first-child:hover {
    background-color: #1e5aa2 !important; 
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-2px) !important; 
}

/* --- Mobile View Layout Fix --- */
@media screen and (max-width: 991px) {
    #xcAs-govu-DHCX-TiXL .Custom-Buttons-1-v1 {
        margin: 20px auto !important;
        position: static !important;
        text-align: center !important;
        float: none !important;
        display: block !important;
        width: 100% !important;
        clear: both !important;
    }
    #xcAs-govu-DHCX-TiXL .Custom-Buttons-1-v1 a:first-child {
        display: inline-block !important;
        margin: 0 auto !important;
    }
}