/*  import google fonts */
@import url('https://static.vecteezy.com/system/resources/previews/035/056/783/non_2x/dark-futuristic-wide-abstract-banner-background-with-red-lines-pattern-modern-simple-overlap-circle-lines-texture-creative-design-suit-for-poster-cover-banner-flyer-website-illustration-vector.jpg');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* all similar content styling codes */
section{
    padding: 100px 0;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}
.about, .services, .skills, .teams, .contact, footer{
    font-family: 'Ubuntu', sans-serif;
}
.about .about-content,
.services .serv-content,
.skills .skills-content,
.contact .contact-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
section .title{
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}
section .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}
section .title::after{
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: crimson;
    padding: 0 5px;
    background: #fff;
    transform: translateX(-50%);
}

/* navbar styling */
.navbar{
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
}
.navbar.sticky{
    padding: 15px 0;
    background: crimson;
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a{
    color: #fff;
    font-size: 35px;
    font-weight: 600;
}
.navbar .logo a span{
    color: crimson;
    transition: all 0.3s ease;
}
.navbar.sticky .logo a span{
    color: #fff;
}
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover{
    color: crimson;
}
.navbar.sticky .menu li a:hover{
    color: #fff;
}

/* menu btn styling */
.menu-btn{
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.scroll-up-btn{
    position: fixed;
    height: 45px;
    width: 42px;
    background: crimson;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.scroll-up-btn.show{
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}
.scroll-up-btn:hover{
    filter: brightness(90%);
}

/* Home Section Styling */
.home {
    display: flex;
    background: url("bg.jpg") no-repeat center;
    height: 100vh;
    color: #fff;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Ubuntu', sans-serif;
    justify-content: space-between; /* Ensure left and right sections are spaced apart */
}

.home .max-width {
    width: 100%;
    display: flex;
    justify-content: space-between; /* Space between content and image */
    align-items: center; /* Vertically center content */
}

.home .home-content {
    flex: 1; /* Take up available space */
}

.home .photo-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px; /* Enables the 3D effect */
}

.photo-container a {
    display: block;
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transition: transform 0.6s ease;
}

.photo-container a img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    transition: box-shadow 0.6s ease;
}

.photo-container a:hover {
    transform: rotateY(20deg) rotateX(10deg);
}

.photo-container a:hover img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Home Content Styling */
.home .home-content .text-1 {
    font-size: 27px;
}

.home .home-content .text-2 {
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
}

.home .home-content .text-3 {
    font-size: 40px;
    margin: 5px 0;
}

.home .home-content .text-3 span {
    color: crimson;
    font-weight: 500;
}

.home .home-content a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    font-weight: 400;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}

.home .home-content a:hover {
    color: crimson;
    background: none;
}

/* Social Icons */
.social-icons {
    margin-top: 30px;
}

.social-icons a {
    font-size: 25px;
    color: #fff;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: crimson;
}





/* about section styling */
.about .title::after{
    content: "who i am";
}
.about .about-content .left{
    width: 45%;
}
.about .about-content .left img{
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 6px;
}
.about .about-content .right{
    width: 55%;
}
.about .about-content .right .text{
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}
.about .about-content .right .text span{
    color: crimson;
}
.about .about-content .right p{
    text-align: justify;
}
.about .about-content .right a{
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.about .about-content .right a:hover{
    color: crimson;
    background: none;
}

/* Qualication section styling */
/* Qualification section overall layout */
.Qualification {
    padding: 60px 0;
    background: #f5f5f5;
}

/* Title Styling */
.Qualification::after {
    content: "";
    font-size: 14px;
    color: crimson;
    display: block;
    margin-top: 10px;
    text-align: center;
}

/* Content layout to keep it in rows with left and right columns */
.Qualification .Qualification-content {
    display: flex;
    flex-direction: row;
    font-family: 'Ubuntu', sans-serif;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
}

/* Column width for alignment */
.Qualification .Qualification-content .column {
    width: 50%; /* Left column takes half width */
}

/* Left Column */
.Qualification .Qualification-content .left {
    position: relative;
    background-color: #fff;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
    max-width: 450px; /* Restrict max-width to keep the card aligned left */
    margin-left: 0; /* Ensure it stays aligned left */
    margin-right: auto;
}

/* Text Styling */
.Qualification .Qualification-content .left .text {
    font-size: 24px;
    font-weight: 600;
    font-family: 'Ubuntu', sans-serif;
    color: crimson;
    margin-bottom: 20px;
}

.Qualification .Qualification-content .left p {
    text-align: justify;
    margin-bottom: 10px;
    line-height: 1.7;
    color: #333;
}

/* Read More Button Styling */
.Qualification .Qualification-content .left a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 18px;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}

.Qualification .Qualification-content .left a:hover {
    color: crimson;
    background: none;
}

/* Right Column for skill bars (optional) */
.Qualification .Qualification-content .right {
    width: 45%;
    padding-left: 20px;
}

.Qualification .Qualification-content .right .bars {
    margin-bottom: 20px;
}

.Qualification .Qualification-content .right .info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.Qualification .Qualification-content .right span {
    font-weight: 500;
    font-size: 18px;
}

/* Skill Bars (Progress Lines) */
.Qualification .Qualification-content .right .line {
    height: 5px;
    width: 100%;
    background: lightgrey;
    position: relative;
    border-radius: 5px;
}

.Qualification .Qualification-content .right .line::before {
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: crimson;
    border-radius: 5px;
}



   

/* Button Styling for the ID Card Back */
.id-back button {
    background-color: rgb(242, 245, 63); /* Blue button */
    color: white; /* White text */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px; /* Adds space between content and button */
}

.id-back button:hover {
    background-color: white; /* Dark blue when hovered */
}
/* 3D ID Cards Container for Horizontal Layout */
.id-cards-horizontal {
    display: flex;
    justify-content: space-between; /* To space the cards evenly */
    align-items: center;
    gap: 20px; /* Space between the cards */
}

/* 3D ID Card Container */
.id-card-container {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

/* ID Card Styling */
.id-card {
    width: 250px;
    height: 300px;
    font-family: 'ubuntu' , sans-serif;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transition: transform 1s ease;
}

.id-card:hover {
    transform: rotateY(180deg);
}

.id-card div {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 5px solid black;
    color: white;
    text-align: center;
    padding: 10px;
}

.id-front {
    background-color:  crimson;
}

.id-back {
    transform: rotateY(180deg);
    background-color: rgb(33, 224, 199);

}


.id-photo {
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
}

.id-card h3 {
    font-size: 20px;
    margin: 10px 0;
}

.id-card p {
    font-size: 16px;
}

/* skills section styling */
/* Common Skills Section Styling */
/* General layout for Skills Section */
.skills {
    padding: 60px 0;
    background-color: #f9f9f9; /* Subtle background */
}

/* Title Styling */
.skills .title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    color: rgb(17, 16, 16);
    position: relative;
}

/* Styling to remove any default content after title */
.skills .title::after {
    content: "";
}

/* Skills Content Layout */
.skills .skills-content {
    display: flex;
    justify-content: space-between; /* Space between left and right columns */
    gap: 30px;
    align-items: flex-start; /* Align columns to the top */
    margin-top: 40px;
}

/* Left Column Styling */
.skills .skills-content .left {
    width: 45%; /* Adjust the width for a balanced layout */
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Text for the Left Column */
.skills .skills-content .left .text {
    font-size: 22px;
    font-weight: 600;
    color:  crimson;
    margin-bottom: 20px;
}

/* Unordered List Styling */
.skills .skills-content .left ul {
    list-style-type: disc;
    margin-left: 20px;
    color:  crimson;
}

.skills .skills-content .left ul li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: black;
}

/* "Read More" Button Styling */
.skills .skills-content .left a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}

.skills .skills-content .left a:hover {
    color: crimson;
    background: none;
}

/* Circle Bar Section (Right Column) */
.skills .skills-content .right {
    width: 45%; /* Adjusted for balance with left column */
    display: flex;
    flex-wrap: wrap;
    gap: 40px; /* Evenly spaced skill circles */
    justify-content: flex-start;
    align-items: center;
}

/* Circle Bar Styles */
.circle {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle svg {
    position: relative;
    width: 150px;
    height: 150px;
    transform: rotate(-90deg);
}

.circle svg circle {
    width: 100%;
    height: 100%;
    fill: none;
    stroke-width: 10;
    stroke: lightgrey;
    stroke-linecap: round;
}

.circle svg circle:nth-child(2) {
    stroke: crimson;
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    transition: stroke-dashoffset 1.5s ease-in-out;
    box-shadow: 0 0 10px crimson, 0 0 20px crimson, 0 0 30px crimson;
}

/* Circle Hover Effect */
.circle:hover svg circle:nth-child(2) {
    stroke: #ffcc00;
    box-shadow: 0 0 15px #ffcc00, 0 0 25px #ffcc00, 0 0 35px #ffcc00;
}

/* Circle Bar Percentage Adjustments */
.circle[data-percent="90"] svg circle:nth-child(2) {
    stroke-dashoffset: calc(440 - (440 * 90) / 100);
}

.circle[data-percent="60"] svg circle:nth-child(2) {
    stroke-dashoffset: calc(440 - (440 * 60) / 100);
}

.circle[data-percent="80"] svg circle:nth-child(2) {
    stroke-dashoffset: calc(440 - (440 * 80) / 100);
}

.circle[data-percent="50"] svg circle:nth-child(2) {
    stroke-dashoffset: calc(440 - (440 * 50) / 100);
}

/* Skill Name and Percentage */
.skill-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.percentage {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    color: rgb(17, 13, 14);
}




/* Certificate section styling */
.Certificate .title::after{
    content: "what i Achive";
}
.Certificate .Certificate-content .column{
    width: calc(50% - 30px);
}
.Certificate .Certificate-content .left .text{
    font-size: 20px;
    font-weight: 600;
    font-family: 'ubuntu' , sans-serif;
    margin-bottom: 10px;
}
.Certificate .Certificate-content .left p{
    text-align: justify;
}
.Certificate .Certificate-content .left a{
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 16px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.Certificate .Certificate-content .left a:hover{
    color: crimson;
    background: none;
}
.Certificate .Certificate-content .right .bars{
    margin-bottom: 15px;
}
.Certificate .Certificate-content .right .info{
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between;
}
.Certificate .Certificate-content .right span{
    font-weight: 500;
    font-size: 18px;
}
.Certificate .Certificate-content .right .line{
    height: 5px;
    width: 100%;
    background: lightgrey;
    position: relative;
}
.Certificate .Certificate-content .right .line::before{
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: crimson;
}   


/*Experience section styling */
.Experience {
    padding: 60px 0;
    background: #f5f5f5;
}

.Experience .title::after {
    content: "what I Do";
    font-size: 14px;
    color: crimson;
    display: block;
    margin-top: 10px;
}

.Experience .Experience-content {
    display: flex;
    flex-direction: row;
    font-family: 'ubuntu' , sans-serif;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.Experience .Experience-content .column {
    width: 45%;
}

.Experience .Experience-content .left {
    position: relative;
    background-color: #fff;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.Experience .Experience-content .left .text {
    font-size: 24px;
    font-weight: 600;
    font-family: 'Ubuntu', sans-serif;
    color: crimson;
    margin-bottom: 10px;
}

.Experience .Experience-content .left p {
    text-align: justify;
    margin-bottom: 10px;
    line-height: 1.7;
    color: #333;
}

.Experience .Experience-content .left a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 18px;
    font-family: 'ubuntu' , sans-serif;
    font-weight: 500;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}

.Experience .Experience-content .left a:hover {
    color: crimson;
    background: none;
}

.Experience .Experience-content .right {
    padding-left: 20px;
}

.Experience .Experience-content .right .bars {
    margin-bottom: 20px;
}

.Experience .Experience-content .right .info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.Experience .Experience-content .right span {
    font-weight: 500;
    font-size: 18px;
}

.Experience .Experience-content .right .line {
    height: 5px;
    width: 100%;
    background: lightgrey;
    position: relative;
    border-radius: 5px;
}

.Experience .Experience-content .right .line::before {
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: crimson;
    border-radius: 5px;
}



/* contact section styling */
.contact .title::after{
    content: "get in touch";
}
.contact .contact-content .column{
    width: calc(50% - 10px);
}
.contact .contact-content .text{
    font-size: 20px;
    font-family: 'ubuntu' , sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
}
.contact .contact-content .left p{
    text-align: justify;
}
.contact .contact-content .left .icons{
    margin: 10px 0;
}
.contact .contact-content .row{
    display: flex;
    height: 65px;
    align-items: center;
}
.contact .contact-content .row .info{
    margin-left: 30px;
}
.contact .contact-content .row i{
    font-size: 25px;
    color: crimson;
}
.contact .contact-content .info .head{
    font-weight: 500;
}
.contact .contact-content .info .sub-title{
    color: #333;
}
/* Form container styling */
.contact .right form {
    background: linear-gradient(135deg,  crimson, #807d7d); /* Gradient background for a soft look */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Box shadow for 3D effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    margin: 0 auto;
    max-width: 600px; /* Centers the form */
}

/* Hover effect for form */
.contact .right form:hover {
    transform: translateY(-5px); /* Subtle lift on hover */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); /* Deeper shadow when hovered */
}

/* Styling input fields */
.contact .right form .field input,
.contact .right form .textarea textarea {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
}

/* Focus effect on fields */
.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus {
    border-color: #ff4c4c; /* Crimson border on focus */
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), inset 0 0 6px rgba(0, 0, 0, 0.05); /* Shadow effect on focus */
}

/* Button styling */
.right form .button-area {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.right form .button-area button {
    background: linear-gradient(135deg, crimson, #ff4c4c);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    border-radius: 10px;
    padding: 12px 40px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(255, 76, 76, 0.3); /* 3D button shadow */
    border: none;
}

/* Hover effect for button */
.right form .button-area button:hover {
    background: #ffffff;
    color: crimson;
    border: 2px solid crimson;
    transform: translateY(-3px); /* Slight lift on hover */
    box-shadow: 0 12px 20px rgba(255, 76, 76, 0.5); /* Deeper shadow on hover */
}

/* Form text styling */
.contact .contact-content .text {
    font-size: 26px;
    font-weight: bold;
    color: crimson;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Text shadow for added depth */
}

/* Field container */
.contact .right form .fields {
    display: flex;
    gap: 10px; /* Space between name and email fields */
    margin-bottom: 20px;
}

/* Spacing for input and textarea */
.contact .right form .field,
.contact .right form .textarea {
    margin-bottom: 20px;
}

/* Textarea styling */
.contact .right form .textarea textarea {
    height: 120px;
    resize: none; /* Disable resizing */
}

/* Responsive form */
@media (max-width: 768px) {
    .contact .right form {
        padding: 20px;
        max-width: 90%; /* Adjust form width on smaller screens */
    }

    .contact .right form .fields {
        flex-direction: column; /* Stack fields vertically on smaller screens */
    }
}

/* footer section styling */
footer{
    background: #111;
    padding: 15px 100px;
    color: #fff;
    text-align: center;
}
footer span a{
    color: crimson;
    text-decoration: none;
}
footer span a:hover{
    text-decoration: underline;
}


/* responsive media query start */
@media (max-width: 1104px) {
    .about .about-content .left img{
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .max-width{
        padding: 0 50px;
    }
}
@media (max-width: 947px){
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active{
        left: 0;
    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .home .home-content .text-2{
        font-size: 70px;
    }
    .home .home-content .text-3{
        font-size: 35px;
    }
    .home .home-content a{
        font-size: 23px;
        padding: 10px 30px;
    }
    .max-width{
        max-width: 930px;
    }
    .about .about-content .column{
        width: 100%;
    }
    .about .about-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .about .about-content .right{
        flex: 100%;
    }
    .services .serv-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .skills .skills-content .column,
    .contact .contact-content .column{
        width: 100%;
        margin-bottom: 35px;
    }
}

@media (max-width: 690px) {
    .max-width{
        padding: 0 23px;
    }
    .home .home-content .text-2{
        font-size: 60px;
    }
    .home .home-content .text-3{
        font-size: 32px;
    }
    .home .home-content a{
        font-size: 20px;
    }
    .services .serv-content .card{
        width: 100%;
    }
}

@media (max-width: 500px) {
    .home .home-content .text-2{
        font-size: 50px;
    }
    .home .home-content .text-3{
        font-size: 27px;
    }
    .about .about-content .right .text,
    .skills .skills-content .left .text{
        font-size: 19px;
    }
    .contact .right form .fields{
        flex-direction: column;
    }
    .contact .right form .name,
    .contact .right form .email{
        margin: 0;
    }
    .right form .error-box{
       width: 150px;
    }
    .scroll-up-btn{
        right: 15px;
        bottom: 15px;
        height: 38px;
        width: 35px;
        font-size: 23px;
        line-height: 38px;
    }
}
