@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
}

:root{
    --primary-color: #CA44F8;
    --secondary-color: #A0A5AF;
    --primary-dark: #500083;
    --heading-color: #1a1a2e;
    --target: #CA44F8;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --bg-color: #e3edf7;
    --text-light: #6c757d;
    --gradient: linear-gradient(135deg, #CA44F8 0%, #500083 100%);
    --gradient-white-bg:linear-gradient(0deg, #ffffff 0%, #eeeff3 51%, #dce2e6 100%);
    --gradient-color-bg:linear-gradient(180deg, rgb(247, 1, 243) 0%,
    rgba(160,8,156,1)51%,
    rgba(99,13,178,1)100%);
    --main-color:#CA44F8;
    --font-color:#90979f;
    --hover-box-shadow:rgba(0,0,0,0.19)0px 10px 20px,
    rgba(0,0,0,0.23)0px 6px 6px;
    --gradient-white-bg2:linear-gradient(98deg,#e5eef7 0%,#fff 100%);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

a{
    text-decoration: none;
    color: inherit;
}

body{
    font-family: 'Poppins', sans-serif;
    background: var(--bg-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==================== Utility Classes ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(202, 68, 248, 0.3);
}

.btn i {
    margin-left: 0.5rem;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==================== Preloader ==================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-container {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: rotate 3s linear infinite;
}

.loader:nth-child(1) {
    background: conic-gradient(transparent, transparent, transparent, var(--primary-color));
}

.loader:nth-child(2) {
    background: conic-gradient(transparent, transparent, transparent, var(--secondary-color));
    animation-delay: -1s;
    filter: blur(10px);
}

.loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to top, transparent, rgba(202, 68, 248, 0.2));
    background-size: 140px 240px;
    background-repeat: no-repeat;
    border-top-left-radius: 140px;
    border-bottom-left-radius: 140px;
}

.loader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: var(--bg-color);
    border-radius: 50%;
    z-index: 1;
}

.loader i {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 100;
    box-shadow: 0 0 10px var(--primary-color),
    0 0 20px var(--primary-color),
    0 0 30px var(--primary-color),
    0 0 40px var(--primary-color),
    0 0 50px var(--primary-color);
}

.loader:nth-child(2) i {
    background: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color),
    0 0 20px var(--secondary-color),
    0 0 30px var(--secondary-color),
    0 0 40px var(--secondary-color),
    0 0 50px var(--secondary-color);
}

.progress-text {
    margin-top: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(202, 68, 248, 0.7);
}

.percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 5px;
}

.logo-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
        filter: hue-rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
        filter: hue-rotate(360deg);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive design */
@media (max-width: 768px) {
    .loader-container {
        align-items: center !important;
        width: 200px;
        height: 200px;
    }

    .loader::before {
        background-size: 100px 200px;
        border-top-left-radius: 100px;
        border-bottom-left-radius: 100px;
    }

    .logo-loader {
        font-size: 1.5rem;
    }

    .progress-text {
        font-size: 1rem;
    }

    .percentage {
        font-size: 1.2rem;
    }
}
/* ==================== Header & Navigation ==================== */

header{
    padding: 15px 8%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gradient-white-bg);
    z-index: 100;
    transition: .3s;
}

header .logo{
    font-size: 1.7rem;
    font-weight: 700;
}

span{
    background: var(--gradient-color-bg);
    -webkit-background-clip: text;
    color: transparent;
}

ul.navlist{
    display: flex;
}

.navlist li{
    margin: 0 1rem;
}

.navlist li a{
    display: inline-flex;
    font-weight: 600;
    font-size: 1.2rem;
}

.navlist li a:hover,.navlist li a.active{
    background: var(--gradient-color-bg);
    -webkit-background-clip: text;
    color: transparent;
}

.btn{
    background: var(--gradient-color-bg);
    color: #fff;
    padding: 8px 10px;
    border-radius: 5px;
    font-weight: 500;
    transition: all .3s ease;
}

.btn:hover,.btn-box .d-CV:hover{
    box-shadow: var(--hover-box-shadow);
}

.menu-icon{
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.menu-icon .bar,
.menu-icon::after,
.menu-icon::before{
    content: "";
    display: none;
    width: 100%;
    height: 4px;
    border-radius: 3px;
    background: #000;
    margin: 6px 0;
    transition: .4s;
}

.menu-icon.active::before{
    transform: rotate(-45deg) translate(-6px , 6px);
}

.menu-icon.active::after{
    transform: rotate(45deg)translate(-8px , -8px);
}

.menu-icon.active .bar{
    opacity: 0;
}


.theme-toggle {
    position: relative;
    display: flex;
    margin-right: -400px;
}

#darkmode-toggle {
    display: none;
}

.toggle-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60px;
    height: 30px;
    background: var(--gradient-color-bg);
    border-radius: 50px;
    padding: 5px;
    cursor: pointer;
    z-index: 1;
}

.toggle-label i {
    font-size: 18px;
    color: #fff;
    z-index: 2;
}

.toggle-ball {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    z-index: 2;
    left: 4px;
}

#darkmode-toggle:checked + .toggle-label .toggle-ball {
    transform: translateX(28px);
}

/* Dark mode styles */
body.dark-mode {
    --bg-color: #1a1a2e;
    --light-color: #16213e;
    --text-color: #f8f9fa;
    --font-color: #e2e2e2;
    --heading-color: #ffffff;
    --gradient-white-bg: linear-gradient(0deg, #16213e 0%, #1a1a2e 51%, #0f3460 100%);
    --gradient-white-bg2: linear-gradient(98deg, #1a1a2e 0%, #16213e 100%);
    background-color: var(--bg-color);
    color: var(--text-color);
}

body.dark-mode header {
    background: var(--gradient-white-bg);
}

body.dark-mode .servicesItem,
body.dark-mode .portfolio-box,
body.dark-mode .contact-card,
body.dark-mode .contact-form,
body.dark-mode .about-btn button,
body.dark-mode .btn-box .d-CV,
body.dark-mode .certificate {
    background: var(--gradient-white-bg2);
    color: var(--text-color);
}

body.dark-mode .portfolio-content h3,
body.dark-mode .portfolio-content p,
body.dark-mode .servicesItem h3,
body.dark-mode .servicesItem p,
body.dark-mode .about-content p,
body.dark-mode .table td {
    color: var(--text-color);
}

body.dark-mode .table th {
    color: var(--primary-color);
}

body.dark-mode .btn-box .d-CV {
    color: var(--text-color);
}


/* Add these dark mode styles for the contact section */
body.dark-mode .contact {
    background: linear-gradient(to bottom, #16213e 0%, #1a1a2e 100%);
}

body.dark-mode .contact-form {
    background: var(--gradient-white-bg2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(202, 68, 248, 0.3);
}

body.dark-mode .contact-card {
    background: var(--gradient-white-bg2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .contact-card h3 {
    color: var(--primary-color);
}

body.dark-mode .contact-card p {
    color: var(--font-color);
}

body.dark-mode .contact-card i {
    color: var(--primary-color);
}

body.dark-mode .form-message.success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border-color: #28a745;
}

body.dark-mode .form-message.error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border-color: #dc3545;
}


/* ==================== home section css code ============================ */
section{
    padding: 90px 8%;
    /*margin-bottom: -100px;*/
}

.home{
    min-height: 100vh;
    height: 100%;
    width: 100%;
    display: flex;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    grid-gap: 4em;
    background: var(--gradient-white-bg2);
    /*margin-bottom: -100px;*/
}

.hero-info{
    margin-top: 1.2rem;
}

.hero-info h3{
    color: var(--font-color);
    font-weight: 300;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.hero-info h1{
    font-size: 3.5rem;
}

.text-animate{
    width: 22.8rem;
    position: relative;
}

.text-animate h2{
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: transparent;
    -webkit-text-stroke: 0.1vw #c72bff;
    background: var(--gradient-color-bg);
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-position: 0 0;
    transition: .6s;
    letter-spacing: 2px;
    animation: moveText 3s linear infinite;
    animation-delay: 2s;
}

.text-animate h2::before{
    content: "";
    position: absolute;
    top: 7px;
    left: -3px;
    width: 0;
    height: 70%;
    border-right: 2px solid var(--main-color);
    animation: moveCursorText 3s linear infinite;
    animation-delay: 2s;
}

.quote-box {
    background: rgba(202, 68, 248, 0.1);
    padding: 1rem;
    border-left: 4px solid var(--primary-color);
    /*margin: 2rem 0;*/
    border-radius: 0 5px 5px 0;
}

.quote-box h3 {
    font-size: 1.2rem;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.quote-box h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    text-align: right;
}


.hero-info p{
    font-size: .9rem;
    color: var(--font-color);
    line-height: 1.5rem;
}

.btn-box{
    display: flex;
    justify-content: space-between;
    width: 320px;
    margin-top: 2rem;
    margin-bottom: 6rem;
}

.btn-box .btn{
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.btn-box .d-CV{
    background: var(--gradient-white-bg2);
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
    color: #000;
    box-shadow: rgba(60,64,67,0.3)0px 1px 2px 0,
    rgba(60,64,67,0.15)0px 2px 6px 2px;
    transition: all .3s ease;
}

.social-media{
    display: flex;
    justify-content: space-between;
    width: 220px;
    height: 45px;
}

.social-media a{
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
    color: var(--main-color);
    background: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: .4s;
    border-radius: 50%;
    z-index: 1;
}


.social-media a:hover{
    background: var(--gradient-color-bg);
    color: #fff;
}

.bg-icon{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 15px;
    padding-top: 10px;
}

.bg-icon span{
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--gradient-color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: animate 1s linear infinite;
}

.img-hero{
    position: relative;
    animation: floatImage 4s ease-in-out infinite;
    animation-delay: 3s;
}

.img-hero img{
    position: relative;
    width: 491px;
    height: 486px;
    z-index: 10;
    align-content: center;
}

.img-hero:hover img {
    transform: scale(1.03);
}

.rotate-text{
    position: absolute;
    top: 4%;
    left: -13px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 2rem;
}

.rotate-text span{
    position: relative;
    width: 442px;
    height: 442px;
    background: #CA44F8;
    border: 5px solid #eaeef0;
    border-radius: 50%;
    z-index: 1;
    overflow: hidden;
}

.rotate-text span::before{
    content: "";
    position: absolute;
    inset: 20px;
    background: #CA44F8;
    border-radius: 50%;
    z-index: 1;
}

.rotate-text span i{
    position: absolute;
    inset: 0;
    background: var(--gradient-color-bg);
    filter: blur(5px);
    animation: animate 2s linear infinite;
}


.rotate-text .text{
    position: absolute;
    width: 490px;
    height: 490px;
    background: #f2f6fb;
    border-radius: 50%;
    box-shadow: 0 1px 6px 5.94px rgba(0, 0, 0, 0.31);
    animation: rotateText 30s linear infinite;
}

.text p {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
    text-align: center;
}

.text b{
    font-family: "Arial Black";
    position: absolute;
    transform-origin: 0 247px;
    display: block;
    top: 0;
    left: 50%;
    font-size: 1.27rem;
}


@media (max-width: 768px) {
    .hero-info h1 {
        font-size: 2.2rem;
    }

    .hero-info img {
        width: 10%;
    }

    .img-hero{
        align-self: center;
        width: 100%;
    }
}

/* ==================== About section css code ============================ */
.about{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: -9rem;
    margin-bottom: -6rem;
}

.about .about-img{
    position: relative;
}

.about .about-img .aboutHero{
    width: 40vw;
    height: auto;
}

.about-img .ring{
    position: absolute;
    top: 22%;
    right: 1%;
}

.about-img .circle{
    position: absolute;
    top: 0%;
    left: 0%;
}


.about-content{
    padding: 3rem 0;
}

.about-content h2{
    color: var(--main-color);
    font-size: 2.1rem;
}

.about-content h3{
    font-size: 2.1rem;
    line-height: 3rem;
    margin: .5rem 0;
}

.about-content p{
    color: var(--font-color);
}

.text-box p{
    font-size: 1rem;
    font-weight: 500;
}
.text-box span{
    font-size: 1.2rem;
}

.about-btn{
    margin: .6rem 0;
}

.about-btn button,.cvContent a{
    background: var(--gradient-white-bg2);
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    box-shadow: rgba(60,64,67,0.3)0px 1px 2px 0,
    rgba(60,64,67,0.15)0px 2px 6px 2px;
    margin-right: .5rem;
    cursor: pointer;
    transition: all .3s ease;
}


.about-btn button.active{
    background: var(--gradient-color-bg);
    color: #ffff;
}

.text-box{
    margin: .8rem 0;
}

.certificate{
    background: var(--gradient-white-bg2);
    padding: 2px 12px;
    border-radius: 5px;
    border: none;
    font-size: .9rem;
    font-weight: 500;
    color: #000;
    box-shadow: rgba(60,64,67,0.3)0px 1px 2px 0,
    rgba(60,64,67,0.15)0px 2px 6px 2px;
    margin-right: .5rem;
    cursor: pointer;
    transition: all .3s ease;
}

.certificate:hover{
    box-shadow: var(--hover-box-shadow);
}

.table td{
    color: #90979f;
    padding-left: 25px;
}

.skill-box{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.skill-box span {
    font-weight: 500;
    font-size: 1.5rem;
}

.services-Item{
    box-shadow: rgba(0,0,0,0.1)0px 1px 3px 0,
    rgba(0,0,0,0.06)0px 1px 2px 0px;
    padding: 2.5rem 0rem;
    border-radius: 10px;
    background: var(--gradient-white-bg2);
    text-align: center;
}

.icon-skill{
    display: inline-flex;
    position: relative;
}

.icon-skill i{
    box-shadow: rgba(0,0,0,0.1)0px 1px 3px 0,
    rgba(0,0,0,0.06)0px 1px 2px 0px;
    padding: .5rem;
    border-radius: 50%;
    background: var(--gradient-color-bg);
    width: 70px;
    height: 70px;
    color: #fff;
    font-size: 2.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: .4s;
    z-index: 1;
}

.icon-skill span{
    position: absolute;
    width: 80px;
    height: 80px;
    left: 10.5px;
    top: -5px;
    background: var(--gradient-color-bg);
    border-radius: 50%;
    animation: animate 1s linear infinite;
}

.content-btn > .content:not(:first-child){
    display: none;
}

.about-btn button:hover{
    box-shadow: var(--hover-box-shadow);
}

/* ==================== Experience section css code ============================ */
.experience-section {
    padding: 6rem 8%;
    background: var(--gradient-white-bg2);
    margin-top: -150px !important;
}

body.dark-mode .experience-section {
    background: linear-gradient(to bottom, #16213e 0%, #1a1a2e 100%);
}

.experience-container {
    max-width: 800px;
    margin: 0 auto;
}

.experience-item {
    background: var(--gradient-white-bg2);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

body.dark-mode .experience-item {
    background: var(--gradient-white-bg2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.experience-item:hover {
    transform: translateY(-5px);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.experience-title h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.experience-company, .experience-date, .experience-location {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--font-color);
}

body.dark-mode .experience-company,
body.dark-mode .experience-date,
body.dark-mode .experience-location {
    color: rgba(255, 255, 255, 0.8);
}

.experience-company i, .experience-date i, .experience-location i {
    margin-right: 8px;
    color: var(--primary-color);
}

.experience-details ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.experience-details li {
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-color);
}

body.dark-mode .experience-details li {
    color: rgba(255, 255, 255, 0.9);
}

.experience-details li::before {
    content: "▹";
    position: absolute;
    left: -1.5rem;
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .experience-header {
        flex-direction: column;
    }

    .experience-date {
        margin-top: 0.5rem;
    }
}


/* ==================== Services section css code ============================ */
.services{
    position: relative;
    margin-top: -6rem;
}

.main-text{
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.main-text .heading{
    color: var(--main-color);
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
}

.main-text span{
    color: var(--font-color);
    font-weight: 200;
    text-transform: uppercase;
}

.allServices{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px , auto));
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.icon-services{
    display: inline-flex;
    position: relative;
}

.icon-services i{
    box-shadow: rgba(0,0,0,0.1)0px 1px 3px 0,
    rgba(0,0,0,0.06)0px 1px 2px 0px;
    padding: .5rem;
    border-radius: 50%;
    background: var(--gradient-color-bg);
    width: 70px;
    height: 70px;
    color: #fff;
    font-size: 2.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: .4s;
    z-index: 1;
}

.icon-services span{
    position: absolute;
    width: 80px;
    height: 80px;
    left: -5px;
    top: -5px;
    background: var(--gradient-color-bg);
    border-radius: 50%;
    animation: animate 1s linear infinite;
}

.servicesItem{
    padding: 1.8rem 0.7rem;
    border-radius: 10px;
    background: var(--gradient-white-bg2);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
    transform: translateY(-10px);
}

.servicesItem:hover i{
    outline: 1px solid var(--main-color);
    transform: scale(1.2);
}

.servicesItem h3{
    margin: 1rem 0 0.5rem;
}

.servicesItem p{
    /*margin-bottom: 1.5rem;*/
    font-size: .9rem;
    color: var(--font-color);
}

.proposal{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: var(--gradient-white-bg2);
    box-shadow: rgba(0,0,0,0.1)0px 1px 3px 0,
    rgba(0,0,0,0.06)0px 1px 2px 0px;
    margin-top: 8rem;
    border-radius: 10px;
    padding: 0rem 2rem;
    z-index: 1;
}

.proposal img{
    width: 40vw;
    height: auto;
    margin: -4rem 0 0;
    z-index: 2;
}

.services .text-box span{
    font-size: 1.2rem;
    font-weight: 600;
}

.services .text-box h3{
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-size: 2.3rem;
    font-weight: 800;
}

.services .text-box .btn{
    padding: 10px 20px;
}


.services .showcase .ring{
    width: 100px;
    height: auto;
    position: absolute;
    top: 2%;
    left: -3%;
}

.services .showcase .circle{
    position: absolute;
    width: 70px;
    height: auto;
    top: 2%;
    right: 6%;
    filter: blur(3px);
}

.services .showcase .circle2{
    position: absolute;
    width: 40px;
    height: auto;
    filter: blur(3px);
}

.services .showcase .circle3{
    position: absolute;
    width: 70px;
    height: auto;
    filter: blur(3px);
    bottom: 36%;
    left: 22%;
}

.services .showcase .half-ring{
    position: absolute;
    width: 120px;
    height: auto;
    bottom: 4%;
    right: 6%;
}


/* ==================== portfolio section css code ============================ */
.portfolio {
    padding: 6rem 8%;
    background: var(--gradient-white-bg2);
    margin-top: -2rem;
    margin-bottom: -3rem;
}

.fillter-buttons {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.fillter-buttons button {
    background: var(--gradient-white-bg2);
    padding: 12px 24px;
    border-radius: 5px;
    border: none;
    font-weight: 500;
    color: var(--text-color);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.fillter-buttons button:hover,
.fillter-buttons button.mixitup-control-active {
    background: var(--gradient-color-bg);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(202, 68, 248, 0.3);
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-box {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

/*.portfolio-img img,*/
.portfolio-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    display: block;
}


.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(202, 68, 248, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-box:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    padding: 20px;
    color: #fff;
}

.overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.portfolio-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background: var(--dark-color);
    color: #fff;
    transform: rotate(45deg);
}

.portfolio-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.portfolio-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-tags span {
    background: rgba(202, 68, 248, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
}

.view-more {
    text-align: center;
    margin-top: 2rem;
}

.view-more .btn {
    padding: 12px 30px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .portfolio-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .portfolio-img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .fillter-buttons {
        gap: 0.5rem;
    }

    .fillter-buttons button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
}

/* ==================== Contact Section ==================== */
.contact {
    padding: 6rem 8%;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    margin-top: -6rem;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header .heading {
    color: var(--main-color);
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
}

.section-header .subheading {
    color: var(--font-color);
    font-weight: 200;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2rem;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.contact-card p {
    color: var(--font-color);
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(202, 68, 248, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
    display: block;
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
    display: block;
}

.bx-loader {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== Skills section css code ============================ */

.skillBox{
    padding: 0 1rem 1rem;
}

.skillBox .main-text{
    margin-bottom: 1rem;
}

.skill-wrap{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(150px , auto));
    justify-content: center;
    grid-gap: 2.5rem;
}

.skill{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.skills{
    width: 100%;
    background: var(--gradient-white-bg2);
    box-shadow: rgba(0,0,0,0.18)0px 2px 4px;
    padding: 1rem;
    border-radius: 10px;
}

#skills {
    margin-top: -10rem;
}

.outer-circle{
    width: 170px;
    height: 170px;
    position: relative;
    margin-bottom: 1rem;
    padding: 20px;
    border-radius: 50%;
    box-shadow: rgba(50,50,93,0.25)0px 6px 12px -2px,
    rgba(0,0,0,0.3)0px 3px 7px -3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-circle{
    width: 130px;
    height: 130px;
    border-radius: 50%;
    box-shadow: rgba(204,219,232)3px 3px 6px 0px inset,
    rgba(255,255,255,0.5)-3px -3px 6px 1px inset;
}

.outer-circle svg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.outer-circle svg circle{
    fill: none;
    stroke-width: 15px;
    stroke: url(#GradientColor);
    stroke-linecap: round;
    stroke-dasharray: 465;
    stroke-dashoffset: 464;
}

.outer-circle h2.counter{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
    font-size: .9rem;
    font-weight: 400;
}

h2.counter span{
    font-size: 1.7rem;
}

.sk-title{
    font-size: 1.2rem;
    font-weight: 500;
}

/*======================= footer ============================ */
footer {
    background: var(--dark-color);
    color: white;
    padding: 5rem 8% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    /*margin-bottom: 3rem;*/
    margin-top: -2rem;
}

.footer-about img {
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links h3, .footer-services h3, .footer-newsletter h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-links ul, .footer-services ul {
    list-style: none;
}

.footer-links li, .footer-services li {
    margin-bottom: 0.8rem;
}

.footer-links a, .footer-services a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover, .footer-services a:hover {
    color: white;
    padding-left: 5px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 50px 0 0 50px;
    font-family: 'Poppins', sans-serif;
}

.footer-newsletter button {
    padding: 0 1.5rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

#progress{
    position: fixed;
    z-index: 1000;
    bottom: 60px;
    right: 10px;
    width: 50px;
    height: 50px;
    display: none;
    place-items: center;
    border-radius: 50%;
    color: #1d002c;
    cursor: pointer;
    box-shadow: rgba(50,50,93,0.25)0px 50px 100px -20px,
    rgba(0,0,0,0.3)0px 30px 60px -30px,
    rgba(10,37,64,0.35)0px -2px 6px 0px inset;
}


#progress-value{
    display: grid;
    height: calc(100% - 12px);
    width: calc(100% - 12px);
    background: var(--gradient-color-bg);
    border-radius: 50%;
    color: #fff;
    place-items: center;
    font-size: 25px;
}

/*======================= @keyframes ============================ */

@keyframes moveText{
    0%,10%,100%{
        background-position: -24rem 0;
    }

    65%,85%{
        background-position: 0rem 0;
    }
}

@keyframes moveCursorText{
    0%,10%,100%{
        width: 0;
    }

    65%,78%,85%{
        width: 100%;
        opacity: 1;
    }

    75%,85%{
        opacity: 0;
    }
}

@keyframes animate{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

@keyframes rotateText{
    0%{
        transform: rotate(360deg);
    }
    100%{
        transform: rotate(0deg);
    }
}

@keyframes progress{
    to{
        stroke-dashoffset: var(--target);
    }
}

@keyframes floatImage{
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-22px);
    }
    100%{
        transform: translateY(0);
    }
}


/*======================= Responsive Design ============================ */

/* Tablet Styles (768px and below) */
@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }

    .theme-toggle {
        margin-right: 0;
    }

    .home {
        flex-direction: column;
        text-align: center;
        padding: 120px 5% 60px;
        width: 100%;
    }

    .hero-info h1 {
        font-size: 2.5rem;
    }

    .text-animate {
        width: 100%;
        margin: 0 auto;
    }

    /*.text-animate h2 {*/
    /*    font-size: 1.5rem;*/
    /*}*/

    .btn-box {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .social-media {
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }

    .img-hero img {
        width: 100%;
        height: auto;
        max-width: 400px;
    }

    .rotate-text {
        display: none;
    }

    .about {
        flex-direction: column;
        margin-top: 0;
    }

    .about .about-img .aboutHero {
        width: 100%;
        max-width: 400px;
    }

    .about-content h3 {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .form {
        max-width: 215px !important;
    }

    .form p {
        font-size: 0.9rem;
    }

    .about-btn {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .about-btn button {
        flex: 1;
        min-width: 120px;
        font-size: 0.9rem;
    }

    .servicesItem {
        padding: 1.5rem 1rem;
    }

    .icon-skill {
        margin: 0.8rem;
    }

    .icon-skill i {
        align-items: center;
        margin-left: 2.5px !important;
    }

    .proposal {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .proposal img {
        width: 80%;
        margin: 1rem 0;
    }

    .portfolio-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    /*.footer-content {*/
    /*    grid-template-columns: 1fr;*/
    /*    gap: 2rem;*/
    /*}*/

    /*.footer-newsletter form {*/
    /*    flex-direction: column;*/
    /*}*/

    /*.footer-newsletter input {*/
    /*    border-radius: 50px;*/
    /*    margin-bottom: 1rem;*/
    /*}*/

    /*.footer-newsletter button {*/
    /*    border-radius: 50px;*/
    /*    padding: 0.8rem;*/
    /*}*/
}

/* Mobile Styles (480px and below) */
@media (max-width: 480px) {
    header {
        padding: 10px 5%;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .menu-icon .bar,
    .menu-icon::after,
    .menu-icon::before {
        display: block;
    }

    ul.navlist {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--gradient-white-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        z-index: 99;
    }

    ul.navlist.active {
        left: 0;
    }

    .navlist li {
        margin: 1.5rem 0;
    }

    .navlist li a {
        font-size: 1.5rem;
    }

    .hero-info h1 {
        font-size: 2rem;
    }

    .hero-info h3 {
        font-size: 1rem;
    }

    .text-animate h2 {
        font-size: 1.2rem;
    }

    .quote-box h3 {
        font-size: 1rem;
    }

    .quote-box h4 {
        font-size: 0.9rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-content h3 {
        font-size: 1.3rem;
        line-height: 1.8rem;
    }

    .form p {
        font-size: 0.8rem;
    }

    .about-btn {
        flex-direction: column;
    }

    .about-btn button {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /*.skill-wrap {*/
    /*    grid-template-columns: repeat(2, 1fr);*/
    /*    gap: 1.5rem;*/
    /*}*/

    /*.outer-circle {*/
    /*    width: 140px;*/
    /*    height: 140px;*/
    /*}*/

    /*.inner-circle {*/
    /*    width: 100px;*/
    /*    height: 100px;*/
    /*}*/

    .services .text-box h3 {
        font-size: 1.8rem;
    }

    .fillter-buttons {
        flex-direction: column;
    }

    .fillter-buttons button {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .portfolio-gallery {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    #progress {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 10px;
    }

    #progress-value {
        font-size: 20px;
    }
}

/* Small Mobile Styles (360px and below) */
@media (max-width: 360px) {
    .hero-info h1 {
        font-size: 1.8rem;
    }

    .text-animate h2 {
        font-size: 1rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /*.skill-wrap {*/
    /*    grid-template-columns: 1fr;*/
    /*}*/

    /*.outer-circle {*/
    /*    width: 120px;*/
    /*    height: 120px;*/
    /*}*/

    /*.inner-circle {*/
    /*    width: 80px;*/
    /*    height: 80px;*/
    /*}*/

    h2.counter span {
        font-size: 1.4rem;
    }
}

/* Landscape Orientation for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .home {
        min-height: 150vh;
    }

    ul.navlist {
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .navlist li {
        margin: 1rem 0;
    }
}


/*======================= BrakPoints ============================ */

@media(max-width:1200px){
    html{
        font-size: 95%;
    }

    .home {
        margin-top: -100px;
        /*margin-bottom: -300px;*/
    }

    .icon-skill {
        margin: 0.8rem;
    }

    .about-btn button {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .btn-box {
        width: 100%;
        margin-bottom: 20px !important;
    }
}

@media(max-width:991px){
    header,section,footer{
        padding-left: 3%;
        padding-right: 3%;
    }
    .home,.portfolio-box{
        flex-direction: column-reverse;
    }
    .about,.contactSkills{
        flex-direction: column;
    }
    .about .about-img .aboutHero{
        width: 100%;
    }
    .proposal img{
        width: 52vw;
    }
    .portfolio-img img{
        width: 100%;
        height: 100%;
    }
    .portfolio-gallery{
        grid-template-columns: repeat(auto-fill,minmax(250px , 1fr));
    }
    .img-hero{
        margin-top: 3rem;
    }
}

@media(max-width:768px){
    .proposal{
        display: none;
    }
    .menu-icon .bar,.menu-icon::after,.menu-icon::before{
        display: block;
    }
    ul.navlist{
        position: absolute;
        top: -1000px;
        transition: all .3s ease;
        width: 100%;
        text-align: center;
        display: block;
        background: var(--gradient-white-bg);
        left: 0;
        border-top: 2px solid rgba(248, 202, 202, .7);
    }
    ul.navlist a{
        font-size: 1.5rem;
        margin: 1rem 0;
    }
    .navlist.active{
        top: 100%;
    }
    .overlay{
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        position: fixed;
        background: rgba(0,0,0,0.5);
        z-index: 8;
        opacity: 0;
        transform: rotate(45deg) scale(1.2);
        pointer-events: none;
    }
    body.open .overlay{
        opacity: 1;
        pointer-events: auto;
    }
    .btn{
        padding: 10px;
    }
    .home{
        grid-gap: 0;
    }
    .fillter-buttons button{
        padding: 10px;
        font-size: .8rem;
    }
}

@media(max-width:530px){
    html{
        font-size: 80%;
    }
    section{
        padding: 50px 3%;
    }
    .contact-info form .input-box{
        display: block;
    }
    .input-box input {
        width: 100%;
    }
    .rotate-text{
        display: none;
    }
    .img-hero img{
        width: 100%;
    }
    .text-animate{
        width: 23.8rem;
    }
    .btn-box{
        width: 266px;
        margin-bottom: 3rem;
    }
    .about-btn button{
        padding: 10px 15px;
    }
    .fillter-buttons{
        display: grid;
        grid-gap: 1rem;
    }
    .fillter-buttons button{
        width: 100%;
        padding: 13px;
    }
}
