@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

h2 {
    font-size: 46px;
    line-height: 54px;
    color: #222;
}

h3,
h4 {
    margin: 0 0 25px;
    font-weight: 400;
    font-family: Canela, Georgia, serif;
}

body,
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

header {
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 200px;
    transition: 0.5s ease;
    position: fixed;
}

header .brand {
    color: #fff;
    font-size: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

header .navigation {
    position: relative;
}

header .navigation .navigation-items a {
    position: relative;
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    margin-left: 30px;
    transition: 0.3s ease;
}

header .navigation .navigation-items a:before {
    content: '';
    position: absolute;
    background: #fff;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    transition: 0.3s ease;
}

header .navigation .navigation-items a:hover:before {
    width: 100%;
}

header #logo {
    display: block;
    margin-right: auto;
}

a {
    color: #475569;
    text-decoration: none;
    transition: color .25s ease 0s;
}

header .img {
    width: 100px;
    max-width: 100px;
    vertical-align: top;
}

.bgColor {
    height: 100px;
    background: #000000;
    transition: all 1s;
}

section {
    padding: 100px 200px;
}

.home {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: #2696e9;
    background-size: cover;
}

.home:before {
    z-index: 777;
    content: '';
    position: absolute;
    background: rgba(1, 1, 1, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.home .content {
    z-index: 888;
    color: #fff;
    width: 70%;
    margin-top: 50px;
}

.home .content h1 {
    font-size: 4em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 75px;
    margin-bottom: 40px;
}

.home .content h1 span {
    font-size: 1.2em;
    font-weight: 600;
}

.home .content p {
    margin-bottom: 65px;
}

.home .imgSlider {
    z-index: 000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imgSlider {
    width: 100%;
    height: 82vh;
    background-image: url("images/frontpage1.jpeg");
    background-size: 100% 100%;
    box-shadow: rgba((149), 157, 155, 0.2) 0px 8px 24px;
    animation: changeImage 8s linear infinite;
}

.imgSlider::before {
    content: '';
    position: absolute;
    margin-top: 0px;
    width: 100%;
    height: 90%;
    top: 0;
    left: 0;
    z-index: 1;
}

@keyframes changeImage {
    0% {
        background-image: url("images/frontpage1.jpeg");
    }

    33% {
        background-image: url("images/frontpage1.jpeg");
    }

    66% {
        background-image: url("images/frontpage2.jpeg");
    }

    100% {
        background-image: url("images/frontpage3.jpeg");
    }
}


/* about */

.about {
    min-height: 10vh;
    display: grid;
    place-items: center;
}

.about .row {
    width: 100%;
    max-width: 1170px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 50px;
    overflow-x: hidden;
    padding: 5rem 0;
}

.about .row .imgWrapper {
    overflow: hidden;
}

.about .row .imgWrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.about .row .imgWrapper:hover img {
    transform: scale(1.25);
}

.about .row .contentWrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 30px;
}

.about .row .contentWrapper h2 {
    font-size: 40px;
    font-weight: 700;
    color: #383f47;
    padding-bottom: 20px;
}

.about .row .contentWrapper p {
    font-size: 16px;
    line-height: 25px;
    padding-bottom: 25px;
}


/* Projects */


.section-track_record {
    max-width: 100%;
    overflow: hidden;
    background-image: url("./images/portfolio/backgroundimage.png");
    background-repeat: cover;
    background-color: rgb(5, 5, 5);
    /* height: 120vh; */
    max-height: 120vh;
    /* margin: auto; */
    margin-top: 20px;
}

/* title and subtitle */

.section-track_record .content-wrapper .subtitle {
    margin: 0 0 7px;
    font-family: Raleway, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 35px;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #9a9a95;
}

.section-track_record .content-wrapper .title {
    position: relative;
    margin: 0;
    padding-top: 17px;
    font-weight: 300;
    font-size: 38px;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: capitalize;
}

.section-track_record .content-wrapper .title:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 44px;
    border-bottom: 2px solid #808081;
}


/* .content-wrapper */

.slide {
    position: relative;
    padding: 0 80px 65px;
}

.section-track_record .content-wrapper {
    width: 100%;
    max-width: 952px;
    margin: 0 auto 60px;
}

.slides .slick-track {
    position: relative;
    padding: 0 75px 65px;
}

.slide {
    height: 500px;
    /* Set a fixed height for the slides */
    background-size: cover;
    background-position: center;
    max-width: 100%;
    cursor: pointer;
}

.slick-slide {
    margin: 0 60px;

    /* Adjust this value to change the horizontal space between slides */

}

.slick-list {
    margin: 0 -670px 0 -750px;
    overflow: hidden;
    /* Negative margin to offset the slide margin */
}

.slick-prev:before,
.slick-next:before {
    color: #333 !important;
}

.caption {
    text-align: left !important;
    color: #d9d9d9 !important;
    font-size: 16px !important;
    bottom: 0 !important;
    padding-top: 35px;
    /* box-sizing: border-box !important; */
    margin: 0 30px;
    height: 65px;
    overflow: hidden;
    font-weight: 400;
    line-height: 35px;
    letter-spacing: .02em;
}


/* project buttons */
.slides .slick-arrow.slick-prev {
    transform: scaleX(-1);
}

.slides .slick-arrow.slick-next {
    right: 135px;
    transform: scaleX(1);
}

.slides .slick-arrow {
    position: absolute;
    bottom: 0;
    width: 42px;
    height: 42px;
    overflow: hidden;
    text-indent: -99999em;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: inherit;
    font-size: inherit;
    line-height: normal;
    background: #333;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    z-index: 20;
}

.slides .slick-arrow:after {
    content: "";
    width: 6px;
    height: 10px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: url(https://www.newwestbc.com/wp-content/themes/new-west/images/slider-arrow.svg) center center no-repeat;
    background-size: 100% 100%;
}

.buttons {
    position: absolute;
    bottom: 15px;
    display: flex;
    gap: 15px;
    margin: 0 0 0 47%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.buttons span {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.buttons span:hover {
    background-color: rgba(70, 69, 69, 0.7);
    opacity: 0.5;
}

.buttons span::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border-top: 4px solid #fff;
    border-left: 4px solid #fff;
    transform: rotate(315deg) translate(2px, 2px);
}

.buttons span:nth-child(2)::before {
    transform: rotate(135deg) translate(2px, 2px);
}

.buttons span:active {
    opacity: 0.5;
}

.caption {
    text-align: initial;
    margin-top: 10px;
    color: #333;
    /* Adjust text color */
    font-size: 14px;
    /* Adjust font size */
}


/* image slider */
#main {
    overflow: hidden;
    padding-bottom: 50px;
}
.section-portfolio {
    position: relative;
    width: 100%;
    margin-top: 35px;
}
a {
    color: #475569;
    text-decoration: none;
    transition: color .25s ease 0s;
}
.section-portfolio .portfolio-items>a {
    position: relative;
    display: block;
    text-decoration: none;
    color: #fff;
    background: #fff;
}
.section-portfolio .portfolio-items .portfolio-type {
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}
.section-portfolio .portfolio-items .portfolio-type .type {
    position: absolute;
    left: 6.3%;
    bottom: 5.72%;
    z-index: 1;
    font-weight: 300;
    font-size: 100px;
    line-height: 1;
    font-family: Canela, Georgia, serif;
    transform-origin: left bottom;
    transform: rotate(-90deg) translateY(100%);
}
.section-portfolio .portfolio-items .portfolio-type .copy {
    position: absolute;
    right: 50px;
    bottom: 98px;
    width: 182px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.625;
    letter-spacing: .01em;
    transition: opacity .5s ease 0s, transform 1s ease 0s;
    transform: translateY(300%);
    opacity: 0;
    color: #fff;
    z-index: 1;
}
.section-portfolio .portfolio-items .portfolio-type:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), linear-gradient(0deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .2));
}
.section-portfolio .portfolio-items .portfolio-type img {
    display: block;
    width: auto;
    max-width: none;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(1.1);
    transition: transform 1s ease .5s;
}


/* service */
.services {
    min-height: 10vh;
    display: grid;
    place-items: center;
}

.services .row {
    width: 100%;
    max-width: 1170px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 50px;
    overflow-x: hidden;
    padding: 5rem 0;
}

.services .row .imgWrapper {
    overflow: hidden;
}

.services .row .imgWrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.services .row .imgWrapper:hover img {
    transform: scale(1.25);
}

.services .row .contentWrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 30px;
}

.services .row .contentWrapper h2 {
    font-size: 40px;
    font-weight: 700;
    color: #383f47;
    padding-bottom: 20px;
}

.services .row .contentWrapper p {
    font-size: 16px;
    line-height: 25px;
    padding-bottom: 25px;
}

.services .row .contentWrapper ul {
    list-style-type: disc;
    /* or none, if you prefer without bullets */
    padding-left: 20px;
    /* Adjust padding to your preference */
}

.services .row .contentWrapper li {
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 15px;
    /* Adds space between list items */
    cursor: pointer;
    /* Changes cursor to pointer to indicate hoverable item */
    transition: color 0.3s;
    /* Smooth transition for text color change */
}

.services .row .contentWrapper li:hover {
    color: #e926dc;
    /* Change the color on hover to indicate interaction */
}

.services .row .imgWrapper {
    overflow: hidden;
}

.services .row .imgWrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.services .row .imgWrapper:hover img {
    transform: scale(1.25);
}


/* blogs */
#blogs {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 15px;
}

.post-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    justify-content: center;
    gap: 2.5rem;
    background-color: #413f3f;
    background-image: url("https://www.newwestbc.com/wp-content/themes/new-west/images/track-record-bg.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 100% 100%;
}

.post-box {
    background: var(--bg-color);
    box-shadow: 0 4px 14px hsl(190, 29%, 80%/10%);
    padding: 25px;
    border-radius: 0.5rem;
    background-color: #99d6ed;
    background-image: url("https://www.newwestbc.com/wp-content/themes/new-west/images/track-record-bg.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 100% 100%;
}

.post-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 0.5rem;
}


.post-title {
    position: relative;
    margin: 10px 0 0 45px;
    font-size: 1.3rem;
    font-weight: 600;
    color: black;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: 0.3s ease;
}

.post-date {
    margin: 10px 0 0 45px;
    display: flex;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 5px;
}

.post-decription {
    font-size: 0.9rem;
    line-height: 1.5rem;
    margin: 10px 0 0 45px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

}

.profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.profile-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid var(--second-color);
}

.profile-name {
    font-size: 0.82rem;
    font-weight: 500;
}

button.normal {
    font-size: 14px;
    font-weight: 350;
    margin: 25px;
    padding: 10px 20px;
    color: #fff;
    background-color: #333;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.2s;
}

button a {
    position: relative;
    color: #fff;
    transition: 0.3s ease;
    text-decoration: none;
}

button:hover {
    background: #088178;
    color: #fff;
}

/* footer */

footer .container {
    position: relative;
    width: 100%;
    height: auto;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-gap: 20px;
    padding: 50px;
    margin: auto 250px;
}

footer .container .sec h4 {
    position: relative;
    color: #333;
    font-weight: 600;
    padding: 25px 0 0;
    margin-bottom: 15px;
}

footer .container .quicklinks {
    position: relative;
}

footer .container .quicklinks ul li {
    list-style: none;
}

footer .container .quicklinks ul li a {
    color: #555;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
}


footer .container .sci {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, 50px);
}

footer .container .sci {
    list-style: none;
}

footer .container .sci a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: #333;
    display: grid;
    align-content: center;
    justify-content: center;
    text-decoration: none;
}

footer .container .sci a i {
    color: #fff;
    font-size: 20px;
}

.sci .bx:hover {
    color: #857c7c;
    transition: 0.3s all linear;
}


.footer-copyright {
    padding: 15px;
    text-align: center;
}

.footer-copyright p {
    color: #423434;
    font-size: 15px;
    font-family: Inter;
    font-style: italic;
    font-weight: 500;
    word-wrap: break-word
}

@media screen and (max-width: 860px) {
    .section-portfolio {
        padding-left: 20px;
        padding-right: 20px;
    }
    .section-portfolio .portfolio-items a {
        width: 100%;
        height: 0;
        padding-bottom: 100%;
    }
    .section-portfolio .portfolio-items .portfolio-type {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .section-portfolio .portfolio-items .portfolio-type .type {
        font-size: 50px;
    }
    .section-portfolio .portfolio-items .portfolio-type .copy {
        width: 162px;
        transform: none;
        opacity: 1;
        right: 20px;
        bottom: 5.72%;
        font-size: 14px;
    }
    .section-portfolio .portfolio-items .portfolio-type .copy {
        width: 162px;
        transform: none;
        opacity: 1;
        right: 20px;
        bottom: 5.72%;
        font-size: 14px;
    }
}
@media (max-width: 1040px) {
    header {
        padding: 12px 100px;
    }

    section {
        padding: 20px;
    }

    header .navigation {
        display: none;
    }

    header .navigation.active {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(1, 1, 1, 0.5);
    }

    header .navigation .navigation-items a {
        color: #222;
        font-size: 1.2em;
        margin: 20px;
    }

    header .navigation.active .navigation-items a::before {
        background: #222;
        height: 5px;
    }

    header .navigation .navigation-items {
        width: 700px;
        margin: 20px;
        padding: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        z-index: 999;
        background-color: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
        height: 100vh;
    }

    .menu-btn {
        background: url(images/menu/menu_24dp_FILL0_wght400_GRAD0_opsz24.svg)no-repeat;
        background-size: 30px;
        background-position: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        transition: 0.3 ease;
    }

    .menu-btn.active {
        z-index: 999;
        background: url(images/menu/close_24dp_FILL0_wght400_GRAD0_opsz24.svg)no-repeat;
        background-size: center;
        transition: 0.3s ease;
        margin-right: 80px;
        padding-top: 20px;

    }

    /* bologs */
  
    /* portfolio */


    /* services */


    footer .container {
        display: grid;
        margin: auto 180px;
        position: relative;
    }

}

@media (max-width:900px) {
    /*  about */

    .about .row {
        grid-template-columns: 1fr;
        grid-gap: 50px;
    }

    .about .row .contentWrapper {
        padding-left: 0px;
    }

    /* porfolio */

    .section-track_record .content-wrapper {
        width: auto;
        max-width: none;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 30px;
    }

    .slider .slides {
        padding-left: 40px;
        padding-right: 40px;
    }

    
    /* service */

    .services .row {
        grid-template-columns: 1fr;
        grid-gap: 50px;
    }

    .services .row .contentWrapper {
        padding-left: 0px;
    }

    
    footer .container {
        display: block;
        margin: auto;
    }


}

@media (max-width:799px) {
    .section-p1 {
        padding: 40px 40px;
    }


    #navbar.active {
        right: 0px;
    }

    #navbar li {
        margin-bottom: 25px;
    }

    .menu-btn.active {
        margin-right: 0px;
        padding-top: 20px;
    }
    /*  about */

    .about .row {
        width: 90%;
    }

    .about .row .contentWrapper h2 {
        font-size: 30px;
        padding-bottom: 20px;
    }

    .about .row .contentWrapper p {
        line-height: 24px;
    }

    /* porfolio */
 
    .slider .slides {
        padding-left: 40px;
        padding-right: 40px;
    }
    .caption {
        text-align: center !important;
        color: #d9d9d9 !important;
        font-size: 16px !important;
        bottom: 0 !important;
        padding-top: 20px;
        /* box-sizing: border-box !important; */
        /* margin: 0 200px; */
        /* height: 65px; */
        /* overflow: hidden; */
        /* font-weight: 400; */
        /* line-height: 35px; */
        /* letter-spacing: .02em; */
        padding-right: 30%;
    }
    .slide {
        height: 500px;
        background-size: cover;
        background-position: center;
        max-width: 70%;
        align-items: center;
        cursor: pointer;
    }
}

@media(max-width: 575px) {
    .section-p1 {
        padding: 20px;
    }

    header {
        padding: 10px 10px;
    }

    #header {
        padding: 10px 30px;
    }

    .home .content h1 {
        font-size: 35px;
        margin-bottom: 30px;
        line-height: 55px;
    }

    h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .heading {
        font-size: 3rem;
    }


    .menu-btn.active {
        margin-right: 140px;
        margin-top: 50px;
    }

    .menu-btn.active {
        margin-right: 220px;
        padding-top: 20px;
    }
    /*  about */

    .about .row {
        width: 90%;
    }

    .about .row .contentWrapper h2 {
        font-size: 25px;
    }

    .about .row .contentWrapper p {
        font-size: 15px;
        line-height: 22px;
    }

    /* porfolio */


    /* footer */
    footer .copyright {
        text-align: start;
    }
}

@media (min-width: 370px) {
    .home .content h1 {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
}

@media screen and (min-width: 861px) {
    .section-portfolio {
        height: 0;
        padding-bottom: calc(7 / 12* 100%);
    }
    .section-portfolio .portfolio-items {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        justify-content: space-between;
    }
    .section-portfolio .portfolio-items a {
        padding-right: 5px !important;
        padding-left: 0 !important;
    }

    .section-portfolio .portfolio-items>a {
        width: 50%;
        height: 100%;
        will-change: width;
        transition: width 1s ease 0s;
    }
    .section-portfolio .portfolio-items>a:hover {
        width: 175%;
    }
    .section-portfolio .portfolio-items>a:hover .copy {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.8s;
    }
}