@font-face {
    font-family: 'NunitoSans';
    src: url('../font/NunitoSans.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'BriemHand';
    src: url('../font/BriemHand.ttf') format('truetype');
    font-style: normal;
}

/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

* {
    font-family: NunitoSans;

}

body {
    background-color: hsl(30deg 30.77% 94.9%);
}

.container-fluid {
    max-width: 85%;
}

.pt-60 {
    padding-top: 60px;
}

.pb-60 {
    padding-bottom: 60px;
}

.pt-80 {
    padding-top: 80px;
}

.pb-80 {
    padding-bottom: 80px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-80 {
    margin-top: 80px;
}

.mt-150 {
    margin-top: 150px;
}

.sanika-red {
    color: #FB9DA3 !important;
}

.sanika-green {
    color: #869889;
}

.sanika-black {
    color: #252323;
}

.center {
    text-align: center;
}

button {
    width: 220px;
    height: 56px;
    font-size: 24px;
    font-weight: 700;
    box-shadow: -1px 2px 4px 1px #00000040;
    padding: 5px 15px;
    border-radius: 10px;
    border: 0.5px solid #252323;
    cursor: pointer;
}

.pink-button {
    background-color: #FB9DA3;
}

.az_nav {
    box-shadow: 0px 0px 8px -4px #00000040;
    background-color: #ffffff;
}

.az_nav a.nav-link {
    font-size: 24px;
    font-weight: 500;
    color: #000;
}

.az_nav a.nav-link.active {
    font-weight: 900;
    font-size: 24px;
    color: #FB9DA3 !important;
}

.briemHand {
    font-family: BriemHand;
}

.intro h3 {
    font-size: 48px;
    font-weight: 300;
}

.intro h3 span {
    font-weight: 700;
}

.intro h1 {
    font-size: 59px;
    font-weight: 300;
    z-index: 2;
}

.intro h1 span {
    font-weight: 700;
}

.intro h1 span.bg-img {
    font-weight: 400;
    color: #252323;
    position: relative;
}

.wrap-in img {
    position: absolute;
    right: calc(1% - 68px);
    width: 300px;
    top: calc(-4% - 41px);
    z-index: -1;
}

.to-do img {
    position: absolute;
    width: 30%;
    top: calc(23%);
}

.intro h4 {
    font-size: 40px;
    font-weight: 700;
}

/* ===============section 2============== */
.heading {
    font-size: 48px;
    font-weight: 900;
}

.case_studies p {
    font-size: 20px;
    font-weight: 400;
    line-height: 27.28px;
}

.case_studies p span {
    font-weight: 700;
}

.about p {
    font-size: 20px;
    font-weight: 400;
    line-height: 27.28px;
}

.about p span {
    font-weight: 700;
}

.project-wrap {
    position: relative;
    width: 100%;
    /* Adjust as needed */
    margin-bottom: 60px;
}

.project-wrap img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease-in-out;
}

.project-wrap .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #92919182;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border: 1px solid #666565;
    border-radius: 5px;
}

.project-wrap:hover img {
    opacity: 0.3;
    /* Fade the image on hover */
}

.project-wrap:hover .overlay {
    opacity: 1;
    /* Show the overlay on hover */
}

.preview-button {
    transition: background-color 0.3s ease;
}

.navbar-collapse {
    display: flex !important;
}

.navbar-nav {
    flex-direction: column;
}

.nav-item {
    margin: 5px 20px;
}

.az_nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    transition: border 0.3s ease;
    /* Smooth transition for border */
}

.az_nav.scrolled {
    border-bottom: 0.2px solid #ccc;
    /* Grey bottom border when scrolled */
}

.font-w-300 {
    font-weight: 300 !important;
}

.nobreak {
    white-space: nowrap;
    word-break: keep-all;
}
.contactme {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    text-align: center;
}
.contacts {
    font-family: 'NunitoSans';
    font-size: 24px;
    font-weight: 400;
    text-align: left;
    color: #252323;
    margin: 0px 10px 10px 100px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.contact-item img {
    display: inline-block;
    vertical-align: middle;
}

.contact-item span,
.contact-item a {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    color: #252323;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

@media screen and (max-width1024px) {}

@media screen and (max-width:768px) {
    .contactme {
        height: auto; /* Avoid 100vh to prevent excessive white space */
        padding: 20px 0; /* Add some vertical padding */
    }

    .container-fluid {
        padding: 0 15px; /* Adjust padding */
    }

    .contacts {
        font-size: 18px; /* Smaller font size for smaller screens */
        margin: 5px 0; /* Less margin */
    }

    .contact-item {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Ensure items are centered */
    }

    .contact-item img {
        margin-bottom: 10px; /* Add space below image when stacked */
    }

    .contact-item span,
    .contact-item a {
        margin-left: 0; /* Remove left margin */
        text-align: center; /* Center align text */
    }
    
    .heading {
        font-size: 35px;
    }

    .intro h1 {
        font-size: 30px;
    }

    .container-fluid {
        max-width: 100%;
    }

    .intro h3 {
        font-size: 32px;
        font-weight: 300;
    }

    .break {
        display: block;
    }

    .wrap-in img {
        position: absolute;
        right: calc(4% - 40px);
        width: 155px;
        top: calc(28% - 41px);
    }


    .intro h4 {
        font-size: 20px;
        font-weight: 700;
    }

    .az_nav .container-fluid {
        justify-content: flex-end;
    }

    .navbar-toggler {
        width: auto;
    }

    .pb-60 {
        padding-bottom: 20px;
    }

    .mt-80 {
        margin-top: 40px;
    }

    .mt-150 {
        margin-top: 80px;
    }

    .pt-80 {
        padding-top: 30px;
    }

    .to-do img {
        position: relative;
        width: 100%;
        top: auto;
    }

    .mt-40 {
        margin-top: 20px;
    }
}

@media screen and (max-width:425px) {
    .heading {
        font-size: 30px;
    }


    .intro h3 {
        font-size: 32px;
        font-weight: 300;
    }

    .intro h1,
    .intro h3 {
        font-size: 30px;
    }

    span.break {
        display: block;
    }

    .pb-60 {
        padding-bottom: 20px;
    }

    .mt-80 {
        margin-top: 40px;
    }

    .mt-150 {
        margin-top: 80px;
    }

    .pt-80 {
        padding-top: 30px;
    }

    .to-do img {
        position: relative;
        width: 100%;
        top: auto;
    }

    .wrap-in img {
        width: 140px;
        right: calc(16% - 40px);
    }

    .intro h4 {
        font-size: 20px;
        font-weight: 700;
    }
}

@media screen and (max-width:375px) {

    .intro h1,
    .intro h3 {
        font-size: 25px;
    }

    .wrap-in img {
        width: 123px;
        top: calc(40% - 41px);
    }

    .heading {
        font-size: 25px;
    }

    .mt-150 {
        margin-top: 40px;
    }
}

@media screen and (max-width:320px) {

    .intro h1,
    .intro h3 {
        font-size: 22px;
    }

    .heading {
        font-size: 22px;
    }

    .wrap-in img {
        width: 106px;
        top: calc(40% - 41px);
        right: calc(24% - 40px);
    }
}