@import url("https://fonts.googleapis.com/css2?family=Allan:wght@400;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.logo {
  display: flex;
  cursor: default;
  font-size: 20px;
  padding-left: 60px;
  margin-top: 30px;
}
.menu-icon {
  display: none;
  position: fixed;
  top: 20px;
  right: 90px;
  z-index: 3000;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background-color: black;
  padding: 12px;
  width: 60px;
  height: 60px;
  border-radius: 20%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 15px;
  margin-top: 5px;
}

.menu-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.bar1 {
  width: 30px;
  height: 3px;
  border-radius: 3px;
  transition: all 0.4s ease;
  background-color: orange;
}
.bar2 {
  width: 30px;
  height: 3px;
  border-radius: 3px;
  transition: all 0.4s ease;
  background-color: white;
}
.bar3 {
  width: 30px;
  height: 3px;
  border-radius: 3px;
  transition: all 0.4s ease;
  background-color: green;
}

body.dark-mode .menu-icon {
  background: black;
}

body.dark-mode .bar {
  background-color: white;
}
.menu-icon.active .bar1:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-icon.active .bar2:nth-child(2) {
  opacity: 0;
}

.menu-icon.active .bar3:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}
nav {
  display: flex;
  justify-content: space-around;
  padding-left: 500px;
  margin-top: -30px;
}

nav ul {
  display: flex;
  gap: 70px;
  align-items: center;
}

nav ul li {
  list-style-type: none;
  text-decoration: none;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

nav ul li a {
  text-decoration: none;
  color: black;
  border-radius: 5px;
}

nav ul li:hover {
  color: darkblack;
  transform: scale(1.2);
}

body.dark-mode nav ul li a {
  color: white !important;
}

nav ul li a {
  transition: color 0.1s ease;
}

.dark-mode {
  background: #121212;
  color: #f5f5f5;
}

#toggleButton {
  position: fixed;
  top: 20px;
  right: 40px;
  padding: 12px;
  font-size: 20px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 50%;
  z-index: 1000;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

#toggleButton:hover {
  transform: scale(1.1);
}

.dark-mode #toggleButton {
  background-color: white;
}

.about-page {
  display: flex;
  justify-content: center;
  height: 85vh;
  align-items: center;
  gap: 100px;
  padding-bottom: 30px;
}

.hero-left h2 {
  font-size: 45px;
  font-weight: 500;
  padding-top: 50px;
}

.hero-left p {
  font-size: 19px;
  font-weight: 450;
  padding-top: 20px;
}

.hero-right img {
  width: 350px;
  border-radius: 20px;
}

.philosophy {
  padding-top: 30px;
  display: flex;
  justify-content: space-around;
  height: 45vh;
}
.philosophy-container {
  padding: 40px 100px 40px 100px;
  border-radius: 10px;
  box-shadow: 20px 20px 40px 2px rgba(17, 92, 153, 0.815);
}

.philosophy-container h3 {
  font-size: 35px;
  font-family: "Allan", serif;
  font-weight: 500;
  text-align: center;
  padding-bottom: 30px;
}

.philosophy-container p {
  font-size: 20px;
}

.philosophy-container p .big {
  font-size: 30px;
}

.expertise {
  display: flex;
  height: 110vh;
  justify-content: space-around;
  align-items: center;
}

.expertise h3 {
  text-align: center;
  font-size: 35px;
  font-family: "Allan", serif;
  font-weight: 500;
  padding-top: 20px;
  padding-bottom: 20px;
}

.expertise-container {
  padding: 0px 250px 40px 250px;
  border-radius: 10px;
  box-shadow: 20px 20px 40px 2px rgba(15, 153, 135, 0.815);
}

.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-list li {
  display: flex;
  align-items: center;
  font-size: 20px;
  margin: 12px 0;
}

.skills-list i {
  font-size: 35px;
  margin-right: 10px;
  transition: transform 0.2s ease-in;
}

.skills-list i:hover {
  transform: scale(1.2);
}

.fa-linux {
  color: #333333;
}
.fa-server {
  color: #d22128;
}
.fa-globe {
  color: #4479a1;
}
.fa-aws {
  color: #ff9900;
}
.fa-robot {
  color: #ee0000;
}
.fa-database {
  color: #4479a1;
}
.fa-heart-pulse {
  color: #00b7c9;
}
.fa-code {
  color: #3776ab;
}
.fa-network-wired {
  color: #6c757d;
}

body.dark-mode .fa-linux {
  color: white !important;
}

.strength {
  display: flex;
  justify-content: space-around;
  height: 55vh;
}

.strength-container {
  padding: 40px 100px 40px 100px;
  border-radius: 10px;
  box-shadow: 20px 20px 40px 2px rgb(163, 79, 6);
}

.strength h3 {
  font-size: 40px;
  text-align: center;
  font-family: "Allan", serif;
  font-weight: 500;
  padding-bottom: 20px;
}

.strength ul li {
  font-size: 20px;
  transition: transform 0.3s ease-in-out;
  cursor: default;
  margin-top: 8px;
}

.strength ul li:hover {
  transform: scale(1.1);
}

.education {
  display: flex;
  justify-content: center;
  height: 50vh;
  padding-top: 80px;
}

.education-container {
  padding: 40px 100px 40px 100px;
  border-radius: 10px;
  box-shadow: 20px 20px 40px 2px rgba(118, 158, 7, 0.884);
}

.education h3 {
  font-size: 40px;
  font-family: "Allan", serif;
  font-weight: 500;
  text-align: center;
}

.education p {
  font-size: 23px;
  padding-top: 20px;
}

.language {
  display: flex;
  justify-content: center;
  height: 45vh;
  padding-top: 60px;
}

.language-container {
  padding: 40px 160px 40px 160px;
  border-radius: 10px;
  box-shadow: 20px 20px 40px 2px rgba(148, 13, 130, 0.884);
}

.language h3 {
  font-size: 35px;
  text-align: center;
  font-family: "Allan", serif;
  font-weight: 500;
  padding-bottom: 10px;
}

.language ul li {
  font-size: 22px;
  padding-top: 20px;
  transition: transform 0.3s ease-in-out;
  cursor: default;
}

.language ul li:hover {
  transform: scale(1.1);
}

.details {
  display: flex;
  justify-content: center;
  height: 65vh;
  padding-top: 35px;
}

.details-container {
  padding: 40px 100px 40px 100px;
  border-radius: 10px;
  box-shadow: 20px 20px 40px 2px rgba(241, 81, 7, 0.884);
}

.details h3 {
  font-size: 35px;
  font-family: "Allan", serif;
  font-weight: 500;
  padding-bottom: 20px;
  text-align: center;
}

.details ul li {
  font-size: 20px;
  list-style-type: none;
  padding: 8px;
}

.details-container .fa-linkedin {
  font-size: 35px;
}

.footer {
  /* padding-top: 50px; */
  height: 35vh;
  display: flex;
  justify-content: space-around;
  margin-top: 60px;
  box-shadow: 0px 0px 10px 2px rgb(30, 82, 126);
}

.footer-heading {
  font-size: 15px;
  color: rgb(13, 173, 247);
  text-align: center;
  padding-top: 10px;
}

.footer-quick-links {
  font-size: 17px;
  padding-top: 20px;
}

.footer-quick-links ul {
  display: flex;
}

.footer-quick-links ul li {
  list-style-type: none;
  color: black;

  padding-left: 40px;
  transition: transform 0.3s ease-in;
}

.footer-quick-links ul li:hover {
  transform: scale(1.2);
}

.footer-quick-links a {
  text-decoration: none;
  color: black;
}

body.dark-mode .footer-quick-links a {
  color: white !important;
}

.footer-social-links p {
  font-size: 15px;
  text-align: center;
  margin-top: 25px;
}

.footer-social-links {
  padding-left: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-social-links #footer-links {
  font-size: 18px;
  margin-top: 10px;
  margin-left: 15px;
  margin-right: 20px;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.footer-social-links #footer-links:hover {
  transform: scale(1.2);
}

.footer-social-links .fa-linkedin {
  color: #0a66c2;
  transition: transform 0.2s ease-in;
}

.footer-social-links .fa-linkedin:hover {
  transform: scale(1.1);
  color: #7802ff;
}

.footer-social-links .fa-github {
  color: #181717;
  transition: transform 0.3s ease-in-out;
}

.footer-social-links .fa-github:hover {
  transform: scale(1.1);
  color: #00758f;
}

body.dark-mode .footer-social-links .fa-github {
  color: white !important;
}

.footer-bottom {
  padding-left: 70px;
  font-size: 14px;
}

.designer-vansh {
  padding-left: 120px;
  padding-bottom: 30px;
  font-size: 14px;
}

.designer-vansh strong a {
  text-decoration: none;
  color: black;
}

body.dark-mode .designer-vansh strong a {
  color: white !important;
}

@media screen and (max-width: 1145px) {
  nav {
    margin-left: -200px;
  }

  .about-page {
    padding-left: 60px;
    gap: 25px;
  }

  .footer-container {
    height: 30vh;
  }

  .details-container {
    height: 45vh;
  }
  .strength-container {
    height: 40vh;
  }
  .expertise-container {
    margin-left: 50px;
    margin-right: 50px;
  }
}

/* Responsive styles */
@media screen and (max-width: 1024px) {
  nav {
    padding-left: 300px;
  }

  .about-page {
    gap: 50px;
  }

  .expertise-container {
    padding: 0px 150px 40px 150px;
  }
  .hero-left p {
    font-size: 14px;
  }
  .hero-right img {
    width: 300px;
  }
  nav ul {
    gap: 40px;
    margin-top: 5px;
    margin-left: 30px;
  }
}

@media screen and (max-width: 768px) {
  .logo {
    padding-left: 20px;
  }

  nav {
    padding-left: 0;
    justify-content: flex-end;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  body.dark-mode .nav-links {
    background-color: rgba(18, 18, 18, 0.95);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  body.dark-mode .nav-links {
    background-color: rgba(18, 18, 18, 0.95);
  }

  .menu-icon {
    display: flex;
    position: fixed;
    top: 22px;
    right: 90px;
    z-index: 3000;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .menu-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  }



  body.dark-mode .bar {
    background-color: white;
  }

  .about-page {
    flex-direction: column-reverse;
    height: auto;
    padding: 20px;
    gap: 30px;
  }
  .hero-right img {
    width: 250px;
    margin-top: 30px;
  }

  .hero-left h2 {
    text-align: center;
  }

  .hero-left p {
    text-align: center;
  }

  .hero-right {
    display: flex;
    justify-content: center;
  }

  .philosophy-container,
  .expertise-container,
  .strength-container,
  .education-container,
  .language-container,
  .details-container {
    padding: 20px;
    width: 80%;
    margin: 0 auto;
  }

  .philosophy,
  .expertise,
  .strength,
  .education,
  .language,
  .details {
    height: auto;
    padding: 30px 0;
  }

  .footer {
    height: 40vh;
    flex-direction: column;
  }

  .footer-quick-links ul {
    flex-direction: row;
    gap: 3px;
    text-align: center;
    margin-left: -20px;
  }

  .footer-heading {
    text-align: center;
  }

  .footer-bottom,
  .designer-vansh {
    padding-left: 0;
    text-align: center;
  }
  .strength-container ul li {
    margin-left: 30px;
  }
  .language-container ul li {
    margin-left: 30px;
  }
}

@media screen and (max-width: 480px) {
  #toggleButton {
    font-size: 20px;
  }

  .hero-left h2 {
    font-size: 35px;
  }

  .hero-left p {
    font-size: 16px;
  }

  .hero-right img {
    width: 250px;
  }

  .philosophy-container h3,
  .expertise h3,
  .strength h3,
  .education h3,
  .language h3,
  .details h3 {
    font-size: 28px;
  }

  .philosophy-container p,
  .skills-list li,
  .strength ul li,
  .education p,
  .language ul li,
  .details ul li {
    font-size: 16px;
  }
.footer-social-links{
  margin-top: -20px;
}
.footer-social-links p{
  text-align: center;
}
  .hero-right img {
   margin-top: 50px;
    width: 200px;
  }

  .hero-left p {
    font-size: 12px;
  }
  .hero-left {
    margin-top: -60px;
  }
  .details-container{
    height: 50vh;
  }
  .footer-container{
     height: 70vh;
  }
  .footer{
    height: 30vh;
  }
  .strength-container{
    height: 45vh;
  }
  
}
