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

@media (max-width: 768px) {
  .logo {
    padding-left: 20px;
    font-size: 18px;
  }

  nav {
    display: none;
  }

 .menu-icon {
  display: none;
  position: fixed;
  top: 24px;
  right: 90px;
  z-index: 3000;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background: black;
  padding: 12px;
  width: 40px;
  height: 40px;
  border-radius: 20%;
  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);
}

.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);
}
  .contact-container {
    flex-direction: column;
    padding: 20px;
  }

  .contact-form,
  .contact-info {
    width: 100%;
    padding: 20px;
  }

  .contact-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  input,
  textarea {
    padding: 10px;
    margin-bottom: 15px;
  }

  .submit-btn {
    padding: 10px 20px;
  }
}
.logo {
  display: flex;
  cursor: default;
  font-size: 20px;
  padding-left: 60px;
  margin-top: 30px;
}
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);
}


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

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

.contact-page {
  display: flex;
  justify-content: center;
  height: 85vh;
  align-items: center;
  margin-top: 20px;
  margin-right: 50px;
}

.left {
  margin: 10px;
}
.one {
  font-size: 45px;
  font-weight: 500;
}

.two {
  font-size: 17px;
  font-weight: 400;
}

.btn {
  font-size: 20px;
  margin-top: 10px;
  padding: 10px;
  background-color: #1e40ff;
  color: white;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

#status {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.dark-mode #status {
  color: #a5b4fc;
}
label {
  font-size: 20px;
}

input {
  width: 400px;
  height: 30px;
  border: 2px solid gray;
  border-radius: 5px;
  font-size: 18px;
}

textarea {
  width: 400px;
  height: 120px;
  resize: none;
  outline: none;
  border: 2px solid gray;
  border-radius: 5px;
  font-size: 18px;
}

.right {
  margin-left: 100px;
  margin-bottom: 220px;
  font-size: 17px;
  border: 2px solid;
  padding: 10px;
  border: 2px solid gray;
  border-radius: 20px;
}

.four {
  font-size: 25px;
  font-weight: 600;
}

.footer {
  padding-top: 20px;
  height: 40vh;
  display: flex;
  justify-content: space-around;
  box-shadow: 0px 0px 10px 2px rgb(30, 82, 126);
}

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

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

/* Responsive styles */

@media screen and (max-width:1186px){

        nav{
          margin-left: -200px;
        }
        .footer{
          height: 25vh;
        }
}



@media screen and (max-width: 1024px) {
  nav {
    padding-left:400px;
  }
  nav ul{
    gap: 40px;
  }
  .contact-page{
    margin-right: 0;
    margin-left: 10px;
  }
}

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

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

  .menu-icon {
    display: flex;
    margin-right: 20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    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);
  }

  .contact-page {
    flex-direction: column;
    height: auto;
    margin-right: 0;
    padding: 30px 0;
  }

  .left,
  .right {
    margin: 20px auto;
    width: 90%;
  }

  .right {
    margin-bottom: 30px;
  }

  input,
  textarea {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .footer {
    height: auto;
    flex-direction: column;
    padding: 20px 0;
  }

  .footer-quick-links ul {
    flex-direction: row;
    gap: 30px;
    margin-left: 40px;
  }

  .footer-bottom,
  .designer-vansh {
    padding-left: 0;
    text-align: center;
  }
}

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

  .one {
    font-size: 35px;
  }

  .two {
    font-size: 15px;
  }

  .four {
    font-size: 22px;
  }
   .footer-quick-links ul {
    flex-direction: row;
    gap: 3px;
    margin-left: -20px;
  }
  .footer{
    height: 30vh;
  }
}
