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

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

html{
  scroll-behavior: smooth;
}

body{
  background: #0f0f1b;
  color: #fff;
}

/* ===== HEADER ===== */
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(12,17,36,0.85);
  backdrop-filter: blur(10px);
  z-index: 100;
}

/* ===== LOGO ===== */
.logo{
  font-size: 32px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(45deg,#00f7ff,#ff00c8,#00ff99,#00ccff);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientLogo 6s ease infinite;
}

@keyframes gradientLogo{
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}

/* ===== NAVBAR ===== */
.navbar{
  display: flex;
  gap: 30px;
}

.navbar a{
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: .3s;
}

.navbar a:hover,
.navbar a.active{
  background: linear-gradient(45deg,#00f7ff,#ff00c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar a::after{
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg,#00f7ff,#ff00c8);
  transition: .3s;
}

.navbar a:hover::after,
.navbar a.active::after{
  width: 100%;
}

/* ===== MENU ICON ===== */
#menu-icon{
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ===== SECTIONS ===== */
section{
  min-height: 100vh;
  padding: 120px 10% 40px; /* header cover fix */
  border-bottom: 1px solid #222;
}

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

  #menu-icon{
    display: block;
  }

  .navbar{
    position: absolute;
    top: 100%;
    right: -100%;
    width: 220px;
    background: rgba(12,17,36,0.95);
    flex-direction: column;
    text-align: center;
    padding: 15px 0;
    border-radius: 10px;
    display: none;
  }

  .navbar.active{
    display: flex;
    right: 10%;
  }

  .navbar a{
    margin: 12px 0;
    font-size: 24px;
  }
}
/* ===== HOME SECTION ===== */
.home {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10% 0;
    
}
.home-content{
    max-width: 500px;
    margin-left: -30px;

}


.home-content h1 {
    font-size: 45px;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay:.7s;
}
.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 1;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}
.profession{
  font-weight: 700;
  background: linear-gradient(270deg, #ff00cc, #00ffff, #ff00cc);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 6s ease infinite;
}

@keyframes gradientMove{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

.home-content p {
    font-size: 16px;
    margin: 20px 0 40px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1.3s;
}
.btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 48px;
    border-radius: 40px;
    font-size: 19px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 1.8s;
    
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg,#f06,#3cf,#f06);
    background-size: 200%;
    background-position: 0 0;
    z-index: -1;
    border-radius: 40px;
    filter: blur(5px);
    transition: .5s ease;
}

.btn:hover::before{
    background-position: 100% 0;
}
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(45deg,#f06,#3cf,#f06);
    background-position: 0 0;
    background-size: 200%;
    z-index: -1;
    border-radius: 40px;
    transition: .5s ease;
}
.btn:hover::after {
  background-position: 100% 0;
}

.home-sci a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg,#f06,#3cf);
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    margin: 20px 0;
    z-index: 1;

}
.home-sci a:nth-child(1){
    opacity: 0;
     animation: slideBottom 1s ease forwards;
    animation-delay: 2.1s;
    
}
.home-sci a:nth-child(2){
    opacity: 0;
     animation: slideRight 1s ease forwards;
    animation-delay: 2.1s;
}
.home-sci a:nth-child(3){
    opacity: 0;
     animation: slideTop 1s ease forwards;
    animation-delay: 2.1s;
}
.home-sci a:nth-child(4){
    opacity: 0;
     animation: slideLeft 1s ease forwards;
    animation-delay: 2.1s;
}
.home-sci a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,#f06,#3cf);
    border-radius: 50%;
    z-index: -1;
    transition: .5s ease;
}
.home-sci a:hover::before {
    filter: blur(5px);
}
.home-sci a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0c1022;
    border-radius: 50%;
    transform: scale(.88);
    z-index: -1;
    transition: .5s ease;
}
.home-sci a:hover::after {
    transform: scale(0);
}

.home-img {
    width: 410px;
    height: 410px;
    opacity: 0;
    animation: zoomIn 1s ease forwards,floatImage 4s ease-in-out infinite;
    animation-delay: 2.1s,3.1s;
    
   
}
.home-img .glowing-circle {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}
.home-img .glowing-circle::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    background:#0c1022;
    border-radius: 50%;

}
.glowing-circle span {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(#f06,#3cf);
    border-radius: 50%;
    animation: circleRotate 5s linear infinite;
}
.glowing-circle span:nth-child(1) {
    filter: blur(10px);
}
.glowing-circle .image {
    position: relative;
    width: 380px;
    height: 380px;
    
    border-radius: 50%;
    z-index: 1;
    overflow: hidden;
    
}

.image img {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    max-width: 350px;
    object-fit: cover;
}
/* KEYFRMES ANIMATION */
@keyframes slideTop {
    0%{
        opacity: 0;
        transform: translateY(100px);
    }
     100%{
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideRight {
    0%{
        opacity: 0;
        transform: translateX(-100px);
    }
     100%{
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideLeft {
    0%{
        opacity: 0;
        transform: translateX(100px);
    }
     100%{
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideBottom {
    0%{
        opacity: 0;
        transform: translateY(-100px);
    }
     100%{
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes zoomIn {
    0%{
        opacity: 0;
        transform: scale(0);
    }
     100%{
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes floatImage {
    0%{
        transform: translateY(0);
    }
      50%{
        transform: translateY(-24px);
    }
      100%{
        transform: translateY(0);
    }
}
@keyframes circleRotate{
     
    0%{
        transform: rotate(0);
    }
      100%{
        transform: rotate(360deg);
    }
    
}
/* ================= RESPONSIVE ================= */


@media (max-width: 1200px) {
    .home {
        padding: 70px 5% 0;
    }
}

/* Tablet Device */
@media (max-width: 991px) {
    .home {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 80px 5% 50px;
    }

    .home-content {
        margin-left: 0;
        max-width: 100%;
    }

    .home-sci {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin: 30px 0;
    }
      .home-sci a {
        margin: 0;
        animation: none; 
    }
  

    .home-img {
        margin-top: 40px;
        width: 350px;
        height: 350px;
        animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
    }

    .home-img .glowing-circle::after {
        width: 320px;
        height: 320px;
    }

    .glowing-circle .image {
        width: 320px;
        height: 320px;
    }

    .image img {
        max-width: 300px;
        left: 50%;
    }
}

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

    .home-content h1 {
        font-size: 32px;
    }

    .home-content h3 {
        font-size: 22px;
    }

    

    .home-content p {
        font-size: 14px;
    }

    .btn {
        width: 160px;
        height: 45px;
        font-size: 16px;
    }

    .home-img {
        width: 280px;
        height: 280px;
    }

    .home-img .glowing-circle::after {
        width: 250px;
        height: 250px;
    }

    .glowing-circle .image {
        width: 250px;
        height: 250px;
    }

    .image img {
        max-width: 220px;
    }
    .home-sci {
         justify-content: center; 
         gap: 10px; 
         margin: 25px 0; }
    .home-sci a  { 
        margin: 0; 
        animation: none; }
}

/* About Section */
.about {
    width: 100%;
    min-height: 100vh;
    background: #0b1320;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
}

.about-container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* responsive stacking */
}

/* Image Side */
.about-img {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.circle {
    width: 400px; 
    height: 400px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;

    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);

    box-shadow:
        0 0 25px rgba(0,247,255,0.25),
        inset 0 0 25px rgba(0,247,255,0.15);

    border: 2px solid rgba(0,247,255,0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* hover premium effect */
.circle:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow:
        0 0 40px rgba(0,247,255,0.45),
        inset 0 0 30px rgba(0,247,255,0.25);
}

/* image fit perfect */
.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;

    /* 🔥 soft blend */
    filter: contrast(105%) saturate(110%);
}

/* Content Side */
.about-content {
    flex: 1;
    color: white;
    padding-left: 50px;
    min-width: 280px;
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-content h2 span {
    color: #00f7ff;
}

.about-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #ccc;
}

/* Education Section */
.education {
    margin-top: 30px;
    text-align: left;
}

.education h3 {
    font-size: 24px;
    color: #00f7ff;
    margin-bottom: 15px;
}

.education ul {
    list-style: none;
    padding: 0;
}

.education ul li {
    display: flex;
    align-items: center;
    background: #111827;
    margin-bottom: 12px;
    padding: 12px 20px;
    border-radius: 15px;
    box-shadow: 0 0 15px #00f7ff22;
    transition: transform 0.3s, box-shadow 0.3s;
}

.education ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px #00f7ff44;
}

.edu-icon {
    font-size: 28px;
    margin-right: 15px;
}

.edu-info strong {
    color: #00f7ff;
}

/* Download CV Button */
.about-btn {
    display: inline-block;
    padding: 12px 30px;
    margin-top: 20px auto 0;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg, #00f7ff, #ff00c8);
    color: white;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    
}

.about-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00f7ff77, 0 0 20px #ff00c877;
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }
    .about-content {
        padding-left: 0;
        text-align: center;
    }
    .about-img {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .circle {
        width: 250px;
        height: 250px;
    }
    .about-content h2 {
        font-size: 30px;
    }
    .about-content p {
        font-size: 16px;
    }
    .education h3 {
        font-size: 20px;
    }
    .education ul li {
        padding: 10px 15px;
    }
    .edu-icon {
        font-size: 24px;
    }
    .about-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* skill section */

.skills{
  padding: 80px 9%;
  background:#0f0f1b;
  text-align:center;
}

.heading{
  font-size: 40px;
  margin-bottom: 10px;
}

.heading span{
  color:#00f7ff;
}

.skills-subtitle{
  color:#aaa;
  margin-bottom: 50px;
}

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

.skill-card{
  background:#111827;
  padding:30px 20px;
  border-radius:20px;
  transition:.3s ease;
  border:1px solid transparent;
}

.skill-card:hover{
  transform: translateY(-8px);
  border-color: #00f7ff99;
  transition: all 0.3s ease-in-out;
  box-shadow:
      0 0 10px #00f7ff55,
      0 0 20px #00f7ff44,
      0 0 30px #00f7ff33;
}


.skill-icon{
  font-size:40px;
  color:#00f7ff;
  margin-bottom:12px;
}

.skill-card h3{
  margin-bottom:8px;
}

.skill-card p{
  font-size:14px;
  color:#ccc;
}

/* progress bar */
.progress-bar{
  width:100%;
  height:6px;
  background:#1f242d;
  border-radius:10px;
  margin-top:15px;
  overflow:hidden;
}

.progress-bar span{
  display:block;
  height:100%;
  background:#00f7ff;
  border-radius:10px;
}

/* portfolio */

.portfolio {
    width: 100%;
    min-height: 100vh;
    background: #0b1320;
    padding: 100px 0;
}

.portfolio-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.section-title {
    font-size: 40px;
    color: white;
    margin-bottom: 60px;
}

.section-title span {
    color: #00f7ff;
}

/* Grid Layout */
.portfolio-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* bigger cards */
    gap: 40px;
}

/* Card */
.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 350px; /* boro height */
    box-shadow: 0 5px 25px #00f7ff22;
    transition: 0.4s;
}

/* Image full box */
.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}


.portfolio-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%);
    color: white;
    transform: translateY(0); 
    z-index: 2; 
}

/* Optional: image zoom on hover */
.portfolio-card:hover img {
    transform: scale(1.05);
}

/* Project title at top */
.portfolio-layer .portfolio-title {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    color: white; 
    background: linear-gradient(90deg, #ff0000, #ff9900, #00ff99, #00ccff, #ff00c8);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 6s ease infinite;
}

/* Buttons at bottom */
.portfolio-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.portfolio-btns a {
    text-decoration: none;
    color: #fff;
    background: #00f7ff;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 14px;
    transition: 0.3s;
}

.portfolio-btns a:hover {
    background: #ff00c8;
    box-shadow: 0 0 15px #00f7ff66, 0 0 15px #ff00c877;
}


/* Responsive */
@media (max-width: 992px) {
    .portfolio-card { height: 300px; }
    .portfolio-box { gap: 30px; }
}

@media (max-width: 768px) {
    .portfolio-card { height: 250px; }
    .portfolio-layer .portfolio-title { font-size: 18px; }
}

@media (max-width: 576px) {
    .portfolio-card { height: 220px; }
    .portfolio-btns a { font-size: 12px; padding: 6px 12px; }
    .portfolio-layer .portfolio-title { font-size: 16px; }
}

/* Contact Section */
.contact {
    width: 100%;
    min-height: 100vh;
    background: #0c1022;
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.contact-container {
    width: 90%;
    max-width: 700px;
    margin: auto;
    text-align: center;
}

/* Section Title */
.section-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 50px;
    letter-spacing: 1px;
    position: relative;
    text-transform: small;
}

/* Gradient span */
.section-title span {
    background: linear-gradient(90deg, #00f7ff, #ff00c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 5s ease infinite;
}

/* Gradient animation keyframes */
@keyframes gradientText {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

/* Form */
form {
    width: 100%;
    margin-top: 40px;
}

/* Input boxes */
.input-box {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* responsive */
}

.input-box input {
    flex: 1;
}

/* Inputs & textarea */
input, textarea {
    width: 100%;
    padding: 15px 20px;
    background: #161625;
    border: 2px solid transparent;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

/* Focus effect */
input:focus,
textarea:focus {
    border: 2px solid #00f7ff;
    box-shadow: 0 0 15px #00f7ff55;
}

/* Button */
.contact-btn {
    margin-top: 20px;
    padding: 14px 40px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg, #00f7ff, #ff00c8);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00f7ff66, 0 0 15px #ff00c877;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title { font-size: 36px; margin-bottom: 40px; }
    .contact-btn { padding: 12px 30px; font-size: 15px; }
}

@media (max-width: 576px) {
    .section-title { font-size: 32px; margin-bottom: 30px; }
    .input-box { flex-direction: column; gap: 15px; }
    .contact-btn { width: 100%; padding: 12px; }
}



/* Footer Section */
.footer {
    background: #0f0f1b;
    padding: 60px 0 20px;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* Logo */
.footer-logo h2 {
    font-size: 28px;
    font-weight: 700;
}

.footer-logo span {
    background: linear-gradient(90deg, #00f7ff, #ff00c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 5s ease infinite;
}

.footer-logo p {
    color: #ccc;
    margin-top: 10px;
    font-size: 14px;
}

/* Links */
.footer-links h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links ul li a {
    text-decoration: none;
    color: #ccc;
    transition: 0.3s;
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: #00f7ff;
    text-shadow: 0 0 8px #00f7ff;
}

/* Social Icons */
.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 22px;
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #00f7ff;
    text-shadow: 0 0 12px #00f7ff, 0 0 20px #ff00c8;
    transform: scale(1.1);
}

/* Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #222;
    padding-top: 15px;
    color: #aaa;
    font-size: 13px;
}


/* Responsive */
@media (max-width: 992px) {
    .footer-container { gap: 30px; justify-content: center; text-align: center; }
    .footer-links, .footer-social { margin-top: 20px; }
}

@media (max-width: 576px) {
    .footer-logo h2 { font-size: 24px; }
    .footer-links h3, .footer-social h3 { font-size: 16px; }
    .footer-links ul li a { font-size: 13px; }
    .social-icons a { font-size: 20px; margin-right: 8px; }
    .footer-bottom { font-size: 12px; }
}
/* ==================== MAIN SECTIONS ==================== */

/* Header */


.header .logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

/* Navbar links */
.navbar a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  transition: 0.3s;
}

.navbar a.active {
  color: #0077ff;
}


/* ==================== LIGHT MODE ==================== */

/* Main sections background & text */
body.light-mode {
  background: #ffffff;
  color: #111;
  transition: 0.5s;
}

/* Header / Navbar */

body.light-mode .header {
  background: rgba(239, 236, 236, 0.85); 
  backdrop-filter: blur(5px); 
}

body.light-mode .header .logo {
  color: #111;
}

body.light-mode .navbar a {
  color: #111;
}

body.light-mode .navbar a.active {
  color: #0077ff;
}

/* Home Section */
body.light-mode .home {
  background: #fdfdfd;
  color: #111;
}

body.light-mode .home-content h1,
body.light-mode .home-content h3 {
  color: #111;
}

/* Home social icons */
body.light-mode .home-sci a {
  background: #ffffff;   /* main button background */
  border: 2px solid #0077ff;
  position: relative;
  z-index: 1;
}

body.light-mode .home-sci a i {
  color: #0077ff;
  transition: color 0.3s ease;
}
body.light-mode .home-sci a::after {
  background: #ffffff;   
}

body.light-mode .home-sci a:hover i {
  color: #ff00c8; /* hover color */
}

body.light-mode .home-img .glowing-circle::after {
  background: #ffffff; /* profile circle */
}

/* About Section */
body.light-mode .about {
  background: rgba(239, 236, 236, 0.85); 
  color: #111;
}

body.light-mode .about-content h2,
body.light-mode .about-content p,
body.light-mode .about-content ul li,
body.light-mode .about-content ul li .edu-info {
  color: #111;
}

body.light-mode .about-content .about-btn {
  color: #fff;
  background-color: #0077ff;
}

/* Skills Section */
body.light-mode .skills {
  background: #fdfdfd;
  color: #111;
}

body.light-mode .skills-container .skill-card {
  background: #fff;
  color: #111;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-radius: 10px;
}

/* Portfolio Section */
body.light-mode .portfolio {
  background: rgba(239, 236, 236, 0.85); 
  color: #111;
}
body.light-mode .portfolio .section-title {
    color: #111; 
}

body.light-mode .portfolio-container .portfolio-card {
  background: #fff;
  color: #111;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-radius: 10px;
}

body.light-mode .portfolio-card:hover .portfolio-layer {
  background: rgba(0,0,0,0.05);
  color: #111;
}

/* Contact Section */
body.light-mode .contact {
  background: #fdfdfd;
  color: #111;
}
body.light-mode .contact .section-title {
    color: #111; 
}

body.light-mode .contact-container input,
body.light-mode .contact-container textarea {
  background: #fff;
  color: #111;
  border: 1px solid #ccc;
}

body.light-mode .contact-container .contact-btn {
  color: #fff;
  background-color: #0077ff;
}

/* Footer */
body.light-mode .footer {
  background: rgba(239, 236, 236, 0.85); 
  color: #111;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
}

body.light-mode .footer h2,
body.light-mode .footer h3,
body.light-mode .footer p,
body.light-mode .footer a {
  color: #111;
}

body.light-mode .footer a:hover {
  color: #0077ff;
}

/* Footer social icons */
body.light-mode .footer-social a i {
  color: #111;
  transition: color 0.3s ease;
}

body.light-mode .footer-social a:hover i {
  color: #0077ff;
}

/* Buttons & links general */
body.light-mode a.btn,
body.light-mode .contact-btn {
  color: #fff;
  background-color: #0077ff;
}

/* Smooth transitions for all */
body.light-mode *,
body.light-mode *::before,
body.light-mode *::after {
  transition: all 0.4s ease;
}

/* About image circle */
body.light-mode .circle {
  background: #ffffff;
}

/* Education card */
body.light-mode .education ul li {
  background: #f5f5f5;
  color: #111;
}