* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: poppins, sans-serif;
  text-decoration: none;
}

body {
  font-family: "Baloo Bhai 2";
  background: #151f29;
  min-height: 100vh;
}

:root {
  --menu-width: 300px;
  --collapsed-width: 60px;
}

aside {
  padding: 10px;
  position: fixed;
  min-height: 100vh;
  background: linear-gradient(0deg, black, #1f314b);
  width: 300px;
  color: white;
  transition: 0.3s;
  box-shadow: 0 0 15px 0 #00000073;
  z-index: 1;
}

.collapsed aside {
  width: var(--collapsed-width);
}

.menu-btn {
  color: white;
  position: absolute;
  top: 20px;
  right: -25px;
  padding: 8px;
  border: none;
  font-size: 15px;
  aspect-ratio: 1;
  border-radius: 0 50% 50% 0;
  cursor: pointer;
  box-shadow: 2px 0 5px 0 #1a1a1a;
  background: #1b2b42;
}

.logo-wrapper {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  align-items: center;
  gap: 15px;
  padding: 10px;
}

a {
  text-decoration: none;
  color: white;
}

.fa-uikit:before {
  font-size: 25px;
}

.brand-name {
  font-size: 20px;
  transition: 0.3s;
}

.collapsed .brand-name {
  width: 0;
  visibility: hidden;
  transition-delay: 0.3s;
}

.separator {
  width: 100%;
  height: 1px;
  position: relative;
  top: 10px;
  background-color: rgb(171 171 171 / 21%);
}

.menu-items {
  margin-top: 15px;
}

ul {
  list-style: none;
}

.menu-items a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.menu-items a:hover {
  color: #daddff;
  background: #00000017;
  border-radius: 10px;
}

.menu-items li {
  position: relative;
}

.icon {
  font-size: 20px;
}

.item-name {
  transition: 0.3s;
}

.collapsed .item-name {
  width: 0;
  visibility: hidden;
  transition-delay: 0.3s;
}

.tooltip {
  position: absolute;
  right: -25px;
  top: 50%;
  color: white;
  padding: 5px 15px;
  font-size: 15px;
  line-height: 1.5;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  background-color: rgb(22, 22, 22);
  transform: translate(100%, -50%);
}

.collapsed .menu-items a:hover + .tooltip {
  visibility: visible;
  opacity: 1;
}

.tooltip::before {
  content: "\f0d9";
  font-family: "Font Awesome 6 Free";
  position: absolute;
  font-weight: 900;
  left: 0;
  top: 50%;
  font-size: 30px;
  color: #161616;
  transform: translate(-50%, -50%);
}

main {
  position: relative;
  left: calc(var(--menu-width) + 20px);
  width: calc(100% - (var(--menu-width) + 20px));
  transition: 0.3s;
  padding: 10px;
  color: white;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.logo i {
  height: 40px;
  width: 40px;
  background-color: #007ced;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  padding: 10px;
  margin-right: 5px;
  cursor: pointer;
  text-align: center;
  position: relative;
  left: -20px;
}

.logo .logo-text {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  visibility: visible;
  transition: 0.3s;
}

.collapsed .logo .logo-text {
  visibility: hidden;
  width: 0;
}

.collapsed main {
  left: calc(var(--collapsed-width) + 20px);
}

.social a i {
  position: relative;
  top: 10px;
  transition: transform 0.3s ease;
  font-size: 30px !important;
}

.social a:hover i {
  transform: scale(1);
}

.hero-header {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: #222;
}

.wrapper {
  width: 1280px;
  max-width: 95%;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  padding: 40px 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav .togglebtn {
  width: 35px;
  height: 35px;
  position: absolute;
  top: 45px;
  right: 3%;
  z-index: 5;
  cursor: pointer;
  display: none;
}

nav .togglebtn span {
  display: block;
  background-color: #007ced;
  margin: 5px 0;
  width: 100%;
  height: 3px;
  transition: 0.3s;
  transition-property: transform, opacity;
}

nav .navlinks {
  list-style-type: none;
}

nav .navlinks li {
  display: inline-block;
}

nav .navlinks li a {
  color: #e5e5e5;
  margin-right: 2.5rem;
}

nav .navlinks li a:hover {
  transform: scale(1.1);
  border-bottom: 3px solid #007ced;
  border-radius: 2px;
  padding-bottom: 2px;
}

.container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 4rem;
}

.hero-text {
  max-width: 500px;
  display: flex;
  flex-direction: column;
}

#dynamic-text,
.line {
  color: #007ced;
}

.hero-text h5 {
  color: #e5e5e5;
  font-size: 14px;
}

.hero-text {
  color: #ffffff;
  font-size: 16px;
  position: relative;
  top: 100px;
}

.hero-text h4 span {
  color: #007ced;
  font-size: 16px;
}

.hero-text h5 span {
  color: #007ced;
  font-size: 16px;
}

.hero-text h1 {
  color: #007ced;
  font-size: 3rem;
}

.hero-text p {
  color: #e5e5e5;
}

.hero-text .social i {
  color: #e5e5e5;
  font-size: 18px;
  margin-right: 10px;
  transition: 0.5s;
}

.hero-text .social i:hover {
  color: #007ced;
  transform: rotate(360deg);
}

.dropdown {
  position: relative;
  display: inline-block;
  right: 155px;
}

.dropdown-btn {
  background-color: #3498db;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 150px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  overflow: hidden;
}

.dropdown-content a {
  color: black;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 4rem;
}

.container .upcoming-projects-section {
  max-width: 800px;
}

.upcoming-projects-section h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  text-align: center
;
  top: 60px;
}

.upcoming-projects {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  top: 60px;
  left: 40px;
}

.upcoming-project-card {
  background-color: #333;
  border-radius: 8px;
  border-color: #007ced;
  border-width: 2px;
  border-style: solid;
  padding: 20px;
  width: 260px;
  height: 285px;
  margin-bottom: 20px;
  transition: transform 0.3s;
  margin: 3.3px;
}

.upcoming-project-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 10px;
  background-color: #007ced;
  text-align: center;
}

.upcoming-project-card p {
  color: #e5e5e5;
  position: relative;
  top: 10px;
  margin-bottom: 10px;
}

.upcoming-project-card:hover {
  transform: scale(1.05);
}

@media (max-width: 930px) {
  body {
    overflow-x: hidden;
  }

  body.overflow-hidden {
    overflow-x: hidden;
  }

  body:not(.collapsed) {
    overflow-x: auto;
  }

  nav .togglebtn {
    display: initial;
    cursor: pointer;
    top: 25px;
    right: 20px;
    z-index: 10;
  }

  .click {
    top: 45px;
  }

  .click span {
    position: fixed;
    margin-top: 12px;
  }

  .click span:first-child {
    transform: rotate(-40deg);
  }

  .click span:nth-child(2) {
    opacity: 0;
    margin: 0;
  }

  .click span:last-child {
    transform: rotate(45deg);
    top: 0;
  }

  nav .navlinks {
    position: fixed;
    top: 110px;
    right: -100%;
    bottom: 0;
    width: 60%;
    height: 100vh;
    background-color: #222;
    z-index: 3;
    box-shadow: 5px 13px 30px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
    padding: 25px 0;
  }

  nav .navlinks li {
    display: block;
  }

  nav .navlinks li a {
    display: block;
    margin-bottom: 15px;
    text-align: center;
  }

  nav .navlinks.open {
    right: 0;
  }

  .dropdown {
    width: 100%;
    top: 25px;
    left: -40px;
  }

  .dropdown-btn {
    width: 500px;
    text-align: center;
    height: 50px;
    position: fixed;
    left: 30px;
  }

  .dropdown-content {
    width: 100%;
    position: fixed;
    text-align: center;
    box-shadow: none;
    border-radius: 0;
    left: 40px;
  }

  .dropdown-content a {
    padding: 10px;
    border-bottom: 1px solid #ddd;
  }

  .menu-btn {
    color: white;
    position: absolute;
    top: 20px;
    left: 200px;
    z-index: 10;
  }

  .upcoming-projects {
    display: flex;
    flex-direction: column;
    gap: 20px;
    left: 240px;
  }

  .upcoming-projects-section h2 {
    position: relative;
    left: 210px;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    top: 10px;
    right: -20px;
  }

  body {
    flex-direction: column;
    overflow-y: scroll;
  }

  aside {
    width: 200px;
    left: 0;
    transition: all 0.3s ease;
  }

  .collapsed aside {
    width: var(--collapsed-width);
    left: -60px;
  }

  .container {
    margin-left: 0;
  }

  .collapsed .container {
    margin-left: -150px;
  }

  .hero-text {
    text-align: left;
    position: relative;
    left: 80px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 20px 0;
  }

  .logo .logo-text {
    font-size: 20px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .container {
    flex-direction: column;
    padding-top: 1rem;
  }

  .hero-text h5 {
    font-size: 12px;
  }

  .social a i {
    font-size: 20px;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.fadeIn {
  animation: fadeIn 1s ease-out;
}

.slideUp {
  animation: slideUp 0.5s ease-out;
}

button,
input[type="button"],
input[type="submit"] {
  transition: all 0.3s ease;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  transform: scale(1.1);
  background-color: #3498db;
}

footer {
  background-color: #222;
  color: #fff;
  padding: 20px;
  text-align: center;
}

footer a {
  color: #3498db;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

section {
  padding: 50px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 20px;
}

p {
  margin-bottom: 15px;
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.margin-top {
  margin-top: 20px;
}

.margin-bottom {
  margin-bottom: 20px;
}

.padding-top {
  padding-top: 20px;
}

.padding-bottom {
  padding-bottom: 20px;
}

.container-fluid {
  max-width: 100%;
  width: 100%;
}

.lang {
  position: relative;
}

.lang summary {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  width: 100%;
}

.lang summary:hover {
  background: #1a3142;
}

.lang .icon {
  margin-right: 10px;
}

.lang .item-name {
  display: inline-block;
  transition: opacity 0.3s;
}

.lang .menu-items {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #1b2b42;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.lang[open] .menu-items {
  display: block;
}

.lang .menu-items li {
  padding: 10px;
  color: white;
  cursor: pointer;
}

.lang .menu-items li:hover {
  background-color: #1a3142;
  color: #daddff;
}

.lang .menu-items li:active {
  background-color: #007ced;
}

.lang .tooltip {
  position: absolute;
  top: 50%;
  right: -130%;
  transform: translate(100%, -50%);
  background-color: #222;
  padding: 5px 10px;
  color: white;
  font-size: 15px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.lang:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.lang .tooltip::before {
  content: "\f0d9";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  font-size: 20px;
  color: #161616;
}

.lang li {
  padding: 10px;
  background-color: #1b2b42;
  color: white;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 5px;
  margin-bottom: 5px;
}

.lang li:hover {
  background-color: #007ced;
  color: white;
}

.lang li:active {
  background-color: #005a8d;
}

.lang li:last-child {
  margin-bottom: 0;
}
