/* Google Font CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #6e93f7;
    border-radius: 12px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #4070f4;
}
/* navbar styling */
nav{
  position: fixed;
  width: 100%;
  padding: 20px 0;
  z-index: 998;
  transition: all 0.3s ease;
  font-family: 'Ubuntu', sans-serif;
}
nav.sticky{
  background: #4070f4;
  padding: 13px 0;
}
nav .navbar{
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
nav .navbar .logo a{
  font-weight: 500;
  font-size: 35px;
  color: #4070f4;
}
nav.sticky .navbar .logo a{
  color: #fff;
}
nav .navbar .menu{
  display: flex;
  position: relative;
}
nav .navbar .menu li{
  list-style: none;
  margin: 0 8px;
}
.navbar .menu a{
  font-size: 18px;
  font-weight: 500;
  color: #0E2431;
  padding: 6px 0;
  transition: all 0.4s ease;
}
.navbar .menu a:hover{
  color: #4070f4;
}
nav.sticky .menu a{
  color: #FFF;
}
nav.sticky .menu a:hover{
  color: #0E2431;
}
.navbar .media-icons a{
  color: #4070f4;
  font-size: 18px;
  margin: 0 6px;
}
nav.sticky .media-icons a{
  color: #FFF;
}

/* Side Navigation Menu Button CSS */
nav .menu-btn,
.navbar .menu .cancel-btn{
  position: absolute;
  color: #fff;
  right: 30px;
  top: 20px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}
nav .menu-btn{
  color: #4070f4;
}
nav.sticky .menu-btn{
  color: #FFF;
}
.navbar .menu .menu-btn{
  color: #fff;
}

/* home section styling */
.home{
  height: 100vh;
  width: 100%;
  background: url("images/pk.jpg") no-repeat;
  background-size: ;
  background-position: right;
  background-attachment: fixed;
  font-family: 'Ubuntu', sans-serif;
}
.home .home-content{
  width: 90%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home .text-one{
  font-size: 25px;
  color: #0E2431;
}
.home .text-two{
  color: #0E2431;
  font-size: 65px;
  font-weight: 600;
  margin-left: -3px;
}
.home .text-three{
  font-size: 30px;
  margin: 5px 0;
  color: #c94c4c;
  font-weight: 400;
}
.home .text-four{
  font-size: 23px;
  margin: 5px 0;
  color: #0E2431;
}
/* Modern Premium Button */
.home .button {
  margin: 20px 0;
}

.home .button button {
  padding: 14px 34px;
  font-size: 22px;
  font-weight: 500;
  border: none;
  border-radius: 12px;

  background: linear-gradient(135deg, #a18cd1, #fbc2eb); /* soft pastel purple-pink */
  color: #fff;

  cursor: pointer;
  box-shadow: 0px 6px 18px rgba(161, 140, 209, 0.35);
  transition: all 0.3s ease;
  outline: none;
  position: relative;
  overflow: hidden;
}

/* Hover effect (smooth lift + darker glow) */
.home .button button:hover {
  transform: translateY(-4px);
  box-shadow: 0px 10px 25px rgba(161, 140, 209, 0.45);
}

/* Ripple effect */
.home .button button:active {
  transform: scale(0.97);
}

/* Optional ripple animation */
.home .button button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.home .button button:active::after {
  width: 180px;
  height: 180px;
}


/* About Section Styling */
/* Those Elements Where We Have Apply Same CSS,
 I'm Selecting Directly 'Section Tag' and 'Class'  */
section{
  padding-top: 40px;
}
section .content{
  width: 80%;
  margin: 40px auto;
  font-family: 'Poppins', sans-serif;
}
.about .about-details{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
section .title{
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
section .title span{
  color: #0E2431;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}
section .title span::before,
section .title span::after{
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background: #4070f4;
  left: 0;
  bottom: 0;
}
section .title span::after{
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}
.about .about-details .left{
  width: 45%;
}
.about{
  background-color: #FDE2E2;
}
.about .left img{
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: 12px;
}
.about-details .right{
  width: 55%;
}
section  .topic{
  color: #0E2431;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}
.about-details .right p{
  text-align: justify;
  color: #0E2431;
}
/* Modern Section Button (Premium Pastel Style) */
section .button {
  margin: 22px 0;
}

section .button button {
  padding: 12px 30px;
  font-size: 20px;
  font-weight: 500;
  border-radius: 10px;

  background: linear-gradient(135deg, #b9c6ff, #e7ceff); /* cool pastel lilac + lavender */
  color: #fff;

  border: none;
  cursor: pointer;

  box-shadow: 0px 4px 15px rgba(145, 115, 255, 0.25);
  transition: all 0.3s ease;
  outline: none;
  position: relative;
  overflow: hidden;
}

/* Button hover (soft lift + shadow glow) */
section .button button:hover {
  transform: translateY(-3px);
  box-shadow: 0px 8px 22px rgba(145, 115, 255, 0.35);
}

/* Ripple effect */
section .button button:active {
  transform: scale(0.97);
}

section .button button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

section .button button:active::after {
  width: 180px;
  height: 180px;
}


/* My Skills CSS */
/* SECTION BACKGROUND */
.skills {
  background: #eafaf3;
  padding: 40px 0;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
}

/* MAIN TITLE */
.title span {
  font-size: 24px;
  font-weight: bold;
  color: #50394c;
  display: block;
  text-align: center;
  margin-bottom: 25px;
}

/* LAYOUT STRUCTURE */
.skills-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/* ---------------------------------- */
/* LEFT SECTION – EXPERIENCE */
/* ---------------------------------- */

.text {
  width: 65%; /* Increased space for experience */
}

.text .topic h3 {
  font-size: 22px;
  color: #50394c;
  margin-bottom: 10px;
}

/* EXPERIENCE ENTRY */
.experience {
  display: flex;
  align-items: center;
  margin: 15px 0;
}

.company-logo {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  object-fit: contain;
  margin-right: 12px;
}

.exp-title {
  font-size: 16px;
  font-weight: 600;
  color: #c1502e;
}

.company-name {
  font-size: 14px;
  color: #50394c;
}

.text p {
  font-size: 14px;
  color: #0E2431;
  margin: 10px 0 25px 28px;
  line-height: 1.45;
}

/* ---------------------------------- */
/* RIGHT SECTION – SKILLS */
/* ---------------------------------- */

.skills-section {
  width: 30%;        /* reduced width */
  padding-left: 20px; /* shift skills to the right */
}

.skills-section .topic h3 {
  font-size: 22px;
  color: #50394c;
  text-align: center;
  margin-bottom: 15px;
}

/* SKILL BOXES – single column */
.skills-section .boxes {
  display: flex;
  flex-direction: column; /* One box per row */
  gap: 12px;
}

/* SKILL BOX */
.skills-section .box {
  width: 100%; /* Full width row */
  background: #ffffff;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left;
  font-size: 14px;
  color: #50394c;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0,0,0,0.12);
  transition: 0.2s ease;
}

/* Hover effect */
.skills-section .box:hover {
  background: #f2fff8;
  transform: translateY(-2px);
}




/* Projects Section */
.services {
  background-color: #F5EAF8; 
  padding: 60px 0;
}

.services .boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.services .boxes .box {
  margin: 20px 10px;
  width: 30%;
  text-align: center;
  border-radius: 12px;
  padding: 25px 15px;
  background: linear-gradient(135deg, #f9e8ff, #e8daef); 
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s ease;
}

/* Different gradients for variety */
.services .boxes .box:nth-child(1) {
  background: linear-gradient(135deg, #ffd9d9, #e8daef); 
}

.services .boxes .box:nth-child(2) {
  background: linear-gradient(135deg, #d6f0ff, #e8daef);
}
.services .boxes .box:nth-child(3) {
  background: linear-gradient(135deg, #fff2d6, #e8daef);
}

/* Hover effects */
.services .boxes .box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

/* Icon styling */
.services .boxes .box .icon {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: #fff;
  margin: 0 auto 10px auto;
  background: linear-gradient(135deg, #9b59b6, #8e44ad); 
  transition: all 0.4s ease;
}

.boxes .box:hover .icon {
  background-color: #fff;
  color: #8e44ad;
}

/* Links */
.services .boxes .box a {
  color: #8e44ad;
  font-weight: 500;
  display: inline-block;
  margin-top: 10px;
}
.services .boxes .box:hover a {
  color: #fff;
}

/* Certifications Section 
.certifications{
  background-color: #fef3e6;
  padding: 40px 0;
}
.certifications .cert-boxes{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.certifications .cert-boxes img{
  width: 150px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.certifications .cert-boxes img:hover{
  transform: scale(1.05);
}     */


/* Certifications Section */
.certifications {
  background-color: #fef3e6; /* light pastel pink */
  padding: 60px 0;
}

.cert-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.cert-item {
  text-align: center;
}

.cert-item img {
  width: 190px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.cert-item img:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}

.cert-item p {
  margin-top: 8px;
  font-size: 15px;
  color: #4a4a4a;
}


/* LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 5000;
}

.lightbox img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(255,255,255,0.2);
  animation: lightboxFade 0.25s ease;
}

/* Smooth fade-in animation */
@keyframes lightboxFade {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}




/* Contact Me CSS */
.contact{
  background: #F0F8FF;
}
.contact .content{
  margin: 0 auto;
  padding: 30px 0;
}
.contact .text{
  width: 80%;
  text-align: center;
  margin: auto;
}

footer {
  background: #4070f4;
  padding: 15px 0;
  font-family: 'Poppins', sans-serif;
  display: flex;            /* use flex */
  justify-content: center;  /* horizontally center content */
  align-items: center;      /* vertically center content if needed */
  text-align: center;       /* fallback */
}

footer .text {
  display: inline-block;    /* ensures width fits content */
}

footer .text span {
  font-size: 17px;
  font-weight: 400;
  color: #fff;
}

footer .text span a {
  font-weight: 500;
  color: #fff;
}

footer .text span a:hover {
  text-decoration: underline;
}
/* Scroll TO Top Button CSS */
.scroll-button a{
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #fff;
  background: #4070f4;
  padding: 7px 12px;;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.15);
  display: none;
}

/* Responsive Media Query */
@media (max-width: 1190px) {
  section .content{
    width: 85%;
  }
}
@media (max-width: 1000px) {
  .about .about-details{
    justify-content: center;
    flex-direction: column;
  }
  .about .about-details .left{
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .about-details .right{
    width: 90%;
    margin: 40px 0;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
  }
}
@media (max-width: 900px) {
  .about .left img{
    height: 350px;
    width: 350px;
  }
}

@media (max-width: 750px) {
  nav .navbar{
    width: 90%;
  }
  nav .navbar .menu{
    position: fixed;
    left: -100%;
    top: 0;
    background: #0E2431;
    height: 100vh;
    max-width: 400px;
    width: 100%;
    padding-top: 60px;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
  }
  .navbar.active .menu{
    left: 0;
  }
  nav .navbar .menu a{
    font-size: 23px;
    display: block;
    color: #fff;
    margin: 10px 0;
  }
  nav.sticky .menu a:hover{
    color: #eca1a6;
  }
  nav .navbar .media-icons{
    display: none;
  }
  nav .menu-btn,
  .navbar .menu .cancel-btn{
    display: block;
  }
  .home .text-two{
    font-size: 65px;
  }
  .home .text-three{
    font-size: 35px;
  }
  .skills .skills-details{
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .skills-details .text{
    width: 100%;
    margin-bottom: 50px;
  }
  .skills-details .boxes{
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: 100%;
  }
  .contact .text{
    width: 100%;
}
}

@media (max-width: 500px){
  .home .text-two{
    font-size: 55px;
  }
  .home .text-three{
    font-size: 33px;
  }
  .skills-details .boxes .per{
    font-size: 50px;
    color: #D2B4DE;
  }
}



