/* --------- utility classes --------- */

* {
    font-family: 'Rajdhani';
    text-decoration: none !important;
    scroll-behavior: smooth;
}

:root {
    --primary-color:#ff494a;
    --dark-black-color:#141414;
    --dark-light-color:#232323;
    --ligh-grey-color:#9f9f9f;
    --border-color:#ffffff14;
    --white-color:#ffffff;
    --transition-01: all 0.15s linear;
    --body-color: #060606;
    --hover-bg--yellow:#43371e;
    --hover-bg--red:#270d15;
    --dark-light-color-low: rgba(35, 35, 35, 0.7);
    --box-shadow--skill--img: 0px 0px 15px 5px rgba(255, 73, 74, 0.150);
    --box-shadow--main-user: 0px 0px 15px 5px rgba(255, 73, 74, 0.150);
    --box-shadow--hover-project:0px 0px 15px 5px rgba(255, 73, 74, 0.150);  /*rgba(253, 196, 72, 0.150);*/
    --font-secondary: 'Rubik';
}

.container {
    overflow: hidden !important;
}

html {
    width: 100%;
}

body {
    background-color: var(--body-color);
    width: 100%;
}

.hover-bg:hover {
    background-color: var(--hover-bg--red);
    cursor: pointer;
    color: var(--primary-color);
}

/* --------- Header Section --------- */

nav {
    background-color: var(--dark-black-color) !important;
    color: var(--white-color);
    z-index: 20;
    padding-block: 10px !important;
    position: fixed !important;
    width: 100%;
}


.navbar {
    font-weight: 700;
}


.navbar ul li a{
    color: var(--white-color);
}

.navbar-collapse {
    flex-grow: 0 !important;
}

.navbar-brand img {
    width: 50px;
}

.social-bg {
    width: 40px;
    aspect-ratio: 1;
    background-color: var(--dark-light-color);
    transition: var(--transition-01);
}

.navbar-nav li {
    transition: var(--transition-01);
}

.navbar-nav li:hover {
    background-color: var(--hover-bg--red);
    border-radius: 2px;
    color: var(--primary-color);
}

.social-bg:hover {
    background-color: var(--primary-color);
}

/* .social-bg:hover a i {
    color: var(--body-color);
} */

.navbar-toggler {
    background-color: var(--primary-color);
    border: none;
    width: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-01);
}

.navbar-toggler-icon {
    display: inline-block;
    color: var(--bs-white);
}

.navbar-toggler:hover {
    background-color: transparent;
    border: 2px solid var(--primary-color);
}

.navbar-toggler:hover .navbar-toggler-icon {
    color: var(--primary-color);
}

.offcanvas {
    background-color: var(--dark-black-color);
    color: var(--white-color);
    font-size: 16px;
    font-weight: 700;
    color: var(--ligh-grey-color);
    width: 320px !important;
}

.nav-offcanvas ul li {
    border-top: 1px solid var(--border-color);
    padding: 5px 0 !important;
}

.nav-offcanvas ul li:hover {
    background-color: transparent;
}

.social-links-offcanvas ul li a {
    color: var(--white-color);
}

.btn-close {
    background-color: black;
    border-radius: 50%;
    color: var(--white-color);
}

/* --------- Hero Section --------- */

.hero-section {
    background-color: var(--dark-black-color);
}

.hero-inner {
    padding-top: 260px;
    padding-bottom: 136px;
}

.hero-content h3 {
    color: var(--primary-color);
    font-size: 32px;
}

.hero-content h1 {
    font-size: 110px;
    line-height: 100%;
    color: var(--primary-color);
}

.hero-content p {
    color: var(--ligh-grey-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-content a {
    border-radius: 50px;
    background-color: var(--primary-color);
    transition: var(--transition-01) !important;
    font-weight: 600;
}

.hero-content a:hover,
.form-group button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px) !important;
}

.hero-img>img {
    top: -11%;
    left: 6%;
    animation: animated-user-bg 40s linear infinite;
}

.img-inner img {
    position: relative;
    max-width: 100%;
}

.img-inner img{
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    box-shadow: var(--box-shadow--main-user);
}

.hero-bg-img img{
    position: absolute;
    top: 35px;
    max-width: 100%;
}

/* --------- About Section --------- */

.About {
    padding-block: 100px;
    overflow-x: hidden;
}

.about-title-top h2 {
    font-size: 48px;
    font-weight: 700;
}

.about-title-top span {
    color: var(--primary-color);
}

.experience-box {
    padding-left: 110px;
    padding-right: 72px;
}

.experience-box::after {
    content: "";
    width: 410px;
    height: 410px;
    position: absolute;
    background: linear-gradient(0deg, rgba(255, 1, 79, 0) 15.49%, var(--primary-color) 100%);
    top: 197px;
    left: 0;
    border-radius: 50%;
    z-index: -1;
    filter: blur(2px);
    animation-duration: 10s;
    animation-name: red-box-animation;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

.experience-box-inner {
    border-radius: 20px;
    border: 0.5px solid rgba(255, 255, 255, 0.05);
    background: rgba(22, 22, 22, 0.3);
    box-shadow: 15px 26.023px 50px 0px rgba(253, 196, 72, 0.04);
    backdrop-filter: blur(35px);
    padding: 64px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.skill-box {
    display: flex;
    align-items: center;
    gap: 30px;
    border-radius: 20px;
    border: 0.5px solid rgba(255, 255, 255, 0.05);
    background: rgba(22, 22, 22, 0.3);
    box-shadow: 15px 26.023px 50px 0px rgba(253, 196, 72, 0.04);
    backdrop-filter: blur(35px);
    padding: 30px;
    margin-top: 30px;
}

.experience-box-inner h2 {
    font-size: 100px;
}

.experience-box-inner h3 {
    font-size: 48px;
    font-weight: 700;
}



.about-icon {
    width: 100px;
    aspect-ratio: 1;
    background-color: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon i {
    font-size: 40px;
    /* width: 15px; */
    color: var(--primary-color);
    /* background-color: var(--primary-color); */
}

.about-title-right-fade {
    top: 0;
    right: -10%;
    height: 100%;
}

.about-title-left-fade {
    top: 0;
    left: -10%;
    height: 100%;
}

.experience-body-card {
    background-color: var(--dark-black-color);
    padding: 40px 30px;
    height: 100%;
    border-radius: 10px;
}

.experience-body-card-head > p {
    font-size: 22px;
    font-weight: 700;
}

.experience-body-card-icon-bg {
    min-width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.experience-body-card > p{
    font-size: 16px;
    font-weight: 700;
    color: var(--ligh-grey-color);
        line-height: 2;
}

/* --------- Skill Section --------- */

.skills-section {
    padding-block: 50px;
}

.skill-outer-box {
    padding: 100px 40px;
    background-color: var(--dark-black-color);
    border-radius: 40px;
}

.skill-content span,
.project-content-title span,
.testimonial-head span,
.experience-content-box span {
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 10px;
}

.skill-content h2,
.project-content-title h2,
.testimonial-head h2,
.experience-content-box h2,
.contact-us-form-title h2{
    font-size: 48px;
}

.skill-content p,
.project-content-para p,
.testimonial-head p,
.experience-content-box p {
    color: var(--ligh-grey-color);
}

.skill-card {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    background-color: var(--dark-light-color);
    border-radius: 10px;
    width: 100%;
    padding: 40px 45px;
}

.skill-img img {
    width: 40px;
    height: 40px;
}

.skill-img {
    width: 100px;
    aspect-ratio: 1;
    /* -webkit-box-shadow: var(--box-shadow--skill--img);
    box-shadow: var(--box-shadow--skill--img); */
    border-radius: 50%;
    animation: skill-bg-shadow-animation 3s ease-in-out infinite;
    
}

.progress-bar {
    background-color: var(--primary-color);
}

.skill-progress-bar { 
    width: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.progress {
    width: 80%;
}

.skill-progress-name {
    color: var(--primary-color);
}

/* --------- Project/Portfolio Section --------- */

.projects-section {
    padding-block: 50px;
}

.project-head {
    align-items: center;
}

.project-content-para span {
    color: var(--primary-color);
    font-weight: 500;
}

.project-box {
    padding: 20px;
    background-color: var(--dark-black-color);
    border-radius: 10px;
}

.project-card-img {
    position: relative;
}

.project-card-img img {
    position: relative;
    border-radius: 10px;
}

.project-card-content h2{
    color: var(--white-color);
    font-weight: 600;
}

.language-tag h5 {
    font-size: 16px;
    color: var(--white-color);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50px;
    border: 2px solid var(--border-color);
}

.project-card-button a {
    color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    transition: var(--transition-01);
}

.project-card-description h2 {
    transition: var(--transition-01);
}

.project-box:hover {
    box-shadow: var(--box-shadow--hover-project);
}

.project-card-img img{
    contain: cover;
    width: 100%;
    height: 100%;
}

.project-card-img::after {
    content: "";
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    position: absolute;
    opacity: 0;
    border-radius: 10px;
    transition: var(--transition-01);
}

.project-card-img:hover::after {
  opacity: 0.65;
}

.project-card-img h4 {
    color: white;
    font-weight: 700;
    opacity: 0;
    transform: translateY(0px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.project-card-img:hover h4 {
    opacity: 1;
    transform: translateY(10px);
}

/* --------- Testimonials Section --------- */

.testimonials-section {
    padding-block: 50px;
}

.swiper {
    width: 100%;
    height: 100%;
    padding: 0 80px;
    position: relative;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    border: 1px solid var(--ligh-grey-color);
    box-shadow:
        var(--dark-light-color-low) 0px 50px 36px -28px inset,
        var(--dark-light-color-low) 0px -50px 36px -28px inset;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 60px 60px 60px;
    width: 60%;
    overflow-x: hidden;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-data {
    gap: 15px;
}

.client-data img {
    width: 65px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: inline-block;
}

.user-rating i {
    color: var(--primary-color);
}

.client-name {
    color: var(--ligh-grey-color);
    font-weight: 500;
}

.client-review p {
    color: var(--ligh-grey-color);
    font-weight: 600;
}

.swiper-pagination {
    position: static !important;
    margin-top: 30px;
    display: inline-flex;
    justify-content: center;
    gap: 25px;
}

.swiper-pagination-bullet {
    background-color: var(--primary-color) !important;
    font-size: 12px;
    width: 12px;
    height: 12px;
    border: 1px solid var(--primary-color);
    margin: 0 7px !important;
    margin: 0 !important;
    box-sizing: content-box;
    border: 5px solid #060606;
    /* outline: 1px solid var(--primary-color); */
    box-shadow: rgba(255, 73, 74, 0.2) 0px 1px 3px 5px, rgba(255, 73, 74, 0.15) 0px 0px 0px 3px;
}

/* --------- Contact us  Section --------- */

.contact-us-section {
    padding-block: 50px;
    background-color: var(--body-color);
}

.contact-us-section .container {
    background-color: var(--dark-black-color);
    border-radius: 10px;
}

.contact-us-left-content h3 {
    font-size: 68px;
    font-weight: 700;
}

.contact-us-more ul li {
    gap: 15px !important;
}

.contact-us-more ul li span {
    border: 1px solid var(--border-color);
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
}

.contact-us-link p {
    color: var(--ligh-grey-color);
    font-size: 14px;
}

.contact-us-link p,
.contact-us-link a {
    font-family: var(--font-secondary);
}

.contact-us-link a {
    font-size: 16px;
    transition: var(--transition-01);
}

.contact-us-inner {
    padding: 60px 20px;
}

.form-group input {
    background: transparent;
    padding: 15px 20px;
    font-size: 16px;
    color: var(--white-color);
    font-weight: 600;
    border-radius: 10px;
    width: 100%;
    border: 1px solid var(--border-color);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border: 1px solid var(--primary-color) !important;
}

.form-group textarea {
    width: 100%;
    background: transparent;
    font-size: 16px;
    padding: 15px 20px;
    color: var(--color-heading);
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    color: var(--white-color);
    outline: none;
}

.form-group button {
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 50px;
    padding-block: 15px;
    border: none;
    transition: var(--transition-01);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #121212 inset !important;
  -webkit-text-fill-color: #fff !important;
  background-color: transparent !important;
  border: 1px solid #ff4a4a; 
  transition: background-color 0s ease-in-out 0s;
}

/* footer section  */

.footer-section {
    padding-top: 120px;
    padding-bottom: 15px;
    margin-top: 50px;
    background-color: var(--dark-black-color);
}

.footer-para p {
    color: var(--ligh-grey-color);
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 24px;
}

.footer-link-title,
.footer-links ul li a {
    font-family: var(--font-secondary);
}

.footer-links ul li a,
.contact-us-more-footer .contact-us-link{
    position: relative;
    transition: var(--transition-01);
}

.footer-links ul li a::after,
.contact-us-more-footer .contact-us-link::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.5s;
}


.footer-links ul li a:hover {
    color: var(--primary-color) !important;
}

.footer-links ul li a:hover::after,
.contact-us-more-footer .contact-us-link:hover::after {
    transform-origin: bottom left;
    transform: scaleX(1);
}

.footer-link-title h5,
.footer-contact-title h5,
.newslatter-inner h5 {
    margin-bottom: 24px;
}

.contact-us-more-footer ul li span {
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
}

.contact-us-more-footer ul li {
    gap: 10px;
}

.newslatter-inner {
    padding: 40px 40px 30px 40px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.newslatter-inner form button {
    background-color: transparent;
    border: none;
    padding: 0;
}

.newslatter-inner h5,
.newslatter-inner p {
    font-family: var(--font-secondary);
}

.newslatter-inner p {
    line-height: 2;
    color: var(--ligh-grey-color);
}

.footer-mail-icon {
    min-width: 52px;
    min-height: 52px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.newslatter-inner input {
    background: transparent;
    font-size: 16px;
    color: var(--white-color);
    font-weight: 600;
    width: 100%;
    border: none;
    outline: none;
}

.newslatter-inner form {
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 5px 5px 5px 30px;
}

.footer-center-line {
    width: 100%;
    background-color: var(--border-color);
    height: 1px;
}

.footer-bottom p {
    color: var(--ligh-grey-color);
    font-family: var(--font-secondary);
}

.footer-bottom-pages a {
    font-weight: 500;
}

.experience-content-box-head span::after,
.testimonial-head span::after,
.skill-content span::after,
.project-content-title span::after {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -3px;
    left: 0px;
    right: 0;
    background-color: var(--white-color);
    animation: line-animation 5s linear;
    animation-iteration-count: infinite;
    transform-origin: center;
    transform: scaleX(0);
}

