@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-transform: capitalize;
  transition: all 0.1s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: #f7f7f7;
  font-family: "Poppins", sans-serif;
}

*::selection {
  background: #2b3dda;
  color: #fff;
}

html::-webkit-scrollbar {
  width: 0.8rem;
}

html::-webkit-scrollbar-track {
  background: rgb(235, 202, 245);
}

html::-webkit-scrollbar-thumb {
  background: #420177;
}

/* Preloader */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  background: #e6eff1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.loader-container.fade-out {
  top: -120%;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 10%; /* MODIFIED: Slightly smaller padding */
  height: 7.5rem; /* MODIFIED: Slightly smaller header height */
  background-color: rgb(0, 1, 43); /* Header background to match footer */
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.3);
}

section {
  min-height: 100vh;
  padding: 2rem 9%;
}

.heading {
  font-size: 3.5rem;
  color: rgb(32, 32, 32);
  font-weight: 800;
  text-align: center;
}

.heading span {
  color: rgb(115, 3, 167);
}

/* header .logo for flex behavior to align image and text */
header .logo {
  font-size: 1.9rem;
  font-weight: 800;
  text-decoration: none;
  color: #0e2431;
  display: flex;
  align-items: center;
}

header .logo i {
  font-size: 2.2rem;
}

header .logo:hover {
  color: #fc8c05;
}

header .navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .navbar li {
  margin-left: 2.5rem;
}

/* Navigation links color changed to white */
header .navbar ul li a {
  font-size: 1.57rem;
  color: #FFFFFF; /* Changed navigation link color to white */
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04rem;
  transition: 0.2s;
}

header .navbar ul li a.active,
header .navbar ul li a:hover {
  color: #011aff; /* Keep the existing blue hover color */
  border-bottom: 0.2rem solid #011aff;
  padding: 0.5rem 0;
}

/* Hamburger Icon */
#menu {
  font-size: 3rem;
  cursor: pointer;
  color: rgb(24, 2, 63);
  display: none;
}

@media (max-width: 768px) {
  #menu {
    display: block;
  }

  header .navbar {
    position: fixed;
    top: 6.5rem;
    right: -120%;
    width: 75%;
    height: 100%;
    text-align: left;
    align-items: flex-start;
    background-color: #0e0f31;
  }

  header .navbar ul {
    flex-flow: column;
    padding: 1rem;
  }

  header .navbar ul li {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
    border-radius: 0.5rem;
    width: 26rem;
  }

  header .navbar ul li a {
    display: block;
    padding: 1rem;
    text-align: left;
    color: #ffffff;
    font-size: 2rem;
  }

  header .navbar ul li a.active,
  header .navbar ul li a:hover {
    padding: 1rem;
    color: #fff;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid #011aff;
  }

  .fa-times {
    transform: rotate(180deg);
  }

  header .navbar.nav-toggle {
    right: 0;
  }
}

/* Hero Section */
.home {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  min-height: 100vh;
  align-items: center;
}

.home #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.home .content {
  flex: 1 1 40rem;
  padding-top: 1rem;
  z-index: 1;
}

/* MODIFIED: .home .image to center content within it */
.home .image {
  flex: 1 1 40rem;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* *** RESTORED TO ORIGINAL STATE: .home .image img (Your Profile Picture) - NO CHANGES HERE *** */
.home .image img {
  width: 80%; /* Original width */
  height: auto; /* Original height */
  margin: 0 auto; /* Original margin */
  border-radius: 5%; /* Original border-radius (for slight rounding, not full circle) */
  box-shadow: none; /* Original box-shadow */
  object-fit: cover; /* Original object-fit */
  cursor: default; /* Original cursor */
  /* NO clip-path here as per original code */
}

.home .image img:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* Original hover shadow */
}

.home .content h2 {
  font-size: 5rem;
  font-weight: 800;
  color: #002057;
}

.home .content h2 span {
  font-size: 5rem;
  font-weight: 800;
  color: #ff7b00;
}

.home .content p {
  font-size: 2.5rem;
  color: #000;
  font-weight: 600;
  padding: 1rem 0;
}

.home .content p span {
  font-size: 2.5rem;
  color: rgb(148, 8, 8);
  font-weight: 600;
  padding: 1rem 0;
}

.home .btn {
  margin-top: 1rem;
  position: absolute;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 4em;
  transition: 0.5s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 18px rgba(48, 68, 247, 0.6);
  font-family: "Nunito", sans-serif;
}

.home .btn span {
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
}

.home .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}

.home .btn:hover {
  background: #1a047e;
}

.home .btn:hover i {
  transform: translateX(5px);
}

/* Social Icons */
.socials {
  position: relative;
  margin-top: 9rem;
}

.socials .social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.socials .social-icons li {
  display: inline-block;
  margin-bottom: 14px;
}

.social-icons a {
  font-size: 2rem;
  display: inline-block;
  line-height: 44px;
  color: #00d9ff;
  background-color: #09011b;
  width: 44px;
  height: 44px;
  text-align: center;
  margin-right: 8px;
  border-radius: 100%;
  transition: all 0.2s linear;
}

.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  color: #fff;
  background-color: #0685da;
}

.social-icons a.github:hover {
  background-color: #0e0e0e;
}

.social-icons a.twitter:hover {
  background-color: #00aced;
}

.social-icons a.linkedin:hover {
  background-color: #007bb6;
}

.social-icons a.dev:hover {
  background-color: #070707;
}

.social-icons a.instagram:hover {
  background-color: #ee00da;
}

@media (max-width: 450px) {
  .home .btn {
    margin: 4rem 0;
  }

  .socials {
    margin-top: 12rem;
  }

  .home .image img {
    margin-top: -12rem;
  }

  .home .content p {
    font-size: 2.2rem;
  }

  .home .content p span {
    font-size: 2.2rem;
  }
}

/* About Section */
.about {
  background: rgb(255, 255, 255);
}

.about .row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 4rem;
}

.about .row .image {
  text-align: center;
  flex: 1 1 35rem;
}

.about .row .image img {
  margin: 4rem;
  width: 30rem;
  height: auto;
  border-radius: 5%;
  transition: 0.3s;
  cursor: pointer;
}

.about .row .image img:hover {
  mix-blend-mode: normal;
}

.about .row .content {
  flex: 1 1 45rem;
  padding: 3rem;
}

.about .row .content h3 {
  color: rgb(27, 27, 27);
  font-size: 3.0rem;
}

.about .row .content h3 span {
  color: #2506ad;
}

.about .row .content .tag {
  font-size: 1.4rem;
  color: #020133;
  font-weight: 600;
  margin-top: 1rem;
}

.about .row .content p {
  font-size: 1.8rem;
  margin-top: 1.5rem;
  font-family: "Nunito";
  font-weight: 600;
  text-transform: none;
  text-align: justify;
  text-justify: inter-word;
}

.about .row .content .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: "Nunito";
  font-weight: 600;
}

.about .row .content .box-container .box p {
  text-transform: none;
}

.about .row .content .box-container .box p span {
  color: #011aff;
}

.resumebtn {
  margin-top: 6rem;
}

.resumebtn .btn {
  padding: 1.7rem 3rem;
  border-radius: 0.5em;
  transition: 0.3s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  font-family: "Nunito", sans-serif;
}

.resumebtn .btn span {
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
}

.resumebtn .btn i {
  margin-left: 0.3rem;
  font-size: 1.2rem;
  transition: 0.3s;
}

.resumebtn .btn:hover {
  background: #1a047e;
}

.resumebtn .btn:hover i {
  transform: translateX(5px);
}

@media screen and (max-width: 600px) {
  .about .row .image {
    margin-top: 2rem;
  }

  .about .row .image img {
    margin: 0 auto;
    width: 80%;
    mix-blend-mode: normal;
  }

  .about .row {
    padding: 0.5rem;
    margin-bottom: 7rem;
  }

  .about .row .content {
    padding: 1rem;
  }

  .about .row .content .box-container {
    gap: 0;
  }
}

/* Skills Section */
.skills {
  min-height: 90vh;
  background: #fff;
}

.skills h2 {
  color: #012970;
}

.skills .heading span {
  color: #012970;
}

.skills .container {
  color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  width: 90%;
  margin: auto;
  margin-top: 2rem;
}

.skills .container .row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  flex-wrap: wrap;
  gap: 1.8rem;
}

.skills .container .bar {
  margin-bottom: 15px;
  padding: 10px;
  justify-content: center;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 22, 0.9);
  transition: 0.2s;
}

.skills .container .bar:hover {
  box-shadow: 0 8px 10px rgba(0, 2, 68, 0.8) !important;
  background-color: rgba(0, 0, 0, 0.9) !important;
}

.skills .container .bar .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  height: 100%;
}

.skills .container .bar .info span {
  font-size: 2rem;
  font-weight: 500;
  font-family: "Poppins";
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin: auto;
}

.skills .container .bar .info i {
  font-size: 4rem;
}

@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%;
  }
}

/* Education Section */
.education {
  background: #e5ecfb;
  min-height: 90vh;
}

.education .qoute {
  font-size: 1.5rem;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  margin-top: 0.5rem;
}

.education .box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; /* Ensures vertical centering if boxes are different heights */
  flex-direction: column; /* Your original layout for boxes in column */
  padding-bottom: 5rem;
  padding-top: 5rem;
}

.education .box-container .box {
  display: flex; /* Kept as flex to have image and content side-by-side */
  flex-direction: row; /* Your original layout for image and content side-by-side */
  width: 80%;
  max-width: 900px; /* Added a max-width to prevent boxes from becoming too wide on large screens */
  border-radius: 0.5rem;
  box-shadow: 0.2rem 0.5rem 1rem rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  transition: 0.3s;
  background: rgb(252, 252, 252);
}

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

.education .box-container .box .image {
  flex: 1 1 20rem; /* Your original flex property */
  width: 100%; /* Your original width */
  /* Added/Modified for image fitting only: */
  display: flex; /* Enable flexbox for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  overflow: hidden; /* Hide any overflow */
  padding: 10px; /* Add some padding around the image within its box */
  background-color: #f9f9f9; /* Optional: light background for the image area */
}

.education .box-container .box img {
  /* Critical for fitting the images */
  max-width: 100%; /* Ensure image doesn't exceed its container's width */
  max-height: 100%;
  height: auto; /* Maintain aspect ratio */
  width: auto; /* Maintain aspect ratio, or use 100% if preferred for stretching */
  object-fit: contain; /* Scales image to fit without cropping, preserving aspect ratio */
  display: block; /* Remove extra space below the image */
}

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

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

.education .box-container .box .content p {
  font-size: 1.5rem;
  margin-left: 1rem;
  text-align: left;
}

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

@media screen and (max-width: 600px) {
  .education .box-container .box {
    flex-direction: column; /* Stack image and content vertically on small screens */
    width: 100%; /* Full width on mobile */
  }

  .education .box-container .box .image {
    width: 100%; /* Image container takes full width when stacked */
    height: 200px; /* Give it a fixed height on mobile for better logo display */
    padding: 15px; /* Adjust padding for mobile view */
  }

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

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

  .education .btns {
    margin-top: 2rem;
    margin-left: 1rem;
    margin-right: 1rem;
    flex-wrap: wrap;
  }
}

/* Work Section */
.work {
  background: linear-gradient(to bottom, #000031, #00002c);
  min-height: 90vh;
}

.work h2 {
  color: #fff;
  padding: 1rem;
}

.work .heading span {
  color: rgb(255, 230, 0);
}

.work .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem;
}

.work .box-container .box {
  flex: 1 1 30rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  height: 30rem;
  padding-bottom: 2rem;
}

.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;
  align-items: center;
  height: 4.5rem;
  width: 100%;
  background: #ffd900;
}

.work .box-container .box .content .tag h3 {
  font-size: 2rem;
  text-align: center;
  margin: auto;
}

.work .box-container .box:hover .content {
  top: 100%;
}

.work .desc {
  margin: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work .desc p {
  font-size: 1.5rem;
}

.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: #fff;
  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.5rem;
  transition: 0.3s;
}

.work .viewall .btn:hover {
  background: #fff;
  color: #000;
}

.work .viewall .btn:hover i {
  transform: translateX(5px);
}

/* Experience Section */
.experience .timeline {
  position: relative;
  padding-top: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.experience .timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background: #020133;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -2;
}

.experience .container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* Circles on Timeline */
.experience .container::after {
  content: "\f0b1";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: rgb(255, 255, 255);
  border: 4px solid #ff9f55;
  top: 15px;
  border-radius: 50%;
  z-index: 100;
  font-size: 1.89rem;
  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;
  padding: 1.5rem;
}

.experience .content .tag {
  font-size: 1.6rem;
  padding-bottom: 0.5rem;
}

.experience .content .tag h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
}

.experience .content .desc {
  margin-top: 1rem;
}

.experience .content .desc h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #2c007c;
}

.experience .content .desc p { /* This rule targets the date paragraph */
    font-size: 1.6rem;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 1rem; /* Space below date */
}

.experience .content .desc ul {
    list-style: disc;
    margin-left: 2rem;
    padding: 0;
}

.experience .content .desc ul li {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-align: justify;
    text-transform: none;
}

.experience .content .desc p b { /* This rule targets the bold "Skills" text */
  font-size: 1.6rem;
  display: block;
  margin-top: 1rem;
  color: #01014a;
}


.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 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%;
  }

  .experience .content .tag h2 {
    font-size: 2rem;
  }

  .experience .content .desc h3 {
    font-size: 1.6rem;
  }

  .experience .content .desc p,
  .experience .content .desc ul li,
  .experience .content .desc p b {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .morebtn {
    margin-top: 3rem;
  }
}
/* Footer Section */
.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;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 55%;
  }

  body {
    padding-right: 0;
  }

  section {
    padding: 2rem;
  }
}

/* Scroll Top */
#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);
}

/* MODIFIED: Styling for the header logo image */
header .logo .header-logo {
    height: 5rem; /* MODIFIED: Slightly smaller logo height */
    width: auto;
    vertical-align: middle;
    margin-right: 0.8rem;
    border-radius: 0;
    box-shadow: none;
}

/* MODIFIED: Style the text specifically if it's in a span */
header .logo span {
    font-size: 2.5rem; /* MODIFIED: Slightly smaller text font size */
    font-weight: 800;
    color: #FFFFFF; /* Text color is white for dark background */
    text-transform: capitalize;
}

/* Make sure the hover effect applies to the whole logo area */
header .logo:hover .header-logo {
    transform: scale(1.05);
}

header .logo:hover span {
    color: #fc8c05; /* Original hover color for text */
}

/* Also ensure original hover for the overall .logo link is still effective */
header .logo:hover {
    color: #fc8c05; /* This applies to the link itself */
}

/* =================================================================== */
/* 10. CERTIFICATIONS SECTION
/* =================================================================== */

.certifications {
  background: #02083a;
  padding-bottom: 4rem; /* Reduced padding to remove extra space */
}

.certifications .heading {
  color: white; /* Main heading text color */
}

.certifications .heading span {
  color: #ffae00; /* Highlighted word color */
}

.certifications .box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 95rem; /* Sets a max-width for the grid */
  margin: 4rem auto 0 auto; /* Centers the grid container */
}

.certifications .box {
  flex: 0 1 42rem; /* Creates a stable, non-growing grid item */
  max-width: 45rem;
  display: flex;
  align-items: flex-start; /* Aligns content to the top of the card */
  gap: 2rem;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background: #f7f7f7;
  transition: transform 0.2s linear;
}

.certifications .box:hover {
  transform: translateY(-5px);
}

.certifications .box .cert-image img {
  height: 80px;
  width: 80px;
}

/* Card Content Styles (Titles, Text, etc.) */
.certifications .box .cert-content h3 {
  font-size: 2rem;
  color: #002057;
  font-weight: 700;
}

.certifications .box .cert-content .cert-provider {
  font-size: 1.5rem;
  color: #555;
  padding: 0.5rem 0;
}

.certifications .box .cert-content .cert-date {
  font-size: 1.4rem;
  color: #333;
  font-family: "Nunito", sans-serif;
}

/* "Verify" Button Styles */
.certifications .box .cert-content .cert-btn {
  margin-top: 1.5rem;
}

.certifications .box .cert-content .cert-btn .btn {
  padding: 1rem 2rem;
  border-radius: 0.5em;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.4);
}

.certifications .box .cert-content .cert-btn .btn:hover {
  background: #1a047e;
}

.certifications .box .cert-content .cert-btn .btn span {
  font-weight: 600;
  font-size: 1.5rem;
}

.certifications .box .cert-content .cert-btn .btn i {
  margin-left: 0.8rem;
  font-size: 1rem;
}