@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 {
    --bg-color: var(--gradient-white-bg2);
    --section-bg: #071426;
    --card-bg: #0A172B;
    --main-color: #64FFDA;
    --gradient-color-bg: linear-gradient(135deg, #64FFDA 0%, #3EC9A8 50%, #1D8F78 100%);
    --gradient-white-bg: linear-gradient(180deg, #040F21 0%, #0A172B 50%, #040F21 100%);
    --gradient-white-bg2: linear-gradient(120deg, #040F21 0%, #0A172B 100%);
    --heading-color: #FFFFFF;
    --font-color: #E6ECF3;
    --muted-text: #9BB4C9;
    --hover-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    --card-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
    --card-border: rgba(255, 255, 255, 0.06);
}

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

a {
    color: var(--main-color);
    text-decoration: none;
}

/* ================= HEADER ================= */
header {
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    padding: 12px 5%;
    background: var(--gradient-white-bg);
    transition: 0.3s;
    border-bottom: 1px solid rgba(248, 202, 202, .17);
}

/* ================= LOGO ================= */
header .logo {
    font-size: 1.7rem;
    font-weight: 700;
}

header .logo span{
    background: none;
    color: #37BD9E;
}

/* ================= NAV LIST ================= */
ul.navlist{
    display: flex;
    gap: 2.5rem;
}

.navlist li{
    margin: 0;
}

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

/* Hover + Active (NO underline, NO gradient text) */
.navlist li a:hover,
.navlist li a.active {
    background-image: linear-gradient(
        90deg,
        #4fffd9 0%,
        #4fffd9 30%,
        rgba(79, 255, 217, 0.45) 60%,
        rgba(79, 255, 217, 0.54) 10%
    );
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}


/* ================= RIGHT SIDE ================= */
.right-header{
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ================= BUTTON ================= */
.btn {
    color: rgb(255, 255, 255);
    font-weight: 500;
    background: var(--gradient-color-bg);
    padding: 6px 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover{
    box-shadow: 0 0 18px rgba(51,182,152,.6);
    transform: translateY(-1px);
}

/* ================= MENU ICON (MOBILE READY) ================= */
.menu-icon{
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.menu-icon .bar,
.menu-icon::before,
.menu-icon::after{
    content: "";
    display: none;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: #cde7ff;
    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;
}

/* ==================== home section css code ============================ */
section{
    padding: 50px 5%;
}

.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);
}

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

.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 var(--main-color);
    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;
}


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

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

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

.btn-box .d-CV {
    background: var(--gradient-color-bg);
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
    color: #f0f0f0;
    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: start;
    gap: 1rem;
    height: 50px;
}

.social-media a {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--bg-color);
    color: var(--main-color);
    font-size: 1.5rem;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.social-media a::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64FFDA, #3EC9A8, #1D8F78);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-media a:hover {
    color: #fff;
    transform: scale(1.09);
    border-color: transparent;
    box-shadow: 0 1px 3px rgba(100, 255, 218, 0.5);
    background: #2B9783;
}

.bg-icon{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.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: 500px;
    height: auto;
    z-index: 2;
    margin-top: 40px;
}

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

/* ==================== About section css code ============================ */
.about{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3.6rem;
    padding-top: 60px;
}

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

.about .about-img .aboutHero {
    width: 36vw;
    height: auto;
    border-radius: 15px;
}

.about-img .ring {
    position: absolute;
    top: 82%;
    right: -4%;
    z-index: -1;
}

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



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

.about-content h2{
    color: var(--main-color);
}

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

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

.text-box p{
    font-size: 1.1rem;
    font-weight: 500;
}

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

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

.about-btn button, .cvContent a {
    background: #112240;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    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;
    padding: 0px 0;
}

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

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

.cvContent{
    margin-top: 1.5rem;
}

/* ==================== Services section css code ============================ */
.services{
    position: relative;
    padding-top: 120px;
}

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

.main-text .heading{
    color: var(--main-color);
}

.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;
}

.servicesItem {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    padding: 2rem 1.1rem 0rem 1rem;
    border-radius: 10px;
    background: #112240;
    text-align: center;
}

.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;
}
.fa-left-long {
    font-size: 80px;
    margin-right: 80px;
    color: var(--main-color);
}
.servicesItem:hover i{
    outline: 1px solid var(--main-color);
    transform: scale(1.2);
}

.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 h3{
    margin: 1rem 0 0.5rem;
    font-size: 24px;
}

.servicesItem p{
    margin-bottom: 1.5rem;
    font-size: .9rem;
    color: #ffffffc6;
}

 .readMore{
    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;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    margin-right: .8rem;
    cursor: pointer;              
}

.proposal {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: #112240;
    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: 2rem 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: 43%;
    left: 21.5%;
}

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


/* ==================== Services section css code ============================ */
.portfolio{
    padding-top: 100px;
}
.fillter-buttons{
    text-align: center;
    padding: 0rem;
    margin-bottom: 1.5rem;
}

.fillter-buttons button {
    background: #112240;
    padding: 12px 15px;
    border-radius: 5px;
    border: none;
    font-weight: 500;
    color: #fff;
    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;
    font-size: 14px;
    font-weight: 500;
    transition: all .3s ease;
}

.fillter-buttons button:hover,button.mixitup-control-active{
    background: #30B093;
    color: #fff;
}

.portfolio-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(370px , 1fr));
    gap: 1.5rem;
}
.portfolio-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    padding: 1rem;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
    background: #112240;
    border-radius: 10px;
    transition: all .3s ease;
}

.portfolio-img img{
    display: block;
    width: 100%;
    height: 160px;
    transition: .3s;
}

.portfolio-content{
    width: 100%;
    /* padding-left: .5rem; */
    /* padding-bottom: .5rem; */
}

.portfolio-img{
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
}

.portfolio-box:hover img{
    transform: scale(1.03);
    cursor: pointer;
}

.portfolio-content a.readMore {
    padding: 7px 12px;
    font-size: .8rem;
    margin: 3px 5px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    background: var(--gradient-color-bg);
    border-radius: 4px;
    cursor: pointer;
}
.portfolio-content a.readMore:hover{
    background: #23a98e;
    color: #fff;
}
.portfolio-content a.readMore2 {
    padding: 7px 12px;
    font-size: .8rem;
    margin: 3px 5px;
    text-decoration: none;
    color: #fff;
    background: #0E1C34;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.portfolio-content a.readMore2:hover{
    background: var(--gradient-color-bg);
    color: #000;
}

.portfolio-content p{
    font-size: .9rem;
    color: var(--font-color);
    margin: .5rem 0 1rem 0;
}

/* ==================== Blog / Testimonials Section ==================== */

.section-testimonials {
    max-width: 1300px;
    margin: 40px auto;
    padding: 100px 70px;
    background: var(--gradient-white-bg2);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    /* box-shadow: 0 2px 10px rgba(2, 6, 12, 0.6); */
}

/* -------------------------
   Heading
------------------------- */

.heading-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    text-align: center;
}

.heading-row h2 {
    margin: 0;
    color: var(--main-color);
    font-size: 1.6rem;
    font-weight: 700;
}

.heading-row p {
    margin: 0;
    color: var(--muted-text);
    font-size: 0.95rem;
}

/* -------------------------
   Marquee Wrapper
------------------------- */

.marquee {
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 6%;
    position: relative;
}

/* Track (scrolling row) */
.track {
    display: flex;
    gap: 20px;
    align-items: stretch;
    will-change: transform;
}

/* Pause animation on hover */
.marquee:hover .track {
    animation-play-state: paused;
}

/* Slide set */
.slide-set {
    display: flex;
    gap: 20px;
}

/* -------------------------
   Animation Direction
------------------------- */

/* TOP ROW → Right to Left */
.marquee--left .track {
    animation: scroll-left var(--duration, 18s) linear infinite;
}

/* BOTTOM ROW → Left to Right */
.marquee--right .track {
    animation: scroll-right var(--duration, 18s) linear infinite;
}

/* -------------------------
   Testimonial Card
------------------------- */

.testimonial-card {
    flex: 0 0 320px;
    background: #112240;
    border-radius: 12px;
    padding: 17px 18px;
    border: 1px solid rgba(51, 182, 152, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 220ms ease, box-shadow 220ms ease;
    box-sizing: border-box;
    cursor: pointer;
    opacity: 0.95;
}

/* Hover lift */
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

/* -------------------------
   Card Meta
------------------------- */

.card-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Avatar */
.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    background: conic-gradient(#64FFDA 0deg, #3EC9A8 72deg, #1D8F78 144deg, #61DAFB 216deg, #3776AB 288deg, #64FFDA 360deg);
    background-size: 200% 200%;
    animation: rotateConic 6s linear infinite;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.5), 0 0 20px rgba(61, 218, 251, 0.4);
    transform: rotate(0deg);
}

.avatar img {
    display: none;
}

/* Author */
.author {
    display: flex;
    flex-direction: column;
}

.author .name {
    font-weight: 600;
    color: var(--heading-color);
    font-size: 0.98rem;
}

.author .handle {
    color: var(--muted-text);
    font-size: 0.84rem;
    margin-top: 3px;
}

/* Quote */
.testimonial-card .quote {
    font-size: 14px;
    margin-top: 15px;
    color: #9BB4C9;
    line-height: 1.5;
}

/* -------------------------
   Edge Fade Effect
------------------------- */

.section-testimonials::before,
.section-testimonials::after {
    content: '';
    position: absolute;
    top: 0;
    width: 300px;
    height: 100%;
    z-index: 20;
    pointer-events: none;
}

.section-testimonials::before {
    left: 0;
    background: linear-gradient(to right, #091529, rgba(9, 21, 41, 0));
}

.section-testimonials::after {
    right: 0;
    background: linear-gradient(to left, #091529, rgba(9, 21, 41, 0));
}

/* -------------------------
   Animations
------------------------- */

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

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

/* ==================== Contact Section ==================== */
.contact-section {
    padding: 80px 5%;
    background: #091528;
}

.contact-section .container {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.contactBox, .skillsBox {
    flex: 1 1 45%;
    background: #10213E;
    /* box-shadow: var(--card-shadow); */
    padding: 1.5rem;
    border-radius: 10px;
    color: var(--font-color);
    position: relative;
}

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

.main-text h2.heading {
    color: var(--main-color);
    font-size: 1.7rem;
}

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

.contact-wrap form {
    display: block;
}

.input-box {
    display: flex;
    gap: 2%;
}

.contact-wrap input,
.contact-wrap textarea {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: #28374F;
    color: var(--font-color);
    outline: none;
    transition: all 0.3s ease;
}
.messageBox {
    width: 300px;
    height: 120px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
}
.contact-wrap input:focus,
.contact-wrap textarea:focus {
    background: #3d4e69;
    border:var(--main-color);
}

form .btn {
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    background: var(--gradient-color-bg);
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
}

form .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--main-color);
}

/* ==================== Skills Section ==================== */
.skillsBox {
    min-height: 500px;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    position: relative;
}

.skills-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(232, 225, 225, 0.918);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15),
                 0 0 40px rgba(255, 255, 255, 0.1);
    z-index: 5;
}


/* ==================== Orbit Animations ==================== */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform-origin: center;
    border-radius: 50%;
    animation: rotate 45s linear infinite;
}

.orbit1 {
    width: 190px;
    height: 190px;
    animation-duration: 10s;
    border: 2px solid rgba(100, 255, 218, 0.4);
}

.orbit2 {
    width: 320px;
    height: 320px;
    animation-duration: 15s;
    animation-direction: reverse;
    border: 2px solid rgba(100, 255, 218, 0.25);
}

.orbit3 {
    width: 450px;
    height: 450px;
    animation-duration: 20s;
    border: 3px solid rgba(100, 255, 218, 0.15);
}

/* ==================== Position Logos in Orbit ==================== */
.orbit .logos {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 0 -50%; /* origin at center of orbit radius */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.orbit1 .logos { width: 35px; }
.orbit2 .logos { width: 40px; }
.orbit3 .logos { width: 50px; }

.orbit1 .logos:nth-child(1) { transform: rotate(0deg) translateX(95px); }
.orbit1 .logos:nth-child(2) { transform: rotate(90deg) translateX(95px); }
.orbit1 .logos:nth-child(3) { transform: rotate(180deg) translateX(95px); }
.orbit1 .logos:nth-child(4) { transform: rotate(270deg) translateX(95px); }

.orbit2 .logos:nth-child(1) { transform: rotate(0deg) translateX(160px); }
.orbit2 .logos:nth-child(2) { transform: rotate(90deg) translateX(160px); }
.orbit2 .logos:nth-child(3) { transform: rotate(180deg) translateX(160px); }
.orbit2 .logos:nth-child(4) { transform: rotate(270deg) translateX(160px); }

.orbit3 .logos:nth-child(1) { transform: rotate(0deg) translateX(195px); }
.orbit3 .logos:nth-child(2) { transform: rotate(90deg) translateX(225px); }
.orbit3 .logos:nth-child(3) { transform: rotate(180deg) translateX(175px); }
.orbit3 .logos:nth-child(4) { transform: rotate(270deg) translateX(170px); }

/* ==================== Keyframes ==================== */
@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==================== Responsive ==================== */
@media screen and (max-width: 900px) {
    .contactBox, .skillsBox {
        flex: 1 1 100%;
    }
    .orbit1 { width: 150px; height: 150px; }
    .orbit2 { width: 250px; height: 250px; }
    .orbit3 { width: 350px; height: 350px; }

    /* Adjust logo positions for smaller screens */
    .orbit1 .logos:nth-child(1) { transform: rotate(0deg) translateX(75px); }
    .orbit1 .logos:nth-child(2) { transform: rotate(90deg) translateX(75px); }
    .orbit1 .logos:nth-child(3) { transform: rotate(180deg) translateX(75px); }
    .orbit1 .logos:nth-child(4) { transform: rotate(270deg) translateX(75px); }

    .orbit2 .logos:nth-child(1) { transform: rotate(0deg) translateX(125px); }
    .orbit2 .logos:nth-child(2) { transform: rotate(90deg) translateX(125px); }
    .orbit2 .logos:nth-child(3) { transform: rotate(180deg) translateX(125px); }
    .orbit2 .logos:nth-child(4) { transform: rotate(270deg) translateX(125px); }

    .orbit3 .logos:nth-child(1) { transform: rotate(0deg) translateX(135px); }
    .orbit3 .logos:nth-child(2) { transform: rotate(90deg) translateX(135px); }
    .orbit3 .logos:nth-child(3) { transform: rotate(180deg) translateX(135px); }
    .orbit3 .logos:nth-child(4) { transform: rotate(270deg) translateX(135px); }
}


/*======================= footer ============================ */
footer{
    text-align: center;
    margin: 0 5%;
    padding: 2rem 0;
    border-top: 1px solid #e8e1e13a;
}

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

#progress {
    position: fixed;
    z-index: 1000;
    bottom: 60px;
    right: 10px;
    width: 50px;
    height: 50px;
    display: none;
    place-items: center;
    border-radius: 50%;
    cursor: pointer;
    background: linear-gradient(135deg, #2DD4BF, #14B8A6, #2DD4BF);
    box-shadow: 0 5px 15px rgba(45, 212, 191, 0.5), 0 0 10px rgba(20, 184, 166, 0.6), 0 0 20px rgba(45, 212, 191, 0.3);
    color: #fff;
    display: grid;
    place-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


#progress-value {
    display: grid;
    height: calc(100% - 8px);
    width: calc(100% - 8px);
    background: linear-gradient(135deg, #14B8A6, #2DD4BF, #14B8A6);
    border-radius: 50%;
    color: #fff;
    place-items: center;
    font-size: 25px;
    transition: transform 0.3s ease;
}
.bx {
    font-family: boxicons !important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    display: inline-block;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



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

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

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

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

    65%,75%,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);
    }
}
/* Overlay */
.chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 998;
}

/* Popup - right side */
.chat-popup {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  max-height: 400px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: all 0.3s ease;
  z-index: 999;
}

/* Active */
.chat-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Header */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gradient-color-bg);
  padding: 12px 16px;
  color: var(--heading-color);
  border-radius: 16px 16px 0 0;
  font-weight: 600;
}

.chat-title img.bot-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 50%;
}

.chat-close {
  cursor: pointer;
  font-size: 22px;
  color: var(--heading-color);
}

/* Body */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--font-color);
  background: var(--card-bg);
}

/* Messages */
.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.chat-message img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

/* Bot message */
.chat-message.bot p {
  background: var(--section-bg);
  color: var(--font-color);
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
}

/* User message */
.chat-message.user {
  flex-direction: row-reverse;
}

.chat-message.user p {
  background: #32c1a2;
  color: var(--section-bg);
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
}

/* Footer */
.chat-footer {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--card-border);
  background: var(--card-bg);
}

.chat-footer input {
    flex: 1;
    border: 1px solid #0f436f;
    background: var(--card-bg);
    color: var(--font-color);
    padding: 10px;
    border-radius: 5px;
    outline: none;
    font-size: 14px;
}

.chat-footer input:active{
    border: none;
}

.chat-footer button {
    margin-left: 8px;
    background: #2CAA8E;
    color: var(--heading-color);
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
    transition: 0.3s;
}

.chat-footer button:hover {
  box-shadow: var(--hover-box-shadow);
}

/* Scrollbar */
.chat-body::-webkit-scrollbar {
  width: 5px;
}

.chat-body::-webkit-scrollbar-thumb {
  background: #1A6555;
  border-radius: 10px;
}

.chat-body::-webkit-scrollbar-track {
  background: var(--section-bg);
}




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

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

@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;
    }

     .section-testimonials {
        padding: 60px 40px;
        border-radius: 10px;
    }

    /* Stack the marquees vertically */
    .marquee {
        overflow: visible;
        padding: 10px 3%;
    }

    /* Make track block instead of flex */
    .track {
        display: block !important;
        animation: none !important; /* disable horizontal scroll */
    }

    /* Stack slides vertically */
    .slide-set {
        display: block;
        gap: 15px;
    }

    .testimonial-card {
        flex: none;
        width: 100%;
        margin-bottom: 15px;
    }

    .heading-row h2 {
        font-size: 1.4rem;
    }

    .heading-row p {
        font-size: 0.9rem;
    }
}

@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: .3s;
        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;
    }
      .section-testimonials {
        padding: 40px 20px;
        border-radius: 8px;
    }

    .heading-row h2 {
        font-size: 1.2rem;
    }

    .heading-row p {
        font-size: 0.85rem;
    }

    .testimonial-card {
        padding: 12px 10px;
    }

    .slide-set {
        gap: 12px;
    }
    .section-testimonials::before,
    .section-testimonials::after {
        width: 100px;
    }
    .marquee--right .track{
       display: none;
    }
}

