 /* ==================== RESET ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #000; /* dark base */
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==================== HEADER ==================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

header .logo {
  font-size: 1.8rem;
  color: #00bfff;
  font-weight: 600;
  text-decoration: none;
}

/* Navbar */
.navbar ul {
  display: flex;
  gap: 20px;
}

.navbar ul li {
  list-style: none;
}

.navbar ul li a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: #e0e0e0;
  transition: color 0.3s ease;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: #00bfff;
}

/* ==================== HOME SECTION ==================== */
.home {
  position: relative;
  height: 100vh;               /* full screen height */
  display: flex;
  justify-content: center;     /* center text */
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 50px 10%;
  overflow: hidden;            /* keeps video inside */
}

/* Video Background */
#home-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;           /* crops video properly */
  z-index: 0;                  /* behind everything */
}

/* Home Content (above video) */
.home .content {
  position: relative;
  z-index: 1;
}

.home .content h2 {
  font-size: 2.8rem;
  color: #f5f5f5;              /* light text */
  font-weight: 600;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8); /* glow for contrast */
}

.home .content h2 span {
  color: #00bfff;              /* cyan highlight */
}

.home .content p {
  margin: 15px 0 25px;
  font-size: 1.3rem;
  color: #e0e0e0;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.home .btn {
  display: inline-block;
  padding: 12px 24px;
  background: #00bfff;
  color: #111;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.home .btn:hover {
  background: #0099cc;
  color: #fff;
}

/* ==================== SOCIAL ICONS ==================== */
.socials {
  margin-top: 25px;
}

.social-icons {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  justify-content: center;
}

.social-icons li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #00bfff;
  font-size: 1.2rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1; /* above video */
}

.social-icons li a:hover {
  background: #00bfff;
  color: #fff;
  transform: translateY(-3px);
}

/* ==================== ABOUT ==================== */
.about {
  position: relative;
  padding: 80px 10%;
  background: #f9f9f9;
  overflow: hidden;
}

#about-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.about .heading,
.about .row {
  position: relative;
  z-index: 1;
}

.about .heading {
  font-size: 3rem;
  margin-bottom: 40px;
  color: #1b1b1b; /* Dark color for "About" */
  font-weight: 700;
}

.about .heading span {
  color: #2506ad; /* Accent color for "Me" */
}

.about .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about .row .image {
  flex: 1 1 40%;
  text-align: center;
}

.about .row .image img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about .row .image img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.about .row .content {
  flex: 1 1 55%;
  padding: 10px 20px;
}

.about .row .content h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #111;
}

.about .tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  background: #0093af;
  color: #fff;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.about p {
  margin-bottom: 25px;
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
}

.resumebtn {
  margin-top: 20px;
}

.resumebtn .btn {
  padding: 12px 25px;
  background: #2506ad;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.resumebtn .btn:hover {
  background: #1a0485;
  transform: translateY(-2px);
}

/* ==================== ABOUT MEDIA QUERIES ==================== */
@media screen and (max-width: 900px) {
  .about .row {
    flex-direction: column;
    text-align: center;
  }
  
  .about .row .content {
    padding: 0;
  }
  
  .about .row .image img {
    max-width: 250px;
  }
}

@media screen and (max-width: 600px) {
  .about {
    padding: 50px 5%;
  }

  .about .heading {
    font-size: 2.2rem;
  }

  .about .row .image img {
    max-width: 200px;
  }

  .about .row .content h3 {
    font-size: 1.5rem;
  }

  .resumebtn .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}


/* skills section starts */
/* Skills Section */
#skills {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
}

/* Heading */
#skills .heading {
    font-size: 2.5rem;
    color: #4C1130; /* Make heading visible on white background */
    margin-bottom: 30px;
}

#skills .heading span {
    color: #ff69b4; /* Optional accent for span */
}

/* Skill Buttons */
.skill-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.skill-button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: linear-gradient(45deg, #6a5acd, #ff69b4);
    color: white;
    font-size: 16px;
    transition: 0.3s;
}

.skill-button.active {
    background: #290947;
}

.skill-button:hover {
    background: #8b5e3c;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 items per row */
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

/* Individual Skill Card */
.skill-card {
    background-color: rgba(41, 9, 71, 0.9); /* Light Mode */
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
    width: 100px;
    height: 100px; /* Square Shape */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.skill-card img {
    width: 40px;
    height: 40px;
}

.skill-card p {
    color: white;
    font-size: 14px;
    margin-top: 5px;
}

/* Dark Mode */
.dark-theme .skill-card {
    background-color: rgba(139, 94, 60, 0.9); /* Dark Mode */
}

/* Responsive */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 per row for tablets */
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row for mobiles */
    }
}


/* skills media queries starts*/
@media screen and (max-width: 600px) {
  .skills .container {
    padding: 0;
    margin: 0;
  }
  .skills .container .row {
    grid-template-columns: repeat(2, 1fr);
    margin: 1rem;
    padding: 2rem 0.2rem 2rem 0.2rem;
    gap: 1rem;
  }
  .skills .container {
    margin-top: 5px;
    width: 100%;
  }
}
/* skills media queries ends*/
/* skills section ends */

/* ==================== EDUCATION ==================== */
.education {
  background: #e5ecfb;
  min-height: 200px;
}

.education .heading {
  text-align: center;
  font-size: 2rem;
  color: #012970;
  font-family: "Nunito", sans-serif;
  margin-bottom: 1rem;
}

.education .heading span {
  color: #0056d2; /* highlight word */
}

.education .qoute {
  font-size: 1.3rem;
  text-align: center;
  font-family: "Nunito", sans-serif; 
  font-weight: 600;
  color: #6c757d; /* softer gray */
  margin-top: 0.5rem;
}

.education .box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.education .box-container .box {
  display: flex;
  flex-direction: row;
  width: 80%;
  border-radius: 0.5rem;
  box-shadow: 0.2rem 0.5rem 1rem rgba(0, 0, 0, 0.15);
  text-align: center;
  position: relative;
  margin-top: 1.5rem;
  overflow: hidden;
  transition: 0.3s;
  background: rgb(252, 252, 252);
  min-height: 120px;
}

.education .box-container .box:hover {
  transform: scale(1.02);
  box-shadow: 1rem 0.5rem 1.2rem rgba(0, 0, 0, 0.25);
}

.education .box-container .box {
  align-items: stretch; /* ✅ Makes image + content same height */
}

.education .box-container .box .image {
  flex: 1 1 20rem; 
  width: 100%;
  height: 200px;;
  overflow: hidden; /* ✅ Ensures no stretching */
}

.education .box-container .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.education .box-container .box .content {
  flex: 1 1 70rem;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  flex-wrap: wrap;
  position: relative;
}

.education .box-container .box .content h3 {
  font-size: 1.4rem;
  color: #012970;
  font-weight: 600;
  margin-left: 1rem;
  margin-top: 0.5rem;
  text-align: left;
}

.education .box-container .box .content p {
  font-size: 1.2rem;
  margin-left: 1rem;
  color: #495057;
  text-align: left;
}

.education h4 {
  font-size:       1.5rem;
  color: rgb(34, 109, 0);
  text-align: left;
  margin: 1rem;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
}

/* ==================== EDUCATION MEDIA QUERIES ==================== */
@media screen and (max-width: 600px) {
  .education .box-container .box {
    flex-direction: column;
    width: 100%;
  }
  .education .box-container .box .image {
    width: 100%;
    height: 25rem;
  }
  .education .box-container .box img {
    width: 100%;
  }
  .education .box-container .box .content {
    flex: 0;
    padding: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }
  .education .btns {
    margin: 2rem 1rem 0 1rem;
    flex-wrap: wrap;
  }
}


/* work section starts */
.work {
  /* background: #010124; */
  background: linear-gradient(to bottom, #000031, #00002c);
}
.work h2 {
  color: #33C2FE;
  padding: 1rem;
}
.work .heading span {
  color: #9CF9FF;
}
.work .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem;
}
.work .box-container .box {
  flex: 1 1 22rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  height: 22rem;
}
.work .box-container .box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.work .box-container .box .content {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 85%;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
}
.work .box-container .box .content .tag {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
  width: 100%;
  padding-left: 1rem;
  background: #ffd900;
}
.work .box-container .box .content .tag h3 {
  font-size: 1.4rem;
  font-weight: 600;
}
.work .box-container .box:hover .content {
  top: 25%;
}
.work .desc {
  margin: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.work .desc p {
  font-size: 1.2rem;   /* was 1.5rem */
  color: #222;         /* dark text for readability */
  line-height: 1.6;
}
.work .desc .btns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 2rem;
}
.work .desc .btns .btn {
  line-height: 0;
  display: inline;
  padding: 0.8rem 1.5rem;
  border-radius: 0.3rem;
  font-size: 1rem;
  color: #fff;
  background: rgb(12, 12, 12);
  margin-right: 2rem;
}
.work .desc .btns .btn:hover {
  background: #310ae0f5;
}
.work .viewall {
  display: flex;
  justify-content: center;
}
.work .viewall .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: rgb(255, 255, 255);
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0px 5px 10px rgba(65, 84, 241, 0.4);
  text-align: center;
}
.work .viewall .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}
.work .viewall .btn i {
  margin-left: 0.3rem;
  font-size: 1.3rem;
  transition: 0.3s;
}
.work .viewall .btn:hover {
  background: #fff;
  color: #000;
}
.work .viewall .btn:hover i {
  transform: translateX(5px);
}
/* work section ends */

/* experience section starts */
.experience .timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.experience .timeline::after { /*vertical line */
  content: "";
  position: absolute;
  width: 6px;
  background: #F4ECF7;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -2;
}

.experience {
  background: #1F1F1F; /* or any dark/gradient color you want */
  padding: 80px 0; /* optional spacing */
}

.experience .container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
/*circles on timeline*/
.experience .container::after {
  content: "\f0b1";
  position: absolute;
  width: 40px;
  height: 40px;
  right: -17px;
  background-color: rgb(255, 255, 255);
  border: 4px solid #ff9f55;
  top: 15px;
  border-radius: 50%;
  z-index: 100;
  font-size: 1.5rem;
  text-align: center;
  font-weight: 600;
  color: #02094b;
  font-family: "Font Awesome\ 5 Free";
}
.experience .left {
  left: 0;
}
.experience .right {
  left: 50%;
}
/* arrows pointing right */
.experience .left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid #f68c09;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #f68c09;
}
/* arrows pointing left  */
.experience .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #f68c09;
  border-width: 10px 10px 10px 0;
  border-color: transparent #f68c09 transparent transparent;
}
.experience .right::after {
  left: -16px;
}
.experience .content {
  background-color: #f68c09;
  position: relative;
  border-radius: 6px;
}
.experience .content .tag {
  font-size: 1.3rem;
  padding-top: 1.5rem;
  padding-left: 1.5rem;
}
.experience .content .desc {
  margin-left: 1.5rem;
  padding-bottom: 1rem;
}
.experience .content .desc h3 {
  font-size: 1.5rem;
  font-weight: 600;
}
.experience .content .desc p {
  font-size: 1.2rem;
}
/* view all button */
.morebtn {
  display: flex;
  justify-content: center;
}
.morebtn .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  text-align: center;
}
.morebtn .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}
.morebtn .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.morebtn .btn:hover {
  background: #1a047e;
}
.morebtn .btn:hover i {
  transform: translateX(5px);
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  .experience {
    min-height: 80vh;
  }
  .experience .timeline {
    margin-top: 2rem;
  }
  .experience .timeline::after {
    left: 31px;
  }
  .experience .container {
    width: 100%;
    padding-left: 8rem;
    padding-right: 2rem;
  }
  .experience .container::after {
    font-size: 2.2rem;
  }
  .experience .container::before {
    left: 61px;
    border: medium solid #f68c09;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f68c09 transparent transparent;
  }
  .experience .left::after {
    left: 15px;
  }
  .experience .right::after {
    left: 15px;
  }
  .experience .right {
    left: 0%;
  }
  .morebtn {
    margin-top: 3rem;
  }
}
/* experience media queries ends */
/* experience section ends */

/* more about section ends */
.more-about {
  padding: 80px 0;
  text-align: center;
  background-color: #f5f5f5; /* light background to differentiate */
}

.more-about .heading {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.more-about p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #555;
}

.buttons-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.more-btn {
  padding: 15px 30px;
  font-size: 1rem;
  color: #fff;
  background-color: #000080;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.more-btn:hover {
  background-color: #1a1aff;
  transform: translateY(-3px);
}
/* more about section ends */

/* footer section starts */
.footer {
  min-height: auto;
  padding-top: 0;
  background: rgb(0, 1, 43);
}
.footer .box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.footer .box-container .box {
  flex: 1 1 25rem;
  margin: 2.5rem;
}
.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: #fff;
  padding-bottom: 1rem;
  font-weight: normal;
}
.footer .box-container .box p {
  font-size: 1.5rem;
  color: #ccc;
  padding: 0.7rem 0;
  text-transform: none;
}
.footer .box-container .box p i {
  padding-right: 1rem;
  color: #ffae00;
}
.footer .box-container .box a {
  font-size: 1.5rem;
  color: rgb(238, 238, 238);
  padding: 0.3rem 0;
  display: block;
}
.footer .box-container .box a:hover {
  color: #ffae00;
}
.footer .box-container .box .share {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.footer .box-container .box .share a {
  height: 4rem;
  width: 4rem;
  padding: 1rem;
  text-align: center;
  border-radius: 5rem;
  font-size: 1.7rem;
  margin-right: 1rem;
  transition: 0.2s;
  background: rgb(230, 230, 230);
  color: #02094b;
  border: none;
}
.footer .box-container .box .share a:hover {
  background: transparent;
  transform: scale(0.98);
  border: 0.1rem solid rgb(180, 178, 178);
  color: #ffae00;
}
.footer .credit {
  padding: 1rem 0 0 0;
  text-align: center;
  font-size: 1.5rem;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  color: #fff;
  border-top: 0.1rem solid #fff3;
}
.footer .credit a {
  color: #ffae00;
}
.footer .fa {
  color: #e90606;
  margin: 0 0.3rem;
  font-size: 1.5rem;
  animation: pound 0.35s infinite alternate;
}
@-webkit-keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@media (max-width: 450px) {
  .footer .box-container .box {
    margin: 1.5rem;
  }
  .footer .box-container .box p {
    padding: 0.7rem;
  }
  .footer .box-container .box .share a {
    padding: 1.2rem;
  }
}
/* footer section ends */

/* common media queries starts*/
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  body {
    padding-right: 0;
  }
  section {
    padding: 2rem;
  }
}
/* common media queries ends*/

/* scroll top starts */
#scroll-top {
  position: fixed;
  top: -140%;
  right: 2rem;
  padding: 1rem 1.5rem;
  font-size: 2rem;
  background: #ffae00;
  color: rgb(13, 0, 44);
  border-radius: 50%;
  transition: 1s linear;
  z-index: 1000;
}
#scroll-top.active {
  top: calc(100% - 12rem);
}
/* scroll top ends */
