@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;800&family=Work+Sans:wght@400;500&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

}

:root {
    --heading: rgb(0 10 45);
    --para: #777;
    --para-tint: #e4e4e4;
    --white: #fff;
    --black: #212529;
    --helper: #8940ff;
    --overlay: #3e64ff;
    --helper-tint: #f3f4ff;
    --bg: rgb(249 249 255);
    --icons-bg: rgba(144, 172, 209, 0.2);
    --gradient: linear-gradient(0deg, rgb(132 144 255) 0%, rgb(98 189 252) 100%);
    --gradientSupport: -webkit-linear-gradient(0deg,
            rgb(132 144 255)0%,
            rgb(98 189 252)100%);
    --shadow: 0px 0px 20px 0px rgb(132 144 255 / 20%);
    --shadowSupport: 0px 20px 20px 0px rgb(132 144 255 / 30%);
}

html::-webkit-scrollbar {
    width: .8rem;
}

html::-webkit-scrollbar-track {
    background: var(--gradient);
}

html::-webkit-scrollbar-thumb {
    background: #420177;
}

html {
    font-size: 62.5%;
    /* 1 Rem = 10px */
    overflow-x: hidden;
    scroll-behavior: smooth;


}

body {
    overflow-x: hidden;
    cursor: none;
    background-color: white;
    color: black;
    /* transition: background 0.5s, color 0.5s; */
    transition: background 0.4s ease-in-out, color 0.4s ease-in-out;
}

/* ================================================================
Dark Mode
================================================================ */

section,
main,
div,
header,
footer,
p,
h1,
h2,
h3,
h4,
h5,
li,
a {
    background-color: inherit;
    color: inherit;
    transition: background 0.5s, color 0.5s;
    transition: text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
}

.dark-mode {
    background-color: black;
    color: white;
}


/* Dark Mode Specific Styles */
.dark-mode section,
.dark-mode main,
.dark-mode div,
.dark-mode header,
.dark-mode footer,
.dark-mode p,
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode li,
.dark-mode a {
    background-color: #121212;
    /* Darker shade for better contrast */
    color: white;
}

.dark-mode h1,
h2,
h3 {
    text-shadow: 6px 6px 15px rgba(237, 152, 152, 0.9);
}





.dark-mode footer h3 {
    text-shadow: 6px 6px 15px rgba(237, 152, 152, 0.9);
}



.dark-mode .header {
    background: #121212 !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.dark-mode a {
    color: white !important;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.dark-mode a:hover {
    color: var(--helper) !important;
}



.dark-mode .section-hero .hero-heading {
    text-shadow: 6px 6px 15px rgba(237, 152, 152, 0.9) !important;
}


.dark-mode .section-biodata {
    filter: drop-shadow(5px 5px 5px rgba(84, 83, 83, 0.1));
}

.dark-mode .section-portfolio a {
    background: transparent;

}


.dark-mode .section-work-data {
    background: #121212;
    /* Darker shade for better contrast */
    color: white;
    filter: drop-shadow(5px 5px 10px rgba(84, 83, 83, 0.9));
}

.dark-mode .section-services {
    filter: drop-shadow(5px 5px 10px rgba(84, 83, 83, 0.9));
}

.dark-mode .section-freelancing .container h2,
.dark-mode .section-freelancing .container p {
    background: transparent;
}

.dark-mode .section-contact {
    filter: drop-shadow(5px 5px 10px rgba(84, 83, 83, 0.9));
}

.dark-mode .section-contact-main textarea:hover,
.dark-mode .section-contact-main input:hover {
    filter: drop-shadow(6px 6px 15px rgba(237, 152, 152, 0.9));
    box-shadow: 5px 5px 9px rgba(237, 152, 152, 0.9);
}

.dark-mode .section-contact-main textarea:focus,
.dark-mode .section-contact-main input:focus {
    filter: drop-shadow(6px 6px 15px rgba(237, 152, 152, 0.5));
    box-shadow: 5px 5px 9px rgba(237, 152, 152, 0.5);
}


.dark-mode .section-contact iframe {
    filter: drop-shadow(6px 6px 15px rgba(237, 152, 152, 0.58));
}



.dark-mode .scrollTop-style {
    background: transparent;
}

/* ================================================================
Cursor 
================================================================ */

.cursor-dot {
    width: 5px;
    height: 5px;
    background-color: black;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(0, 0, 0, 0.5);
    background: transparent;
    /* box-shadow: 0 0 8px rgba(0, 0, 0, 0.7); Light glow for visibility */
    box-shadow: 5px 5px 9px rgba(43, 37, 37, 0.9);

}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 999;
    pointer-events: none;
}

/* Dark Mode Cursor */
.dark-mode .cursor-dot {
    background-color: white;
    /* White cursor in dark mode */
}

.dark-mode .cursor-outline {
    border-color: hsla(0, 0%, 100%, 0.5);
    /* Semi-transparent white outline */
    background: transparent;
    box-shadow: 5px 5px 9px rgba(237, 152, 152, 0.9);
}

/* toggle btn */

/* Toggle Button Styling */
.toggle-btn {
    width: 140px;
    height: 45px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(145deg, #222, #111);
    color: white;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* cursor: pointer; */
    outline: none;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5),
        -5px -5px 10px rgba(255, 255, 255, 0.1);
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));
}

/* Hover Effect */
.toggle-btn:hover {
    transform: scale(1.05);
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.7),
        -5px -5px 15px rgba(255, 255, 255, 0.1);
}

/* Dark Mode Active Button */
.dark-mode .toggle-btn {
    background: linear-gradient(145deg, #444, #222);
    color: yellow;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.7),
        -5px -5px 10px rgba(255, 255, 255, 0.1);
}




/* ================================================================
Basic Properties
================================================================ */

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
}

h1 {
    color: var(--heading);
    font-size: 6rem;
    font-weight: 600;
}



h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;

}

p {
    color: var(--para);
    line-height: 1.6;
    font-size: 1.34rem;
}

a {
    text-decoration: none;
    cursor: none;
}

li {
    list-style: none;
}

/* ================================================================
Header Section Start
================================================================ */
.header {
    padding: 0 4.8rem;
    height: 9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background: var(--bg); */
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 998;
    box-shadow: 0 0 2rem 0 rgba(0, 0, 0, 0.1);

}

.header .logo {
    height: 8rem;
    filter: drop-shadow(5px 5px 15px rgba(46, 32, 236, 0.9));
    animation: glow 1.5s infinite alternate ease-in-out;
    transition: transform 0.3s ease-in-out;
}

@keyframes glow {
    0% {
        filter: drop-shadow(0px 0px 5px rgba(255, 0, 0, 0.6));
    }

    50% {
        filter: drop-shadow(0px 0px 15px rgba(255, 0, 0, 1));
    }

    100% {
        filter: drop-shadow(0px 0px 5px rgba(255, 0, 0, 0.6));
    }
}

/* Add hover effect for more attraction */
.header .logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0px 0px 20px rgba(255, 255, 0, 1));
}

.navbar-lists {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.navbar-link:link,
.navbar-link:visited {
    display: inline-block;
    /* text-decoration: none; */
    font-size: 1.69rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--black);
    transition: color 0.3s linear;
    position: relative;
}

.navbar-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: var(--helper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.navbar-link:hover,
.navbar-link:active {
    color: var(--helper);
}

.navbar-link:hover::after {
    transform: scaleX(1);
}

.mobile-navbar-btn {
    display: none;
    background-color: transparent;
    cursor: pointer;
    border: none;
}


.mobile-nav-icon[name="close-outline"] {
    display: none;
}


/* ================================================================
Reusable Code Section
================================================================ */
.section {
    padding: 9rem 0;

}

.container {
    max-width: 140rem;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 9rem;
}

.grid-two-column {
    grid-template-columns: repeat(2, 1fr);
    /* grid-template-columns: 1fr 1fr; */
}

.grid-three-column {
    grid-template-columns: repeat(3, 1fr);
    /* grid-template-columns: 1fr 1fr; */
}

.grid-four-column {
    grid-template-columns: repeat(4, 1fr);
    /* grid-template-columns: 1fr 1fr; */
}


.btn {
    background: var(--gradientSupport);
    padding: 1.6rem 2.5rem;
    border: none;
    color: var(--helper-tint);
    display: inline-block;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    border-radius: 1.51rem;
    position: relative;
}

.btn:hover,
.btn:active {
    /* box-shadow: 0 2rem 2rem 0 rgb(132 144 255 / 30%); */
    box-shadow: var(--shadowSupport);
    /* background: red;
    color: var(--helper); */
}

.common-heading {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 3.45rem;
    text-transform: capitalize;
    position: relative;

}

.common-heading::before {
    content: "";
    position: absolute;
    top: 109%;
    left: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--helper);
}

.common-heading::after {
    content: "";
    position: absolute;
    top: 118%;
    left: 0.5rem;
    min-width: 14rem;
    height: 0.2rem;
    background: var(--helper);
    box-shadow: 6px 6px 15px rgba(237, 152, 152, 0.9);

}

/* ================================================================
Hero Section Start
================================================================ */
.section-hero {
    /* padding: 14rem; */
    margin-top: 9rem;
    background-color: var(--bg);
}

.section-hero-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-top-data {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.14rem;
    color: var(--helper);
}


.hero-heading {
    /* text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5); */
    /* text-shadow: 6px 6px 15px rgba(0, 0, 0, 0.9); */
    /* text-shadow: 10px 10px 25px rgba(0, 0, 0, 1); */
    text-transform: uppercase;
    font-weight: 700;
    font-size: 5rem;

}

.text-shadow {
    font-size: 5rem;
    font-weight: 700;
    color: black;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.6);
    animation: glowing-text 1s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

/* Faster & Smoother Shadow Animation */
@keyframes glowing-text {
    0% {
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    }

    50% {
        text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.7);
    }

    100% {
        text-shadow: 6px 6px 18px rgba(0, 0, 0, 0.9);
    }
}





.hero-para {
    margin-top: 0.5rem;
    margin-bottom: 3rem;
    max-width: 60rem;
}

.section-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    /* position: relative;
    left: -3.5rem;
    bottom: 5.12rem;
    height: 115%; */
}

.hero-img {
    max-width: 60%;
    border-radius: 2.5rem;
    z-index: 1;
    box-shadow: 1.25rem 1.25rem 1.25rem .25rem var(--helper);

}

picture {
    text-align: center;
}

/* ================================================================
BIO Section Start
================================================================ */


.bio-image {
    display: flex;
    justify-content: center;
    align-items: center;
    /* position: relative;
    left: 0.5rem;
    bottom: 0.7rem; */
}

.bio-image img {
    display: inline-block;
    width: 65%;
    box-shadow: -1.25rem -1.25rem 0 0 var(--helper);
    border-radius: 1.7rem;
    box-shadow: -1.25rem -1.25rem 1.25rem 0 var(--helper);

    /* height: 101%; */
}

.bio-para {
    line-height: 1.5;
    font-size: 1.2rem;
}

.bio-stats h3 {
    font-size: 1.55rem;
}

.bio-data-stats {
    display: flex;
    padding: 2.6rem 0;
    flex-direction: column;
    gap: 1.9rem;
}

.bio-progress-bar {
    width: 87%;
    height: 0.78rem;
    background-color: var(--para-tint);
    border-radius: 10rem;
    box-shadow: var(--shadow);
    position: relative;
}

.bio-progress-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: inherit;
    background: var(--gradientSupport);
    border-radius: 10rem;
}

.bio-progress-2::before {
    width: 99%;
}

.bio-progress-3::before {
    width: 90%;
}

.bio-progress-4::before {
    width: 85%;
}

.bio-progress-5::before {
    width: 70%;
}

.bio-progress-bar span {
    position: absolute;
    top: 1.8rem;
    width: 4rem;
    height: 2rem;
    background: var(--helper);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: 0;
}

.bio-progress-bar span {
    left: 76%;
}

.bio-progress-2 span {
    left: 95%;
}

.bio-progress-3 span {
    left: 86%;
}

.bio-progress-4 span {
    left: 81%;
}

.bio-progress-5 span {
    left: 66%;
}

.bio-data .common-heading::after {
    min-width: 12rem;
}

/* to create a caret */
.bio-progress-bar span::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 0.8rem solid var(--helper);
    border-color: transparent;
    border-bottom-color: var(--helper);
    top: -1.6rem;
}


/* ================================================================
Portfolio Section Start
================================================================ */

.section-portfolio {
    background: var(--bg);
    transition: all 0.7s linear;

}

.section-portfolio p {
    max-width: 60rem;
}

.p-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.2rem;
    margin: 6.4rem 0;
}

.portfolio-images {
    gap: 3.2rem;
}

.portfolio-images img {
    width: 100%;
    border-radius: 7px;
    position: relative;
    overflow: hidden;
}

.img-overlay {
    position: relative;
    overflow: hidden;

}

.img-overlay .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradientSupport);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: all 0.3s linear;
    border-radius: 7px;
}

.img-overlay:hover>.overlay {
    transform: translateY(0);
    opacity: 0.8;
    cursor: pointer;
}

.img-overlay .common-heading {
    margin: 0;
    color: var(--white);
    text-decoration: none;
}

.p-btn:active {
    transform: translateY(-1rem);

}

.p-image-not-active {
    display: none;
}


/* ================================================================
work data Section Start
================================================================ */

.section-work-data {
    background: var(--gradientSupport);
    text-align: center;
    transition: all 0.7s linear;
    color: var(--white);
}

.counter-numbers {
    font-size: 4.8rem;
}

.section-work-data p {
    color: var(--white);
    text-transform: capitalize;
}

/* ===================================================
our services Section Start
=================================================== */

.section-services {
    transition: all 0.7s linear;
}

.section-services p {
    max-width: 60rem;
}

.section-services .grid {
    margin-top: 10rem;
    row-gap: 10rem;
}

.service-box {
    text-align: center;
    box-shadow: var(--shadow);
    border-radius: 5px;
    padding: 6.4rem 3.4rem;
    transition: all 0.2s linear;
    filter: drop-shadow( 0 4px 10px rgba(52, 51, 51, 0.9));
}

.service-box:hover {
    transform: translateY(-3rem);
}

.service-icon {
    width: 8rem;
    height: 8rem;
    background-color: var(--icons-bg);
    display: inline-block;
    border-radius: 56% 44% 70% 30% / 30% 54% 46% 70%;
    padding: 1.4rem 1.8rem;
    position: relative;
    color: var(--heading);
    animation: water-wave 3s linear infinite;
}

.service-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border-radius: 56% 44% 70% 30% / 30% 54% 46% 70%;
    border: 1px solid var(--black);
    background: transparent;
    animation: water-wave 3s infinite alternate;
}


@keyframes water-wave {
    0% {
        border-radius: 56% 44% 70% 30% / 30% 54% 46% 70%;
    }

    50% {
        border-radius: 3% 97% 15% 85% / 72% 0% 100% 28%;
    }

    100% {
        border-radius: 56% 44% 70% 30% / 30% 54% 46% 70%;
    }
}

.service-box h3 {
    text-transform: capitalize;
    margin-top: 3rem;
    margin-bottom: 1rem;
}



/* ===================================================
our swiper Section Start
=================================================== */

.swiper {
    width: 100%;
    height: 100%;
    margin-top: 9rem;
}

.swiper-slide {
    padding: 0 2.5rem;
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-client-msg {
    padding: 5rem 8rem;
    background: var(--white);
    border-radius: 1rem;
    text-align: left;
    box-shadow: var(--shadow);
    position: relative;
}

.swiper-client-msg::before {
    content: "";
    position: absolute;
    bottom: -10rem;
    left: 50%;
    transform: translateX(-50%);
    border: 5rem solid var(--white);
    border-color: transparent;
    border-top-color: var(--helper-tint);
}

.swiper-client-msg p::before {
    content: "\f10d";
    position: absolute;
    top: 0;
    left: 2rem;
    font-size: 5rem;
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
    color: #ced3ff;
}

.swiper-client-msg p::after {
    content: "\f10e";
    position: absolute;
    bottom: 0;
    right: 3rem;
    font-size: 5rem;
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
    color: #ced3ff;
}

.swiper-client-data {
    align-items: center;
    margin-top: 3.2rem;
    gap: 3.2rem;
    margin-bottom: 6.5rem;
}

.swiper-slide img {
    max-width: 10rem;
    height: 10rem;
    border-radius: 50%;
    border: .5rem solid var(--helper-tint);
}

/* ===================================================
Freelancing Section Start
=================================================== */

.section-freelancing {
    background-image: url('/Images/folio/3.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-attachment: fixed;
    position: relative;
    transition: all 0.7s linear;
    text-align: center;
}

.section-freelancing .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    opacity: 0.7;
}

.section-freelancing .container {
    position: relative;
    background: transparent;
}

.section-freelancing h2 {
    font-size: 5.4rem;

}

.section-freelancing span {
    color: #a0f669;
}

.section-freelancing h2,
.section-freelancing p {
    color: var(--white);
    margin-bottom: 1.8rem;
}

/* ===================================================
Contact Section Start
=================================================== */

.section-contact-main {
    max-width: 56rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s linear;
    margin: 0 auto;
}

.section-contact h2 {
    margin-bottom: 5rem;
}

.section-contact-main .grid {
    gap: 3.2rem;
}

.section-contact-main form {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.section-contact-main input,
.section-contact-main textarea {
    padding: 1.5rem 2rem;
    border: 0.1rem solid #c9c9c9;
    border-radius: 5px;
    font-size: 1.6rem;
    font-family: "work sans";
    width: 100%;
}

.section-contact-main textarea:hover,
.section-contact-main input:hover {
    filter: drop-shadow(6px 6px 15px rgba(0, 0, 0, 0.5));
    box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.5);
}


.section-contact-main textarea:focus,
.section-contact-main input:focus {
    filter: drop-shadow(6px 6px 15px rgba(0, 0, 0, 0.8));
    box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.8);
}


.section-contact-main input[type="submit"] {
    max-width: 35%;
    border: none;
    border-radius: .9rem;
}


.section-contact iframe {
    margin-left: 10rem;
    height: 92%;
    width: 86%;
    filter: drop-shadow(6px 6px 15px rgba(0, 0, 0, 0.5));
    box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.5);

}

/* ===================================================
Footer Section Start
=================================================== */

.section-footer {
    background: var(--heading);
    transition: all 0.7s linear;
}

.section-footer h3 {
    color: var(--white);
    margin-bottom: 4rem;
}

.f-about p {
    color: #adadad;
}

.f-links ul,
.f-services ul,
.f-address address {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    justify-content: center;
}

.f-links li,
.f-links a,
.f-services li,
.f-services a {
    font-size: 1.8rem;
    color: #adadad;
    text-transform: capitalize;
}

.f-links span,
.f-services span,
.f-services span {
    margin-right: 1rem;
}

.f-address p,
.f-address p a {
    font-style: normal;
    color: #adadad;
}

.f-social-icons {
    margin: 5rem 0;
    text-align: center;
    color: #adadad;
}


.f-social-icons .icons {
    width: 4rem;
    height: 4rem;
    background: var(--icons-bg);
    display: inline-block;
    padding: 1.4rem 1.8rem;
    position: relative;
    color: var(--white);
    cursor: pointer;
    animation: water-wave 3s linear infinite;
}

.f-credits p {
    text-align: center;
    color: #adadad;

}

footer a:hover,
footer a:active {
    color: var(--white);
}

/* ===================================================
Scroll Section Start
=================================================== */

.scrollTop-style {
    background: transparent;
    position: fixed;
    right: 2%;
    bottom: 5%;
    z-index: 1;
}

.scroll-top {
    width: 4rem;
    height: 4rem;
    background: var(--helper);
    display: inline-block;
    padding: 1.4rem 1.8rem;
    color: var(--heading);
    position: relative;
    color: var(--white);
    cursor: pointer;
    animation: water-wave 3s linear infinite;
}

/* ================================================================
media queries
================================================================ */
/* px */
/* rem */
/* em */

/* 1750 */
@media (max-width: 110em) {
    .container {
        max-width: 110rem;
    }

    .navbar-lists {
        gap: 3.4rem;
    }
}


/* 1500px */
@media (max-width: 95em) {
    .container {
        max-width: 110rem;
        padding: 0 2.2rem;
    }

    .navbar-lists {
        gap: 3.4rem;
    }
}


/* for 1200px */
@media (max-width: 75em) {
    html {
        font-size: 56.25%;
    }

    .container {
        max-width: 110rem;
    }

    .grid {
        gap: 4.8rem;
    }

    .section-resume .grid-two-column {
        grid-template-columns: 1fr 2fr;
    }

    .section-resume .resume-data-subsection .grid-two-column {
        grid-template-columns: 1fr 1fr;
    }

    .section-contact {
        max-width: 98%;
    }

    .section-contact .grid {
        gap: 4rem;
    }
}




@media (max-width: 980px) {
    html {
        font-size: 50%;
    }

    .header {
        position: relative;
    }

    .dark-mode .navbar a {
        background: var(--gradient) !important;
        text-shadow: 5px 5px 15px rgba(0, 0, 0, 0.9);
    }

    .mobile-navbar-btn {
        display: block;
        z-index: 9999;
        border: 3px solid var(--black);
        color: var(--black);
    }

    .mobile-nav-icon {
        width: 5rem;
        height: 5rem;
        color: var(--black);
    }

    .header .logo {
        height: 9rem;
    }

    .navbar {
        width: 100%;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        background: var(--gradient);

        display: flex;
        justify-content: center;
        align-items: center;

        transform: translateX(100%);
        transition: all 0.5s linear;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 999;
    }

    .navbar-lists {
        flex-direction: column;
        align-items: center;
    }

    .navbar .navbar-lists .navbar-link:link,
    .navbar .navbar-lists .navbar-link:visited {
        color: #212529;
        font-size: 3.2rem;
    }

    .active .navbar {
        transform: translateX(0%);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .active .mobile-navbar-btn .mobile-nav-icon[name="menu-outline"] {
        display: none;
    }

    .active .mobile-navbar-btn .mobile-nav-icon[name="close-outline"] {
        display: block;
    }

    /* hero-section */
    .section-hero {
        margin-top: 0rem;
    }

    .section-hero h1 {
        line-height: 1.05;
    }

    /* service section */
    .section-services .grid {
        gap: 6rem;
    }

    .section-services .grid-three-column {
        grid-template-columns: repeat(2, 1fr);
    }

    /* resume section */
    .section-resume .grid-two-column {
        grid-template-columns: 1fr;
    }

    .resume-img {
        grid-row: 2;
        /* transform: translateY(-2rem); */
    }

    .section-resume .grid-two-column {
        width: 50%;
    }

    /* footer */
    .section-footer .grid-four-column {
        grid-template-columns: 1fr 1fr;
    }

    /* latest work */

    .img-overlay .common-heading {
        font-size: 3.2rem;
    }

    .img-overlay .common-heading::before,
    .img-overlay .common-heading::after {
        contain: "";
        width: 0;
        height: 0;

    }

}

@media (max-width: 980px) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* below 790px */

@media(max-width: 49em) {

    .dark-mode .navbar a {
        background: var(--gradient) !important;
        text-shadow: 5px 5px 15px rgba(0, 0, 0, 0.9);
    }

    .container {
        max-width: 71rem;
    }

    .section-hero .grid-two-column {
        grid-template-columns: 1fr;
    }

    .section-hero-data {
        align-items: center;
    }

    .hero-heading {
        text-align: center;
    }

    .hero-para {
        text-align: center;
        margin-top: 2rem;
    }

    .section-hero img {
        width: 70%;
    }

    /* bio-data */
    .section-biodata .grid-two-column {
        grid-template-columns: 1fr;
    }

    .section-biodata .bio-image {
        /* grid-row: 2/3; */
        grid-row: 2;
        margin-top: 3.2rem;
    }

    .section-biodata .bio-image img {
        width: 50%;
    }


    /* portfolio section */
    .section-portfolio .grid-three-column {
        grid-template-columns: repeat(2, 1fr);
    }

    /* work data */
    .section-work-data .grid-four-column {
        grid-template-columns: 1fr 1fr;
    }

    .section-contact iframe {
        margin-left: 5rem;
    }

    .section-contact-main input[type="submit"] {
        max-width: 40%;
    }


    /* below 560px */
    @media (max-width: 35em) {
        .container {
            max-width: 70rem;
        }

        .header {
            padding: 0 3.2rem;
        }

        .header .logo {
            height: 7.5rem;
        }

        /* portfolio */
        .p-btns {
            gap: 2.8rem;
        }

        .btn {
            padding: 1rem 2rem;
        }

        .img-overlay .common-heading {
            font-size: 2.4rem;
        }

        .counter-numbers {
            font-size: 3.2rem;
        }

        /* services section */
        .section-services .grid-three-column {
            grid-template-columns: 1fr;
        }

        /* resume section */
        .resume-data-subsection {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3.2rem;
        }

        .resume-data-right .resume-data-button,
        .resume-data-bottom-subsection .resume-data-button {
            min-width: 30%;
        }

        .resume-data-subsection .resume-data-left .grid-two-column {
            grid-template-columns: 1fr;
        }

        .resume-data-right {
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            gap: 2.4rem;
        }

        /* freelancing */
        .section-freelancing h2 {
            font-size: 3rem;
        }

        /* contact */
        .contact-container {
            /* padding: 0 3.2rem; */
        }

        .contact-container .grid-two-column {
            grid-template-columns: 1fr;
        }

        .section-contact .grid-two-column {
            grid-template-columns: 1fr;
        }

        .section-contact .grid {
            gap: 2rem;
        }

        .section-contact-main {
            max-width: 56rem;
            margin: 0;
            padding: 0;
        }

        .section-contact-main input[type="submit"] {
            max-width: 100%;
        }

        .section-contact iframe {
            margin-left: 5rem;
            height: 92%;
            width: 86%;
        }

        .section-contact-main input[type="submit"] {
            max-width: 100%;
        }

        /* footer section */
        .section-footer .f-about,
        .section-footer .f-address {
            grid-column: 1/-1;
        }
    }
}