* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body {
    background-color: #0A1A26; /* Dark background for the entire page */
    color: #fff;
    padding-top: 80px;
    
}

.header {
  display: flex;
  justify-content: space-between; /* logo left, nav right */
  align-items: center;
  padding: 20px 10%;
  background: #072236;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.logo {
  font-size: 25px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  cursor: default;
  opacity: 0;
  animation: slideRight 1s ease forwards;
  position: relative;
}

.logo:hover {
  color: #fff;
  font-size: 30px;
  transition: color 0.3s, font-size 0.3s;
}


.navbar a {
    display: inline-block;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: 0.3s ease;
    opacity: 0;
    animation: slideTop 0.5s ease forwards;
    animation-delay: calc(0.2s * var(--i));

}
.navbar a:hover {
    color: #00ffe7;
    font-size: 25px;
}
.home {
  position: relative;
  color: #fff;
  width: 100%;
  height: 100vh;
  background: #0A1A26;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 70px 10% 0;
}

.home-text {
  max-width: 600px;
}

.home-text h3 {
  font-size: 32px;
  font-weight: 700;
  opacity: 0;
  animation: slideBottom 1s ease forwards;
  animation-delay: 0.7s;
}
.home-text h3 span {
  color: #00ffe7;

}

.home-text h3:nth-of-type(2) {
  margin-bottom: 30px;
  animation: slideTop 1s ease forwards;
  animation-delay: 0.7s;

}
.home-text h1 {
  font-size: 56px;
  font-weight: 700;
  margin: -3px 0;
  opacity: 0;
  animation: slideRight 1s ease forwards;
  animation-delay: 1s;
}

.home-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.home-text {
  flex: 1;
  padding-right: 50px;
}

.home-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #f1f1f1;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: 1s;
}

.profile-container {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(45deg, #00ffe7, #00bcd4); /* Only cyan shades */
  display: flex;
  justify-content: center;
  align-items: center;
  animation: glowBorder 4s linear infinite;
  box-shadow: 0 0 30px #00ffe7, 0 0 60px #00ffe7; /* ⬅️ Cyan shadow only */

}
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 20px whitesmoke;
}

.profile-img:hover {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}


.home-sci a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #00ffe7;
  border-radius: 50%;
  font-size: 20px;
  color: #00ffe7;
  text-decoration: none;
  transition: 0.5s ease;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: calc(0.2s * var(--i));
  margin: 30px 15px 30px 0;
}

.home-sci a:hover {
  background: #00ffe7;
  color: #0A1A26;
  box-shadow: 0 0 20px #00ffe7;
  font-size: 25px;
}

.btn-box {
  display: inline-block;
  padding: 12px 28px;
  background: #00ffe7;
  color: #0A1A26;
  border: none;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 1px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  opacity: 0;
  animation: slideTop 1s ease forwards;
  animation-delay: 2s;
  box-shadow: 0 0 5px cyan, 0 0 25px cyan;
}
.btn-box:hover {
  box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan, 0 0 200px cyan;
  font-size: 20px;
}

@keyframes slideRight {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.about {
  background: #0A1A26;
  min-height: 100vh;  /* Full screen height */
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 6rem;
  flex-direction: column;  /* Keep image & content stacked vertically */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}



.about-img {
  width: 250px;  /* ⬅️ Image size reduced from 380px to 250px */
  height: 250px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(45deg, #00ffe7, #00bcd4);  /* Only cyan shades */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-left: 160px;
  animation: glowBorder 4s linear infinite;
  box-shadow: 0 0 30px #00ffe7, 0 0 60px #00ffe7; /* ⬅️ Cyan shadow only */
}

.about-img :hover {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

.about-text {
  max-width: 600px;
  color: #fff;
  margin-left: 40px;
}

.about-text h2 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0;
  animation: slideBottom 1s ease forwards;
  animation-delay: 0.7s;
}

.about-text h2 span {
  color: #00ffe7;
  font-weight: 700;
  position: relative; 
}

.about-text h4 {
  font-size: 29px;
  font-weight: 600;
  line-height: 1.7;
  margin: 15px 0 30px;
  opacity: 0;
  animation: slideBottom 1s ease forwards;
  animation-delay: 1s;
}

.about-text p {
  color: aliceblue;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 4rem;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: 1s;

}

.rani-img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 15px #00ffe7; /* ⬅️ Cyan inner glow */
}

.container {
  padding: 90px; 
}

#services {
  color: #fff;
  background: #0A1A26;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 4rem;
}
.sub-title {
  text-align: center;
  color: #fff;
  font-size: 60px;
  padding-bottom: 70px;
  opacity: 0;
  animation: slideTop 0.5s ease forwards;
  animation-delay: calc(0.2s * var(--i));

}

.sub-title span {
  color: #00ffe7;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  grid-auto-rows: auto; /* auto height rows */
  gap: 40px;
  margin-top: 50px;
}

/* First 3 boxes stay in row 1 */
.services-list div:nth-child(1),
.services-list div:nth-child(2),
.services-list div:nth-child(3) {
  grid-row: 1;
}

/* 4th and 5th boxes go to row 2 */
.services-list div:nth-child(4) {
  grid-row: 2;
  grid-column: 2; /* center column */
}

.services-list div:nth-child(5) {
  grid-row: 2;
  grid-column: 3; /* right column */
}

@media (max-width: 768px) {
  .services-list {
    grid-template-columns: 1fr; /* Single column on small screens */
  }
  .services-list div {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}


.services-list div {
  background-color: transparent;
  padding: 40px;
  font-size: 13px;
  border-right: 10px;
  border-radius: 20px;
  transition: background 0.5s, transform 0.5s;
  box-shadow: 1px 1px 20px #012290f7, 1px 1px 40px #0053b8f7;
}

.services-list div i {
  font-size: 50px;
  margin-bottom: 30px;
}

.services-list div h2 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 15px;
}

.services-list div a {
  text-decoration: none;
  color: #000000;
  font-size: 12px;
  margin-top: 20px;
  display: inline-block;
}

.read {
  display: inline-block;
  padding: 12px 28px;
  background: #0ef;
  border-radius: 40px;
  font-size: 16px;
  color: #081b29;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 600;
  opacity: 0;
  animation: slideTop 1s ease forwards;
  animation-delay: 2s;
  box-shadow: 0 0 5px cyan, 0 0 25px cyan;
}

.read:hover {
  box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan, 0 0 200px cyan;
  font-size: 17px;
}

.services-list div:hover {
  transform: translateY(-10px);
}

.section{
  display: flex;
  flex-wrap: wrap;
}

.container1 {
  width: 100%;
  margin: auto;
}

.heading1 {
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 5px;
  margin: 40px 0 30px;
}

.Technical-bars {
  width: 90%;
  max-width: 600px;
  margin: auto;
  padding: 20px;
}

.Technical-bars .bar {
  margin: 50px 0;
}

.bar i {
  font-size: 30px;
  margin-right: 10px;
  vertical-align: middle;
}

.info {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  vertical-align: middle;
}

.progress-line {
  position: relative;
  height: 8px;
  width: 100%;
  background: #0f0e0e;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
}

.progress-line span {
  display: block;
  height: 100%;
  border-radius: 5px;
  position: relative;
  animation: fill 2s ease-in-out forwards;
}

/* Each skill bar with correct final width and color */
.progress-line.html span {
  background: orangered;
  --final-width: 90%;
}

.progress-line.css span {
  background: blue;
  --final-width: 85%;
}

.progress-line.js span {
  background: yellow;
  --final-width: 80%;
}

.progress-line.numpy span {
  background: aqua;
  --final-width: 75%;
}

.progress-line.pandas span {
  background: green;
  --final-width: 70%;
}

.progress-line.python span {
  background: yellowgreen;
  --final-width: 80%;
}


/* Animation for bar fill */
@keyframes fill {
  0% {
    width: 0%;
  }
  100% {
    width: var(--final-width);
  }
}

.radial-bars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px 60px; /* Row gap and column gap */
  justify-content: center;
  align-items: center;
  padding: 20px;
}


.radial-bar {
  position: relative;
  width: 150px;
  height: 150px;
  margin: auto;
}

svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-bar,
.path {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
}

.progress-bar {
  stroke: #2e2e2e;
}

.path {
  stroke: #00ffff;
  stroke-dasharray: 552; /* 2πr = 2 * 3.14 * 88 */
  stroke-dashoffset: 552;
  transition: stroke-dashoffset 1.5s ease-out;
}

.percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 1.2rem;
  font-weight: bold;
}

.text2 {
  text-align: center;
  margin-top: 10px;
  font-size: 1rem;
}


#portfolio {
  padding: 100px 50px;
  color: #fff;
}

.main-text {
  padding-top: 100px;
  margin-bottom: 60px;

}

.main-text h2 {
  font-size: 60px;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 40px;
}

.main-text h2 span {
  color: #0ef;
}

/* Project Content Grid */
.project-content {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Project Card (Row) */
.row {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.row:hover img {
  transform: scale(1.1);
}

.row img {
  width: 100%;
  border-radius: 12px;
  display: block;
  transition: transform 0.5s ease;
}

/* Layer Overlay */
.layer {
  width: 100%;
  height: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 238, 255, 0.8));
  position: absolute;
  border-radius: 12px;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  transition: height 0.5s ease;
}

.row:hover .layer {  
  height: 100%;
}

.layer h5 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.layer p {
  font-size: 15px;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.layer a i {
  font-size: 23px;
  background: #0ef;
  padding: 10px;
  border-radius: 50%;
  color: #000;
  transition: 0.3s;
}

.layer a i:hover {
  background: #fff;
  color: #0ef;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 80px 50px;
  background-color: #0A1A26;
  color: #fff;
  gap: 40px;
}

.contact-text {
  flex: 1 1 400px;
}

.contact-text h2 {
  font-size: 48px;
  margin-bottom: 10px;
}

.contact-text h2 span {
  color: #0ef;
}

.contact-text h4 {
  font-size: 22px;
  margin: 10px 0 20px;
  color: #aaa;
}

.contact-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ccc;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.contact-list li {
  margin-bottom: 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.contact-list i {
  font-size: 20px;
  color: #00ffe7;
  margin-right: 10px;
  transition: color 0.3s, background 0.3s, box-shadow 0.3s, font-size 0.3s;
}

.contact-list i:hover {
  color: #0A1A26;
  background: #00ffe7;
  padding: 5px;
  border-radius: 50%;
  box-shadow: 0 0 20px #00ffe7;
  font-size: 25px;
}

/* Social Icons */
.contact-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #00ffe7;
  border-radius: 50%;
  font-size: 20px;
  color: #00ffe7;
  text-decoration: none;
  transition: 0.5s ease;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: calc(0.2s * var(--i));
  margin: 30px 15px 30px 0;
}

.contact-icons a:hover {
  background: #00ffe7;
  color: #0A1A26;
  box-shadow: 0 0 20px #00ffe7;
  font-size: 24px;
  
}

/* Contact Form */
.contact-form {
  flex: 1 1 400px;
  background: #111;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(8, 167, 179, 0.2);
}

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 28px;
  color: #0ef;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 20px;
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font-size: 16px;
  resize: none;
  outline: none;
}

.contact-form input:hover{
  font-size: 18px;
  box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan;
  transition: font-size 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid #0ef;
  background: #222;
}

.contact-form input:focus,
.contact-form textarea:hover {
  font-size: 18px;
  box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan;
  transition: font-size 0.3s, box-shadow 0.3s;
}

.contact-form button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #0ef;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 5px cyan, 0 0 25

}

.contact-form button:hover {
  background: #0A1A26;
  color: #0ef;
  font-size: 18px;
  box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan;
  transition: font-size 0.3s, box-shadow 0.3s;

}

/* Responsive */
@media (max-width: 900px) {
  .contact {
    flex-direction: column;
    padding: 60px 30px;
  }

  .contact-form {
    margin-top: 30px;
  }
}
