:root {
    --light-blue-section: #C7D4E0;
    --light-primary-blue: #87B3DB;
    --primary-color: #062956;
    --primary-color-dark: #001531;
    --text-dark-gray: #161616;
    --text-dark-gray-five: #56595D;
    --dirty-white: #f5f5f5;
    --light-gray: #ddd;
    --color-white: #fff;
}

/* var(--text-dark-gray); */

section {
    padding: 40px 0;
}

.bcg-lbs {
    background-color: var(--light-blue-section);
}

a {
    text-decoration: none;
}

a.btnPrimary {
    color: var(--dirty-white);
    background-color: var(--primary-color);
    border-radius: 25px;
    padding: 8px 19px;
    transition: 0.3s;
}

a.btnPrimary:hover,
a.btnPrimary:focus {
    background-color: var(--primary-color-dark);
}

h1 {
    font-size: 60px;
}

@media(max-width: 540px) {
    h1 {
        font-size: 50px;
    }
}

@media(max-width: 400px) {
    h1 {
        font-size: 40px;
    }
}

h2 {
    font-size: 35px;
    margin-bottom: 10px;
}

h3 {
    font-size: 19px;
}

h4 {
    font-size: 17px;
    margin-bottom: 25px;
}

h2,
h3,
h4 {
    color: var(--primary-color);
}

/* Navigation */
/* Begin */
.navbar {
    z-index: 9;
    position: sticky;
    top: 30px;
    width: 100%;
}

.openingHours {
    z-index: 10;
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #fff;
    color: #062956;
    font-size: 12px;
    text-align: right;
    line-height: 30px;
    border-bottom: 1px solid #f5f5f5;
}

.openingHours span {
    margin-left: 5px;
}

.navbar .nav-link {
    color: #062956;
    font-weight: 400;
}

.navbar .nav-link:hover {
    color: rgb(22, 79, 153);
}

.nav-call {
    color: #fff !important;
}

.socialMedia {
    font-weight: 600 !important;
    font-size: 20px;
    padding: 3px;
    margin-left: 10px;
}

.logo {
    color: #062956;
    font-weight: 700;
}
/* End */


/* Header */
/* Begin */
.header {
    background-color: #fff;
    overflow: hidden;
}

.header-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-content: center;
    width: 1320px;
    min-height: 750px;
    margin: 0 auto;
    margin-top: -50px;
    padding: 0 10px;
}

@media(max-width: 1399px) {
    .header-container {
        width: 1140px;
    }
}

@media(max-width: 1199px) {
    .header-container {
        width: 960px;
    }
}

@media(max-width: 991px) {
    .header-container {
        grid-template-columns: 1fr;
        width: 720px;
        margin-top: 30px;
    }
}

@media(max-width: 767px) {
    .header-container {
        width: 540px;
    }
}

@media(max-width: 540px) {
    .header-container {
        width: 100%;
    }
}

.header-image img{
    width: 110%;
}

@media(max-width: 1199px) {
    .header-image img{
        width: 150%;
        margin-left: -80px;
    }
}

@media(max-width: 991px) {
    .header-image img{
        width: 100%;
        margin-left: 0;
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

.header-text p {
    font-size: 18px;
    color: var(--text-dark-gray-five);
}

.header-text h1 {
    color: var(--primary-color);
    line-height: 65px;
}

@media(max-width: 540px) {
    .header-text h1 {
        line-height: 55px;
    }
}

.groupBtn a {
    border-radius: 25px;
    text-decoration: none;
    padding: 8px 19px;
    border: 1px solid  var(--primary-color);
    transition: 0.3s;
}

.callBtn {
    background-color:  var(--primary-color);
    color: var(--dirty-white) !important;
}

.callBtn:hover {
    background-color: var(--primary-color-dark);
    border: 1px solid var(--primary-color-dark);
}

.writeBtn {
    background-color: var(--dirty-white);
    color: var(--primary-color) !important;
}

.writeBtn:hover {
    background-color: var(--light-primary-blue);
    color: var(--dirty-white) !important;
    border: 1px solid var(--light-primary-blue);
}
/* End */


/* Family card image */
/* Begin */
section.family-card-image {
    padding: 0;
}

.family-card-image {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: 50%;
    margin-top: -95px;
    box-shadow: 2px 2px 10px 5px #33333311;
    overflow: hidden;
    border-radius: 20px;
}

.family-card-image img {
    width: 100%;
}

@media(max-width: 991px) {
    .family-card-image {
        width: 70%;
        margin-top: 30px;
    }
}

@media(max-width: 700px) {
    .family-card-image {
        width: 90%;
    }
}
/* End */


/* About */
/* Begin */
.about h2 {
    text-align: center;
}

.aboutBox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
    align-items: center;
    justify-items: center;
}

.aboutBox img {
    width: 100%;
}

.aboutBox .content {
    padding-left: 40px;
    padding-right: 20px;
}

@media(max-width: 991px) {
    .aboutBox {
        grid-template-columns: 1fr;
    }

    .aboutBox img {
        margin-bottom: 30px;
    }

    .aboutBox .content {
        padding-left: 0;
        padding-right: 0;
    }
}

.aboutBox .content p {
    color: var(--text-dark-gray);
    line-height: 25px;
}

div.smallLine {
    height: 2px;
    background-color: #666a70;
    margin: 20px 0;
    width: 50px;
}
/* End */


/* Family card */
/* Begin */
.family-card {
    text-align: center;
    padding-bottom: 50px;
}

.family-card .box {
    margin: 0 auto;
    width: 800px;
}

@media(max-width: 991px) {
    .family-card .box {
        width: 100%;
    }
}

.family-card .box span {
    font-weight: 600;
}
/* End */


/* Offer */
/* Begin */
.mainOffer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    gap: 20px;
}

@media(max-width: 767px) {
    .mainOffer {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.category {
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    margin-top: 10px;
    background-color: var(--color-white);
    overflow: hidden;
    transition: 0.3s;
    text-align: center;
}

.category:hover {
    scale: 1.03;
}

.category img {
    width: 100%;
    /* filter: grayscale(1); */
    transition: 0.6s;
}

/* .category img:hover {
    filter: grayscale(0);
} */

.category h3 {
    padding: 20px 30px 10px 30px;
}

.insuranceBox,
.insuranceBoxTwo {
    display: grid;
    gap: 25px;
}

.insuranceBox {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 20px;
}

.insuranceBoxTwo {
    grid-template-columns: 1fr 1fr;
}

@media(max-width: 991px) {
    .insuranceBox,
    .insuranceBoxTwo {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.insurance {
    padding: 25px 30px 0 30px;
}
/* End */


/* Opinions */
/* Begin */
.opinions {
    text-align: center;
    /* padding-bottom: 50px; */
}

.opinionBox {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 35px;
    margin-top: 20px;
}

@media(max-width: 767px){
    .opinionBox {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

.opinion {
    margin-top: 10px;
}

.opinion img {
    width: 100px;
    height: 100px;
    border-radius: 50px;
}

.opinion-text {
    padding: 25px 40px 0px 40px;
}

.opinion-text p {
    color: var(--text-dark-gray);
}
/* End */


/* Blog */
/* Begin */
.blogPosts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    gap: 35px;
}

@media(max-width: 767px){
    .blogPosts {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

.post {
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    margin-top: 10px;
    background-color: var(--color-white);
}

.post img {
    width: 100%;
    border-radius: 6px;
}

.blog-text-box {
    padding: 25px 30px 10px 30px;
}

.blog-text-box p {
    color: var(--text-dark-gray);
}
/* End */


/* Call to action */
/* Begin */
.call-to-action {
    display: grid;
    grid-template-columns: 1fr 200px;
    padding: 30px 45px;
    background-color: var(--primary-color);
    border-radius: 6px;
}

.call-to-action div {
    flex-basis: 210px;
    flex-grow: 1;
    justify-content: end;
}

.call-to-action p {
    color:  var(--dirty-white);
    font-size: 20px;
    transform: translateY(6px);
}

@media(max-width: 991px) {
    .call-to-action {
        grid-template-columns: 1fr;
    }

    .call-to-action div {
        justify-content: center;
    }

    .call-to-action p {
        text-align: center;
    }
}

.callMe {
    display: flex;
    transition: 0.3s;
}

.callMe:hover {
    transform: scale(1.1);
}

.callMe a {
    text-decoration: none;
}

.callMe img {
    width: 48px;
    height: 48px;
    margin-right: 10px;
}

span.call {
    color: var(--light-primary-blue);
}

span.number {
    color:  var(--dirty-white);
    font-size: 20px;
    line-height: 20px;
}
/* End */


/* Contact footer */
/* Begin */
.call-section {
    padding: 0;
}

.contact-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-footer div {
    flex-basis: 170px;
    flex-grow: 1;
}

@media(max-width: 450px){
    .contact-footer div {
        flex-basis: 100%;
        text-align: center;
    }
}

.social-media a {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 45px;
    font-weight: 600;
    transition: 0.3s;
    margin-top: -12px;
}

.social-media a:hover {
    color: var(--light-primary-blue);
    transform: scale(1.2);
}
/* End */


/* Footer */
/* Begin */
footer {
    padding: 40px 0;
    color:  var(--dirty-white);
    background-color: var(--primary-color);
}

footer .container {
    display: flex;
    justify-content: space-between;
}

footer span a {
    color:  var(--dirty-white);
    text-decoration: none;
    font-style: italic;
    transition: 0.3s;
}

footer span a:hover {
    color: var(--light-primary-blue);
    text-decoration: none;
}
/* End */
