* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
}

:root {
    --primary-color: #0160C9;
    --primary-color25: #DAE7F7;
    --primary-color120: #004593;
    --white-color: #FFFFFF;
    --black-color: #000000;
    --font-color: #333333;
    --light-gray: #FAFAFA;
    --dark-gray: #2B2B2B;
    --h1-size: 2.4rem;
    --h2-size: 2rem;
    --h4-size: 1.6rem;
    --p-size: 1rem;
    --border-radius1: 4px;
    --border-radius2: 8px;
    --border-radius3: 16px;
    --border-radius4: 40px;
}


/* CUSTOM SCROLLBAR */

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}


/* GLOBAL STYLES */

body {
    background-color: var(--primary-color25);
}

h1 {
    font-size: var(--h1-size);
    font-weight: bold;
}
h2 {
    font-size: var(--h2-size);
    font-weight: 600;
}
h4 {
    font-size: var(--h4-size);
    font-weight: 600;
}
p {
    font-size: var(--p-size);
    font-weight: 400;
    color: var(--font-color);
}
a {
    text-decoration: none;
}

input, select, textarea {
    height: 32px;
    padding: 4px 8px;
    border: 1px solid #ccc;
    outline: none;
    border-radius: 2px;
}
textarea {
    resize: none;
}

.container {
    padding: 6rem 8rem;
    max-width: 1200px;
    margin: auto;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 6rem;
}
.section-header-title {
    font-size: var(--p-size);
    text-transform: uppercase;
    font-weight: 600;
}
.section-header-subtitle {
    font-size: var(--h2-size);
    font-weight: 600;
    color: var(--primary-color);
}


/* BUTTON ANIMATION */

.primary-btn {
    height: 40px;
    padding: 4px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius1);
    background: var(--primary-color);
    color: var(--white-color);
}

.button_su {
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius1);
}

.su_button_circle {
    background-color: var(--primary-color);
    border-radius: 1000px;
    width: 1000px;
    height: 1000px;
    position: absolute;
    left: 0;
    top: 0;
    width: 0px;
    height: 0px;
    margin-left: 0px;
    margin-top: 0px;
    pointer-events: none;
    animation-timing-function: ease-in-out;
}

.button_su_inner {
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 14px;
    transition: 300ms;
    overflow: hidden;
}

.button_text_container {
    z-index: 10;
}

.explode-circle {
    animation: explode 300ms forwards;
}
.desplode-circle {
    animation: desplode 300ms forwards;
}

@keyframes explode {
    0% {
        width: 0px;
        height: 0px;
        margin-left: 0px;
        margin-top: 0px;
        background-color: var(--primary-color120);
    }
    100% {
        width: 1200px;
        height: 1200px;
        margin-left: -800px;
        margin-top: -800px;
        background-color: var(--primary-color120);
    }
}

@keyframes desplode {
    0% {
        width: 1200px;
        height: 1200px;
        margin-left: -800px;
        margin-top: -800px;
        background-color: var(--primary-color120);
    }
    100% {
        width: 0px;
        height: 0px;
        margin-left: 0px;
        margin-top: 0px;
        background-color: var(--primary-color120);
    }
}


/* HEADER SECTION STYLES */

header {
    height: 5rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 0 8px 2px #00000020;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 5rem;
}
.header-logo {
    font-size: 2rem;
    font-weight: bold;
}
.header-nav {
    display: flex;
    gap: 2rem;
}
.nav-item {
    font-weight: 500;
    transition: all 250ms ease-in-out;
    cursor: pointer;
}
.nav-item:hover {
    color: var(--primary-color);
}


/* HERO SECTION STYLES */

#hero .container {
    min-height: calc(70vh - 5rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    text-align: left;
    border-bottom: 2px solid white;
}

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-details-txt {
    height: 100%;
    background-color: var(--white-color);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: var(--border-radius2);
}
.hero-details-txt h2 {
    font-weight: 200;
}
.hero-details-txt h4 {
    color: var(--primary-color120);
    font-weight: 800;
    margin: 8px 0 16px;
}
.hero-details-txt .btn-wrap {
    padding-top: 16px;
}

.hero-video {
    width: 100%;
    height: 100%;
    background-color: var(--dark-gray);
    border-radius: var(--border-radius2);
    overflow: hidden;
}

.hero-details-revs {
    display: flex;
    align-items: center;
}

.revs-icons {
    display: flex;
    margin-top: 1rem;
    position: relative;
    width: fit-content;
}
.rev-icon {
    height: 44px;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white-color);
    border: 4px solid var(--primary-color25);
    overflow: hidden;
}
.rev-icon:nth-child(2) {
    translate: -0.8rem;
}
.rev-icon:nth-child(3) {
    translate: -1.6rem;
}
.rev-icon:nth-child(4) {
    translate: -2.4rem;
}

.rev-icon img {
    width: 100%;
    height: 100%;
}

.revs-review {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.revs-stars {
    display: flex;
    gap: 0.2rem;
    margin-top: 0.5rem;
}
.revs-stars img {
    height: 20px;
    width: 20px;
}


/* SERVICES SECTION STYLES */

#services {
    background: var(--white-color);
}

.services-items {
    display: flex;
    gap: 2rem;
}

.services-item {
    flex: 1;
    background: var(--primary-color25);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 28px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.services-item p {
    padding: 0 1.5rem 1.5rem;
}


/* PORTFOLIO SECTION STYLES */

#portfolio {
    background: var(--light-gray);
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.portfolio-item {
    background: #9C27B0;
    border-radius: var(--border-radius3);
    min-height: 240px;
    overflow: hidden;
}
.portfolio-item {
    grid-column: span 2;
    padding: 12px;
}
.portfolio-item:nth-child(1) {
    grid-row: span 2;
    background: #f5d3cf;
}
.portfolio-item:nth-child(2) {
    grid-column: span 3;
    background: #dcd1fb;
}
.portfolio-item:nth-child(3) {
    grid-column: span 3;
    background: #9ccf63;
}
.portfolio-item:nth-child(4) {
    grid-column: span 3;
    background: #c9dbd4;
}
.portfolio-item:nth-child(5) {
    background: #ebe3d0;
}

.portfolio-pill {
    background: var(--white-color);
    color: var(--black-color);
    width: fit-content;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}


/* REVIEWS SECTION STYLES */

#reviews {
    background: var(--primary-color25);
}

.swiper.mySwiper {
    padding-bottom: 100px;
}

.swiper-wrapper {
    align-items: center;
}
.swiper-slide {
    background: var(--primary-color25);
}
.swiper-button-wrap {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 1rem;
    position: absolute;
    left: 50%;
    translate: -50%;
    bottom: 0%;
    z-index: 10;
}
.swiper-button-next, .swiper-button-prev {
    position: static !important;
    height: 60px !important;
    width: 60px !important;
    background-color: var(--primary-color) !important;
    border-radius: 50%;
    top: auto !important;
    bottom: 0 !important;
    transition: all 300ms ease-in-out;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--primary-color120) !important;
}
.swiper-button-next::after, .swiper-button-prev::after {
    display: none;
}
.swiper-button-next img, .swiper-button-prev img {
    width: 28px;
    transition: all 150ms ease-in-out;
}
.swiper-button-next:active img, .swiper-button-prev:active img {
    transform: scale(0.9);
}

.review-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    background: var(--primary-color25);
    /* padding: 10rem; */
}

.review-container {
    background: var(--white-color);
    height: 360px;
    width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    box-shadow: inset 20px 20px 46px #bebebe,
        inset 20px 20px 46px #ffffff;
}

.review-details {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.review-img {
    height: 100%;
    height: 120px;
    aspect-ratio: 1/1;
    display: flex;
    align-self: flex-start;
    border-radius: var(--border-radius4);
}
.review-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-text {
    line-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-prev, .review-next {
    background: #ebebeb;
    height: 240px;
    width: 100px;
}


/* CONTACT US STYLES */

#contact {
    background: var(--white-color);
}

.contact-us {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.contact-us textarea {
    height: 4rem;
}
.btn-wrap {
    margin-top: 1.2rem;
    display: flex;
    gap: 1rem;
}
.btn-wrap div {
    flex: 1;
    cursor: pointer;
}


/* FOOTER STYLES */

footer {
    background: var(--dark-gray);
    color: var(--white-color);
    padding: 1rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social-icons {
    display: flex;
    gap: 8px;
}
.social-icon {
    height: 24px;
    width: 24px;
    filter: grayscale(1);
    transition: all 300ms ease-in-out;
}
.social-icon:hover {
    filter: grayscale(0);
}
.social-icon img {
    width: 100%;
    height: 100%;
}

.footer-email a {
    color: var(--light-gray);
    font-weight: 600;
}

footer p {
    font-size: 0.8rem;
    color: var(--light-gray);
}