/*
Theme Name: Page Ivy
Author: Seven Hills Creative
Author URI: https://www.sevenhillscreative.co.uk/
Description: Another custom theme for a happy customer!
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2022.1
Requires at least: 5.2
Requires PHP: 7.0
*/


html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{text-decoration:none}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:none}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

/* ///// BASE ///// */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    color: #0B233B;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    /* transition: all 0.4s ease; */
    /* outline: 1px solid red !important; */
}

html{
    overflow-x: hidden !important;
  }
  
body{
    font-family: "Poppins", sans-serif;
    overflow-x: hidden !important;
    display: grid;
  }


@media only screen and (max-width: 1100px) {}
@media only screen and (max-width: 960px) {}
@media only screen and (max-width: 760px) {}
@media only screen and (max-width: 660px) {}
@media only screen and (max-width: 560px) {}
@media only screen and (max-width: 460px) {}
@media only screen and (max-width: 360px) {}
@media only screen and (max-width: 320px) {
    body, header, main, section, footer {
    width: 320px;
    }
}


/* LAYOUT ************************************************/

section, article, main, nav, header {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-column: 1 / 17;
    justify-self: center;
    max-width: 2000px;
    width: 100%;
}

footer {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-column: 1 / 17;
    justify-self: center;
    max-width: 2000px;
    width: 100%;
}
  
footer img{
    max-width: 100%;
}

ul, li {
    font-family: "Poppins", sans-serif;
    letter-spacing: 0.1em;
    line-height: 30px
}

ul, ol {
    font-family: "Poppins", sans-serif;
    letter-spacing: 0.05em;
}


img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.slider3-curve, .slider5-curve, .cta1-curve, .cta4-curve, .cta4-curve2, .info1-curve {
    overflow: hidden;
    position: relative;
}



/*  BUTTON LINKS  */
.all-button {
    justify-self: start;
    font-family: "Poppins", sans-serif;;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 0.8em 1em;   
    min-width: 143px;
    text-transform: capitalize;
    border-radius: 25px;
    cursor: pointer;
}

/* Dark Blue Button */
.dark-blue-button {
    background: transparent;
    border: 2px solid #0B233B;
    color: #0B233B;
}

.dark-blue-button:hover {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

/* blue Button */
.blue-button {
    background: #5BBDB2;
    border: 2px solid #5BBDB2;
    color: #0B233B;
}

.blue-button:hover {
    background: transparent;
    border: 2px solid #5BBDB2;
    color: #5BBDB2;
}

/* Blue Trans Border Button */
.blue-trans-button {
    background: transparent;
    border: 2px solid #5BBDB2;
    color: #5BBDB2;
}

.blue-trans-button:hover {
    background: transparent;
    border: 2px solid white;
    color: white;
}

/* Blue Trans to dark blue Border Button */
.blue-trans-dark-button {
    background: transparent;
    border: 2px solid #5BBDB2;
    color: #5BBDB2;
}

.blue-trans-dark-button:hover {
    background: transparent;
    border: 2px solid #0B233B;
    color: #0B233B;
}


/* White Trans Button */
.white-trans-button {
    background: transparent;
    border: 2px solid white;
    color: white;
}


/* FORM SUBMIT BUTTON */
input[type=submit] {
    justify-self: center;
    font-family: "Poppins", sans-serif;;
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0.05em;
    text-align: center;  
    padding: 0.7em 2em;   
    text-transform: capitalize;
    background: #5BBDB2;
    border: 2px solid #0B233B;
    color: #0B233B;
    border-radius: 25px;
}

input[type=submit]:hover {
    background: transparent;
    border: 2px solid white;
    color: white;
} 

@media only screen and (max-width: 760px) {
    .yellow-button {
        font-size: 14px;
        font-weight: 700;
        line-height: 30px;
        letter-spacing: 0.1em;
    }
}


/* ///// TEXT //// */
h1, h2, h3, h4, h5, h6{
    letter-spacing: 0.05em;
    color:white;
    text-transform: uppercase;
    letter-spacing: 0em; 
}

h1{
    font-size: 48px;
    font-weight: 700;
}

h2{
    font-size: 36px;
    font-weight: 700;
}

h3{
    font-size: 20px;
    font-weight: 700;
}

h4{
    font-size: 16px;
    font-weight: 600;
}


p{
    color: #0B233B;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
}

label{
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
}


ul {
   list-style-type: disc;
   color: #5BBDB2;

}

ul.main-nav{
  padding: 0;
}

ol{
  list-style-type: decimal;
}

li {
  color: #0B233B;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
}

li::marker {
    color: #5BBDB2;
    list-style: disc;
  }
  

strong{
  font-weight: 700;
}

em{
  font-style: italic;
}

.underline{
  text-decoration: underline;
}

a{
  cursor: pointer !important;
  text-decoration: none;

}

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

    h1{
        font-size: 28px;
        font-weight: 700;
    }
    
    h2{
        font-size: 24px;
        font-weight: 700;

    }
    
    h3{
        font-size: 16px;
        font-weight: 700;
   
    }
    
    h4{
        font-size: 18px;
        font-weight: 600;
      
    }
        
    p , li{
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
    }        

}





/* MENU BAR DESKTOP VIEW */
.outer-banner-message-outer {
    background-color: #0B233B;
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-column: 1 / 17;
    position: fixed;
    z-index: 1000;
    width: 100%; 
}

.banner-message-outer {
    display: grid;
    grid-template-columns: 30% 1fr;
    grid-column: 2 / 16;
    align-items: center;
    padding: 0.7em 0;
}

.inner-banner-message {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.inner-banner-message-sub {
    grid-template-columns: 1fr;
    justify-self: center;
    text-align: center;
}

.inner-banner-message-sub h4 {
    color: white;
    font-size: 16px;
    font-weight: 500;
    line-height: 40px;
    text-transform: none;
}

.inner-banner-message label {
    color: white;
    font-size: 16px;
    font-weight: 500;
    line-height: 40px;
    cursor: pointer;
}

.banner-message-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 1em;
    justify-self: end;
    align-items: center;
}


@media only screen and (min-width: 1040px) {

    #hamburger-input:checked, #hamburger-menu #sidebar-menu{
        display: none;
    }

    .grid-header-section {
        display: grid;      
        z-index: 2;
        margin-top: 5em;
    }

    .grid-header-outer {
        display: grid;
        grid-template-columns: 30% 1fr;
        grid-column: 2 / 16;
        align-items: center;
        margin: 1em 0;
        background-color: white;
    }

    .grid-header-outer a img{
        max-width: 165px;
        width: 100%;
        display: grid;
    }

    .grid-header-outer i {
        font-size: 28px;
    }

    .grid-header-outer {
        font-size: 14px;
        font-weight: 600;
        line-height: 17px;
        letter-spacing: 0.2em;
    }

    .menu-sec-one {
        justify-items: start;
    }

    .menu-sec-two {
        justify-items: end;
    }

    .header-menu {
        display: grid;
    }

    .header-menu ul{
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        text-align: center;
        align-self: center;
        justify-self: stretch;
    }

    .header-menu ul li {
        list-style: none;
    }

    .header-menu a {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: 0em;
    }

    .header-menu li:hover a {
        font-weight: 600;
    }
    
   
    #hamburger-input, .overlay, #hamburger-menu, #sidebar-menu, .header-bar  {
        display: none;
    }

  
    /* When hovering over parent menu items, display their sub-menus */
    .menu-item.parent:hover .sub-menu {
        display: block;
        width: 20%;
    }

    .menu-item.parent i {
        font-size: 14px;
        margin-left: 5px;
    }

    .menu-item-has-children > a:after {
        /* content: '\2304';
        margin-left: 5px;
        font-weight: 900;
        font-size: 1em;
        color: #000; */
    }
    





    /* SUB MENU ************************************************/

    .menu-item .sub-menu {
        display: none;
    }

    .menu-item .sub-menu .menu-item .sub-menu {
        display: none;
    }

    .menu-item .sub-menu .menu-item a {
        color:#0B233B;
        font-size: 16px;
        font-weight: 400;
        line-height: 18px;
        letter-spacing: 0.05em;
    }

    .menu-item .sub-menu .menu-item a:hover {
        font-weight: 600;
    }

    /* .menu-item .sub-menu { */
    .menu-item:hover .sub-menu {
        display: grid;
        grid-template-columns: 1fr;
        width: 15%;
        gap: 1em;
        background-color: #5BBDB2;
        padding: 2em;
        text-align: left;
        z-index: 50 !important;    
        justify-self: center;
        margin: auto;
        border-top: 1.39em white solid;   
        position: absolute; 
    }

    .menu-item .sub-menu  {
        position: relative;
    }
    
    .menu-item .sub-menu :before {
        content: '';
        position: absolute;
        top: -36px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 20px;
        border-style: solid;
        border-color: transparent transparent #5BBDB2 transparent;
        z-index: 20;
    }

    .menu-item .sub-menu .menu-item {
        padding: 0.5em 0 0 0;
    }

    .logo {
        z-index: 21;
        justify-self: center;
    }



/* SUB SUB MENU ************************************************/

.menu-item .sub-menu .menu-item .sub-menu li{
    padding: 0;
    justify-self: left;
    display: grid;
}

.menu-item .sub-menu .menu-item .sub-menu a span {
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0em;
}

.menu-item:hover .sub-menu .menu-item .sub-menu{
    border-top: none;
}

/* .menu-item .sub-menu .menu-item:hover .sub-menu {  */
    .menu-item .sub-menu .menu-item .sub-menu {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0em;
        padding: 0;
        top: 0;
        align-content: center;
        border-top: none;
        position: relative;
        margin: 0;
        padding-left: 1em;
    }

    .menu-item .sub-menu .menu-item .sub-menu .menu-item a span{
    display: grid;
    justify-items: left;
    padding: 1em 0;
    }

}


    

/* RESPONSIVE MENU UNCLICKED */
@media only screen and (max-width: 1040px) {

    .grid-header-outer, .outer-banner-message-outer{
        display: none;
    }

    /* Mobile display settings before menu in clicked */
    .header-bar {
        display:grid;
        grid-template-columns: 60% 1fr;
        grid-column:  2 / 16; 
        align-self: center;
        margin: 1em 0;
    }

    .header-bar a {
        justify-self: left;
    }
    
    .header-bar img{
        max-width: 243px;
        width: 100%;
        object-fit: contain;
    }

    .responsive-menu {
        align-self: center;
    }

    #sidebar-menu ul li a span {
        color: white;
    }

    #sidebar-menu ul li a:hover{
        color:#5BBDB2;
    }

    /* Hamburger Menu settings */
    .menu-icon {
        width: 33px;
        height: 2px;
        background-color: #0B233B;
        margin: 3px 0;
    }

    /* Flyout Settings */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s, visibility .35s, height .35s;
        overflow: hidden;
        background: #0B233B;
    }
    
    /* hiding the hamburger menu */
    #hamburger-input{
        display: none;
    }
    
    /* postition of hamburger menu */
    #hamburger-menu {
        display: flex;
        align-items: end;
        flex-direction: column;
    }

    /* appearance of flyout */
    #hamburger-menu #sidebar-menu {
        grid-template-columns: 1fr;
        visibility: hidden;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        background-color: #0B233B;
        transition: 0.3s;
        box-sizing: border-box;
        z-index: 20;
        border-radius: 0px 0px 20px 20px;
    }

    #hamburger-menu ul {
        margin: 3em 0;
        width: 70%;
    }

    #hamburger-menu ul .sub-menu{
        margin: 1em 0 1em 1em;
    }

    #hamburger-menu ul .sub-menu li {
        border-bottom: none;
    }

    #hamburger-menu li {
        list-style-type: none;
        padding: 0.5em 0;
        border-bottom: 1px solid white;
    }

    #hamburger-menu a {
        color: white;
        text-decoration: none;
        transition: transform 0.5s;
        align-items: center;
        display: flex;
        padding: 0.5em 0;
    }

    #hamburger-menu i {
        font-size: 28px;
    }

    #hamburger-menu a:active{
        -ms-transform: translateX(30px); /* IE 9 */
        -webkit-transform: translateX(30px); /* Safari 3-8 */
        transform: translateX(3px);
    }

    #hamburger-input:checked + #hamburger-menu #sidebar-menu {
        visibility: visible;
        right: 0;
    }

    .side-bar-contacts {
        display: grid;
        width: 100%;
        background-color: #296065;
        padding: 0.5em 2em;
        gap: 0em;
        margin-bottom: 3em;
    }

    .side-bar-contacts label {
        color: white;
        font-size: 14px;
        font-weight: 500;
        line-height: 40px;
    }

    .side-menu-inner {
        padding: 1em 2em;
    }

    /* Scroll Side Menu */
    #sidebar-menu {
        max-height: 95vh;
        overflow-y: auto;
    }

}





/* MAIN BANNER */
.main-banner {
    min-height: 80vh;
}

.split-main-banner {
    display: grid;
    grid-template-columns: 35% 1fr;
    grid-column: 1 / 17;
}

.split-main-banner-one {
    display: grid;
    background-color: #0B233B;
}

.curved-banner-content {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    row-gap: 1em;
    align-content: center;
    margin: 2em 0;
}

.curved-banner-content h1, .curved-banner-content p, .curved-banner-content a {
    grid-column: 2 / 8;
    z-index: 10;
}

.curved-banner-content h1, .curved-banner-content p {
    text-transform: uppercase;
    color: white;
    text-align: left;
}

.curved-banner-content p {
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
}

.split-main-banner img {
    object-fit: cover;
    width: 100%;
}

.main-shape-divider{
    overflow:hidden;
    position:relative;
}

.main-shape-divider::before{
    content:'';
    font-family:'shape divider from ShapeDividers.com';
    position: absolute;
    bottom: -0.1vw;
    left: -0.1vw;
    right: -0.1vw;
    top: -0.1vw; 
    /* z-index: 3; */
    pointer-events: none;
    background-repeat: no-repeat; 
    background-size: 400px 271%;
    background-position: 100% 100%;  
    transform: rotateY(180deg);
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2.17 35.28" preserveAspectRatio="none"><path d="M1.16 0c-.8 3.17.4 7.29.56 10.04C1.89 12.8.25 19.3.42 22.71c.16 3.43.84 4.65.86 7.05.03 2.4-.88 5.52-.88 5.52h1.77V0z" fill="%230b233b"/></svg>');
}

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

    .main-banner {
        min-height: 100vh;
    }

    .curved-banner-content {
        padding: 1em 0;
    }
    
    
}
       
@media  only screen and  (max-width:920px){

    .main-shape-divider {
        min-height: 250px;
    }
    
    .main-shape-divider::before{
        background-size: 160% 65px;
        background-position: 50% 0%;   
        background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" fill="%230b233b"/></svg>'); 
    }  

    .split-main-banner {
        grid-template-columns: 1fr;
    }

    .curved-banner-content p {
        font-size: 20px;
        font-weight: 400;
        line-height: 23px;
        letter-spacing: 0.05em;
        /* padding: 0 0.5em; */
    }

    .curved-banner-content h1 {
        font-size: 28px;
        font-weight: 700;
        line-height: 40px;      
    }

    .curved-banner-content p {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;        
    }

    .main-banner {
        min-height: 90vh;
    }
    
    
}


/* GREY BACKGROUND CURVE ONE */

.grey-background-curve-one {
    overflow:hidden;
    position:relative;
}

.grey-background-curve-one::before{ 
    content:'';
    position: absolute;
    pointer-events: none;
    background-repeat: no-repeat;
    bottom: -0.1vw;
    left: -0.1vw;
    right: -0.1vw;
    top: -0.1vw; 
    background-size: 1400px 221%;
    background-position: 0% 78%;  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2.17 35.28" preserveAspectRatio="none"><path d="M1 35.28c.8-3.17-.38-7.3-.55-10.04-.17-2.76 1.47-9.25 1.3-12.68C1.58 9.14.91 7.92.88 5.52.86 3.12 1.76 0 1.76 0H0v35.28z" fill="%23e5e6e8"/></svg>'); 
    z-index: -1;
}
    

@media  only screen and  (max-width:820px){
    .grey-background-curve-one::before{
        display: none;
    }
}

     
     




/* 50 / 50 TEXT ************************************************/

.image-grid-display {
    margin: 3em 0;
}

.image-grid {
    display: grid;
    grid-template-columns: 35% 1fr;
    grid-column: 3 / 15;
    gap: 2em;
}

.image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 5px 5px 0;
}

.image-grid-service img, .image-grid-home img{
    border-radius: 5px;
}

.slider-5-img {
    position: absolute;
    width: 25%;
}

.text-container {
    display: grid;
    position: relative;
    padding: 2em 5em;
    border-radius: 5px;
}

.inner-text-container {
    display: grid;
    grid-template-columns: 1fr;
    align-self: center;
    row-gap: 1em;
    z-index: 15;
    margin: 2em 0;
    justify-self: center;
}

.image-grid-map img {
    object-fit: contain;
    padding: 5em;
}

.text-container h2, .text-container p {
    display: grid;
    grid-column: 1/17;
    gap: 1em;
    color: white;
}

.inner-text-container ul li {
    font-family: "Poppins", sans-serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    color: white;
    margin-left: 1em;
}

.inner-text-container-sub ul li {
    color: #0B233B;
    margin-bottom: 0.5em;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2024/03/overlay.png');
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: 0.3s ease;
    z-index: 2;
}



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

    .inner-text-container {
        margin: 1em 0;
    }

    .sub-image-grid-display {
        margin: 2em 0;
    }

}





/* 50 / 50 TEXT - REVERSED ************************************************/

.image-grid-reversed {
    grid-template-columns:1fr 35%;
}

.extra-image-grid {
    grid-template-columns:35% 1fr;
}

.extra-text-container p, .extra-text-container h2, .extra-text-container ul li{
    color: #0B233B !important;
}



@media only screen and (max-width: 860px) {
    .image-grid-reversed {
        grid-template-columns: 1fr;
    }

    .image-grid img {
        min-height: 420px;
    }

    .sub-image-grid img{
        min-height: 280px;
    }
}



/* 50 / 50 TEXT - REVERSED - SLIDER */

.overall-slider-blocks{
    background-color: #296065;
}

.text-container-slider1, .text-container-slider2, .text-container-slider4, .text-container-slider6 {
    padding: 5em 3em;
}

.text-container-slider3 {
    padding: 0;
    padding-left: 3em;
}

.text-container-slider5 {
    padding: 0;
    padding-left: 3em;
    padding-right: 16em;
}

.image-grid-slider1, .image-grid-slider2 {
    gap: 0;
}

.text-container-slider1 h2, .text-container-slider1 p,
.text-container-slider2 h2, .text-container-slider2 p,
.text-container-slider3 h2, .text-container-slider3 p,
.text-container-slider5 h2, .text-container-slider5 p,
.text-container-slider6 h2, .text-container-slider6 p,
.text-container-slider1 ul li,
.text-container-slider2 ul li,
.text-container-slider3 ul li,
.text-container-slider4 ul li,
.text-container-slider5 ul li,
.text-container-slider6 ul li {
    color: #0B233B;
}

.text-container-slider4 h2, .text-container-slider4 p {
    color: white;
}

.image-grid-slider1, .image-grid-slider2, .image-grid-slider4, .image-grid-slider6 {
    grid-template-columns: 1fr 1fr;
    border-radius: 5px;
}

.image-grid-slider3 {
    grid-template-columns: 40% 1fr; 
    gap: 0;
    border-radius: 5px;
}

.image-grid-slider5 {
    grid-template-columns: 1fr 35%; 
    gap: 0; 
    border-radius: 5px;
}

.text-container-5 {
    border-radius: 0;
}

.image-grid-display-view {
    min-height: 100vh;
}

.inner-text-container-slider2 li::marker{
    color:#0B233B;
}

/* .hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  @keyframes slideIn {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(0);
    }
  }
  
  .image-grid-display-slider1.slide-in,
  .image-grid-display-slider2.slide-in,
  .image-grid-display-slider3.slide-in,
  .image-grid-display-slider4.slide-in,
  .image-grid-display-slider5.slide-in,
  .image-grid-display-slider6.slide-in {
    animation: slideIn 2s forwards;
    opacity: 1;
    visibility: visible; 
  } */

  /*curve slider3*/
.slider3-curve::before{
    content:'';
    position: absolute;
    bottom: -1px;
    left: -1px;
    right: -1px;
    top: -1px;
    /* z-index: 3; */
    pointer-events: none;
    background-repeat: no-repeat; 
    background-size: 186% 94px;
    background-position: 40% 0%;  
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" fill="%23ffffff"/></svg>'); 
 }

 .curve-slider5-image {
    background-color: #0B233B;
 }

 .inner-image-blocks{
    border-radius: 0 5px 5px 0 !important;
 }
    
     
 @media only screen and (min-width: 860px) {
    .slider3-curve::before{ 
        bottom: -0.1vw;
        left: -0.1vw;
        right: -0.1vw;
        top: -0.1vw; 
        background-size: 340px 254%;
        background-position: 0% 94%;  
        background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2.17 35.28" preserveAspectRatio="none"><path d="M1 35.28c.8-3.17-.38-7.3-.55-10.04-.17-2.76 1.47-9.25 1.3-12.68C1.58 9.14.91 7.92.88 5.52.86 3.12 1.76 0 1.76 0H0v35.28z" fill="%23ffffff"/></svg>'); 
    }
}


/* curve slider5 */

.slider5-curve::before{
    content:'';
    position: absolute;
    bottom: -1px;
    left: -1px;
    right: -1px;
    top: -1px;
    z-index: 3;
    pointer-events: none;
    background-repeat: no-repeat; 
    background-size: 186% 94px;
    background-position: 40% 100%;    
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.16c-3.17-.8-7.3.4-10.04.56-2.76.17-9.25-1.47-12.68-1.3-3.42.16-4.64.84-7.04.86C3.12 1.31 0 .4 0 .4v1.77h35.28z" fill="%230b233b"/></svg>'); 
}

     
@media only screen and (min-width: 860px) {
    .slider5-curve::before{ 
        bottom: -0.1vw;
        left: -0.1vw;
        right: -0.1vw;
        top: -0.1vw; 
        background-size: 400px 228%;
        background-position: 100% 33%; 
        transform: rotateX(180deg); 
        background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2.17 35.28" preserveAspectRatio="none"><path d="M1.16 0c-.8 3.17.4 7.29.56 10.04C1.89 12.8.25 19.3.42 22.71c.16 3.43.84 4.65.86 7.05.03 2.4-.88 5.52-.88 5.52h1.77V0z" fill="%230b233b"/></svg>'); 
    }
}
     
  
@media only screen and (max-width: 860px) {
    .image-grid-slider1, .image-grid-slider2, .image-grid-slider3, .image-grid-slider4, .image-grid-slider5, .image-grid-slider6 {
        grid-template-columns: 1fr;
    }

    .text-container-slider1, .text-container-slider2, .text-container-slider3, .text-container-slider4,.text-container-slider5, .text-container-slider6 {
        padding: 2em;
    }

    .image-grid-display-view {
        height: auto;
    }

    .text-container-slider5 {
        padding: 1em 1em 7em 1em !important;
    }

    .inner-image-blocks img{
        border-radius: 0 0 5px 5px !important;
     }

     .inner-image-blocks{
        border-radius: 0 0 5px 5px !important;
     }

     .image-maps .acf-map{
        width: 15em !important;
        height: 15em !important;
    }
        
}






/* SUB PLAIN 50 / 50 TEXT - REVERSED */

.sub-image-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-column: 3 / 15;
    gap: 3em;
}

.sub-image-size {
    max-height: 386px;
    align-self: center;
    height: 100%;
}

.sub-image-size img {
    border-radius: 5px;
}
.sub-text-container h2 {
    margin-bottom: 1em;
}

.sub-text-container h2, .sub-text-container p{
    color: #0B233B;
}

.sub-text-container {
    display: grid;
    padding: 0;
    align-self: center;
}



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

    .text-container {
        padding: 1em;
    }

    .image-grid {
        grid-template-columns: 1fr;
        grid-column: 2/16;
    }

    .sub-image-grid {
        grid-column: 2 / 16;
        gap: 1em;
    }

    .sub-image-size-right {
        order: 2;
    }
}







/*  SERVICE ICONS ************************************************/

.service-icons {
    margin: 6em 0;
}

.service-images {
    margin: 2em 0 4em 0;
}

.service-icons-grid {
    display: grid;
    grid-template-columns: 30% 1fr;
    grid-column: 3 / 15;
    gap: 3em;
}

.service-image-grid {
    gap: 8em;
}

.service-content {
    display: grid;
    gap: 1em;
    align-self: start;
}

.service-content h2, .service-content p {
    color:#0B233B;
}

.service-inner-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6em;
}

.service-inner-icons-small {
    gap: 2em;
    align-items: center;
    align-self: center;
}

.service-inner-image {
    grid-template-columns: repeat(2, 1fr);
}

.icons-boxes {
    display: grid;
    align-self: center;
    gap: 0.5em;
}

.icons-boxes h4, .icons-boxes i {
    color: #0B233B;
}

.icons-boxes img {
    width: 50px;
}

.icons-boxes i {
    font-size: 50px;
}

.icons-boxes i {
    --fa-primary-color:#5BBDB2;
    --fa-secondary-color:#296065;
}

.icons-boxes i:hover{
    --fa-secondary-color:#5BBDB2;
    --fa-primary-color:#296065;
}

.icons-boxes img:hover {
    opacity: 0.6; 
}

.icons-boxes i::after {
    opacity: 1;
}

.icons-boxes h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 30px;
}

.image-boxes {
    display: block;
}

.image-boxes img{
    max-height: 182px;
    min-height: 182px;
    height: 100%;
    border-radius: 5px;
}

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

    .service-icons-grid {
        grid-template-columns: 1fr;
        grid-column: 2/16;
    }
    
}

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

    .service-inner-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }

    .service-icons {
        margin: 2em 0;
    }

    .service-image-grid {
        gap: 2em;
    }
    
}



/* VARIOUS CTA LAYOUTS ************************************************/

/* CTA 1 */

.ctas {
   margin: 2em 0 0 0 ;
}

.inner-ctas {
    display: grid;
    grid-template-columns: 1fr 35%;
    grid-column: 2 / 16;  
    border-radius: 5px;  
}

.inner-ctas-outer {
    display: grid;
    background-color: #0B233B;
    padding: 3em;
    border-radius: 0 5px 5px 0;
}

.inner-ctas-content {
    display: grid;
    gap: 2em;
    align-self: center;
}

.inner-ctas-content p {
    color: white;
}

.inner-ctas img {
    border-radius: 5px 0 0 5px;
}

.cta1-curve {
    background-color: #5BBDB2;
    border-radius: 5px 0 0 5px;
}

.cta1-curve::before{
    content:'';
    position: absolute;
    bottom: -0.1vw;
    left: -0.1vw;
    right: -0.1vw;
    top: -0.1vw; 
    z-index: 3;
    pointer-events: none;
    background-repeat: no-repeat; 
    background-size: 400px 303%;
    background-position: 100% 5%;  
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2.17 35.28" preserveAspectRatio="none"><path d="M1.16 0c-.8 3.17.4 7.29.56 10.04C1.89 12.8.25 19.3.42 22.71c.16 3.43.84 4.65.86 7.05.03 2.4-.88 5.52-.88 5.52h1.77V0z" fill="%230B233B"/></svg>'); 
}
        

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

    .inner-ctas {
        grid-template-columns: 1fr 50%;    
    }
    
}

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

    .inner-ctas {
        grid-template-columns: 1fr;    
    }

    .inner-ctas-outer {
        padding: 1em;
        border-radius: 0 0 5px 5px;
    }

    .cta1-curve::before{
        content:'';
        position: absolute;
        bottom: -1px;
        left: -1px;
        right: -1px;
        top: -1px;
        z-index: 3;
        pointer-events: none;
        background-repeat: no-repeat; 
        background-size: 303% 100px;
        background-position: 5% 100%;   
        transform: rotateY(180deg);
        background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.16c-3.17-.8-7.3.4-10.04.56-2.76.17-9.25-1.47-12.68-1.3-3.42.16-4.64.84-7.04.86C3.12 1.31 0 .4 0 .4v1.77h35.28z" fill="%230B233B"/></svg>'); 
    }

    .inner-ctas img {
        min-height: 291px;
    }

    .cta1-curve {
        border-radius: 5px 5px 0 0;
    }
    
}


     

















/* CTA 3 */

.ctas3 {
    margin: 2em 0 0 0;
    background-color: #0B233B;
 }

 .ctas3-services {
    margin: 2em 0;;
 }
 
 .inner-ctas3 {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     grid-column: 2 / 16;  
 }

 .content-inner-ctas3 {
    display: grid;
    align-self: center;
    gap: 1em;
    margin: 14em 0;
 }

 .content-inner-ctas3 h2 {
    color: white;
    font-size: 64px;
    font-weight: 700;
    line-height: 60px;
 }

 .content-inner-ctas3-services h2 {
    font-size: 35px !important;
 }

 .content-inner-ctas3 p {
    color: white;
 }
 
 .inner-ctas-outer3 {
     display: grid;     
     position: relative;
 }

 .inner-ctas-outer3 img {
    min-height: 728px;
    align-self: center;
    position: absolute;
    bottom: 0;
    width: auto;
 }
 
 .inner-ctas-content3 {
     align-self: center;
 }


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

    .inner-ctas3 {
        grid-template-columns: 1fr;  
    }

    .inner-ctas-outer3 {
        padding: 1em 0;
    }

    .content-inner-ctas3 h2 {
        font-size: 40px;
        font-weight: 700;
        line-height: 50px;        
     }
    
     .ctas3 {
        padding: 2em 0;
     }

     .inner-ctas-outer3 img {
        min-height: 303px;
        width: 100%;
        object-fit: contain;
        top: -13em;
        right: -4em;
     }

     .content-inner-ctas3 {
        margin: 0em 0 13em 0;
     }
     
}


/* CTA 4 */

 .inner-cta4-outer {
    display: grid;
    grid-column: 3 / 15;  
    z-index: 60; 
 }
 
 .inner-ctas4 {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     border: 1px solid #0B233B;
     border-radius: 5px;
     margin: 4em 0 4em 0;
 }

 .content-inner-ctas4 {
    display: grid;
    align-self: center;
    gap: 1em;
    padding: 2em;
 }

 .content-inner-ctas4 h2 {
    color: #0B233B;
    font-size: 40px;
    font-weight: 700; 
 }

 .content-inner-ctas4 p {
    color: #0B233B;
 }

 .content-inner-ctas4 p strong {
    font-weight: 600;
 }
 
 .inner-ctas-outer4 {
     display: grid;
     /* height: 494px; */
 }
 
 .inner-ctas-content4 {
     align-self: center;
 }


 .shapedividers_com-1208{
    overflow:hidden;
    position:relative;
}

.outer-content-inner-ctas4  {
    display: grid;
}

.cta4-curve::before{
    content:'';
    position: absolute;
    bottom: -0.1vw;
    left: -0.1vw;
    right: -0.1vw;
    top: -0.1vw; 
    z-index: 3;
    pointer-events: none;
    background-repeat: no-repeat; 
    background-size: 95px 165%;
    background-position: 100% 54%;  
    transform: rotateY(180deg);  
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2.17 35.28" preserveAspectRatio="none"><path d="M1.16 0c-.8 3.17.4 7.29.56 10.04C1.89 12.8.25 19.3.42 22.71c.16 3.43.84 4.65.86 7.05.03 2.4-.88 5.52-.88 5.52h1.77V0z" fill="%23ffffff"/></svg>'); 
}

.inner-ctas-outer4 img{
    min-height: 494px;
    bottom: auto;
    object-fit: cover;
    width: 100%;
 }

.cta4-curve2::before{ 
    content:'';
    position: absolute;
    z-index: 3;
    pointer-events: none;
    background-repeat: no-repeat;
    bottom: -0.1vw;
    left: -0.1vw;
    right: -0.1vw;
    top: -0.1vw; 
    background-size: 400px 226%;
    background-position: 100% 67%; 
    transform: rotateX(180deg); background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="-0.1 0 2.17 35.28" preserveAspectRatio="none"><path d="M.31 0c.84 2.56.3 7.68.43 11.79.12 4.1.61 6.86.28 9.58-.33 2.73-1.18 5.61-1 8.61.19 3 .82 4.73.84 5.3h1.2V0z" fill="%23e5e6e8"/></svg>'); 
}
    
    
     


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

    .cta4-curve::before{
        background-size: 167% 90px;
        background-position: 50% 100%;  
        background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.16c-3.17-.8-7.3.4-10.04.56-2.76.17-9.25-1.47-12.68-1.3-3.42.16-4.64.84-7.04.86C3.12 1.31 0 .4 0 .4v1.77h35.28z" fill="%23ffffff"/></svg>');  
    } 

    .cta4-curve2::before {
        display: none;
    }
    
    .outer-content-inner-ctas4 {
        order: 2;
    }

    .inner-ctas4 {
        grid-template-columns: 1fr;  
        grid-column: 2 / 16;
        margin: 2em 0;
    }

    .content-inner-ctas4 h2 {
        font-size: 24px;
        font-weight: 700;      
     }
    
     .ctas4 {
        padding: 2em 0;
     }

     .content-inner-ctas4 {
        padding: 1em;
     }

     .inner-ctas-outer4{
        display: block;
     }

     .inner-ctas-outer4 img{
        min-height: 399px;
     }

     .inner-cta4-outer {
        grid-column: 2 / 16;  
     }
}






/* QUOTE OPTIONS */

.quote-options {
    background-color: #5BBDB2;
    margin: 6em 0;
    min-height: 80vh;
}

.inner-quote-options {
    display: grid;
    grid-template-columns: 1fr 35%;
    grid-column: 2 / 16;
    gap: 2em;
}

.quote-options-content {
    display: grid;
    grid-template-columns: 1fr 30%;
    position: relative;
}

.inner-quote-options-content {
    display: grid;
    align-self: center;
    gap: 2em;
}

.inner-quote-options-content h2 {
    font-size: 64px;
    font-weight: 700;
    line-height: 60px;
}

.inner-quote-options-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: white;
    margin-right: 14em;
}

.quote-options-content img {
    position: absolute;
    z-index: 5;
    object-fit: contain;
    left: 25%;
    overflow: hidden;
    align-self: end;
    height: 70%;
}

.quote-questions {
    display: grid;
    padding: 5em 0;
}

.quote-questions form {
    display: grid;
    gap: 1em;
}
 
.quote-questions input[type=email], .quote-questions select {
    width: 100%;
    justify-self: left;
    padding: 8px;
    border: none;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    text-align: left;
    background: white;
    color: #0B233B;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    border-radius: 5px;
}


form input.wpcf7-form-control.wpcf7-submit {
    display: block;
    margin: 0 auto;
    cursor: pointer;
 }  

.quote-questions label {
    color: #0B233B;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;    
}

.quote-questions select option {
    background-color: white; 
    color: #0B233B;
}

.quote-questions select:focus {
    outline: none; 
    border-color: #5BBDB2;
}


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

    .inner-quote-options {
        grid-template-columns: 1fr;;
    }

    .inner-quote-options-content h2 {
        font-size: 40px;
        font-weight: 700;
        line-height: 50px;
    }

    .quote-options-content img {
        position: relative;
        left: 0;
    }
    
}

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

    .quote-options-content {
        grid-template-columns: 1fr;
    }

    .quote-questions input[type=text], .quote-questions select, input[type=text]::placeholder {
        width: 100%;
        max-width: 357px;
    }

    .quote-options-content img {
        position: absolute;
        z-index: 5;
        object-fit: contain;
        left: 30%;
        overflow: hidden;
        align-self: end;
        height: 55%;
        top: 83%;
    }

    .inner-quote-options-content p {
        margin-right: 5em;
    }

    .inner-quote-options-content {
        padding: 2em 0;
    }

    .quote-options {
        margin: 3em 0;
    }
}

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

    .quote-options-content img {
        left: 25%;
        top: 73%;
    }
}





/* CONTACT FORM*************************************************/

.contact {
    background-color: #296065;
    position: relative;
}

.outer-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column: 2 / 16;
}

.contact-content {
    display: grid;
    align-self: center;
    gap: 1em;
    padding: 0 2em;
    z-index: 20;
}

.contact-content h2 {
    font-size: 64px;
    font-weight: 700;
    line-height: 60px;
}

.contact-content p {
    color: white;
}

.inner-contact {
    padding: 4em 0;
    display: grid;
    z-index: 20;
    max-width: 448px;
    width: 100%;
    justify-self: center;
}

.inner-contact form {
    display: grid;
    margin: 2em 0;
}

.inner-contact form input[type=text], .inner-contact form input[type=email], .inner-contact form input[type=tel], .inner-contact form select, .inner-contact form textarea, .inner-contact form input[type=phone] {
    width: 100%;
    padding: 8px;
    border: none;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    background: white;
    color: #0B233B;
    border-radius: 5px;
}

.inner-contact form input[type=text]::placeholder,
.inner-contact form input[type=email]::placeholder,
.inner-contact form input[type=tel]::placeholder,
.inner-contact form textarea::placeholder {
    font-size: 16px;
    font-weight: 300;
    line-height: 18px;
    letter-spacing: 0.05em;
    text-align: center;
    color:#0B233B;
}

form input.wpcf7-form-control.wpcf7-submit {
    display: block;
    margin: 0 auto;
    cursor: pointer;
 } 

.inner-contact form input[type=submit] {
    justify-self: center;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0.05em;
    text-align: center;  
    padding: 0.8em 1em;   
    text-transform: capitalize;
    background: #5BBDB2;
    border: 2px solid #5BBDB2;
    color: #0B233B;
    border-radius: 25px;
}

.inner-contact form input[type=submit]:hover {
    background: transparent;
    border: 2px solid #5BBDB2;
    color: #5BBDB2;
}


.image-overlay-contact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://pageivy.sevenhillscreative.dev/wp-content/uploads/2024/03/overlay-contact.png');
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: 0.3s ease;
    z-index: 2;
}

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

    .outer-contact {
        grid-template-columns: 1fr;
    }

    .inner-contact {
        padding: 1em 0;
        justify-content: center;
    }

    .contact-content {
        padding: 4em 0 0 0;
    }

    .contact-content h2 {
        font-size: 40px;
        font-weight: 700;
        line-height: 50px; 
    }
}



/* MAPS */

.maps {
    margin: 6em 0 2em 0;
}

.inner-maps {
    display: grid;
    grid-template-columns: 1fr 40%;
    grid-column: 3 / 15;
    background-color: #5BBDB2;
    position: relative;
    border-radius: 5px;
}

.content-maps {
    display: grid;
    gap: 1em;
    align-self: center;
    padding: 2em;
    z-index: 20;
}

.content-maps h2 {
    font-size: 40px;
    font-weight: 700;  
    color: #0B233B; 
}

.content-maps p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;   
    color: #0B233B;
}

.image-maps {
    display: grid;
    justify-items: center;
    position: relative;
    z-index: 20;
}

.image-maps .acf-map{
    width: 22em;
    height: 22em;
    border-radius: 20em;
    margin: 2em 0;
    align-self: center;
}

.image-overlay-maps {
    background-image: url('/wp-content/uploads/2024/03/overlay.png');
}


.acf-map img {
   max-width: inherit !important;
}

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

    .image-maps iframe{
        width: 15em;
        height: 15em;
    }
    
}


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

    .inner-maps {
        grid-column: 2 / 16;
    } 

    .content-maps h2 {
        font-size: 24px;
        font-weight: 700;     
        color: #0B233B; 
    }

    .maps {
        margin: 4em 0 2em 0;
    }
}




/* CERTIFICATES */

.inner-certificates {
    display: grid;
    grid-column: 3 / 15;
    padding: 2em;
    background: #E4E6E8;
    margin-top: 4em;
    margin-bottom: 2em;
    border-radius: 5px;
}

.certificates-boxes {
    display: grid;
    justify-items: center;
    gap: 1em;
}

.certificates-boxes i {
    font-size: 70px;
    color: #0B233B;
}

.certificates-boxes label {
    text-align: center;
    text-transform: uppercase;
}

.inner-certificates p {
    grid-column: 2 / 16;
    text-align: center;
    padding: 2em 30% 4em 30%;
}

.certificates-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-column: 2 / 16;
    gap: 3em;
}


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

    .certificates-icons {
        grid-template-columns: 1fr;

    }    

    .inner-certificates {
        grid-column: 2/16;
    }

    .inner-certificates p {
        padding: 2em 0;
    }

}









/* FAQs AND CONTACT FORM */

.outer-faq-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column: 3 / 15;
    position: relative;
    gap: 2em;
    margin-bottom: 6em;
}

.faq-contact-sub {
    margin: 5em 0;
}

.outer-faq-contact-faq {
    grid-template-columns: 1fr;
    margin: 5em 0;
}


/* FAQs */

.faq-container {
    display: grid;
    background-color: #0B233B;
    align-self: center;
    padding: 2em 1em;
    border-radius: 5px;
}

.faq-container h2, .main-contact h2 {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 0.5em;
    font-size: 40px;
    font-weight: 700;
    line-height: 60px;
    color: #5BBDB2;
}

.faq-one {
    margin-bottom: 0.5em;
    background: #0B233B;
    border: none;
    border-bottom: 3px solid #5BBDB2;
}

.faq-page {
    color:white;
    cursor: pointer;
    padding: 1em 0;
    outline: none;
    transition: 0.4s;
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    align-items: center;
    text-transform: capitalize;
}

.faq-body {
    display: none;
    overflow: hidden;
}

.faq-body p {
    color: white;
    margin-bottom: 1em;
}

.faq-page:after {
    color: white;
    content: '\02795\fe0e';
    font-size: 13px;
    float: right;
    padding: 0.5em 1em;
}

.faq-page.active:after {
    color: white;
    content: "\2796\fe0e"; 
}

.faq-body a:link, .faq-body a:visited, .faq-body a:hover,.faq-body a:active {
    color: #721537;
    text-decoration: underline; 
}


/* CONTACT FORM */

.outer-main-contact {
    display: grid;
    background-color: #E4E6E8;
    border-radius: 5px;
}

.main-contact {
    display: grid;
    padding: 1em;
    border-radius: 5px;
    align-self: center;
}

.main-contact h2 {
    color:#0B233B;
}

.main-contact-form {
    display: grid;
    max-width: 448px;
    width: 100%;
    justify-self: center;
}

.main-contact form {
    display: grid;
    margin: 2em 0;
}

.main-contact form input[type=text], .main-contact form input[type=email],
.main-contact form input[type=tel],
.main-contact form input[type=number],
 .main-contact form select, 
 .main-contact form textarea, 
 .main-contact form input[type=phone] {
    width: 100%;
    padding: 8px;
    border: none;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    background: white;
    color: #0B233B;
    border-radius: 5px;
}

.main-contact form input[type=text]::placeholder,
.main-contact form input[type=email]::placeholder,
.main-contact form input[type=tel]::placeholder,
.main-contact form input[type=number]::placeholder,
.main-contact form input[type=tel]::placeholder,
.main-contact form textarea::placeholder {
    font-size: 16px;
    font-weight: 300;
    line-height: 18px;
    letter-spacing: 0.05em;
    text-align: center;
    color:#0B233B;
}

form input.wpcf7-form-control.wpcf7-submit {
    display: block;
    margin: 0 auto;
    cursor: pointer;
 }

 .main-contact form input[type=submit] {
    justify-self: center;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0.05em;
    text-align: center;  
    padding: 0.7em 2em;   
    text-transform: capitalize;
    background: #5BBDB2;
    border: 2px solid #5BBDB2;
    color: #0B233B;
    border-radius: 25px;
}

.main-contact form input[type=submit]:hover {
    background: transparent;
    border: 2px solid #5BBDB2;
    color: #5BBDB2;
}

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

    .outer-faq-contact, .inner-maps {
        grid-template-columns: 1fr;
        grid-column: 2 / 16;
    }

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

}








/* PARTNER BANNER */

.partner-banner {
    display: flex;
    background-color: #0B233B;
    text-align: center;  
    justify-content: center; 
    gap: 1em;
    padding: 1em 0;
}

.partner-banner img {
    max-width: 71px;
}

.partner-banner label {
    display: grid;
    color: white;
    align-self: center;
    text-transform: uppercase;
}
    







/* FOOTER */

.mobile-footer {
    display: none;
}

.footer h3 {
    display: grid;
    grid-column: 2 / 16;
    text-align: center;
}

.footer-areas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column: 2 / 16;
    padding: 3em 0 2em 0;
}

.footer-box {
    justify-self: left;
    display: grid;
    align-self: start;
}

.footer-box-right {
    justify-self: right;
    align-self: end;
}

.lower-footer-area {
    display: grid;
    grid-template-columns: 1fr;
    grid-column: 2 / 16;
    align-self: center;
    justify-self: end;
}

.footer-box li {
    padding: 0.5em 0;
    list-style: none;
}

.footer-box ul, .footer-box ol {
    padding: 0;
    list-style: none;
}

.footer-box label{
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    padding-bottom: 0.5em;
}

@media only screen and (max-width: 860px) {
    .mobile-footer {
        display: grid;
        grid-template-columns: 1fr;
        align-self: center;
        padding: 1em;
        border-radius: 5px;
    }

    .footer {
        display: none;
    }

    .footer-one {
        margin-bottom: 0.5em;
        background: transparent;
        border: none;
        display: grid;
    }
    
    .footer-page {
        color:#0B233B;
        cursor: pointer;
        padding: 1em 0;
        outline: none;
        transition: 0.4s;
        font-size: 20px;
        font-weight: 700;
        line-height: 26px;
        align-items: center;
        text-transform: capitalize;
    }
    
    .footer-body {
        display: none;
        overflow: hidden;
    }
    
    .footer-body p, .footer-body a label, .footer-body label {
        color: #0B233B;
        margin-bottom: 1em;
        font-size: 16px;
        font-weight: 400;
    }
    
    .footer-page:after {
        color: #0B233B;
        content: '\2304\fe0e';
        float: right;
    }
    
    .footer-page.active:after {
        color: #0B233B;
        content: "\2303\fe0e"; 
    }

    .footer-one li {
        margin-bottom: 1em;
    }
    
}





/* INFO SECTIONS 1 */

.info1 {
    margin: 2em 0 4em 0;
 }
 
 .inner-info1 {
     display: grid;
     grid-template-columns: 25% 1fr;
     grid-column: 3 / 15;    
 }

 .title-inner-info1 {
    background-color: #0B233B;
    padding: 3em 0 3em 5em;
    z-index: 5;
    border-radius: 5px 0 0 5px;
 }
 
 .inner-ctas-info1 {
     display: grid;
     padding: 3em 2em 3em 8em;
     background-color: #5BBDB2;
     gap: 2em;
     align-self: center;
     border-radius: 0 5px 5px 0;
 }

 .inner-ctas-content2 ul li, .inner-ctas-info-two ul li{
    margin-left: 2em;
    padding: 0.5em 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
 }

 .inner-ctas-info-two-bullet ul li::marker {
    color: #0B233B;
 }

.info1-curve::before{
    content:'';
    position: absolute;
    bottom: -0.1vw;
    left: -0.1vw;
    right: -0.1vw;
    top: -0.1vw; 
    z-index: 3;
    pointer-events: none;
    background-repeat: no-repeat; 
    background-size: 186% 94px;
    background-position: 40% 0%;    
    transform: rotateY(180deg);  
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" fill="%230b233b"/></svg>'); 
}
    
@media (min-width:860px){

    .info1-curve::before{  
        background-size: 363px 202%;
        background-position: 100% 9%; 
        transform: rotateY(180deg);   
        background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2.17 35.28" preserveAspectRatio="none"><path d="M1.16 0c-.8 3.17.4 7.29.56 10.04C1.89 12.8.25 19.3.42 22.71c.16 3.43.84 4.65.86 7.05.03 2.4-.88 5.52-.88 5.52h1.77V0z" fill="%230b233b"/></svg>'); 
    }
}
    
     
 @media only screen and (max-width: 860px) {

    .inner-info1 {
        grid-template-columns: 1fr;  
        grid-column: 2 / 16;
    }

    .inner-ctas-info1 {
        padding: 3em 0.5em 1em 0.5em;
        border-radius: 0 0 5px 5px;
    }

    .title-inner-info1 {
        padding: 3em;
        border-radius: 5px 5px 0 0;
    }

    .info1 {
        margin: 2em 0 1em 0;
     }

}



.shapedividers_com-1208::before{
    content:'';
    position: absolute;
    bottom: -0.1vw;
    left: -0.1vw;
    right: -0.1vw;
    top: -0.1vw; 
    z-index: 3;
    pointer-events: none;
    background-repeat: no-repeat; 
    background-size: 187px 165%;
    background-position: 100% 54%;  
    transform: rotateY(180deg);  
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2.17 35.28" preserveAspectRatio="none"><path d="M1.16 0c-.8 3.17.4 7.29.56 10.04C1.89 12.8.25 19.3.42 22.71c.16 3.43.84 4.65.86 7.05.03 2.4-.88 5.52-.88 5.52h1.77V0z" fill="%23ffffff"/></svg>'); 
}

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

    .shapedividers_com-1208::before{
        background-size: 167% 90px;
        background-position: 50% 100%;  
        background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.16c-3.17-.8-7.3.4-10.04.56-2.76.17-9.25-1.47-12.68-1.3-3.42.16-4.64.84-7.04.86C3.12 1.31 0 .4 0 .4v1.77h35.28z" fill="%23ffffff"/></svg>');  
    } 
    
}


/* INFO SECTIONS 2 */

.inner-info2 {
    grid-template-columns: 35% 1fr; 
    gap: 5em;
}

.title-inner-info2 {
    background-color: transparent;
    padding: 0;
}

.title-inner-info2 h2 {
    color: #0B233B;
}

.inner-ctas-info2 {
    background-color: transparent;
    padding: 0;
}

.inner-ctas-info2 ul li::marker {
    list-style: disc;
    color: #5BBDB2;
}

.inner-ctas-info2 ul li {
    margin-left: 2em;
    padding: 1em 0;
    font-family: "Poppins", sans-serif;
    color: #0B233B;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
}


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

    .inner-info2 {
        grid-template-columns: 1fr; 
        gap: 2em;
    }
    
}






/* TESTIMONIALS SLIDER*/

.testimonial-slider {
    display: grid;
    grid-template-columns: 35% 1fr;
    grid-column: 2 / 17;
    gap: 3em;
    margin: 3em 0 6em 0;
}

.testimonial-slider h2 {
    text-align: left;
    color: #0B233B;
}

.inner-testimonial-slider {
    display: grid;
}

.chev-arrows {
    display: grid;
    grid-template-columns: 10% 1fr;
    justify-items: left;
    gap: 1em;
}

 .testimonial-slider-arrows {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    align-self: center;
  }
    
  .prev-arrowc, .prev-arrowcc {
    margin-right: 10px;
  }
  
  .next-arrowc, .next-arrowcc {
    margin-left: 10px;
  }
  
  .prev-arrowc,  .prev-arrowcc, .next-arrowc, .next-arrowcc{
    font-size: 33px;
    cursor: pointer;
  }
  
  .testimonial-test-slider {
    overflow: hidden;
    position: relative;
    display: flex;
  }
  
  .testimonial-test-slider-container {
    display: flex;
    flex: 0 0 25%;
    transition: transform 0.5s ease-in-out;
  }
  
  .testimonialslider {
    margin-right: 10px;
    width: 484px;
    text-align: left;
    display: grid;
    gap: 0.5em;
    padding: 1em 0 0.5em 0;
    min-height: 537px;
    border-radius: 5px;
  }

  .testimonialslider:nth-child(odd) {
    background-color: #296065;
  }

  .testimonialslider:nth-child(even) {
    background-color: #5BBDB2;
  }

  .inner-testimonialslider {
    display: grid;
    gap: 1em;
    align-self: start;
    padding: 2em;
  }
  
  .testimonialslider h3{
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: white;
    text-transform: capitalize;
    
  }

  .testimonialslider p {
    text-align: left;
    color: white;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
  }

  .testimonialslider label {
    text-align: left;
    color: white;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;    
  }

  .testimonial-slider-grid {
    display: none;
  }

  .testimonial-slider a, .releasetestimonial a{
    display: grid;
    grid-column: 2 / 16;
    justify-self: center;
    margin: 2em 0;
  }

  

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

  
    .testimonial-slider-grid {
        display: flex;
        justify-content: center;
        margin-top: 20px;
      }

    .testimonial-slider-outer {
        display: grid;
        grid-template-columns: 1fr;
        grid-column: 2 / 16;
        padding: 0 .2em;
    }
    
    .testimonial-test-slider-container {
        flex: 0 0 100%;
      }

      .inner-testimonial-slider {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .testimonialslider img,  .icon-grid img {
        width: 100%;
      }

    .testimonialslider {
        width: 240px;
        padding: 0;
      }

    .testimonial-slider {
        grid-template-columns: 1fr;
        grid-column: 2/16;
    }

    .chev-arrows {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .testimonial-slider h2 {
        text-align: center;
    }

    .inner-testimonialslider {
        align-self: start;
        padding: 1em;
      }

}



/* PLAIN CONTENT PAGE */

.one-col-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-column: 2 / 16;
    text-align: center;
    margin: 5em 0;
}

.one-col-content #wpcf7-f604-p605-o1 form {
    max-width: 440px;
    display: grid;
    padding: 1em;
    border-radius: 5px;
    align-self: center;
    width: 100%;
}

#wpcf7-f604-p605-o1 {
    justify-self: center;
}

.one-col-content #wpcf7-f604-p605-o1 form input[type=text], 
.one-col-content #wpcf7-f604-p605-o1 form input[type=email],
.one-col-content #wpcf7-f604-p605-o1 form input[type=tel],  
.one-col-content #wpcf7-f604-p605-o1 form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid black;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    background: white;
    color: #0B233B;
    border-radius: 5px;
}

.one-col-content #wpcf7-f604-p605-o1 form input[type=text]::placeholder,
.one-col-content #wpcf7-f604-p605-o1 form input[type=email]::placeholder,
.one-col-content #wpcf7-f604-p605-o1 form input[type=tel]::placeholder,
.one-col-content #wpcf7-f604-p605-o1 form textarea::placeholder {
    font-size: 16px;
    font-weight: 300;
    line-height: 18px;
    letter-spacing: 0.05em;
    text-align: center;
    color:#0B233B;
}

.one-col-content #wpcf7-f604-p605-o1 form input.wpcf7-form-control.wpcf7-submit {
    display: block;
    margin: 4em auto 0 auto;
    cursor: pointer;
 }

 .one-col-content #wpcf7-f604-p605-o1 form input[type=submit] {
    justify-self: center;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0.05em;
    text-align: center;  
    padding: 0.7em 2em;   
    text-transform: capitalize;
    background: #5BBDB2;
    border: 2px solid #5BBDB2;
    color: #0B233B;
    border-radius: 25px;
}

.one-col-content #wpcf7-f604-p605-o1 form input[type=submit]:hover {
    background: transparent;
    border: 2px solid #5BBDB2;
    color: #5BBDB2;
}

  






/* BLOG */

.blog-area {
    margin: 4em 0;
}

.blog-area h2, .blog-area .blog-button{
    display: grid;
    grid-template-columns: 1fr;
    grid-column: 2 / 16;
    text-align: center;
    margin-bottom: 1em;
}

.blog-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column: 2 / 16;
    gap: 1em;
}

.blog-box {
    display: grid;
    background-color: #ECEAEA;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 5px;
}

.title-text h2 {
    margin-bottom: 0.7em;
    color: #0B233B;
    text-align: left;
    font-family: "Poppins", sans-serif;
    font-size: 1.5em;
    font-weight: 700;
}

.blog-box img {
    height: 100%;
    max-height: 396px !important;
    border-radius: 0 5px 5px 0;
}

.blog-box-inner {
    display: grid;
    gap: 0.5em;
    margin: 1em;
}

.blog-box-inner p a {
    color: black;
}

.date-cat {
    display: grid;
    grid-template-columns: repeat(3, auto);
    align-items: center;
    gap: 0.5em;
}

.inner-date-cat {
    align-self: end;
}

.date-cat li{
    list-style: none;
}

.category ul {
    margin: 0;
}

.blog-button {
    justify-self: center;
    margin: 1em 0;
}

.blog-details {
    display: flex;
    padding-bottom: 1em;
}

.inner-text-cta-sub-stay .blog-details ul li {
    list-style: none;
}


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

    .blog-boxes {
        grid-template-columns: 1fr;
        gap: 1em;
    }    

}


@media only screen and (max-width: 550px) {
    .blog-box {
        grid-template-columns: 1fr;
    }   
    
    .date-cat {
        padding: 1em 0;
    }

    .blog-box img {
        width: 100%;
        object-fit: cover;
        height: 100%;
        max-height: 179px;
        border-radius: 0 0 5px 5px;
    }
}





/* SINGLE POST */

.inner-single-post {
    display: grid;
    grid-column: 2 / 16;
    max-width: 800px;
    width: 100%;
    justify-self: center;
    margin: 4em 0;
}

.single-blog-details {
    background-color: #0B233B;
    padding: 0.5em 0;
    margin-bottom: 2em;
    border-radius: 5px;
}

.single-blog-details, .single-blog-details .date-blog, .single-blog-details .category-blog a, .single-blog-details .category-blog{
    color: white;
    padding-left: 0.5em;
    align-items: center;
}

.post-categories li{
    list-style: none;
}

.inner-single-post .wp-block-image {
    margin: 2em 0;
}

.wp-block-image img {
    border-radius: 5px;
}

.inner-single-post li{
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    font-family: "Poppins", sans-serif;
    margin-left: 1em;
}






/* QUOTE OPTIONS */
.form-container {
    padding: 20px;
    width: 100%;
    margin: auto;
    z-index: 10;
}

.form-slide {
    display: none;
    position: relative;
}

.form-slide label {
    display: block;
    align-items: center;
}

.form-slide.active {
    display: grid;
    gap: 1em;
}

.form-slide h2 {
    margin-top: 0;
    text-align: center;
}

label {
    display: block;
    margin: 10px 0 5px;
}

.form-slide h4 {
    color: #0B233B;
    text-transform: none;
}

.self-quote-grid {
    display: grid;
    grid-template-columns: 1fr 20%;
    gap: 1em;
    border-bottom: 1px #0B233B solid;
    padding: 1em 0 2em 0;
}

.self-quote-grid p{
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}

.inner-contact form input[type=text], 
.inner-contact form input[type=email], 
.inner-contact form input[type=tel], 
.inner-contact form input[type=number],
.inner-contact form select, 
.inner-contact form textarea {
    width: 100%;
    padding: 8px;
    border: none;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    background: white;
    color: #0B233B;
    border-radius: 5px;
}

.inner-contact form select {
    cursor: pointer;
}

.inner-contact form input[type=text]::placeholder,
.inner-contact form input[type=email]::placeholder,
.inner-contact form input[type=tel]::placeholder,
.inner-contact form input[type=number]::placeholder,
.inner-contact form textarea::placeholder,
.inner-contact form select {
    font-size: 16px;
    font-weight: 300;
    line-height: 18px;
    letter-spacing: 0.05em;
    text-align: center;
    color:#0B233B;
}

.custom-select {
    height: 100px;
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 10px;
}

.wpcf7-form-control-wrap-number-476 {
    display: none;
}

.inner-contact-quote {
    padding: 0;
}

.inner-contact form {
    margin: 0 !important;
}

.quote-button {
    justify-self: center;
}

.quote-button-1 {
    margin-top: 2em;   
}

/* FORM SUBMIT BUTTON */
.inner-contact-quote input[type=submit] {
    background: transparent !important;
    border: 2px solid #0B233B !important;
    color: #0B233B !important;
    margin: 2em auto 0 auto !important;
    padding: 0.8em 1em;   
    min-width: 143px;
}

.inner-contact-quote input[type=submit]:hover {
    border: 2px solid #fff !important;
    color: #fff !important;
}


input[type="checkbox"], input[type="radio"] {
    width: 2em;
    height: 2em;
}

.self-quote-grid-check {
    border-bottom: 1px #0B233B solid;
    padding: 1em 0 2em 0;
}

/* Custom styles for radio buttons and checkboxes */
input[type="radio"]:checked + label,
input[type="checkbox"]:checked + label {
    color: #0B233B; /* Change this to the desired color */
}

/* Optional: Adjust the appearance of the radio button or checkbox itself */
input[type="radio"]:checked,
input[type="checkbox"]:checked {
    background-color: #5BBDB2; /* Change this to the desired color */
    border-color: #0B233B; /* Change this to the desired color */
}

/* Ensure the input elements are visually hidden but still accessible */
input[type="radio"],
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px; 
    height: 20px; 
    border: 1px solid #0B233B;
    border-radius: 50%; 
    outline: none;
    cursor: pointer;
    position: relative;
    display: inline-block;
    margin-right: 10px; 
}

/* Custom checked state */
input[type="radio"]:checked::before,
input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px; 
    height: 12px;
    background-color: #0B233B; 
    border-radius: 50%; 
}

.self-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.self-next-button {
    justify-self: end;
}

.personal-quote-button {
    justify-self: start;
    position: absolute;
    align-self: end;
    bottom: 3.2em;
    z-index: 99;
}

.personal-quote-button.clicked {
    bottom: 9.5em !important;
}



.custom-checkboxes {
    display: grid;
}

.wpcf7-list-item, .form-slide label {
    display: flex;
}

.business-services {
    margin-bottom: 1em;
}


.self-quote-grid-check label {
    display: block;
}





.inner-self-quote form input.wpcf7-form-control.wpcf7-submit {
    margin: 1em 0 1em auto !important;
    position: relative;
}

.tax-option-h2 h2 {
    text-align: left !important;
}




@media only screen and (max-width: 550px) {
    .form-container {
        margin: 7em 0 0 0;
        padding: 0 0 2em 0;
    }

    .personal-quote-button {
        padding: 0.8em 1em;
        min-width: 125px;
    }

    .inner-contact form input[type=submit] {
        min-width: 125px;
    }

    .self-next-button, .self-next-button-1 {
        min-width: 125px;
    }

    .inner-contact form input[type=text]::placeholder, 
    .inner-contact form input[type=email]::placeholder, 
    .inner-contact form input[type=tel]::placeholder, 
    .inner-contact form input[type=number]::placeholder,
    .inner-contact form textarea::placeholder, 
    .inner-contact form select option, 
    .custom-select {
        font-size: 14px;
    }

    /* Highly specific selector with !important */
    .form-container .wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required.custom-select option {
        font-weight: 300 !important;
    }

}





/* 404 PAGE */

section.error{
    min-height: 60vh;
    align-content: center;
    grid-column: 2 / 16;
}

section.error h1{
    color: #0B233B;
    text-align: center;
    grid-column: 2 / 16;
}

section.error p{
    text-align: center;
    grid-column: 2 / 16;
}
