* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: #ededed;
  background: #081b29;
}

/* ================= HEADER ================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  background: #051129;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 25px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  cursor: default;
  opacity: 0;
  animation: slideRight 1s ease forwards;
}

.navbar a {
  display: inline-block;
  font-size: 25px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 35px;
  transition: 0.3s;
  opacity: 0;
  animation: slideTop 1s ease forwards;
  animation-delay: calc(0.2s * var(--i));
}

.navbar a:hover {
  color: #0ef;
}

/* ================= HOME ================= */

.Home {
  width: 100%;
  height: 100vh;
  background: url(/images/owner03.png) no-repeat center / cover;
  display: flex;
  align-items: center;
  padding: 70px 10% 0;
}

.Home-content {
  max-width: 600px;
}

.Home-content h3 {
  font-size: 32px;
  font-weight: 700;
  opacity: 0;
  animation: slideBottom 1s ease forwards;
  animation-delay: 0.7s;
}

.Home-content h3:nth-of-type(2) {
  margin-bottom: 30px;
  animation: slideTop 1s ease forwards;
  animation-delay: 0.7s;
}

.Home-content h3 span {
  color: #0ef;
}

.Home-content h1 {
  font-size: 56px;
  font-weight: 700;
  margin: -3px 0;
  opacity: 0;
  animation: slideRight 1s ease forwards;
  animation-delay: 1s;
}

.Home-content p {
  font-size: 20px;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: 1s;
}

/* ================= SOCIAL ICONS ================= */

.home-sci a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid #0ef;
  border-radius: 50%;
  font-size: 20px;
  color: #0ef;
  text-decoration: none;
  transition: 0.3s 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: #0ef;
  color: #081b29;
  box-shadow: 0 0 15px #0ef;
}

/* ================= BUTTON ================= */

.btn-box {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 40px;
  background: #0ef;
  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 #0ef, 0 0 25px #0ef;
}

.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;
}

/* ================= ABOUT ================= */

.about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 1.5rem;
}

.about-img img {
  padding-bottom: 20%;
  max-width: 630px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.about-text h2 {
  font-size: 60px;
}

.about-text h2 span {
  color: #0ef;
}

.about-text h4 {
  font-size: 29px;
  font-weight: 600;
  color: #fff;
  line-height: 1.7;
  margin: 15px 0 30px;
}

.about-text p {
  color: aliceblue;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 4rem;
}

/* ================= SERVICES ================= */

#services {
  color: aliceblue;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 4rem;
}

.sub-title {
  text-align: center;
  font-size: 60px;
  padding-bottom: 70px;
}

.sub-title span {
  color: #0ef;
}

.container {
  padding: 90px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.services-list div {
  padding: 40px;
  font-size: 13px;
  font-weight: 400;
  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;
  margin-bottom: 15px;
  font-weight: 500;
}

.services-list div a {
  text-decoration: none;
  color: #ededed;
  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 #0ef, 0 0 25px #0ef;
}

.read:hover {
  box-shadow:
    0 0 5px cyan,
    0 0 25px cyan,
    0 0 50px cyan,
    0 0 100px cyan,
    0 0 200px cyan;
}

.services-list div:hover {
  transform: translateY(-10px);
}

/* ================= SKILLS ================= */

/* ================= SKILLS SECTION ================= */

#skills {
  width: 100%;
  padding: 100px 10%;
  display: grid;
  place-items: center;
}

#skills > div {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* Skill buttons */
#skills .btn-box {
  text-align: center;
  padding: 18px 30px;
  font-size: 18px;
  border-radius: 50px;
  transition: transform 0.3s ease;
}

#skills .btn-box:hover {
  transform: translateY(-8px);
}



.container1{
  width: 600px;
  height: 500px;
  padding: 75px 90px;
  margin-left: 120px;
}

.heading1{
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 10px;
  margin-bottom: 50px;
}

.bar{
  font-size: 23px;
}

.technical-bars .bar{
  margin: 30px 0;
}

/* ❌ FIXED: invalid margin syntax */
.technical-bars .bar{
  margin: 40px 0;
}

.technical-bars .bar:first-child{
  margin-top: 0;
}

.technical-bars .bar:last-child{
  margin-bottom: 0;
}

.technical-bars .bar .info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.technical-bars .bar .info span{
  font-size: 17px;
  font-weight: 500;
  color: #ffffff;
  animation: showtext 0.5s linear forwards;
  opacity: 0;
}

/* ❌ FIXED: invisible background + invalid cubic-bezier */
.technical-bars .bar .progress-line{
  position: relative;
  border-radius: 10px;
  width: 100%;
  height: 5px;

  /* ✅ FIX 1: make bar visible */
  background: #555;

  /* ✅ FIX 2: valid animation */
  animation: animate 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;

  transform: scaleX(0);
  transform-origin: left;
}
/* certicates css is here  ------------------- */
/* =========================
   GENERAL
========================= */

body {
    margin: 0;
    background: #0f172a;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
}

.container1 {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    display: block;
}

.heading1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

/* =========================
   CERTIFICATES
========================= */
#certificates {
  display: block; /* override global section flex */
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  width: 100%;
  justify-items: center;
}

.certificate-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #0ef;
}


.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 128, 128, 0.45);
}

.certificate-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #007580;
}

.certificate-title {
    margin: 14px 0 6px;
    font-size: 18px;
    font-weight: 600;
}

.certificate-issuer {
    font-size: 14px;
    color: #cbd5e1;
}

/* =========================
   MODAL
========================= */

.certificate-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.certificate-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    border: 3px solid #007580;
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: #ffffff;
    cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 600px) {
    .heading1 {
        font-size: 28px;
    }

    .certificate-card {
        width: 90%;
    }

    .certificate-card img {
        height: 160px;
    }
}



@keyframes animate{
  100%{
    transform: scaleX(1);
  }
}

.technical-bars .bar .progress-line span{
  height: 100%;
  background-color: #0ef;
  position: absolute;
  border-radius: 10px;

  /* ✅ FIX 3: same valid animation */
  animation: animate 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  transform-origin: left;
}

/* Skill percentage */
.progress-line.html span{
  width: 90%;
}
.progress-line.css span{
  width: 80%;
}
.progress-line.javascript span{
  width: 65%;
}
.progress-line.node span{
  width: 70%;
}
.progress-line.express span{
  width: 75%;
}
.progress-line.mysql span{
  width: 60%;
}
.progress-line.mongodb span{
  width: 50%;
}
.progress-line.react span{
  width: 70%;
}
.progress-line.git span{
  width: 50%;
}
.progress-line.github span{
  width: 60%;
}
.progress-line.cpp span{
  width: 85%;
}
.progress-line.python span{
  width: 60%;
}
.progress-line.java span{
  width: 60%;
}
.progress-line.dsa span{
  width: 75%;
}
.progress-line.ai-ml span{
  width: 50%;
}
/* ===== Percentage text ===== */

.progress-line.html span::after{
  content: "90%";
}

.progress-line.css span::after{
  content: "80%";
}

.progress-line.javascript span::after{
  content: "85%";
}

.progress-line.python span::after{
  content: "90%";
}

.progress-line.react span::after{
  content: "90%";
}

.progress-line.node span::after{
  content: "75%";
}

.progress-line.mongodb span::after{
  content: "80%";
}

.progress-line.mysql span::after{
  content: "75%";
}

.progress-line.java span::after{
  content: "70%";
}

.progress-line.cpp span::after{
  content: "70%";
}

.progress-line.git span::after{
  content: "85%";
}

.progress-line.github span::after{
  content: "85%";
}

.progress-line.dsa span::after{
  content: "65%";
}

.progress-line.ai-ml span::after{
  content: "60%";
}

/* ===== Arrow + animation ===== */

.progress-line span::before{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-top-color: #0ef;
  top: -10px;
  right: 0;
  opacity: 0;
  animation: showText 0.5s 1.5s linear forwards;
}

.progress-line span::after{
  position: absolute;
  top: -28px;
  right: 0;
  background: #000;
  color: #fff;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 3px;
  opacity: 0;
  animation: showText 0.5s 1.5s linear forwards;
}

.radial-bars{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-start;
}

.radial-bars .radial-bar{
  width: 50%;
  height: 170px;
  margin-bottom: 10px;
  position: relative;
}

.radial-bars .radial-bar svg{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  width: 120px;
  height: 160px;
}
.radial-bars .radial-bar .progress-bar{
  stroke-width: 10;
  stop-color: black;
  stroke-dasharray: 502;
  stroke-dashoffset: 502;
  stroke-linecap: round;
  animation: animate-bar 1s linear forwards;
}
@keyframes animate-bar{
  100%{
    stroke-dashoffset: -1;
  }
}
.path{
  stroke-width: 10;
  stroke: #0ef;
  fill: transparent;
  stroke-dasharray: 502;
}
.path-1{animation: animate-path1 1s 1s linear forwards}
.path-2{animation: animate-path2 1s 1s linear forwards}
.path-3{animation: animate-path3 1s 1s linear forwards}
.path-4{animation: animate-path4 1s 1s linear forwards}


/* ================= CONTACT ================= */

.contact {
  width: 100%;
  padding: 120px 10%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  align-items: center;
}

.contact-icons h2 {
  font-size: 50px;
  margin-bottom: 10px;
}

.contact-icons h2 span {
  color: #0ef;
}

.contact-icons h4 {
  font-size: 22px;
  margin-bottom: 20px;
}

.contact-icons p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-list li {
  list-style: none;
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-list i {
  color: #0ef;
  margin-right: 10px;
}

.contact-icon a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background: transparent;
  border: 2px solid #0ef;
  border-radius: 50%;
  color: #0ef;
  font-size: 22px;
  margin-right: 15px;
  transition: 0.3s;
}

.contact-icon a:hover {
  background: #0ef;
  color: #081b29;
  box-shadow: 0 0 15px #0ef;
}

/* ================= CONTACT FORM ================= */

.contact-form form {
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  border: none;
  outline: none;
  border-radius: 8px;
  background: #051129;
  color: #fff;
  font-size: 16px;
}

.contact-form textarea {
  resize: none;
}

.contact-form .send {
  width: fit-content;
  padding: 12px 30px;
  background: #0ef;
  border-radius: 40px;
  font-size: 16px;
  color: #081b29;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.contact-form .send:hover {
  box-shadow: 0 0 25px cyan;
}




/* ===== Animation ===== */
@keyframes animate-path1{
  100%{
    stroke-dashoffset: 50;
  }
}
@keyframes animate-path2{
  100%{
    stroke-dashoffset: 175;
  }
}
@keyframes animate-path3{
  100%{
    stroke-dashoffset: 125;
  }
}
@keyframes animate-path4{
  100%{
    stroke-dashoffset: 75;
  }
}

@keyframes showText{
  100%{
    opacity: 1;
  }
}
.radial-bar .percentage{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 17px;
  font-weight: 500;
  animation: showText 0.5s linear forwards;
  opacity: 0;
}
.radial-bar .text{
  width: 100%;
  position: absolute;
  text-align: center;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50px);
  font-size: 17px;
  font-weight: 500;
  animation: showtext 0.5s linear forwards;
  opacity: 0;
}
.main-text{
  padding-top:  130px;
  margin-top: 200px;
}
.main-text h2{
  font-size: 60px;
  line-height: 1;
  text-align: center;
}
.main-text h2 span{
  color: #0ef;
}
/* ================= PROJECTS / PORTFOLIO ================= */

.portfolio-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  padding: 0 10%;
}

.row {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 238, 255, 0.15);
}

.row img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 15px;
  display: block;
  transition: transform 0.5s ease;
}

/* Hover overlay */
.layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.2), #0ef);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 25px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.layer h5 {
  font-size: 22px;
  color: #000;
  margin-bottom: 10px;
}

.layer p {
  font-size: 15px;
  line-height: 1.6;
  color: #000;
}

.layer a {
  margin-top: 15px;
  width: 55px;
  height: 55px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0ef;
  font-size: 22px;
}

/* Hover effects */
.row:hover img {
  transform: scale(1.1);
}

.row:hover .layer {
  opacity: 1;
}

/* ===============================
   COMPANIES SECTION
================================ */

.companies {
  padding: 80px 0;
  background: #0f172a;
  text-align: center;
  overflow: hidden;
}

.company-slider {
  width: 100%;
  overflow: hidden;
}

.company-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollCompanies 25s linear infinite;
}

/* Card */
.company-card {
  width: 220px;
  height: 170px;
  background: #020617;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Logo */
.company-card img {
  max-width: 140px;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: grayscale(100%);
}

/* Company Name */
.company-card span {
  font-size: 14px;
  color: #cbd5f5;
  font-weight: 500;
  text-align: center;
}

/* Hover Effect */
.company-card:hover img {
  filter: grayscale(0%);
}

.company-card:hover {
  transform: translateY(-6px);
  transition: 0.3s ease;
}

/* Animation */
@keyframes scrollCompanies {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.contact{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 3rem;
  padding-left: 30px;
  margin-top: 130px;
}
.contact-text h2{
    font-size: 90px;
    line-height: 1;
    text-align: center;

}
.contact-text h2 span{
  color: #0ef;
}




/* ===============================
   FOOTER
================================ */

.footer {
  background: #020617;
  color: #cbd5f5;
  padding: 60px 10% 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

/* Footer Box */
.footer-box h3,
.footer-box h4 {
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-box p {
  font-size: 14px;
  line-height: 1.7;
}

/* Links */
.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-box ul li a:hover {
  color: #0ef;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #081b29;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0ef;
  font-size: 20px;
  transition: 0.3s ease;
}

.footer-social a:hover {
  background: #0ef;
  color: #020617;
  transform: translateY(-4px);
}

/* Bottom */
.footer-bottom {
  margin-top: 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  font-size: 13px;
}




/* ================= ANIMATIONS ================= */

@keyframes slideRight {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideTop {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideBottom {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideLeft {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}