* {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana,  sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  /*Colors*/
  --primary-color: #d09c00; /* For headings and buttons */
  --background-color: #ffffff; /* Main background */
  --accent-color: #d09c0013; /* For button hover states */
  --text-color: #535154; /* General body text */

  /*Border Raduis*/
  --border-raduis-s: 8px;
  --border-raduis-m: 30px;
  --border-raduis-circle: 50%;

  /*Font Size*/
  --font-size-m: 1.12rem;
  --font-size-1: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 2.3rem;

  /*Font weight*/
  --font-weight-normal: 400;
  --font-weight-meduim: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /*Site max width*/
  --site-max-with: 1300px;
}
/*  Style for the whole site  */
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  width: 100%;
}

.section-content {
  margin: 0 auto;
  padding: 0 30px;
  max-width: var(--site-max-with);
}

/*Navbar Styling*/
.navbar {
  background: transparent;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  border-bottom: 1px solid #cccccc3a;
  padding: 40px 0;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.096);
  z-index: 99;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
  margin-left: 10px;
  margin-bottom: 10px;
}

.logo-image {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background-color: #535152;
  background-image: url("dhub_logo_1.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.336);
  margin-right: 5px;
}

.logo-text {
  line-height: 1.2;
  align-self: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

.menu-close-btn {
  display: none;
}

.navlinks {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navlinks ul {
  margin-right: 30px;
  display: flex;
  list-style-type: none;

  a {
    color: var(--text-color);
    text-decoration: none;
    padding: 5px 20px;
    border-radius: 10px;
    transition: 0.4s;
  }

  a:hover {
    background-color: var(--accent-color);
  }

  .nav-link.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-bottom: 4px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 0;
  }
}

.download {
  margin-right: 60px;
  border-radius: 20px;
  padding: 10px 20px;
  border: none;
  background-color: var(--primary-color);
  color: var(--background-color);
}

.download:hover {
  color: var(--primary-color);
  background-color: var(--accent-color);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .navbar {
    display: flex;
    height: 60px;
    padding: 0 15px;
  }

  .logo {
    font-size: 24px;
    margin-left: 10px;
  }

  .menu-toggle {
    display: block;
    z-index: 1000;
  }

  .navlinks {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80vw;
    max-width: 340px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
    padding: 40px 28px 28px 28px;
    flex-direction: column;
    align-items: stretch;
    transition: right 0.35s cubic-bezier(0.77, 0.2, 0.05, 1);
    z-index: 1100;
  }

  .navlinks.active {
    display: flex;
    right: 0;
  }

  .navlinks ul {
    flex-direction: column;
    width: 100%;
    margin: 0;
    gap: 0;
    padding: 0;
  }

  .navlinks ul li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid #f2f2f2;
    padding: 0;
  }

  .navlinks ul a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 18px 0 18px 12px;
    font-size: 1.15rem;
    border-radius: 0;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s;
  }

  .navlinks ul a:hover {
    background: #f7f7f7;
    color: var(--primary-color);
  }

  .navlinks ul .nav-link.active {
    background: #f7f7f7;
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 16px;
    border-bottom: 0;
  }

  .navlinks .download {
    margin: 24px 0 0 0;
    width: 100%;
    font-size: 1.1rem;
    padding: 14px 0;
    border-radius: 16px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(208, 156, 0, 0.08);
  }

  /* Overlay for mobile menu */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1090;
  }
  .menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Close button for mobile menu */
  .menu-close-btn {
    display: block;
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 2.2rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1200;
    transition: color 0.2s;
  }
  .menu-close-btn:hover {
    color: #ff9800;
  }
}

.hero-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.527)),
    url("hero_section.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-section .section-content {
  display: flex;
  align-items: center;
  min-height: 80vh;
  color: var(--text-color);
  justify-content: space-between;
}

.hero-section .hero-details h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.hero-section .hero-details p {
  margin-bottom: 70px;
  max-width: 700px;
  margin-right: auto;
  margin-left: 2px;
  text-align: left;
  color: var(--background-color);
  font-size: 1.5rem;
}
.hero-section .hero-details .button {
  display: flex;
  gap: 25px;
}
.hero-section .hero-details .btn-app {
  padding: 10px 26px;
  color: var(--background-color);
  border-radius: var(--border-raduis-m);
  background: #d09c00;
}
.hero-section .hero-details .btn-app:hover {
  background: rgb(236, 205, 79);
  color: var(--text-color);
  transform: translateY(-5px);
  transition: all ease-out 0.3s;
}
.hero-section .hero-details .btn-more:hover {
  background: rgb(236, 205, 79);
  color: var(--text-color);
  transform: translateY(-5px);
  transition: all ease-out 0.3s;
}
.hero-section .hero-details .btn-more {
  padding: 10px 26px;
  color: var(--background-color);
  border-radius: var(--border-raduis-m);
  background: #d09c00;
}

footer {
  bottom: 0;
  background-color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 60px;
  padding: clamp(20px, 3vw, 30px);
  flex-wrap: wrap;
  gap: 20px;
}

footer .copyright {
  color: var(--background-color);
  margin: 0;
  font-size: clamp(14px, 1.5vw, 16px);
  text-align: center;
  flex: 1 1 100%;
  order: 3;
}

footer .terms {
  flex: 1 1 auto;
  text-align: center;
  order: 1;
}

footer .terms a {
  text-decoration: none;
  color: var(--background-color);
  font-size: clamp(14px, 1.5vw, 16px);
  padding: 5px 10px;
  display: inline-block;
}

footer .terms a:hover {
  color: var(--primary-color);
}

footer .social-links {
  margin: 0;
  display: flex;
  justify-content: center;
  gap: clamp(15px, 2vw, 30px);
  flex: 1 1 auto;
  order: 2;
}

/* Social link: icon + optional label */
footer .social-links a.social-link {
  text-decoration: none;
  color: var(--background-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(14px, 1.5vw, 16px);
  padding: 8px 12px;
  border-radius: 10px;
  min-width: 44px;
  min-height: 44px;
}

footer .social-links a.social-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: inherit;
}

footer .social-links a.social-link .social-label {
  display: inline-block;
}

footer .social-links a.social-link:hover {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.04);
}

#typing-text {
  font-size: 2.8rem;
  font-weight: bold;
  color: var(--primary-color);
  white-space: nowrap;
  overflow: hidden;
}

/* Responsive Styles */
@media (min-width: 768px) {
  footer {
    flex-wrap: nowrap;
    padding: 0 clamp(20px, 3vw, 60px);
  }

  footer .copyright {
    flex: 0 1 auto;
    order: 1;
    text-align: left;
  }

  footer .terms {
    order: 2;
  }

  footer .social-links {
    order: 3;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: auto;
    padding: 30px 20px;
  }

  footer .copyright,
  footer .social-links {
    margin: 0;
    text-align: center;
  }

  footer .social-links {
    width: 100%;
    justify-content: center;
    gap: 20px;
  }

  /* On small screens show icons only for compact footer */
  footer .social-links a.social-link .social-label {
    display: none;
  }
}

/*Responsive media query code for max width 900px*/
@media screen and (max-width: 900px) {
  :root {
    --font-size-m: 1rem;
    --font-size-1: 1.3rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 1.8rem;
  }

  body.show-mobile-menu header::before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    -webkit-backdrop-filter: blur(2.5px);
    backdrop-filter: blur(2.5px);
    background: rgb(0, 0, 0, 0.2);
  }

  .navbar :where(#menu-close-btn, #menu-open-btn) {
    display: block;
    font-size: var(--font-size-1);
  }

  .navbar #menu-close-btn {
    position: absolute;
    right: 30px;
    top: 30px;
  }

  .navbar #menu-open-btn {
    color: black;
  }

  .navbar .nav-menu {
    display: block;
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    background: whitesmoke;
    transition: left 0.2s ease;
  }

  body.show-mobile-menu .navbar .nav-menu {
    left: 0;
  }

  .navbar .nav-menu .nav-link {
    color: var(--text-color);
    display: block;
    margin-top: 17px;
    font-size: var(--font-size-1);
  }
}

@media (max-width: 512px) {
  #typing-text {
    font-size: 2.34rem;
    text-align: center;
  }
  .hero-section {
    justify-content: center;
  }
  .hero-section .hero-details p {
    text-align: center;
    font-size: 1.3rem;
  }
  .logo {
    margin-left: -5px;
  }
  .logo-text {
    font-size: 1rem;
  }
  .button {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
}
