@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);

        --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(--bg-color);
    color: var(--font-color);
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: var(--main-color);
}
header{
    padding: 12px 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;
}
.navlist li a:hover,.navlist li a.active{
    background: var(--gradient-color-bg);
    -webkit-background-clip: text;
    color: transparent;
}
.right-header{
    display: flex;
    align-items: center;
    justify-content: end;
    grid-gap: .8rem;
}
.btn{
    background: var(--gradient-color-bg);
    color: #fff;
    padding: 6px 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: #f0f0f0;
    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: 80px 8%;
}

.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: 1rem;
}
.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: 15px;
}

.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;              
}
.btn-box .d-CV:hover{
   scale: 1.05;
}

.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::before {
    opacity: .8;
}

.social-media a:hover {
    color: #fff;
    transform: scale(1.15);
    border-color: transparent; 
    box-shadow: 0 1px 3px rgba(100, 255, 218, 0.5);
}


.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: 460px;
    height: auto;
    z-index: 2;
    margin-top:40px;
}


.rotate-text{
    position: absolute;
    top: 2%;
    left: -53px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 2rem;
}

.rotate-text span{
    position: relative;
    width: 442px;
    height: 442px;
    background: red;
    border: 6px solid #eaeef0;
    border-radius: 50%;
    z-index: 1;
    overflow: hidden;
}

.rotate-text span::before{
    content: "";
    position: absolute;
    inset: 20px;
    background: #00aaff;
    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;
}
.box{
    padding: 30px 0 !important;
}

.rotate-text .text{
    position: absolute;
    width: 420px;
    height: 420px;
    background: #f2f6fb;
    border-radius: 50%;
    box-shadow: 0 1px 6px 5.94px rgba(0,0,0,0.2);
    animation: rotateText 30s linear infinite;
}

.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: 1.6rem;
}

.about .about-img{
    position: relative;
}

.about .about-img .aboutHero{
    width: 36vw;
    height: auto;
    border-radius: 15px;
}

.about-img .ring{
    position: absolute;
    top: 85%;
    right: -3%;
    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: .3rem 0;
}

.about-content p{
    color: var(--font-color);
    font-size: 15px;
}

.text-box p{
    font-size: 1.1rem;
    font-weight: 500;
}

.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;
}
.getIn{
     margin-bottom: 1rem;
}

.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 1.6rem 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 p{
    margin: 1rem 0 0.5rem;
    display: block; 
    font-size: 23px;
    font-weight: 700;
}

.servicesItem small {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 0 .5rem 0;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--font-color);
    word-break: break-word;
}
.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: 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%;
}


/* ==================== Services section css code ============================ */
.fillter-buttons {
  text-align: center;
  padding: 0.5rem;
  margin-bottom: 2rem;
}

/* Default button style */
.fillter-buttons button {
  background: #112240;
  padding: 12px 18px;
  border-radius: 8px;
  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: 0 0.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.fillter-buttons button:hover {
  color: #fff;
  transform: translateY(-2px);
}
.fillter-buttons button.mixitup-control-active {
  background: var(--gradient-color-bg);
  color: #fff;
  transform: translateY(-2px);
}
.portfolio-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(370px , 1fr));
    gap: 1.5rem;
}

.portfolio-img img{
    display: block;
    width: 100%;
    height: 150px;
    transition: .3s;
}

.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-content{
    width: 100%;
    padding-left: .5rem;
    padding-bottom: .5rem;
}
.portfolio-content p{
    font-size: .8rem;
    width: 100%;
    color: var(--font-color);
    margin-bottom: .9rem;
}
.portfolio-content h3{
    font-size: 1.3rem;
    margin-bottom: .5rem;
}

.portfolio-img{
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.portfolio-box:hover img{
    transform: scale(1.05);
}

/* Default first button (readMore) */
.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;
    transition: all 0.3s ease;
}

/* Second button (readMore2) default */
.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 {
    color: #000;
    background: var(--gradient-color-bg);
    transform: translateY(-2px); 
    transition: all 0.3s ease;
}


/* ==================== Blog section css code ============================ */
.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);
}
.section-testimonials::before,
.section-testimonials::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 22%;
    pointer-events: none;
    z-index: 10; /* ensure above slides */
}
.section-testimonials::before {
    left: 30px;
    background: linear-gradient(90deg, #091529 0%, rgba(9,21,41,0) 100%);
}
.section-testimonials::after {
    right: 30px;
    background: linear-gradient(270deg, #091529 0%, rgba(9,21,41,0) 100%);
}
.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 {
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 6%;
}

.track {
    display: flex;
    gap: 20px;
    align-items: stretch;
    --duration: 20s;
    animation: scroll-left var(--duration) linear infinite;
    will-change: transform;
}
.marquee.marquee--right .track {
    animation-direction: reverse;
}
.marquee:hover .track { 
    animation-play-state: paused; 
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.testimonial-card {
    flex: 0 0 320px;
    background: #112240;
    border-radius: 12px;
    padding: 17px 18px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 220ms ease, box-shadow 220ms ease;
    box-sizing: border-box;
    cursor: pointer;
}
.testimonial-card p {
    font-size: 14px;
    margin-top: 15px;
    color: #9BB4C9;
}
.testimonial-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--hover-box-shadow);
}
.card-meta { display:flex; gap:12px; align-items:center; }
.avatar img {
  display: none;
}
.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);
}
.slide-set .testimonial-card:nth-child(2) .avatar {
  animation-delay: 1s;
}
.slide-set .testimonial-card:nth-child(3) .avatar {
  animation-delay: 2s;
}
.slide-set .testimonial-card:nth-child(4) .avatar {
  animation-delay: 3s;
}
.slide-set .testimonial-card:nth-child(5) .avatar {
  animation-delay: 4s;
}

/* Conic gradient rotation animation */
@keyframes rotateConic {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Author text styling */
.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 { color:var(--font-color); line-height:1.5; font-size:0.95rem; margin-top:8px; }

/* Slide sets for seamless loop */
.slide-set { display:flex; gap:20px; }

/* Small visual tweak */
.testimonial-card { opacity: .9; }
/* ==================== Contact section css code ============================ */
.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.2rem;
    border-radius: 10px;
    color: var(--font-color);
}
.contactBox .main-text h2.heading,
.skillsBox .skills-title {
    color: var(--heading-color);
    margin-bottom: 0.3rem;
}

.contactBox .main-text span {
    color: var(--muted-text);
    font-size: 0.95rem;
}
.contact-wrap input,
.contact-wrap textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.08);
    margin: 0.5rem 0;
    border-radius: 5px;
    background: #28374F;
    color: var(--font-color);
    outline: none;
    transition: all 0.3s ease;
}

.contact-wrap input:focus,
.contact-wrap textarea:focus {
    background: #3d4e69;
    border: 1px  var(--main-color);
}
.input-box {
    display: flex;
    gap: 2%;
}

.input-box input {
    width: 50%;
}
form .btn {
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    background: var(--gradient-color-bg);
    color: var(--section-bg);
    font-weight: bold;
    transition: all 0.3s ease;
}

form .btn:hover {
    filter: brightness(1.1);
    box-shadow: var(--hover-box-shadow);
}

.messageBox {
  width: 300px;      
  height: 140px;      
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none; 
}
/* ==================== Skills Section ==================== */
.skillsBox {
    position: relative;
    width: 100%;
    min-height: 500px;
    background: transparent;
    margin-top: 1rem;
    box-shadow: none;
}
.orbit-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.skills-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.8rem;
    font-weight:700;
    letter-spacing: 3px;
    -webkit-background-clip: text;
    color: rgba(232, 225, 225, 0.578);
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.15),
        0 0 40px rgba(255, 255, 255, 0.1);
    z-index: 5;
}
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    border-radius: 50%;
    border: 2px solid rgba(100, 255, 218, 0.3);
    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);
}
.orbit1 .logos {
    position: absolute;
    width: 35px;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.orbit2 .logos {
    position: absolute;
    width: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.orbit3 .logos {
    position: absolute;
    width: 50px;
    transition: transform 0.3s ease, filter 0.3s ease;
}


.logos:hover {
    transform: scale(1.2);
    /* filter: drop-shadow(0 0 25px var(--main-color)); */
    z-index: 10;
}
.orbit1 .logos:nth-child(1) { top: 0; left: 50%; transform: translate(-50%, -50%); }
.orbit1 .logos:nth-child(2) { right: 0; top: 50%; transform: translate(50%, -50%); }
.orbit1 .logos:nth-child(3) { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.orbit1 .logos:nth-child(4) { left: 0; top: 50%; transform: translate(-50%, -50%); }

.orbit2 .logos:nth-child(1) { top: 0; left: 50%; transform: translate(-50%, -50%); }
.orbit2 .logos:nth-child(2) { right: 10%; top: 25%; transform: translate(50%, -50%); }
.orbit2 .logos:nth-child(3) { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.orbit2 .logos:nth-child(4) { left: 10%; top: 25%; transform: translate(-50%, -50%); }

.orbit3 .logos:nth-child(1) { top: 0; left: 50%; transform: translate(-50%, -50%); }
.orbit3 .logos:nth-child(2) { right: 0; top: 40%; transform: translate(50%, -50%); }
.orbit3 .logos:nth-child(3) { bottom: 10%; left: 50%; transform: translate(-50%, 50%); }
.orbit3 .logos:nth-child(4) { left: 0; top: 40%; transform: translate(-50%, -50%); }
.orbit3 .logos:nth-child(5) { bottom: 0; right: 40%; transform: translate(50%, 50%); }

/* Smooth rotation */
@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.chatbot-container {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 340px;
  background: var(--section-bg);
  color: var(--font-color);
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: fadeInUp 0.4s ease;
  z-index: 1001;
  font-family: "Poppins", sans-serif;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-header {
  background: var(--gradient-color-bg);
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
}

.close-chat {
  cursor: pointer;
  font-size: 30px;
  transition: 0.2s;
  color: var(--heading-color);
}

.close-chat:hover {
  color: var(--main-color);
}

.chat-body {
  padding: 15px;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  scrollbar-width: thin;
}

.bot-message {
  display: flex;
  align-items: flex-start;
}

.bot-avatar {
  background: var(--main-color); /* fallback in case image fails */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  overflow: hidden; /* ensures the image stays inside the circle */
}

.bot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* makes sure the image fills the circle without distortion */
  display: block;
}


.message {
  background: #112240;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 80%;
  color: var(--font-color);
}

.user-message {
  align-self: flex-end;
  background:#33c2a3;
  color: var(--heading-color);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 75%;
}

.loading-dots {
  display: inline-block;
  width: 24px;
  text-align: left;
  color: var(--font-color);
}

.loading-dots::after {
  content: '...';
  animation: dots 1.2s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}

.chat-footer {
  display: flex;
  border-top: 1px solid var(--card-border);
  padding: 10px;
  background: var(--section-bg);
  margin-bottom: 10px;
}

.chat-footer input {
  flex: 1;
  border: 1px solid #084375;
  background: var(--card-bg);
  color: var(--font-color);
  padding: 10px;
  border-radius: 5px;
  outline: none;
  font-size: 14px;
}

.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 {
  background: var(--gradient-color-bg);
}


/*======================= footer ============================ */
footer{
    text-align: center;
    margin: 0 8%;
    padding: 2rem 0;
    border-top: 2px solid #e8e1e1;
}


#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:hover {
    transform: scale(1.08);
}

#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;
}

#progress-value:hover {
    transform: scale(1.01);
}

/*======================= @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);
    }
}

/*======================= 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;
    }
    .contact-section .container {
    flex-direction: column;
    align-items: center;
    }

    .contactBox, .skillsBox {
        width: 90%;
    }
    .testimonial-card { flex: 0 0 300px; height: 210px; }
}

@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;
    }
    .testimonial-card { flex: 0 0 260px; height: 220px; padding: 14px; }
    .section-testimonials::before, .section-testimonials::after { width: 22%; }
    .section-testimonials {
    padding: 70px 30px;
    overflow: hidden;
  }

  .section-testimonials::before,
  .section-testimonials::after {
    display: none; /* hide shadows */
  }

  /* Stop scrolling */
  .marquee .track {
    display: block !important;
    animation: none !important;
    transform: none !important;
    width: 100%;
    margin: 1px auto;
  }

  /* Show only the first testimonial card in each marquee */
  .marquee .track .testimonial-card {
    display: none;       /* hide all by default */
    width: 100%;         /* full width */
    opacity: 1;
    box-sizing: border-box;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .marquee .track .testimonial-card:first-child {
    display: block;      /* show first card */
  }

  /* Card height auto for text wrap */
  .testimonial-card {
    flex: none;
    width: 100%;
    height: auto;
    padding: 18px;
  }

  /* Heading adjustments */
  .heading-row h2 {
    font-size: 1.4rem;
  }

  .heading-row p {
    font-size: 0.9rem;
  }
}

@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: 280px;
        margin-bottom: 3rem;
    }
    .about-btn button{
        padding: 10px 15px;
    }
    .fillter-buttons{
        display: grid;
        grid-gap: 1rem;
    }
    .fillter-buttons button{
        width: 100%;
        padding: 13px;
    }
    .testimonial-card { flex: 0 0 220px; height: 220px; }
     .contact-section {
    padding: 50px 15px;
  }

  .contactBox, .skillsBox {
    padding: 20px;
  }

  .contactBox .heading {
    font-size: 1.6rem;
  }

  .skills-title {
    font-size: 1.5rem;
  }

  .logos {
    width: 45px;
    height: 45px;
  }

  .btn {
    width: 100%;
    text-align: center;
    margin-right: 5px;
  }

  .input-box {
    flex-direction: column;
  }
  .orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    border-radius: 50%;
    border: 2px solid rgba(100, 255, 218, 0.3);
    animation: rotate 45s linear infinite;
}

    /* Optional: make each orbit slightly different for depth */
    .orbit1 {
        width: 120px;
        height: 120px;
        animation-duration: 10s;
        border: 2px solid rgba(100, 255, 218, 0.4);
    }

    .orbit2 {
        width: 250px;
        height: 250px;
        animation-duration: 15s;
        animation-direction: reverse;
        border: 2px solid rgba(100, 255, 218, 0.25);
    }

    .orbit3 {
        width: 350px;
        height: 350px;
        animation-duration: 20s;
        border: 3px solid rgba(100, 255, 218, 0.15);
    }
    .orbit1 .logos {
        width: 25px;
    }
    .section-testimonials {
    padding: 50px 20px;
  }

  .testimonial-card {
    padding: 14px;
    width: 100%;
  }

  .heading-row h2 {
    font-size: 1.2rem;
  }

  .heading-row p {
    font-size: 0.85rem;
  }
}
