/* 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: #232a39;
}

::-webkit-scrollbar-thumb {
  background: #3a475a;
  border-radius: 12px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #50617a;
}

/* Base Styles & Glowing Effect */
body {
    background-color: #0b3fa6;
    color: #e0e6f6;
    font-family: 'Poppins', sans-serif;
}

.glowing-element {
    box-shadow: 0 0 10px #60a5fa, 0 0 20px #3b82f6, 0 0 30px #2563eb, 0 0 40px #1d4ed8;
    transition: all 0.4s ease;
}

.glowing-element:hover {
    box-shadow: 0 0 15px #60a5fa, 0 0 25px #3b82f6, 0 0 35px #2563eb, 0 0 45px #1d4ed8, 0 0 55px #1e40af;
}

/* 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: #171c26;
  padding: 13px 0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

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: #60a5fa;
}

nav.sticky .navbar .logo a {
  color: #e0e6f6;
}

nav .navbar .menu {
  display: flex;
  position: relative;
}

nav .navbar .menu li {
  list-style: none;
  margin: 0 20px;
}

.navbar .menu a {
  font-size: 18px;
  font-weight: 500;
  color: #e0e6f6;
  padding: 6px 0;
  transition: all 0.4s ease;
}

.navbar .menu a:hover {
  color: #60a5fa;
}

nav.sticky .menu a {
  color: #e0e6f6;
}

nav.sticky .menu a:hover {
  color: #60a5fa;
}

.navbar .media-icons a {
  color: #60a5fa;
  font-size: 18px;
  margin: 0 6px;
  transition: color 0.3s ease;
}

.navbar .media-icons a:hover {
  color: #e0e6f6;
}

nav.sticky .media-icons a {
  color: #e0e6f6;
}

nav.sticky .media-icons a:hover {
  color: #60a5fa;
}

/* Side Navigation Menu Button CSS */
nav .menu-btn,
.navbar .menu .cancel-btn {
  position: absolute;
  color: #e0e6f6;
  right: 30px;
  top: 20px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}

nav .menu-btn {
  color: #60a5fa;
}

nav.sticky .menu-btn {
  color: #e0e6f6;
}

.navbar .menu .menu-btn {
  color: #e0e6f6;
}

/* Home Section Styling */
.home {
  height: 100vh;
  width: 100%;
  background-color: #171c26;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Ubuntu', sans-serif;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.home .home-content {
  width: 50%;
  padding-left: 5%;
}

.home .text-one {
  font-size: 25px;
  color: #e0e6f6;
}

.home .text-two {
  color: #e0e6f6;
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
}

.home .text-three {
  font-size: 40px;
  margin: 5px 0;
  color: #60a5fa;
}

.home .text-four {
  font-size: 23px;
  margin: 5px 0;
  color: #e0e6f6;
}

.home .button {
  margin: 14px 0;
}

.home .button button {
  outline: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 25px;
  font-weight: 400;
  background: #60a5fa;
  color: #171c26;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.home .button button:hover {
  border-color: #60a5fa;
  background-color: #171c26;
  color: #60a5fa;
}

.home .glowing-image {
    width: 300px;
    height: 300px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 20px #60a5fa, 0 0 40px #3b82f6, 0 0 60px #2563eb;
    animation: glow-animation 2s infinite alternate;
}

.home .glowing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes glow-animation {
    from {
        box-shadow: 0 0 10px #60a5fa, 0 0 20px #3b82f6;
    }
    to {
        box-shadow: 0 0 20px #60a5fa, 0 0 40px #3b82f6, 0 0 60px #2563eb;
    }
}

/* About Section Styling */
section {
  padding-top: 40px;
  background-color: #171c26;
}

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: #e0e6f6;
  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: #60a5fa;
  left: 0;
  bottom: 0;
}

section .title span::after {
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}

.about .about-details .left {
  width: 45%;
}

.about .left img {
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.about-details .right {
  width: 55%;
}

section .topic {
  color: #e0e6f6;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}

.about-details .right p {
  text-align: justify;
  color: #e0e6f6;
}

section .button {
  margin: 16px 0;
}

section .button button {
  outline: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 25px;
  font-weight: 400;
  background: #60a5fa;
  color: #171c26;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s ease;
}

section .button button:hover {
  border-color: #60a5fa;
  background-color: #171c26;
  color: #60a5fa;
}

/* My Skills CSS */
.skills {
  background: #232a39;
}

.skills .content {
  padding: 40px 0;
}

.skills .skills-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skills-details .text {
  width: 50%;
}

.skills-details p {
  color: #e0e6f6;
  text-align: justify;
}

.skills .skills-details .experience {
  display: flex;
  align-items: center;
  margin: 0 10px;
}

.skills-details .experience .num {
  color: #e0e6f6;
  font-size: 80px;
}

.skills-details .experience .exp {
  color: #e0e6f6;
  margin-left: 20px;
  font-size: 18px;
  font-weight: 500;
  margin: 0 6px;
}

.skills-details .icons-boxes {
    width: 45%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}

.skills-details .icon-box {
    width: calc(100% / 4 - 20px);
    margin: 10px;
    padding: 20px 10px;
    border-radius: 12px;
    background: #171c26;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.4s ease;
}

.skills-details .icon-box:hover {
    background: #60a5fa;
    box-shadow: 0 0 10px #60a5fa, 0 0 20px #3b82f6, 0 0 30px #2563eb;
}

.skills-details .icon-box i {
    font-size: 50px;
    color: #60a5fa;
    transition: all 0.4s ease;
}

.skills-details .icon-box:hover i {
    color: #171c26;
}

.skills-details .icon-box .topic {
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    color: #e0e6f6;
    transition: all 0.4s ease;
}

.skills-details .icon-box:hover .topic {
    color: #171c26;
}

/* My Services CSS */
.services {
    background-color: #171c26;
}
.services .boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.services .boxes .box {
  margin: 20px 0;
  width: calc(100% / 3 - 20px);
  text-align: center;
  border-radius: 12px;
  padding: 30px 10px;
  background: #232a39;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  cursor: default;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.services .boxes .box:hover {
  background: #60a5fa;
  color: #171c26;
  box-shadow: 0 0 10px #60a5fa, 0 0 20px #3b82f6;
}

.services .boxes .box .icon {
  height: 50px;
  width: 50px;
  background: #60a5fa;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: #171c26;
  margin: 0 auto 10px auto;
  transition: all 0.4s ease;
}

.boxes .box:hover .icon {
  background-color: #171c26;
  color: #60a5fa;
}

.services .boxes .box .topic,
.services .boxes .box p {
  color: #e0e6f6;
  transition: all 0.4s ease;
}

.services .boxes .box:hover .topic,
.services .boxes .box:hover p {
  color: #171c26;
}

.services .boxes .box .project-image {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    margin-top: 15px;
    border-radius: 8px;
    display: none;
}

.services .boxes .box:hover .project-image {
    display: block;
}

/* Contact Me CSS */
.contact {
  background: #232a39;
  padding-bottom: 60px;
}

.contact .content {
  margin: 0 auto;
  padding: 30px 0;
}

.contact .title {
    margin-bottom: 20px;
}

.contact-details {
    width: 80%;
    margin: auto;
    text-align: center;
}

.contact-details p {
    font-size: 20px;
    color: #e0e6f6;
    margin-bottom: 20px;
}

.contact-details form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-details .form-group {
    text-align: left;
}

.contact-details label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #e0e6f6;
}

.contact-details input, .contact-details textarea {
    width: 100%;
    padding: 10px;
    background: #171c26;
    border: 1px solid #3a475a;
    color: #e0e6f6;
    border-radius: 5px;
    font-size: 16px;
}

.contact-details button {
    outline: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 400;
    background: #60a5fa;
    color: #171c26;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.contact-details button:hover {
    border-color: #60a5fa;
    background-color: #232a39;
    color: #60a5fa;
    box-shadow: 0 0 10px #60a5fa, 0 0 20px #3b82f6;
}

/* Footer CSS */
footer {
  background: #171c26;
  padding: 15px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 0 10px #171c26;
}

footer .text span {
  font-size: 17px;
  font-weight: 400;
  color: #e0e6f6;
}

footer .text span a {
  font-weight: 500;
  color: #60a5fa;
}

footer .text span a:hover {
  text-decoration: underline;
}

/* Scroll TO Top Button CSS */
.scroll-button a {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #171c26;
  background: #60a5fa;
  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: #171c26;
    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: #e0e6f6;
    margin: 15px 0;
  }

  nav.sticky .menu a:hover {
    color: #60a5fa;
  }

  nav .navbar .media-icons {
    display: none;
  }

  nav .menu-btn,
  .navbar .menu .cancel-btn {
    display: block;
  }

  .home {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .home .home-content {
    width: 90%;
    padding: 0;
  }

  .home .text-two {
    font-size: 65px;
  }

  .home .text-three {
    font-size: 35px;
  }

  .home .glowing-image {
      margin-top: 40px;
      width: 250px;
      height: 250px;
  }

  .skills .skills-details {
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .skills-details .text {
    width: 100%;
    margin-bottom: 50px;
  }

  .skills-details .icons-boxes {
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .skills-details .icon-box {
    width: calc(100% / 3 - 20px);
  }

  .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;
  }
}