        @import url('https://fonts.googleapis.com/css2?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');

:root {
    --header-hight: 3rem;
    --first-color: #3E0E12;
    --first-color-dark: #2F0A0D;
    --text-color: #524748;
    --first-color-light: #7B6F71;
    --first-color-lighten: #FBF9F9;

    --body-font: 'Poppins', sans-serif;
    --biggest-font-size: 2.5rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    --mb-1: .5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --mb-5: 2.5rem;
    --mb-6: 3rem;

    --z-normal: 1;
    --z-tooltip: 10;
    --z-fixed: 100;

}

@media screen and (min-width: 768px) {
    :root {
        --biggest-font-size: 4.5rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}


*,
::before,
::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--first-color) var(--first-color-lighten);
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: var(--header-hight) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    background-color: var(--first-color-lighten);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
ul,
p {
    margin: 0;
}

h2,
h3 {
    font-weight: var(--font-semi-bold);
}

ul {
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section {
    padding: 4rem 0 2rem;
}

.section-title,
.-section-subtitle {
    text-align: center;
}

.section-title {
    font-size: var(--h1-font-size);
    color: var(--first-color);
    margin: var(--mb-3);
}

.section-subtitle {
    display: block;
    font-size: var(--smaller-font-size);
    font-weight: var(--font-semi-bold);
    text-align: center;
}

.bd-container {
    max-width: 1024px;
    width: calc(100% - 2rem);
    margin-left: var(--mb-2);
    margin-right: var(--mb-2);
}

.bd-grid {
    display: grid;
    gap: 1.5rem;
}

.l-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: #000;
}


.nav {
    height: var(--header-hight);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width:821px) {
    .nav_menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        padding-top: 1.5rem;
        text-align: center;
        background-color: #000;
        transition: .4s;
        box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
        border-radius: 0 0 1rem 1rem;
    }
}

.nav_item {
    margin-bottom: var(--mb-3);
}

.nav_link {
    color: var(--first-color-lighten);
    transition: .3s;
}

.nav_link:hover {
    color: var(--first-color-light);
}

.nav_logo,
.nav_toggle {
    color: var(--first-color-lighten);
    font-weight: 700;
}

.logo-img {
    height: 75px;
    /* Adjust as needed */
    width: auto;
    transition: all 0.3s ease-in-out;
}

.logo-active {
    display: flex;
    align-items: center;
}


.nav_toggle {
    font-size: 1.3rem;
    cursor: pointer;
}

.show-menu {
    top: var(--header-hight);
}

.active-link {
    position: relative;
}

.active-link::after {
    content: '';
    position: absolute;
    bottom: -.7rem;
    left: 0;
    width: 65%;
    height: 3px;
    background-color: var(--first-color-light);
}

.scroll-header {
    background-color: var(--first-color-lighten);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.scroll-header .nav_logo,
.scroll-header .nav_toggle,
.scroll-header .nav_link {
    color: var(--first-color-dark);
}

.scroll-header .nav_menu {
    background-color: var(--first-color-lighten);
}

.scrolltop {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5rem;
    background: rgba(123, 111, 113, .7);
    border-radius: .5rem;
    z-index: var(--z-tooltip);
    transition: .4s;
    visibility: hidden;
}

.scrolltop:hover {
    background-color: var(--first-color);
}

.scrolltop_icon {
    font-size: 2rem;
    color: var(--first-color-lighten);
}

.show-scroll {
    visibility: visible;
    bottom: 1.5rem;
}

.whatsapp-button {
    position: fixed;
    bottom: 80px;
    /* Adjust to position above .scrolltop */
    right: 14px;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    /* WhatsApp green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.whatsapp-button i {
    width: 40px;
    height: 40px;
    color: var(--first-color-lighten);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}


.home {
    overflow: hidden;
}

.home_container {
    position: relative;
    height: calc(100vh - var(--header-hight));
    grid-template-rows: repeat(2, max-content);
    align-content: space-around;
    row-gap: 2rem;
}

.home_data {
    border-left: 4px solid var(--first-color-dark);
    color: var(--first-color-dark);
    padding-left: 1.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}


.home_name {
    font-size: var(--biggest-font-size);
}

.home_greeting,
.home_profession {
    display: block;
    font-weight: var(--font-bold);
}

.home_greeting {
    font-size: .813rem;
}

.home_profession {
    font-size: .938rem;
    margin-bottom: var(--mb-3);
}

.home_img {
    position: absolute;
    right: 0;
    bottom: 0;
}

.home_img img {
    width: 240px;
}

.home-social {
    display: flex;
    flex-direction: column;
}

.home_social-icon {
    width: max-content;
    font-size: 1.8rem;
    margin-bottom: var(--mb-2);
    color: var(--first-color-dark);
}

.home_social-icon:hover {
    color: var(--first-color-lighten);
}

.button {
    display: inline-block;
    background-color: var(--first-color);
    color: var(--first-color-lighten);
    padding: .75rem 1rem;
    border-radius: .25rem;
    transition: .3s;
}

.button:hover {
    background-color: var(--first-color-dark);
}

.button-light {
    background-color: var(--first-color-light);
}

.about-data {
    text-align: center;
}

.about_discription span {
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--first-color);
}

.about_number {
    font-size: var(--h1-font-size);
    color: var(--first-color);
    display: block;
}

.about_video {
    width: 100%;
    /* Ensures full width */
    height: auto;
    /* Maintains aspect ratio */
    max-height: 400px;
    /* Prevents video from being too tall */
    border-radius: 10px;
    /* Matches previous image styling */
    object-fit: cover;
    /* Ensures proper video fit */
    display: block;
    margin: 0 auto;
    /* Centers the video */
}

/* Responsive Video for Small Screens */
@media screen and (max-width: 768px) {
    .about_video {
        max-height: 250px;
        /* Adjust height for mobile */
    }
}


.qualification_container {
    row-gap: 2.5rem;
}

.qualification_title {
    font-size: var(--h3-font-size);
    color: var(--first-color);
    margin-bottom: var(--mb-2);
    display: flex;
    align-items: center;
}

.qualification_title-icon {
    font-size: 1.5rem;
    margin-right: var(--mb-1);
}

.qualification_box {
    padding-bottom: 1rem;
    border-bottom: 1px solid #ccc;
}

.qualification_area {
    font-size: var(--normal-font-size);
    color: var(--first-color);
    margin-bottom: var(--mb-1);
    font-weight: var(--font-medium);
}

.qualification_icon,
.qualification_work {
    font-size: var(--smaller-font-size);
    color: var(--first-color-dark);
}

.qualification_work {
    display: block;
}

.services_data {
    padding: 3rem 1rem;
    background-color: #fff;
    border-radius: .5rem;
    text-align: center;
    transition: .4s;
    box-shadow: 0 4px 6px rgba(174, 190, 205, .3);
}

.service_icon,
.services_title {
    margin-bottom: var(--mb-2);
    color: var(--first-color);
}

.service_icon {
    font-size: 3rem;
}

.services_title {
    font-size: var(--h3-font-size);
}

.services_dsicription {
    margin-bottom: var(--mb-4);
    text-align: justify;
}

.services_data:hover {
    transform: translateY(-.5rem);
    box-shadow: 0 6px 8px rgba(174, 190, 205, .4);
}

.project_container {
    padding: 1.5rem 1rem;
    background-color: var(--first-color-dark);
    color: var(--first-color-lighten);
    border-radius: .5rem;
    text-align: center;
}

.project_icon,
.project_title {
    margin-bottom: var(--mb-1);
}

.project_icon {
    font-size: 3.5rem;
}

.project_title {
    font-size: 1.5rem;
}

.project_discription {
    margin-bottom: var(--mb-4);
}

.button-white {
    background-color: var(--first-color-lighten);
    color: var(--first-color-dark);
}

.button-white:hover {
    background-color: var(--first-color-lighten);
}

.portfolio_nav {
    text-align: center;
    margin-bottom: var(--mb-3);
}

.portfolio_items {
    margin: 0 var(--mb-2);
    cursor: pointer;
}

.portfolio_content {
    background-color: #fff;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(174, 190, 205, .3);
}

.portfolio_image {
    width: 100%;
    transition: .4s;
}

.portfolio_data {
    padding: 1.5rem;
}

.portfolio_subtitle {
    font-size: var(--small-font-size);
    color: var(--first-color-light);
}

.portfolio_title {
    font-size: var(--h3-font-size);
    color: var(--first-color);
    margin: var(--mb-2) 0;
}

.portfolio_content:hover {
    box-shadow: 0 6px 8px rgba(174, 190, 205, .4);
}

.portfolio_content:hover .portfolio_image {
    transform: scale(1.02);
}

.button-link {
    background: none;
    color: var(--first-color);
    padding: 0;
}

.button-link:hover {
    background: none;
}

.active-portfolio {
    color: var(--first-color-dark);
    font-weight: var(--font-semi-bold);
}

.testimonial_content {
    display: grid;
    background-color: var(--first-color-dark);
    color: var(--first-color-lighten);
    border-radius: .5rem;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(47, 10, 13, .25);
}

.testimonial-img {
    width: 110px;
    height: 100px;
    font-size: 75px;
    border-radius: 50%;
    justify-self: center;
    margin-bottom: var(--mb-1);
}

.testimonial_client {
    font-size: var(--small-font-size);
    color: var(--first-color-light);
    margin-bottom: var(--mb-2);
}

.swiper-pagination {
    position: initial;
}

.swiper-pagination-bullet-active {
    background-color: var(--first-color);
}

.contact_container {
    row-gap: 2.5rem;
}

.contact_content {
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
}

.contact_box {
    background-color: #fff;
    border-radius: .5rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(174, 190, 205, rgba(174, 190, 205, .3));
    /* overflow:hidden; */
}

.contact_icon,
.contact_title {
    color: var(--first-color);
}

.contact_icon {
    font-size: 2rem;
}

.contact_title {
    font-size: var(--h3-font-size);
    margin: var(--mb-1) 0;
}

.contact_social {
    color: var(--first-color-light);
    font-size: 1.25rem;
    margin: 0 var(--mb-1);
}

.contact_box:hover {
    box-shadow: 0 6px 8px rgba(174, 190, 205, .4);
}

.mail {
    font-size: .70rem;
}

.footer {
    background: linear-gradient(90deg, #6A0DAD, #FF007F, #FF4500, #FFD700);
    color: var(--first-color-lighten);
    text-align: center;
}

.footer_container {
    padding: 3rem 0;
}

.footer_title {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-1);
    font-weight: var(--font-semi-bold);
}

.footer_discription {
    margin-bottom: var(--mb-3);
}

.footer_social {
    margin-bottom: var(--mb-6);
}

.footer_link {
    font-size: 1.4rem;
    color: var(--first-color-lighten);
    margin: 0 var(--mb-1);
    transition: .3s;
}

.footer_link:hover {
    color: var(--first-color-light);
}

.footer_copy {
    font-size: var(--smaller-font-size);
    color: var(--first-color-dark);
}

/* Ensure footer_social container is flexible */
.footer_social {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 20px 0;
}

/* Make the map responsive */
.footer_map {
    width: 75%;
    /* Adjust width relative to the footer */
    height: 250px;
    border-radius: 10px;
    border: none;
    max-width: 600px;
    /* Prevent it from getting too large */
}

.footer_marquee {
    width: 100%;
    overflow: hidden;
    color: var(--first-color-lighten);
    /* Match footer text color */
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    padding: 10px 0;
    text-align: center;
    margin: 10px 0;
    /* Adjust spacing between elements */
}

.footer_marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: slideText 50s linear infinite;
}

@keyframes slideText {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}


@keyframes slideText {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}


/* Adjust height on smaller screens */
@media screen and (max-width: 768px) {
    .footer_map {
        width: 90%;
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    .footer_map {
        width: 95%;
        height: 180px;
    }
}


@media screen and (min-width: 576px) {
    .home_img img {
        width: 330px;
    }

    .about_container,
    .qualification_container,
    .service_container,
    .portfolio_container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 768px) {
    body {
        margin: 0;
    }

    .section {
        padding-top: 6rem;
    }

    .section_title {
        margin-bottom: var(--mb-5);
    }

    .nav {
        height: calc(var(--header-hight) + 1.5rem);
    }

    .nav_list {
        display: flex;
    }

    .nav_item {
        margin-left: var(--mb-5);
        margin-bottom: 0;
    }

    .nav_toggle {
        display: none;
    }

    .home_container {
        height: 100vh;
        grid-template-rows: max-content .5fr;
        align-content: flex-end;
    }

    .home_greeting {
        font-size: 1.25rem;
    }

    .home_profession {
        font-size: 2rem;
    }

    .home-social {
        flex-direction: row;
        align-items: center;
    }

    .home_social-icon {
        margin-right: var(--mb-4);
        margin-bottom: 0;
    }

    .home_img img {
        width: 440px;
    }

    .about_discription {
        text-align: initial;
    }

    .about_img {
        width: 300px;
    }

    .qualification_box {
        display: flex;
        justify-content: space-between;
    }

    .service_container,
    .portfolio_container {
        grid-template-columns: repeat(3, 1fr);
    }

    .project_container {
        padding: 4.5rem 0;
    }

    .project_data {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

    .project_icon,
    .project_title,
    .project_discription {
        margin-bottom: 0;
    }

    .project_icon {
        font-size: 6rem;
    }

    .project_title {
        font-size: 2.5rem;
    }
}

@media screen and (min-width: 1024px) {
    .bd-container {
        margin-left: auto;
        margin-right: auto;
    }

    .qualification_container {
        column-gap: 6rem;
    }
}

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.home_container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.call-button {
    display: inline-block;
    background-color: #ff4b2b;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.call-button:hover {
    background-color: #ff3a1a;
}

.mySwiper {
    position: relative;
    top: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    overflow: hidden;
    z-index: 1;
}

.mySwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (min-width: 768px) and (max-width: 1024px){
    .mySwiper {
        position: relative;
        top: 0;
        width: 100%;
        height: calc(100vh - 12%);
        overflow: hidden;
        z-index: 1;
    }
    
    .mySwiper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .home_data {
        border-left: 4px solid var(--first-color-dark);
        color: var(--first-color-dark);
        padding-left: 1.5rem;
        position: absolute;
        top: 30%;
        left: 47%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }
}

@media screen and (max-width: 480px) {
    .mySwiper {
        position: relative;
        top: 0;
        width: 100%;
        height: calc(100vh - 12%);
        overflow: hidden;
        z-index: 1;
    }
    
    .mySwiper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .home_data {
        border-left: 4px solid var(--first-color-dark);
        color: var(--first-color-dark);
        padding-left: 0.25rem;
        position: absolute;
        top: 30%;
        left: 47%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }
    .portfolio_nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 375px;
        margin-bottom: var(--mb-3);
    }

    .portfolio_items {
        flex: 1;
        text-align: center;
        font-size: 14px; /* Adjust if needed */
        white-space: nowrap; /* Prevent text from breaking */
}
}
@media screen and (max-width: 820px) {
    .nav_toggle {
        display: block; /* Ensure it is visible */
        font-size: 24px; /* Adjust size if needed */
        cursor: pointer;
    }

    .nav_menu {
        display: none; /* Hide menu initially */
        position: absolute;
        top: 40px; /* Adjust based on your header height */
        right: 0;
        background: black;
        width: 100%;
        text-align: center;
    }

    .show-menu {
        display: block; /* Show menu when toggled */
    }
    .nav_list{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        line-height: 1.8rem;
    }
}
    