/*
Theme Name: Britannia
Text Domain: britannia
Version: 1.451
Keyword:
*/
:root {
    --blue: #00A3B3;
    --gap: 100px;
}

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

p {
    margin-bottom: 1em;
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: #111;
}

.inner {
    max-width: 1350px;
    padding: 0 60px;
    margin: auto;
    position: relative;
}

.container {
    max-width: 1350px;
    padding: 0 120px;
    margin: auto;
}

h1, h2, h3 {
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.8em;
}

h1 {
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 30px;
    color: var(--blue);
    line-height: 1.4;
}

h3 {
    font-size: 20px;
    color: var(--blue);
    font-weight: bold;
}

/*fade slide*/
.swiper-fade.swiper-free-mode .swiper-slide {
    transition-timing-function: ease-out
}

.swiper-fade .swiper-slide {
    pointer-events: none;
    transition-property: opacity
}

.swiper-fade .swiper-slide .swiper-slide {
    pointer-events: none
}

.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active {
    pointer-events: auto
}

/*menu btn*/
.m-menu {
    width: 30px;
    height: 32px;
    position: relative;
}

.m-menu span {
    display: block;
    position: absolute;
    height: 2px;
    width: 30px;
    background: #000;
    opacity: 1;
    left: 16px;
    border-radius: 2px;
}

.mm-open .m-menu span {
}

.m-menu span:nth-child(1) {
    top: 9px;
}

.m-menu span:nth-child(2) {
    top: 16px;
}

.m-menu span:nth-child(3) {
    top: 23px;
}

.m-menu {
    transform: rotate(0);
    transition: 0.5s ease-in-out;
    cursor: pointer;
    margin-right: 0;
    z-index: 11;
    position: absolute;
    right: 30px;
    top: 30px;
    display: none;
}

.m-menu span {
    transform: rotate(0);
    transition: 0.25s ease-in-out;
}

.mm-open .m-menu span:nth-child(1) {
    top: 16px;
    transform: rotate(135deg);
}

.mm-open .m-menu span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mm-open .m-menu span:nth-child(3) {
    top: 16px;
    transform: rotate(-135deg);
}

.mm-open .m-menu span {
}

body {
}

#header {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 99;
}

a.logo {
    position: relative;
}

a.logo img {
    width: 365px;
    display: block;
    position: relative;
    padding-top: 80px;
}

a.logo:before {
    content: '';
    display: block;
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 300px;
    background-color: #fff;
    left: -60px;
    top: -240px;
}

.hero {
    border-radius: 0 0 250px 0;
    overflow: hidden;
    position: relative;
}

.hero .cap {
    position: absolute;
    width: 1230px;
    left: calc(50vw - 620px);
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 11;
    padding-top: 250px;
}

.hero .cap h1 {
    font-size: 60px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-shadow: -3px 3px 5px #0000006e;
}

.hero img {
    width: 100%;
    height: 1000px;
    object-fit: cover;
    display: block;
}


#main-nav {
    right: 60px;
    top: 80px;
    position: absolute;
    background-color: #ffffffba;
    border-radius: 60px;
    padding: 6px;
    /* backdrop-filter: blur(5px); */
}

#main-nav .menu {
    display: flex;
    height: 34px;
    gap: 6px;
}

#main-nav .menu li {
    display: block;
}

#main-nav .menu li a {
    display: flex;
    padding: 0 15px;
    border-radius: 20px;
    background-color: #00000000;
    height: 100%;
    align-items: center;
    text-transform: uppercase;
    color: #000;
}

#main-nav .menu li:hover>a, #main-nav .menu li.current-menu-item>a {
    background-color: #000000ff;
    color: #fff;
}

.intro .inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.intro {
    padding: 120px 0;
}
.intro p{
    margin-bottom:25px;
}
.intro img {
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
}

.intro a {
    border-radius: 30px;
    border: 2px solid #e5e5e5;
    font-size: 16px;
    color: var(--blue);
    padding: 12px 30px;
    display: inline-flex;
    gap: 15px;
}

.intro a:after {
    content: '';
    display: block;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16.49 14.25'%3E%3Cpolygon fill='%2300a3b3' points='9.25 0 7.83 1.41 12.6 6.18 0 6.18 0 8.18 12.71 8.18 8.06 12.83 9.48 14.25 16.49 7.24 9.25 0'/%3E%3C/svg%3E") no-repeat center;
    width: 15px;
}

.intro a:hover {
    border: 2px solid var(--blue);
}

section.service {
    background-color: #f2f2f2;
    border-radius: 0 250px 0 0;
    padding: 120px 0;
}

h2.btn a {
    display: inline-block;
    font-size: 40px;
    color: var(--blue);
    background-color: #e5e5e5;
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 20px 50px;
}

h2.btn a:hover {
    border-color: var(--blue);
}

.sgrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    color: #000;
    padding-top: 80px;
}

.sgrid .sbox {
    display: grid;
    grid-template-columns: 115px 1fr;
    align-items: center;
    gap: 20px;
    color: #000;
}

.sgrid img {
    border-radius: 50%;
    box-shadow: -4px 4px 8px #00000036
}

section.team {
    overflow: hidden;
    height: 1300px;
    position: relative;
    padding: 120px 0;
    background-color: #f2f2f2;
}

section.team img {
    display: block;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 250px 0 0 0;
    background: #f2f2f2;
}

section.team h2.btn a {
    background-color: #00000030;
    color: #fff;
}

#footer {
    background-color: #000;
    z-index: 22;
    position: relative;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    padding: 60px 0;
}

#footer a {
    color: var(--blue);
}

#footer a:hover {
    color: #fff;
}

#footer ul {
    display: flex;
}

#footer li {
    display: block;
}

#footer .row-1 {
    display: flex;
    justify-content: space-between;
}

#footer ul.menu {
    display: flex;
    gap: 15px;
}

#footer .social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-transform: none;
}

#footer .social a {
    display: flex;
    align-items: center;
    gap: 10px;
}

#footer .row-2 {
    padding-top: 60px;
    border-top: 1px solid #00a3b378;
    display: flex;
    margin-top: 50px;
    justify-content: space-between;
}

#footer .row-2 span {
    margin: 0 5px;
    color: #ababab;
}

section.history {
    background-color: var(--blue);
    padding: 120px 0;
    border-radius: 0 250px 0 0;
}

.history .years {
    height: 150px;
    padding: 0 70px;
    margin-top: 120px;
    margin-bottom: 60px;
    position: relative;
    background: linear-gradient(to bottom, transparent 0%, transparent calc(50% - 1px), #68c0dc calc(50% - 1px), #68c0dc calc(50% + 1px), transparent calc(50% + 1px), transparent 100%);
}

.history .year {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Avenir', sans-serif;
    font-size: 0;
    background-color: #000;
    cursor: pointer;
}

.swiper-slide-active .year {
    width: 150px;
    height: 150px;
    background-color: var(--blue);
    color: #fff;
    font-size: 50px;
}

.swiper-slide-next .year, .swiper-slide-prev .year {
    width: 100px;
    height: 100px;
    color: var(--blue);
    font-size: 27px;
}

.swiper-slide-next .year {
    margin-right: 0;
}

.swiper-slide-prev .year {
    margin-left: 0;
}

.swiper-slide.right .year {
    margin-left: 90px;
}

.swiper-slide.left .year {
    margin-right: 90px;
}

.history .years .swiper-slide {
    height: 150px;
    display: flex;
}

.years .swiper-button {
    width: 60px;
    height: 60px;
    margin-top: -30px;
}

.years .swiper-button svg {
    width: 60px;
    background: var(--darkblue);
    display: block;
}

.years .swiper-button:hover path {
    fill: #fff !important;
}

.years .swiper-button.next {
    right: 0;
}

.years .swiper-button.prev {
    left: 0;
}

.years-slider {
    position: relative;
    padding: 0 60px;
    margin-bottom: 50px;
}

.years-slider:after {
    content: '';
    display: block;
    height: 2px;
    left: 60px;
    right: 60px;
    background-color: #fff;
    top: 50%;
    position: absolute;
}

.year-slide {
    pointer-events: none;
}

.year-slide.next-year {
    pointer-events: all;
}

.years-wrap {
    overflow: hidden;
    z-index: 1;
    position: relative;
}

.years-slider {
}

.year-row {
    display: flex;
    gap: 80px;
    align-items: center;
    transition: all 0.4s;
    height: 150px;
}

.history .year-row .year {
}

.history .year-row .active .year {
    width: 150px;
    height: 150px;
    background-color: #fff;
    color: #111;
    font-size: 50px;
    pointer-events: none;
}

.history .year-row .next-year .year {
    width: 100px;
    height: 100px;
    color: #fff;
    font-size: 27px;
    cursor: pointer;
}

.year-btn {
    width: 60px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -30px;
}

.year-btn path {
    fill: #fff;
}

.year-btn:hover path {
    fill: #fff;
}

.year-btn.prev {
    left: 0;
}

.year-btn.next {
    right: 0;
}

.swiper-year-text {
    max-width: 660px;
    margin: auto;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 1.6em
}

.history h3 {
    color: #111;
    margin-bottom: 10px;
}

h2.title {
    display: inline-block;
    font-size: 40px;
    color: #fff;
    background-color: #00000042;
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 20px 50px;
    text-transform: uppercase;
}

.contact-2 h2.title {
    color: var(--blue);
    background-color: #00000014;
    margin-bottom: 100px;
}

.history h2.title {
    margin-bottom: 80px;
}

div.page-title {
    height: 750px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    justify-content: flex-start;
    border-radius: 0 0 250px 0;
    background: var(--blue) url(images/dots.svg) no-repeat -30px center;
}

img.tablet, 
img.mobile{
    display: none;
}

.page-title .inner {
    width: 100%;
    padding-top: 200px;
}

.page-title h1 {
    font-size: 60px;
    text-transform: uppercase;
    text-shadow: -3px 3px 5px #0000006e;
}

.page-title img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    display: block;
}

.people-grid {
    text-align: center;
    padding: 120px 0;
}

.people-grid .inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
}

.people-grid img {
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
}

.people-grid .name {
    color: var(--blue);
    font-size: 30px;
}

.people-grid .pbox {
    cursor: pointer;
}

.people-bio {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 999;
    display: none;
    overflow: auto;
    padding: 60px 0;
    background-color: #000000ad;
    backdrop-filter: blur(20px);
}

.showbio .people-bio {
    display: block;
}

body.showbio {
    overflow: hidden;
}

.people-bio .close {
    position: absolute;
    top: 30px;
    right: 100px;
    z-index: 11;
    border: 2px solid #d9d9d9;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.people-bio .close:hover {
    border-color: var(--blue);
}

.people-bio .close img {
    width: 20px;
    display: block;
}

.people-bio .swiper-slide {
    padding: 0 1px;
    overflow: hidden;
}

.people-bio .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.people-info {
}

.people-info .img img {
    width: 480px;
    height: 555px;
    object-fit: cover;
    display: block;
}

.people-info .info-1 {
    background: #fff;
    border-radius: 60px 0 0 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 380px 1fr;
    padding: 0 60px;
    align-items: center;
}

.people-info .info-1 .text {
    padding-left: 60px;
}

.people-info .links {
    display: flex;
    flex-direction: column;
    padding-top: 50px;
    gap: 20px;
}

.people-info .links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
}

.people-info .info-1 .name {
    color: var(--blue);
    font-size: 30px;
}

.people-info .info-1 .title {
    text-transform: uppercase;
    font-size: 24px;
}

.people-info .info-2 {
    background-color: var(--blue);
    color: #fff;
    padding: 60px;
}

.people-info .info-2 h3 {
    color: #fff;
}

.people-info .info-2 ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.swiper-button-prev, .swiper-button-next {
    width: 50px;
    height: 50px;
    border: 2px solid #ccc;
    position: absolute;
    top: 560px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.swiper-button-prev:hover, .swiper-button-next:hover {
    border-color: var(--blue);
}

.swiper-button-prev polygon, .swiper-button-next polygon {
    fill: #00a3b3;
    width: 20px;
}

.swiper-button-prev svg, .swiper-button-next svg {
    width: 20px;
}

.swiper-button-prev {
    left: -50px;
    transform: rotate(180deg);
}

.swiper-button-next {
    right: -50px;
}

.swiper-button-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.service-intro {
    padding: 120px 0 60px 0;
}

.service-intro .half {
    width: 50%;
    color: var(--blue);
    font-size: 30px;
    font-weight: 500;
    padding-right: 60px;
}

.services-grid .srow {
    padding: 60px 0;
}

.services-grid .srow.odd {
    background: #f2f2f2;
    border-radius: 0 250px 0 0;
}

.services-grid .inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
}

.services-grid img {
    display: block;
    width: 120px;
    box-shadow: -5px 5px 8px #0000001c;
    border-radius: 50%;
    margin: auto;
}

.services-grid h3 {
    text-align: center;
    color: var(--blue);
    margin: 30px 0;
}

.services-grid ul {
    margin: -15px 0 20px 20px;
}

.main-content {
    padding: 120px 0;
}

.qagrid {
    padding: 120px 0;
}

.qagrid .inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.qagrid .qa {
    background-color: #f2f2f2;
    border-radius: 60px 0 0 0;
    display: grid;
    padding: 30px 60px 30px;
    grid-template-columns: 150px 1fr;
}

.qagrid .qa .text-2{
    display:none;
}
.qa .number {
    font-size: 60px;
    font-weight: bold;
    text-align: center;
    border-right: 3px solid #fff;
    margin-right: 30px;
}

.qa h3 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 5px;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

span[data-name="date-193"] {
    display: inline-block;
    position: relative;
}

span[data-name="date-193"].active:before {
    display: none;
}

span[data-name="date-193"]:before {
    content: 'DATE';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 20px;
    bottom: 0;
    pointer-events: none;
}

.wpcf7-date {
    color: transparent;
}

.active .wpcf7-date {
    color: #111;
}

::placeholder {
    color: inherit;
}

input, textarea {
    font-size: 24px;
    color: #111;
    font-family: inherit;
    border: none;
}

input.wpcf7-text, textarea, .wpcf7-select, .wpcf7-date {
    border: none;
    box-shadow: 0 2px 0 #e5e5e5;
    outline: none;
    height: 68px;
    width: 100%;
    background: transparent;
    margin-bottom: 40px;
    font-family: inherit;
    font-size: inherit;
}

textarea {
    margin-bottom: 80px;
    padding-top: 23px;
}

input.wpcf7-text:focus {
    box-shadow: 0 2px 0 var(--blue);
}

.cgrid1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0 120px;
    padding-bottom: 40px;
}

.wpcf7-submit {
    width: 140px;
    padding-right: 30px;
    display: block;
    background-color: #fff;
    border: 2px solid #ccc;
    height: 44px;
    border-radius: 30px;
    color: var(--blue);
    margin: auto;
    cursor: pointer;
    background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16.49 14.25'%3E%3Cpolygon fill='%2300a3b3' points='9.25 0 7.83 1.41 12.6 6.18 0 6.18 0 8.18 12.71 8.18 8.06 12.83 9.48 14.25 16.49 7.24 9.25 0'/%3E%3C/svg%3E") no-repeat center right 20px;
    background-size:18px
}

.wpcf7-submit:hover {
    border: 2px solid var(--blue);
}

.contact-2 {
    background-color: #f2f2f2;
    padding: 120px 0;
    border-radius: 0 250px 0 0;
    margin-top: 70px;
}

.crow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 120px;
}

.wpcf7-select {
    width: 100%;
    height: 68px;
}

img.tablet, 
    img.mobile{
        display: none !important;
    }
@media(max-width: 1200px) {
    body{
        font-size:16px;
    }
    h2{
        font-size:25px;
    }
    .inner {
        padding:0 50px;
    }

    a.logo img {
        width: 225px;
        margin: auto;
        padding-top: 60px;
    }

    a.logo {
        width: 310px;
        display: block;
        z-index: 23;
        position: relative;
    }

    a.logo:before {
        width: 310px;
        height: 310px;
        top: -150px;
        left: 0;
    }

    .hero .cap {
        left: 0;
        right: 0;
        padding: 150px 50px 0 50px;
    }

    .hero {
        border-radius: 0 0 200px 0;
    }

    .hero img {
        height: 750px;
    }

    .hero .cap h1 {
        font-size: 45px;
        text-shadow: -3px 3px 6px #0000007d;
    }

    .m-menu {
        display: block;
        background-color: #fff;
        width: 60px;
        height: 35px;
        border-radius: 30px;
        z-index: 33;
    }

    #main-nav {
        position: absolute;
        left: 0;
        right: 0;
        background-color: #000;
        top: 0;
        height: 750px;
        border-radius: 0 0 200px 0;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        z-index: 22;
        padding: 240px 0 0 50px;
        transition:all 0.3s ease;
    }

    .mm-open #main-nav {
        opacity: 1;
        pointer-events: all;
        visibility: visible;
    }

    #main-nav .menu {
        flex-direction: column;
    }

    #main-nav .menu li a {
        font-size: 45px;
        font-weight: bold;
        color: #fff;
        line-height: 1.2;
    }

    #main-nav .menu li:hover>a, #main-nav .menu li.current-menu-item>a {
        color: var(--blue);
    }
    .intro .inner{
        gap:50px;
    }
    .intro a{
        padding: 5px 17px;
    }
    section.service{
        border-radius:0 200px 0 0;
    }
    h2.btn a{
        font-size: 25px;
        padding: 15px 35px;
    }
    .sgrid{
        grid-template-columns:1fr 1fr;
        gap: 50px;
    }
    .sgrid .sbox{
        grid-template-columns:85px 1fr;
    }
    section.team img{
        border-radius:200px 0 0 0;
    }
    section.team h2.btn a{
        width: 270px;
        text-align: center;
        margin: auto;
        display: block;
    }

    section.team{
        height:720px;
    }
    .flogo img{
        width:260px;
    }
    .history .year-row .active .year{
        width:110px;
        height:110px;
        font-size:37px;
    }
    .history .year-row .next-year .year{
        width:75px;
        height:75px;
    }
    .year-row{
        gap:30px;
    }
    .history .year-row .year{
        width:25px;
        height:25px;
    }
    #footer{
        font-size:12px;
    }
    #footer .social{
        position:absolute;
        right:50px;
        top: 95px;
        flex-direction: row;
        gap: 30px;
    }
    #footer .row-2{
        flex-direction:column;
        gap:25px;
        margin-top: 30px;
        padding-top: 30px;
    }
    .history h2.title{
        font-size:25px;
        font-weight:bold;
    }
    .swiper-year-text h3{
        font-size:16px;
    }
    .swiper-year-text{
        font-size:16px;
    }
    section.history {
    border-radius: 0 200px 0 0;
}
    c{
                height:550px;
                border-radius: 0 0 200px 0;
    }
    .page-title h1{
        font-size:45px;
                font-weight:bold;
    }
    .page-title .inner{
        padding-top: 140px;
    }
    .people-info .info-1{
        border-radius: 50px 0 0 0;
    }
    .people-info .info-1{
        grid-template-columns: 310px auto;
    }
    .people-info .info-1 .text{
        padding-left:50px;
    }
    .people-info .info-1 .name{
        font-size:25px;
    }
    .people-info .info-1 .title{
        font-size:18px;
    }
    .people-info .links img{
        width:28px;
    }
    .people-info .links{
        padding-top:40px;
    }
    .people-info .img img{
        width:100%;
        height:420px;
    }
    .swiper-button-prev, .swiper-button-next{
        display:none;
    }
    .people-bio .close{
        right:50px;
        width: 35px;
        height: 35px;
    }
    .people-bio .close img{
        width:15px;
    }
    .service-intro{
        padding: 80px 0 0;
    }
    .service-intro .half{
        font-size:25px;
        width: 450px;
        line-height: 1.2;
    }
    .services-grid img{
        width:85px;
    }
    .services-grid .srow.odd{
        border-radius:0 200px 0 0;
    }
    .services-grid h3{
        text-align:left;
    }
    .services-grid .inner{
        gap:60px;
    }
    .qa .number{
        font-size:45px;
    }
    .qa h3{
        font-size:25px;
    }
    .qagrid .qa{
        padding: 30px 50px 30px 20px;
            grid-template-columns: 130px 1fr;
    }
    .qagrid .inner{
        gap:50px;
    }
    .cgrid1,
    .crow{
        grid-gap:0 60px;
    }
    .contact-2 h2.title{
        font-size:25px;
    }
    
}
@media(max-width:900px){
    img.tablet{
        display:block !important;
    }
    img.desktop, 
    img.mobile{
        display: none !important;
    }
    .intro .img{
        margin:0 -50px;
    }
    .intro img{
        aspect-ratio:auto;
        height:500px;
        border-radius:0;
    }
    .intro .inner{
        grid-template-columns:1fr;
        gap:0px;
    }
    .people-grid .inner{
        grid-template-columns:1fr 1fr;
    }
    .people-bio .inner{
        padding:0;
    }
    .qagrid{
        padding:90px 0;
    }
    .cgrid1,
    .crow{
        grid-gap:0 60px;
        grid-template-columns:1fr;
    }
}

@media(max-width: 767px){
     .year-btn{
        width:40px;
        margin-top:-20px;
    }
    .years-slider{
        padding:0 40px;
    }
    .years-slider:after{
        left:40px;
        right:40px;
    }
    .inner{
        padding:0 20px;
    }
    a.logo img{
        padding-top: 22px;
        margin:0;
    }
    a.logo:before{
        border-radius:0 0 100px 0;
        height: 70px;
        top: 0;
        left: -20px;
        width: 280px;
    }
    .m-menu{
        top: 17px;
        right: 20px;
    }
    div.page-title{
            height:300px;
            border-radius: 0 0 120px;
            padding-left: 0px;
    }
    .page-title .inner{
        padding-top:100px;
    }
    #footer .row-1{
        flex-direction:column;
        gap: 10px;
    }
    #footer .social{
        position:relative;
        right: 0;
        top: 0;
    }
    #footer{
        padding: 50px 0;
    }
    #footer .row-2{
        padding: 20px 0 0 0;
        margin-top: 20px;
    }
    #footer .row-2{
        gap: 10px;
    }
    .service-intro .half{
        width:auto;
    }
    .service-intro .half{
        padding-right:0;
    }
    .services-grid .inner{
        gap: 0;
        grid-template-columns: 1fr;
    }
    .services-grid .srow{
        padding:50px 0;
    }
    .services-grid .srow.odd{
        border-radius: 0 120px 0 0;
    }
    #main-nav .menu li a{
        font-size:30px;
        background: transparent;
    }
    #main-nav,
    .hero img{
        height:500px;
    }
    #main-nav{
        padding: 160px 0 0 20px;
    }
    #main-nav .menu li:hover>a, #main-nav .menu li.current-menu-item>a{
        background:transparent;
    }
    .hero{
        border-radius: 0 0 120px 0;
    }
    .hero .cap{
        padding: 100px 0 0 20px;
        width: auto;
    }
    section.service{
        border-radius:0 120px 0 0;
        padding:80px 0;
    }
    .intro{
        padding:80px 0;
    }
    .intro img{
        aspect-ratio:16/9;
        object-fit:cover;
        height: auto;
        margin-top: 50px;
    }
    .sgrid{
        grid-template-columns:1fr;
        padding: 40px 0;
        gap: 25px;
    }
    .sgrid .sbox{
        grid-template-columns:55px 1fr;
    }
    section.team{
        height:430px;
        padding-top: 80px;
    }
    section.team img,
    section.history{
        border-radius:120px 0 0 ;
    }
    .intro .img{
        margin:0 -20px;
    }
    .year-slide.next-year{
        opacity:0;
    }
    .history h2.title{
        padding:20px;
        width: 330px;
        margin: auto auto 40px;
        display: block;
    }
    .people-grid .inner{
        grid-template-columns:1fr;
    }
    .people-grid img{
        max-width:275px;
    }
    .people-grid .name{
        font-size:22px;
    }
    .people-info .info-1{
        grid-template-columns:1fr;
        padding: 50px 20px;
    }
    .people-info .info-2{
        padding:40px 20px;
    }
    .people-info .img img{
        aspect-ratio:16/9;
        height:auto;
        width:100%;
    }
    .people-bio .close{
        right: 20px;
        top: 15px;
    }
    .people-info .info-1 .text{
        padding-left:0;
        text-align:center;
        padding-top:20px;
    }
    .people-info .info-1 .text span{
        display:none;
    }
    .people-info .links{
        display:flex;
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }
    .qagrid .qa .text{
        display:none;
    }
    .qagrid .qa .text-2{
        display:block;
        grid-column: 1/3;
        padding-top:20px;
    }
    .qagrid .qa{
        padding:20px;
        margin-right: -20px;
    }
    .qagrid .inner{
        gap:30px;
    }
    input.wpcf7-text, textarea, .wpcf7-select, .wpcf7-date{
        height:50px;
    }
    .contact-2{
        border-radius:0 120px 0 0 ;
    }
    .contact-2 h2.title{
        font-size:20px;
        padding:10px 25px
    }
    img.mobile{
        display:block !important;
    }
    img.desktop, 
    img.tablet{
        display: none !important;
    }
}

























