:root {
  --primary-color: #4d6a6d;
  --secondary-color: #71888a;
  --text-color: #fff;
  --dark-bg: #2b2a29;
  --animation-duration: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  padding-top: 80px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--animation-duration) ease;
}

ul {
  list-style: none;
}

.section {
  padding: clamp(40px, 8vw, 80px) 0;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  position: relative;
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--animation-duration) ease;
  font-size: 1rem;
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.header {
  position: fixed;
  height: 65px;
  padding: 0;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px clamp(20px, 5vw, 50px);
  height: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.logo {
  margin-right: auto;
}

.logoimg {
  height: clamp(40px, 5vw, 50px);
  width: auto;
  transition: all 0.3s ease;
  max-height: 100%;
}

.nav-menu {
  display: flex;
  gap: clamp(15px, 2vw, 30px);
  z-index: 999;
  margin-left: auto;
  padding-left: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  transform: translateY(10px);
}

.dropdown-menu li {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  display: block;
  color: #333;
  transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
  background: transparent;
  border: none;
  outline: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #333;
  transition: all 0.3s ease-in-out;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

footer {
  background-color: var(--dark-bg);
  color: var(--text-color);
  padding: 20px 0 10px;
  border-top-left-radius: 125px;
}

.footer_row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer_col {
  padding: 20px;
}

.footer_col h3 {
  font-size: 23px;
  margin-bottom: 30px;
  position: relative;
}

.footer_underline {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--text-color);
}

.footer_col p {
  margin-bottom: 5px;
  line-height: 1.6;
}

.footer_col ul li a:hover {
  color: #4d6a6d;
}

.footer_social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer_social-icons i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--text-color);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer_social-icons i:hover {
  transform: translateY(-3px);
}

hr {
  border: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0px auto 10px;
  max-width: 90%;
}

.footer_copyright {
  text-align: center;
  font-size: 12px;
}
.footer_copyright1 {
  text-align: center;
  font-size: 9px;
}

@media (max-width: 992px) {
  .footer_row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  footer {
    border-top-left-radius: 60px;
  }
}

@media (max-width: 576px) {
  .footer_row {
    grid-template-columns: 1fr;
  }

  footer {
    border-top-left-radius: 60px;
  }
}

@media (max-width: 472px) {
  footer {
    padding: 30px 0 20px;
    border-top-left-radius: 50px;
  }

  .footer_row {
    grid-template-columns: 1fr;
    padding: 0 35px;
  }

  .footer_col {
    padding: 15px 0;
  }

  .footer_col h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .footer_social-icons {
    /*justify-content: center;*/
    justify-content: left;
  }
}

@media (max-width: 992px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #fff;
    flex-direction: column;
    gap: 0;
    transition: 0.3s;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    width: 100%;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    display: none;
    width: 100%;
    border-radius: 0;
    transform: none;
  }

  .nav-item.dropdown.active .dropdown-menu {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 768px) {
}

@media (max-width: 576px) {
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.footer_col ul li a {
  animation: fadeIn 0.5s ease forwards;
}

@media (max-width: 992px) {
  .dropdown {
    position: relative;
  }

  .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    transition: transform 0.3s ease;
  }

  .dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    display: none;
    padding-left: 20px;
    background-color: rgba(0, 0, 0, 0.05);
  }

  .dropdown.active .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  .dropdown-menu li {
    padding: 10px 0;
    border-bottom: none;
  }

  .dropdown-menu li a {
    color: #333;
    padding: 8px 0;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.developer-link:hover {
  color: #4d6a6d;
}
