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

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

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

 /* upper logo animation start */
.logo {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: 0.8px;
    display: inline-block;
    cursor: pointer;
    position: relative;

    /* Clean Gradient */
    background: linear-gradient(120deg, #22c55e, #4f46e5, #06b6d4);
    background-size: 300% 300%;

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: gradientMove 6s ease infinite;

    transition: all 0.35s ease;
}

/* Smooth gradient */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Subtle underline glow */
.logo::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    border-radius: 10px;

    background: linear-gradient(90deg, #22c55e, #4f46e5);
    transition: width 0.4s ease;
}

/* Hover effect */
.logo:hover {
    transform: translateY(-2px) scale(1.05);
    letter-spacing: 1.5px;
    filter: brightness(1.2);
}

.logo:hover::after {
    width: 100%;
}

/* Click feel */
.logo:active {
    transform: scale(0.96);
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: clamp(20px, 5vw, 30px);
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
        letter-spacing: 0.3px;
    }

    .logo::after {
        height: 1.5px;
    }
}

 /* upper logo animation end */

/* ================= Navbar Start ================= */
.navbar{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    align-items: center;
    z-index: 100;
    justify-content: space-between;
    background: #212630;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.2s;
}

@keyframes show-content{
    100%{
        visibility: visible;
        opacity: 1;
    }
}

.navbar .logo{
    font-size: 25px;
    font-weight: 500;
}

/* NAV LINKS */
.navbar ul{
    display: flex;
    gap: 20px;
    position: static;
    
}

.navbar ul.active {
    right: 0;
}

.navbar ul li{
    list-style: none;
    margin-left: 30px;
}

.navbar ul li a{
    font-size: 18px;
    font-weight: 500;
    transition: .5s;
}

.navbar ul li:hover a,
.navbar ul li.active a{
    color: rgb(46, 194, 53);
}

/* ===================MENU ICON style start=========================== */
.menu-toggle {
    display: none;
    position: fixed;
    top: clamp(10px, 2vw, 18px);
    right: clamp(10px, 2vw, 18px);
    z-index: 1000;

    width: clamp(42px, 5vw, 50px);
    height: clamp(42px, 5vw, 50px);

    border-radius: 16px;
    cursor: pointer;

    /* 🔥 Better glass + gradient */
    background: linear-gradient( 
        135deg,
        rgba(34,197,94,0.25),
        rgba(79,70,229,0.25)
    );
    /* backdrop-filter: blur(16px); */

    border: 1px solid rgba(255,255,255,0.18);

    box-shadow: 0 8px 25px rgba(0,0,0,0.25);

    align-items: center;
    justify-content: center;

    transition: all 0.35s ease;
}

/* glow effect */
.menu-toggle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #22c55e, #4f46e5);
    opacity: 0.25;
    filter: blur(12px);
    z-index: -1;
}

/* responsive */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex !important;
    }
}
@media (min-width: 1025px) {
    .menu-toggle {
        display: none !important;
    }
}

/* hamburger lines */
.menu-toggle span {
    position: absolute;
    width: clamp(20px, 3vw, 26px);
    height: 2.5px;
    background: #ffffff;
    border-radius: 10px;

    transition: all 0.4s ease;
}

/* spacing */
.menu-toggle span:nth-child(1) {
    transform: translateY(-8px);
}
.menu-toggle span:nth-child(2) {
    opacity: 1;
}
.menu-toggle span:nth-child(3) {
    transform: translateY(8px);
}

/* hover animation */
.menu-toggle:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* click press */
.menu-toggle:active {
    transform: scale(0.92);
}

/* active animation (hamburger → X) */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* active color change */
.menu-toggle.active {
    background: linear-gradient(
        135deg,
        rgba(239,68,68,0.4),
        rgba(249,115,22,0.4)
    );
}

/* =================MENU ICON style end================== */

/* ================== Home Section start ================= */
.home{
    display: flex;
    align-items: center;
    gap: 5px;
    height: 100vh;
    padding: 61px 9% 0;
    color: azure;

    visibility: hidden;
    opacity: 0;
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.6s;
}

.home-info h1{
    font-size: 30px;
    padding-bottom: 10px;
}

.home-info h2{
    display: inline-block;
    font-size: 33px;
    margin-top: -10px;
}

/* TEXT ANIMATION */
.home-info h2 span{
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: .7px greenyellow;
    animation: display-text 16s linear infinite;
    animation-delay: calc(-4s * var(--i));
}

@keyframes display-text{
    25%,100%{
        display: none;
    }
}

.home-info h2 span::before{
    content: attr(data-text);
    position: absolute;
    width: 0%;
    border-right: 2px solid greenyellow;
    color: greenyellow;
    white-space: nowrap;
    overflow: hidden;
    animation: fill-text 4s linear infinite;
}

@keyframes fill-text{
    10%,100%{
        width: 100%;
    }
    70%,90%{
        width: 100%;
    }
}

.home-info p{
    font-size: 18px;
    margin: 20px 0 25px;
    color: #bdbdbd;
}

.home-info .btn-sci{
    display: flex;
    align-items: center;
}

.btn{
    display: inline-block;
    padding: 10px 25px;
    background: greenyellow;
    border: 1px solid greenyellow;
    border-radius: 35px;
    box-shadow: 0 0 10px greenyellow;
    color: #212630;
    font-weight: 500;
    transition: 0.5s;
}

.btn:hover{
    background: transparent;
    color: greenyellow;
    box-shadow: none;
}

.home-info .btn-sci .sci{
    margin-left: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Icon Style */
.home-info .btn-sci .sci a{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 2px solid greenyellow;
    border-radius: 50%;
    
    font-size: 20px;
    color: greenyellow;

    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Hover effect (smooth premium glow) */
.home-info .btn-sci .sci a:hover{
    background: greenyellow;
    color: #212630;
    box-shadow: 0 0 15px rgba(173, 255, 47, 0.8);
    transform: translateY(-4px) scale(1.1);
}

/* Soft ripple glow effect */
.home-info .btn-sci .sci a::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: greenyellow;
    border-radius: 50%;
    transform: scale(0);
    transition: 0.4s ease;
    z-index: -1;
}

.home-info .btn-sci .sci a:hover::before{
    transform: scale(1);
}

/* ===== Responsive ===== */
@media (max-width: 768px){
    .home-info .btn-sci{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .home-info .btn-sci .sci{
        margin-left: 0;
        justify-content: center;
    }

    .home-info .btn-sci .sci a{
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

/* ================= IMAGE ================= */
.home-img .img-box{
    position: relative;
    width: 32vw;
    height: 32vw;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.home-img .img-box::after,
.home-img .img-box::before{
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: conic-gradient(transparent,transparent,transparent,greenyellow);
    animation: rotate-border 11s linear infinite;
}

.home-img .img-box::after{
    animation-delay: -6s;
}

@keyframes rotate-border{
    100%{
        transform: rotate(360deg);
    }
}

.home-img .img-box .img-item{
    position: relative;
    width: 100%;
    height: 100%;
    background: #1f242d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.home-img .img-box .img-item img{
    position: absolute;
    top: 30px;
    width: 85%;
    object-fit: cover;
    mix-blend-mode: lighten;
}

/* ================= BAR ================= */
.bars-animation{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -1;
}

.bars-animation .bar{
    width: 100%;
    height: 100%;
    background: #1f242d;
    transform: translateY(-100%);
    animation: show-bars .5s ease-in-out forwards;
    animation-delay: calc(0.1s * var(--i));
}

@keyframes show-bars{
    100%{
        transform: translateY(0%);
    }
}

/* ================= Responsive start ================= */

/* Tablet */
@media (max-width: 1024px){
    .home{
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .home-img .img-box{
        width: 260px;
        height: 260px;
    }
}

/* Mobile */
@media (max-width: 768px){

    .menu-toggle{
        display: block;
        font-size: 28px;
        cursor: pointer;
        z-index: 1001;
    }

    .navbar{
        padding: 15px 5%;
        position: relative;
    }

   
    /* =============== Mobile Menu Drawer  start  ============== */
    .navbar ul{
    position: fixed;
    top: 0;
    right: -100%;

    /* 🔥 responsive width */
    width: clamp(240px, 65%, 320px);
    height: 55vh;

    /*  premium glass gradient */
    background: linear-gradient(
        160deg,
        rgba(17, 24, 39, 0.95),
        rgba(30, 41, 59, 0.95)
    );
    /* backdrop-filter: blur(16px); */

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    display: flex;

    /*  smoother animation */
    transition: right 0.45s ease, opacity 0.4s ease;

    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.4);

    opacity: 0;
}

/*  open state */
.navbar ul.active{
    right: 0;
    opacity: 1;
}

/*  menu item animation */
.navbar ul li{
    margin: 0;
    font-size: 20px;

    transform: translateX(40px);
    opacity: 0;

    transition: all 0.4s ease;
}

/* stagger effect (one by one) */
.navbar ul.active li{
    transform: translateX(0);
    opacity: 1;
}

.navbar ul.active li:nth-child(1){ transition-delay: 0.1s; }
.navbar ul.active li:nth-child(2){ transition-delay: 0.2s; }
.navbar ul.active li:nth-child(3){ transition-delay: 0.3s; }
.navbar ul.active li:nth-child(4){ transition-delay: 0.4s; }

/* hover effect */
.navbar ul li:hover{
    transform: scale(1.12);
}

/*  link style */
.navbar ul li a{
    color: #e5e7eb;
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

/* underline animation */
.navbar ul li a::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg,#22c55e,#4f46e5);
    transform: translateX(-50%);
    transition: 0.3s;
}

.navbar ul li a:hover::after{
    width: 100%;
}

.nav-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    /* backdrop-filter: blur(6px); */
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    z-index: 999;
}

.nav-overlay.active{
    opacity: 1;
    pointer-events: auto;
}

    /* ================ Mobile Menu Drawer  end ================= */

    /* Open state */
    .navbar ul.active{
        right: 0;
    }

    .navbar ul li{
        margin: 0;
        font-size: 20px;
        transition: transform 0.3s ease;
    }

    .navbar ul li:hover{
        transform: scale(1.1);
    }

    /* Home section */
    .home{
        flex-direction: column;
        text-align: center;
        padding: 100px 5% 0;
    }

    .home-img .img-box{
        width: 200px;
        height: 200px;
    }
}

/* Small Mobile */
@media (max-width: 480px){
    .home-info h1{ font-size: 22px; }
    .home-info h2{ font-size: 18px; }
    .home-info p{ font-size: 13px; }
    .navbar .logo{ font-size: 20px; }
}

 /*============= Hi, I'm Shagar chandro  animation section start  =========== */
 

#Hi-I-m-Shagar-chandro::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;

    width: 0%;
    height: 2px;

    background: linear-gradient(90deg, greenyellow, #4f46e5);
    transition: width 0.4s ease;
}

/* Hover */
#Hi-I-m-Shagar-chandro:hover{
    color: greenyellow;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(173, 255, 47, 0.6);
}

#Hi-I-m-Shagar-chandro:hover::after{
    width: 100%;
}

 /*============= Hi, I'm Shagar chandro  animation section end  =========== */


    /* =================== home section end ==============================  */

 /* <!-- =================About section  start =================-->  */
.about{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    padding:100px 9%;
    background:#111827;
    color:#fff;

    opacity:0;
    transform: translateY(60px);
    animation: fadeUp 1s ease forwards;
}

/* entry animation */
@keyframes fadeUp{
    to{
        opacity:1;
        transform: translateY(0);
    }
}

/* ================= IMAGE ================= */
.about-img img{
    width:340px;
    border-radius:20px;
    border:4px solid greenyellow;
    transition:.4s ease;
}

/* hover effect */
.about-img img:hover{
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 0 25px rgba(173,255,47,.4);
}

/* ================= CONTENT ================= */
.about-content{
    flex:1;
}

.about-content h2{
    font-size:clamp(28px,5vw,40px);
    margin-bottom:10px;
    position:relative;
}

/* underline animation */
.about-content h2::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0%;
    height:3px;
    background:greenyellow;
    transition:.4s;
}

.about-content h2:hover::after{
    width:100%;
}

.about-content h3{
    font-size:clamp(18px,3vw,24px);
    color:greenyellow;
    margin-bottom:15px;
}

.about-content p{
    font-size:clamp(14px,2vw,16px);
    line-height:28px;
    color:#cfcfcf;
    margin-bottom:25px;
}

/* ================= EDUCATION ================= */
.education h4{
    font-size:26px;
    margin-bottom:25px;
}

/* card animation */
.edu-item{
    display:flex;
    gap:20px;
    background:#1f242d;
    padding:18px;
    border-radius:14px;
    margin-bottom:18px;
    border-left:4px solid greenyellow;

    transition:.4s;
    opacity:0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: calc(0.2s * var(--i));
}

.edu-item:hover{
    transform:translateY(-6px) scale(1.01);
    box-shadow:0 0 20px rgba(173,255,47,.3);
}

/* year style */
.edu-year{
    min-width:120px;
    font-size:14px;
    font-weight:600;
    color:greenyellow;
}

/* info */
.edu-info h5{
    font-size:18px;
    margin-bottom:6px;
}

.edu-info p{
    font-size:14px;
    margin:0;
    color:#aaa;
}

.edu-info span{
    display:block;
    margin-top:6px;
    font-size:13px;
    color:greenyellow;
    opacity:.9;
}

/* ================= CV DOWNLOAD BUTTON Animation start ================= */
.about-btns{
    margin-top:25px;
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

/* ===== PREMIUM BUTTON ===== */
.about-btns .btn{
    position: relative;
    padding:12px 30px;
    border-radius:50px;
    background: linear-gradient(135deg, #02133a, #02133a);
    color:#fff;
    border:2px solid rgba(173,255,47,0.4);
    font-size:15px;
    font-weight:500;
    letter-spacing:0.5px;
    text-decoration:none;
    overflow:hidden;
    z-index:1;

    transition: all 0.35s ease;
}

/* ===== GLOW BORDER EFFECT ===== */
.about-btns .btn::before{
    content:"";
    position:absolute;
    inset:-2px;
    border-radius:50px;
    background: linear-gradient(90deg, transparent, greenyellow, transparent);
    opacity:0;
    z-index:-1;
    transition:0.4s;
}

.about-btns .btn:hover::before{
    opacity:1;
    animation: borderMove 2s linear infinite;
}

@keyframes borderMove{
    0%{transform:translateX(-100%);}
    100%{transform:translateX(100%);}
}

/* ===== INNER LIGHT EFFECT ===== */
.about-btns .btn::after{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition:0.5s;
}

.about-btns .btn:hover::after{
    left:100%;
}

/* ===== HOVER ===== */
.about-btns .btn:hover{
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 10px 25px rgba(0,0,0,0.4),
        0 0 20px rgba(173,255,47,0.5);
    color:greenyellow;
}

/* ===== ACTIVE CLICK ===== */
.about-btns .btn:active{
    transform: scale(0.96);
}

/* ===== ICON ===== */
.about-btns .btn i{
    margin-left:6px;
    transition:0.3s;
}

.about-btns .btn:hover i{
    transform: translateX(6px);
}

/* ===== RESPONSIVE ===== */
@media (max-width:768px){
    .about-btns{
        justify-content:center;
    }

    .about-btns .btn{
        padding:10px 24px;
        font-size:14px;
    }
}

@media (max-width:480px){
    .about-btns{
        flex-direction:column;
        align-items:center;
    }

    .about-btns .btn{
        width:100%;
        text-align:center;
        padding:12px;
    }
}
/* ================= CV DOWNLOAD BUTTON Animation End ================= */

/* ================= TITLE HOVER ================= */
#my-about{
    position:relative;
    display:inline-block;
    transition:.3s;
}

#my-about::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0%;
    height: 2px;

    background: linear-gradient(90deg, greenyellow, #4f46e5);
    transition: width 0.4s ease;
}

#my-about:hover{
    color: greenyellow;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(173, 255, 47, 0.6);
}

#my-about:hover::after{
    width: 100%;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media(max-width:992px){

    .about{
        flex-direction:column;
        text-align:center;
        padding:80px 6%;
    }

    .about-img img{
        width:280px;
    }

    .edu-item{
        flex-direction:column;
        text-align:left;
    }

    .edu-year{
        min-width:100%;
    }
}

/* Mobile */
@media(max-width:768px){

    .about{
        gap:40px;
        padding:70px 5%;
    }

    .about-content h2{
        font-size:28px;
    }

    .about-content h3{
        font-size:18px;
    }

    .about-content p{
        font-size:14px;
        line-height:26px;
    }

    .education h4{
        font-size:22px;
    }

    .edu-item{
        padding:15px;
    }

    .edu-info h5{
        font-size:16px;
    }

    .about-btns{
        text-align:center;
    }
}

/* Small Mobile */
@media(max-width:480px){

    .about-img img{
        width:220px;
    }

    .about-content h2{
        font-size:24px;
    }

    .about-content h3{
        font-size:16px;
    }

    .about-content p{
        font-size:13px;
    }

    .edu-year{
        font-size:13px;
    }

    .edu-info h5{
        font-size:15px;
    }

    .edu-info p{
        font-size:13px;
    }
}

 /* ===================my about animation section end ================= */

 /* <!-- ================= About section  end================= -->  */

 /* skills section start */

.skills{
    padding:100px 8%;
    background: linear-gradient(180deg,#1f242d,#0f172a);
    color:#fff;
}

/* Heading */
.skills-heading{
    text-align:center;
    margin-bottom:60px;
}

.skills-heading h2{
    font-size:42px;
    margin-bottom:12px;
    font-weight:700;
    letter-spacing:1px;
}

.skills-heading p{
    max-width:650px;
    margin:auto;
    color:#bfbfbf;
    line-height:28px;
    font-size:16px;
}

/* Grid */
.skills-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

/* Card */
.skill-box{
    background:rgba(17,24,39,0.7);
    /* backdrop-filter: blur(10px); */
    padding:30px 20px;
    border-radius:20px;
    text-align:center;
    border:1px solid rgba(173,255,47,.15);
    transition: all .4s ease;
    position:relative;
    overflow:hidden;
}

/* Glow border animation */
.skill-box::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:20px;
    padding:1px;
    background:linear-gradient(120deg,transparent,greenyellow,transparent);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity:0;
    transition:.4s;
}

.skill-box:hover::before{
    opacity:1;
}

.skill-box:hover{
    transform:translateY(-10px) scale(1.02);
    box-shadow:0 10px 30px rgba(173,255,47,.2);
}

/* Icon */
.skill-box i{
    font-size:55px;
    color:greenyellow;
    margin-bottom:15px;
    transition:.4s;
}

.skill-box:hover i{
    transform:scale(1.2) rotate(5deg);
}

/* Text */
.skill-box h3{
    font-size:22px;
    margin-bottom:8px;
}

.skill-box span{
    color:#cfcfcf;
    font-size:15px;
    display:inline-flex;
    align-items:center;
    gap:6px;
    justify-content:center;
}

.skill-box span i{
    color:greenyellow;
    font-size:18px;
}

/* Heading Icon */
.skills-heading h2 i{
    color:greenyellow;
    margin-right:8px;
}

/* Hover underline animation */
#my-skills{
    position:relative;
    display:inline-block;
    transition:.3s;
}

#my-skills::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0%;
    height:2px;
    background:linear-gradient(90deg,greenyellow,#4f46e5);
    transition:width .4s ease;
}

#my-skills:hover{
    color:greenyellow;
    text-shadow:0 0 12px rgba(173,255,47,.6);
}

#my-skills:hover::after{
    width:100%;
}

/* ============ Tablet ============ */
@media(max-width:992px){
    .skills{
        padding:80px 6%;
    }

    .skills-heading h2{
        font-size:34px;
    }
}

/* ============ Mobile ============ */
@media(max-width:768px){
    .skills{
        padding:70px 5%;
    }

    .skills-heading h2{
        font-size:30px;
    }

    .skills-heading p{
        font-size:15px;
        line-height:26px;
    }

    .skill-box{
        padding:25px 18px;
    }

    .skill-box i{
        font-size:44px;
    }
}

/* ============ Small Mobile ============ */
@media(max-width:480px){
    .skills-heading h2{
        font-size:26px;
    }

    .skills-heading p{
        font-size:14px;
    }

    .skill-box i{
        font-size:40px;
    }

    .skill-box h3{
        font-size:18px;
    }

    .skill-box span{
        font-size:14px;
    }
}
 /* =====================my skills animation section end========================  */


 /* skills end */

 /* ===========================project section start========================= */

/* ================= PROJECTS ================= */
.projects{
    padding:100px 9%;
    background:#111827;
    color:#fff;

    opacity:0;
    transform: translateY(60px);
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp{
    to{
        opacity:1;
        transform: translateY(0);
    }
}

/* ================= HEADING ================= */
.projects-heading{
    text-align:center;
    margin-bottom:50px;
}

.projects-heading h2{
    font-size:clamp(28px,5vw,40px);
    margin-bottom:15px;
    position:relative;
}

/* underline animation */
.projects-heading h2::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-5px;
    /* transform:translateX(-50%); */
    width:0%;
    height:3px;
    background:greenyellow;
    transition:.4s;
}

.projects-heading h2:hover::after{
    width:100%;
}

.projects-heading h2 i{
    color:greenyellow;
    margin-right:8px;
}

.projects-heading p{
    max-width:700px;
    margin:auto;
    font-size:16px;
    line-height:28px;
    color:#cfcfcf;
}

/* ================= GRID ================= */
.projects-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

/* ================= CARD ================= */
.project-box{
    background:#1f242d;
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(173,255,47,.15);
    transition:.4s;

    opacity:0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: calc(0.2s * var(--i));
}

.project-box:hover{
    transform:translateY(-12px) scale(1.02);
    box-shadow:0 0 30px rgba(173,255,47,.25);
}

/* image zoom */
.project-box img{
    width:100%;
    height:200px;
    object-fit:cover;
    transition:.4s;
}

.project-box:hover img{
    transform: scale(1.08);
}

/* ================= CONTENT ================= */
.project-content{
    padding:20px;
}

.project-content h3{
    font-size:20px;
    margin-bottom:8px;
}

.project-content p{
    font-size:14px;
    color:#cfcfcf;
    margin-bottom:15px;
    line-height:24px;
}

/* ================= LINKS ================= */
.project-links{
    display:flex;
    gap:15px;
}

.project-links a{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:8px 14px;
    border:1px solid greenyellow;
    border-radius:25px;
    font-size:14px;
    color:greenyellow;
    transition:.3s;
}

/* button hover */
.project-links a:hover{
    background:greenyellow;
    color:#111;
    box-shadow:0 0 15px rgba(173,255,47,.5);
    transform: translateY(-2px);
}

/* ================= TITLE EFFECT ================= */
#my-projects{
    position:relative;
    display:inline-block;
    transition:.3s;
}

#my-projects::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0%;
    height: 2px;

    background: linear-gradient(90deg, greenyellow, #4f46e5);
    transition: width 0.4s ease;
}

#my-projects:hover{
    color: greenyellow;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(173, 255, 47, 0.6);
}

#my-projects:hover::after{
    width: 100%;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media(max-width:992px){

    .projects{
        padding:80px 6%;
    }

    .projects-container{
        grid-template-columns:repeat(2,1fr);
    }

    .projects-heading h2{
        font-size:32px;
    }
}

/* Mobile */
@media(max-width:768px){

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

    .projects-heading h2{
        font-size:28px;
    }

    .projects-heading p{
        font-size:14px;
        line-height:26px;
    }

    .project-box img{
        height:180px;
    }
}

/* Small Mobile */
@media(max-width:480px){

    .projects-heading h2{
        font-size:24px;
    }

    .projects-heading p{
        font-size:13px;
    }

    .project-content h3{
        font-size:18px;
    }

    .project-content p{
        font-size:13px;
    }

    .project-links a{
        font-size:12px;
        padding:6px 10px;
    }
}
 /* =================my project animation section end==================  */

/* =================project section end ================= */

 /* ==================contact section start ================= */

.contact{
    padding:100px 9%;
    background:#1f242d;
    color:#fff;
}

.contact-heading{
    text-align:center;
    margin-bottom:50px;
}

.contact-heading h2{
    font-size:40px;
    margin-bottom:15px;
}

.contact-heading h2 i{
    color:greenyellow;
    margin-right:8px;
}

.contact-heading p{
    max-width:700px;
    margin:auto;
    font-size:16px;
    line-height:28px;
    color:#cfcfcf;
}

/* Layout */
.contact-container{
    display:flex;
    gap:40px;
}

/* Info */
.contact-info{
    flex:1;
}

.info-box{
    display:flex;
    align-items:center;
    gap:10px;
    background:#111827;
    padding:18px;
    margin-bottom:15px;
    border-radius:12px;
    border:1px solid rgba(173,255,47,.15);
    
}

.info-box i{
    font-size:26px;
    color:greenyellow;
}

.info-box h4{
    font-size:18px;
    margin-bottom:4px;
}

.info-box p{
    font-size:14px;
    color:#cfcfcf;
}

/* Form */
.contact-form{
    flex:1;
    background:#111827;
    padding:25px;
    border-radius:15px;
    border:1px solid rgba(173,255,47,.15);
    box-shadow:0 0 15px rgba(152, 221, 49, 0.1);
}

.input-box{
    display:flex;
    gap:15px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:12px;
    margin-top:15px;
    border:none;
    outline:none;
    border-radius:10px;
    background:#1f242d;
    color:#fff;
    font-size:14px;
}

.contact-form textarea{
    height:140px;
    resize:none;
}

.contact-form .btn{
    margin-top:15px;
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
}

/* ================= Tablet ================= */
@media(max-width:992px){

    .contact-container{
        flex-direction:column;
    }

    .contact{
        padding:80px 6%;
    }

    .contact-heading h2{
        font-size:34px;
    }
}

/* ================= Mobile ================= */
@media(max-width:768px){

    .input-box{
        flex-direction:column;
    }

    .contact-heading h2{
        font-size:30px;
    }

    .contact-heading p{
        font-size:15px;
        line-height:26px;
    }
}

/* ================= small mobile ================= */
@media(max-width:480px){

    .contact-heading h2{
        font-size:26px;
    }

    .info-box{
        flex-direction:column;
        text-align:center;
    }

    .info-box i{
        font-size:22px;
    }
}


/* required massages  */
.contact-form{
    max-width: 600px;
    margin: auto;
}

.input-box{
    display: flex;                           
     flex-wrap: wrap;
    gap: 10px;
}

.input-box input{
    width: 100%;
}

.input-box input:hover {
  transform: scale(1.03);
}

 /* fieldbox animation start   */

#fieldbox-anmation{
    display: absolute;
    align-items: center;
    gap: 10px;
    padding: 15px;
    /* margin-bottom: 20px; */

    background: #0f172a;
    border-radius: 15px;
    border: 1px solid rgba(0,255,100,0.2);

    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

/* delay */
.contact-card:nth-child(1){ animation-delay: 0.2s; }
.contact-card:nth-child(2){ animation-delay: 0.4s; }
.contact-card:nth-child(3){ animation-delay: 0.6s; }

@keyframes fadeUp{
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* hover */
#fieldbox-anmation:hover{
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 20px rgba(0,255,100,0.4);
    transition: 0.3s ease;
}

 /* fieldbox animation end   */

.contact-form input,
.contact-form textarea{
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
}

.contact-form textarea{
    height: 150px;
    resize: none;
}

.btn{
    background: greenyellow;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 8px;
}

.success-msg{
    display: none;
    color: limegreen;
    margin-top: 10px;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 600px){
    .input-box{
        flex-direction: column;
    }
}

/* ================= contact-me animation section start ================= */

#contact-me::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0%;
    height: 2px;

    background: linear-gradient(90deg, greenyellow, #4f46e5);
    transition: width 0.4s ease;
}

/* Hover */
#contact-me:hover{
    color: greenyellow;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(173, 255, 47, 0.6);
}

#contact-me:hover::after{
    width: 100%;
}

/* ================= contact-me animation section end ================= */

 /* ===================== contact section end ==================== */

 /*========================= footer logo animation start =================== */
 
#footerlogo{
    display: inline-block;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;

    color: #fff;
    text-decoration: none;

    position: relative;
    transition: all 0.3s ease;
}

/* Gradient underline effect */
#footerlogo::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0%;
    height: 2px;

    background: linear-gradient(90deg, greenyellow, #4f46e5);
    transition: width 0.4s ease;
}

/* Hover */
#footerlogo:hover{
    color: greenyellow;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(173, 255, 47, 0.6);
}

#footerlogo:hover::after{
    width: 100%;
}
    

/* ============= quick-links animation start ==============  */

#quick-links::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0%;
    height: 2px;

    background: linear-gradient(90deg, greenyellow, #4f46e5);
    transition: width 0.4s ease;
}

/* Hover */
#quick-links:hover{
    color: greenyellow;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(173, 255, 47, 0.6);
}

#quick-links:hover::after{
    width: 100%;
}


/* =============== quick-links animation start ==================  */

/* =================== contact footer animation start ==================  */

#contact-footer::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0%;
    height: 2px;

    background: linear-gradient(90deg, greenyellow, #4f46e5);
    transition: width 0.4s ease;
}

/* Hover */
#contact-footer:hover{
    color: greenyellow;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(173, 255, 47, 0.6);
}

#contact-footer:hover::after{
    width: 100%;
}

/* =================== contact footer animation end ==================  */

/* =================== address-anmation start  =================== */

#address-anmation{
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    margin-bottom: 20px;

    background: #0f172a;
    border-radius: 15px;
    border: 1px solid rgba(0,255,100,0.2);

    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

/* delay */
.contact-card:nth-child(1){ animation-delay: 0.2s; }
.contact-card:nth-child(2){ animation-delay: 0.4s; }
.contact-card:nth-child(3){ animation-delay: 0.6s; }

@keyframes fadeUp{
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* hover */
#address-anmation:hover{
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 20px rgba(0,255,100,0.4);
    transition: 0.3s ease;
}

/* icon */
.icon{
    font-size: 28px;
    color: #7CFF00;
}

/* ============ address-anmation end ==============  */

 /* =================  footer logo animation end ================ */

 /* ================= footer section start ================= */
.footer{
    background:#111827;
    color:#fff;
    padding:60px 9% 20px;
}

/* GRID */
.footer-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

/* BOX */
.footer-box h3{
    font-size:20px;
    margin-bottom:15px;
    color:greenyellow;
}

.footer-box p{
    font-size:14px;
    color:#cfcfcf;
    line-height:26px;
}

/* LINKS */
.footer-box ul{
    list-style:none;
}

.footer-box ul li{
    margin-bottom:10px;
}

.footer-box ul li a{
    color:#cfcfcf;
    font-size:14px;
    transition:0.3s;
}

.footer-box ul li a:hover{
    color:greenyellow;
    padding-left:5px;
}


/* ================== SOCIAL ICONS style start ==================== */
.social-links {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Social icon style */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid greenyellow;
    color: greenyellow;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Hover animation (Glow + Scale + Rotate) */
.social-links a:hover {
    color: #111827;
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 0 15px greenyellow,
                0 0 30px greenyellow;
}

/* Background fill animation */
.social-links a::before {
    content: "";
    position: absolute;
    width: 0%;
    height: 100%;
    background: greenyellow;
    left: 0;
    top: 0;
    z-index: -1;
    transition: 0.4s;
}

.social-links a:hover::before {
    width: 100%;
}

/* Click effect */
.social-links a:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }

    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .social-links a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}
/* ================ SOCIAL ICONS style end =================== */


/* Bottom */
.footer-bottom{
    text-align:center;
    margin-top:40px;
    padding-top:15px;
    border-top:1px solid rgba(255,255,255,0.1);
    font-size:13px;
    color:#9ca3af;
}

/* ================= Tablet ================= */
@media(max-width:992px){
    .footer-container{
        grid-template-columns:repeat(2,1fr);
    }
}

/* ================= Mobile ================= */
@media(max-width:600px){
    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .social-links a{
        margin:5px;
    }
}

/* ===== Global ===== */
/* ============ Section animation start =================== */
html {
    scroll-behavior: smooth;
}

* {
    transition: all 0.3s ease;

}

section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

section.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVBAR EFFECT ===== */
.navbar.scrolled {
    background: #111827;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* ===== BUTTON ===== */
.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px greenyellow;
}

/* ===== IMAGE ===== */
.img-box img:hover {
    transform: scale(1.1);
}

/* ================== Section animation End ================ */
