:root {
    --primary-color: '#1e6db3';
    --primary-color-dark: '#1d2f5a'
}
body {
    margin-top: 164px;
    font-family: Arial, Helvetica, sans-serif !important;
    background-image: none !important;
    background-color: #FFFFFF !important;
}
h1, h2, h3, h4, h5 {
    font-family: Arial, Helvetica, sans-serif !important;
}
.d-none {
    display: none !important;
}
.modal.show {
    opacity: 1 !important;
}
.modal.show .modal-dialog {
    margin-top: 126px !important;
}
a {
    text-decoration: none;
    cursor: pointer;
}
#overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000D6;
    z-index: 100000;
    transition: all 200ms ease-in;
}
nav {
    width: 100vw;
    height: 164px;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #FFFFFF;
    box-shadow: 0px 4px 6px #00000048;
}
nav div.container {
    display: flex !important;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    padding: 16px;
}
.logo {
    max-width: 160px;
    max-height: 96px;
}
.menu {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 16px;
    margin-bottom: 0 !important;
    margin-block-end: 0 !important;
}
.menu li {
    list-style-type: none;
}
.menu li a {
    display: block;
    padding: 8px 16px;
    color: #4D4D4D !important;
    text-decoration: none;
    font-size: 24px;
    border-radius: 8px;
    cursor: pointer;
}

.menu li a.active {
    background-image: linear-gradient(45deg, #1d2f5a, #1e6db3) !important;
    color: #FFFFFF !important;
    box-shadow: 0px 4px 8px #1d2f5a;
}
.main-content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}
ul.submenu {
    display: flex;
    justify-content: flex-start;
    padding: 16px;
    background-color: #FFFFFF;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 999;
  }
  
  ul.submenu::after {
    display: none;
  }
  ul.submenu::before {
    display: none;
  }
  
  ul.submenu li {
    list-style-type: none;
    margin: auto 16px;
    position: relative;
  }
  ul.submenu li a {
    color: #4D4D4D !important;
    font-size: 14px;
    white-space: nowrap;
  }
  ul.submenu li a::after {
    position: absolute;
    right: -16px;
    content: '';
    width: 2px;
    border-right: solid 2px #4D4D4D;
    height: 32px;
  }
  ul.submenu li:last-child a::after {
    display: none;
  }
.banner {
    width: 100%;
    height: auto;
    background-color: #1d2f5a;
    margin-bottom: 36px;
}
.banner.personal {
    background-color: #1d2f5a;
}
.banner.commercial {
    background-color: #68737d;
}
.banner-content {
    padding-top: 64px;
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
    text-align: center;
    padding-bottom: 8px;
}
.banner-content h1 {
    font-family: Arial, Helvetica, sans-serif !important;
    color: #FFFFFF !important;
    font-size: 24px;
    margin: 16px;
}
.banner-content p{ 
    font-size: 16px;
}
.insurance-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}
.insurance-links a {
    font-size: 20px;
    background-image: linear-gradient(45deg, #1d2f5a, #1e6db3);
    padding: 24px 56px;
    color: #FFFFFF !important;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    margin: auto 8px;
}
.lobs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    margin-bottom: 16px;
}
.lobs a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
}
.lobs a img{
    width: 100%;
}
section.footer {
    background-color: #1d2f5a;
    color: #FFFFFF;
}
.footer-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 16px;
    padding: 36px;
}
.footer-col {
    width: 100%;
}
.footer-col h3 {
    font-size: 22px;
    margin: 0 0 16px 0 !important;
}
.footer-col p {
    line-height: 24px !important;
    margin: 0 0 12px 0 !important;
}
ul.foot-menu {
    padding: 0;
    margin: 0;
}
ul.foot-menu li {
    list-style-type: none;
    margin: 16px 0;
}
ul.foot-menu li:first-child {
    margin-top: 0 !important;
}
.footer-col a{
    color: #FFFFFFD6 !important;
    font-size: 20px;
}
.footer-col a:hover {
    color: #FFFFFF !important;
}
.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
}
.social-icons img {
    max-width: 56px;
    max-height: 56px;
}
@media screen and (min-width: 768px) {
    body {
        margin-top: 96px;
    }
    nav {
        height: 96px;
        display: flex;
    }
    nav .container {
        width: 100%;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center;
        flex-direction: row !important;
    }
    
    .menu {
        margin-top: 24px;
        margin-right: 16px;
        justify-content: end;
    }
    
    .lobs {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
}
@media screen and (min-width: 1024px) {
    
    body {
        margin-top: 120px;
    }
    .logo {
        max-width: 100%;
    }
    nav {
        height: 120px;
        display: flex;
    }
    .menu li a {
        padding: 12px 28px;
    }
    nav .container {
        width: 100%;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center;
        flex-direction: row !important;
    }
    ul.submenu {
        padding: 24px 32px;
        margin-right: 8%;
        transform: translateX(0);
    }
    ul.submenu::before {
        display: none;
      }
    
      ul.submenu::after {
        display: none
      }
      ul.submenu li a {
        font-size: 20px;
      }
    .menu {
        margin-top: 36px;
        margin-right: 16px;
        justify-content: end;
    }
    .banner-content {
        padding-top: 96px;
        display: flex;
        flex-direction: column;
        color: #FFFFFF;
        text-align: center;
    }
    .banner-content h1 {
        font-size: 48px;
    }
    .banner-content p {
        font-size: 24px;
    }

    
    .insurance-links {
        flex-direction: row;
        gap: 24px;
    }
    .insurance-links a {
        width: 100%;
        margin: auto;
    }
    
    .lobs {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
    .lobs a img {
        width: 100%;
    }
    .footer-content {
        flex-direction: row;
    }
    .footer-col {
        width: 360px;
    }
}
@media screen and (min-width: 1367px) {

    ul.submenu::before {
        display: block;
        position: absolute;
        content: '';
        width: 104px;
        height: 96px;
        left: -46px;
        top: -49px;
        background-color: #FFFFFF;
        transform: rotate(45deg);
        z-index: -1;
      }
    
      ul.submenu::after {
        display: block;
        position: absolute;
        content: '';
        width: 104px;
        height: 96px;
        right: -35px;
        top: -48px;
        background-color: #FFFFFF;
        transform: rotate(40deg);
        z-index: -1;
      }
      
    .insurance-links a {
        width: 360px;
        margin: auto;
    }
    
    .lobs a img {
        max-width: 570px !important;
        max-height: 190px !important;
    }
}