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

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    --text-primary-color: #797979;
    overflow-x: hidden;
    height: 200vh;
}

h1,
h2,
p {
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    padding: 0
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
.scrollbar-hide {
    scrollbar-width: none;
}

.font-kanit {
    font-family: "Kanit", sans-serif;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.gap-1 {
    gap: 4px;
}

.gap-2 {
    gap: 8px;
}

.bg-home {
    background-image: url("./assets/images/bg-1.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

/* Sticky Header */
header {
    /* background: #fff; */
    /* background-color: #fff; */
    color: var(--text-primary-color);
    padding: 10px;
    position: sticky;
    display: flex;
    top: 0;
    width: 100%;
    z-index: 100;
    padding-left: 80px;
    padding-right: 80px;
    /* box-shadow: 0px 4px 4px 0px #E2E2E240; */
    box-shadow: 0px 0px 4px rgba(226, 226, 226, 0.25);
    transition: background-color 0.3s ease;
}

.header-wrap {
    width: 60%;
    display: flex;
    gap: 10px;
    /* justify-content: space-between; */
    align-items: center;
}

header.sticky {
    background-color: white !important;
    /* box-shadow: 0px 4px 4px 0px #E2E2E240 !important; */
    box-shadow: 0px 4px 4px 0px rgba(226, 226, 226, 0.25) !important;
    position: fixed;

    /* background-color: #fff; */
}

.header-animate.sticky .phone-text {
    color: #797979;
}

.logo img {
    max-width: 150px;
}

nav ul {
    display: flex;
    justify-content: space-around;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    color: var(--text-primary-color);
    text-decoration: none;
    /* padding: 10px; */
    margin-left: 25px;
    font-family: "Kanit", serif;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
}

/* Smooth Scroll */
section {
    text-align: center;
    transition: transform 0.5s ease-in-out;
}

/* Blue Background Section */
body {
    /* background-color: #2B4262; */
}

/* Animation for Sticky */
.header-animate {
    animation: slideIn 1s ease-out forwards;
}

@keyframes slideIn {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

/*banner*/
.banner {
    /* background-color: #2B4262; */
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    /* padding-left: 40px; */
    display: grid;
    justify-content: space-between;
    text-align: left;
    /* align-items: center; */
    grid-template-columns: repeat(1, 1fr);
    /* 2 equal columns */
    gap: 10px;
}

.banner div {
    /* width: 60%; */
    flex: 1;
}

.banner .title {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-size: 38px;
    line-height: 22px;
    letter-spacing: 2px;
    color: #FFFFFF;
    text-align: left;
    width: 444px;
}

.banner .left-side {
    display: flex;
    justify-content: flex-end;
}

.banner .left-side img {
    object-fit: contain;
    width: 640px;

}

.rotate-icon {
    transition: transform 0.3s ease-in-out;
}

.hover:hover .rotate-icon {
    transform: rotate(30deg);
}

@keyframes fadeInOut {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

.animate-fade {
    animation: fadeInOut 5s infinite ease-in-out;
}

.hover-content {
    position: absolute;
    bottom: -20%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: bottom 0.5s ease-out, opacity 0.5s ease-out;
}

.hover-container:hover .hover-content {
    bottom: 0;
    opacity: 1;
    visibility: visible;
}

.home-bg-case-study {
    background-image: url(./assets/images/case-study-home-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*services*/
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    padding: 0;
}

.accordion-content.open {
    max-height: 500px;
    /* Adjust as needed */
    padding-top: 8px;
    padding-bottom: 8px;
}

.why-section {
    background: linear-gradient(90.12deg, rgba(255, 255, 255, 0.78) 0.06%, rgba(255, 248, 227, 0.78) 23.14%, rgba(255, 241, 230, 0.5) 56.83%, rgba(222, 222, 255, 0.07) 101.11%);

}

.bg-services {
    background-image: url(./assets/images/services-landing.svg) !important;
    /* background-color: #797979; */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bg-about {
    background-image: url(./assets/images/bg-aboutus.svg) !important;
    /* background-color: #797979; */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.wrapper {
    position: relative;
    width: 50px;
    height: 50px;
}

.static-purple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 10px;
    background-color: purple;
    z-index: 2;
}

.rotating-border {
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 50%;
    border: 5px solid lightgray;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 5s linear infinite;
}

.bg-case-study-1 {
    background: linear-gradient(180deg, #FFFCF3 0%, #FFFFFF 100%);
}

.bg-case-study-2 {
    background: linear-gradient(179.9deg, #F3F5FF 0.09%, #FFFFFF 69.9%);
}

.bg-case-study-3 {
    background: linear-gradient(180deg, #F3FCFF 0%, #FFFFFF 100%);
}

.bg-blog {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.78) 33.94%, rgba(255, 227, 227, 0.07) 72.41%)
}

.bg-contact {
    background-image: url(./assets/images/contactus-bg.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.bg-acc-blog {
    background-image: url('./assets/images/bg-blogs.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.accordion-selected {
    background: linear-gradient(92deg, rgba(255, 255, 255, 0.78) 36%, rgba(250, 244, 218, 0.10) 86%);
}

.case-study-bg {
    background-image: url('./assets/images/case-study-bg.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.tab-selected {
    background: #FFFBF8;
}

.bg-casestudy {
    background-image: url(./assets/images/casestudy-bg.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.bg-service-page {
    background-image: url(./assets/images/service-bg.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 999px) {
    .bg-home {
        background-image: url("./assets/images/mweb-home-bg.png");
    }

    .banner .title {
        font-weight: 600;
        font-size: 24px;
        width: auto;
        line-height: 35px;
        text-align: center;
    }

    .header-animate {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-bg-case-study {
        background-image: none;
    }

    .bg-abt-mweb {
        border-left: 1px solid rgba(250, 197, 197, 0.8);
        border-right: 1px solid rgba(168, 153, 211, 0.3);
        background-image: linear-gradient(90deg, rgba(250, 197, 197, 0.3), rgba(168, 153, 211, 0.2)), linear-gradient(180deg, rgba(250, 197, 197, 0.8) 1%, rgba(168, 153, 211, 0.89) 87%);
        background-size: 100% 1px;
        background-position: 0 0, 0 100%;
        background-repeat: no-repeat;
        border-radius: 10px;
    }

}