html,
body {
  width: 100%;
  overflow-x: hidden;
}

:root {
  --scrollbar-width: 0px;
  --primary-color: #007bff;
  --primary-hover: #0056b3;
  --secondary-color: #6c757d;
  --secondary-hover: #545b62;
  --success-color: #28a745;
  --success-hover: #218838;
  --danger-color: #dc3545;
  --danger-hover: #c82333;
  --warning-color: #ffc107;
  --border-color: #ddd;
  --bg-light: #f9faf8;
  --text-primary: #222;
  --text-secondary: #666;
  --text-muted: #6c757d;
  --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 3px 6px 0 rgba(50, 50, 50, 0.3);
  --shadow-footer: 0 -3px 6px 0 rgba(50, 50, 50, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: linear-gradient(to top left, #e9f1f5, #fdfdfd);

  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Common Elements */
img {
  vertical-align: middle;
  border: 0;
  max-height: 100%;
  max-width: 100%;
}

ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

/* Header & Navigation */
.header {
  background: #fff;
  width: 100%;
  height: 60px;
  z-index: 1041;
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  box-shadow: var(--shadow-medium);
  padding: 0 24px;
}

.header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: block;
  line-height: 20px;
  align-items: center;
}

.header nav .brand img {
  height: 30px;
  width: auto;
  margin: 0;
}

.header .menu {
  margin: 0 24px;
  align-items: center;
  height: 100%;
  display: flex;
  order: 2;
  font-weight: 500;
  line-height: 18px;
  text-transform: uppercase;
  flex: 1;
  justify-content: flex-end;
}

.header .menu > ul {
  height: 100%;
  display: flex;
}

.header .menu > ul > li {
  display: flex;
  align-items: center;
  margin: 0 4px;
}

.header .menu > ul > li,
.header .menu > ul > li > a {
  color: #000;
  text-decoration: none;
}

.header .menu > ul > li > a {
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
}

.header .menu > ul > li > a:hover {
  color: var(--primary-color);
}

/* Hamburger Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #000;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section*/
.hero {
  position: relative;
  text-align: center;
  padding: 15px 5px 5px;
}

.hero-title {
  font-weight: 600;
  font-size: 42px;
  line-height: 52px;
  color: #000000;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4px;
  max-width: 1100px;
}

.hero-title-subtitle {
  line-height: 32px;
  font-size: 22px;
  font-weight: 400;
  color: #47474f;
  max-width: 980px;
  margin: auto auto 28px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Highlight Section */
.highlight {
  background: #fff;
  margin: 20px auto;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  text-align: center;
  max-width: 1200px;
  width: 100%;
}

.highlight h2 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #000;
  font-weight: 600;
}

.highlight p {
  color: #47474f; /* Using your existing color or var(--text-muted) */
  font-size: 16px;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Button styling for home page highlight */
.highlight .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #65a9f1;
  color: rgb(0, 0, 0);
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.highlight .btn:hover {
  background-color: #0097a7;
}

/* Footer Layout */
.footer {
  background: #fff;
  width: 100%;
  height: 60px;
  z-index: 990;
  position: relative;
  box-shadow: var(--shadow-footer);
  padding: 0 24px;
  margin-top: auto;
}

.footer nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

/* Footer Brand (Left Side - Copyright) */
.footer-brand {
  display: block;
  line-height: 20px;
  align-items: center;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

/* Footer Menu (Right Side - Links) */
.footer .menu {
  margin: 0 24px;
  align-items: center;
  height: 100%;
  display: flex;
  order: 2;
  font-weight: 500;
  line-height: 18px;
  text-transform: uppercase;
  flex: 1;
  justify-content: flex-end;
}

.footer .menu > ul {
  height: 100%;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer .menu > ul > li {
  display: flex;
  align-items: center;
  margin: 0 4px;
}

.footer .menu > ul > li,
.footer .menu > ul > li > a {
  color: #000;
  text-decoration: none;
}

.footer .menu > ul > li > a {
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  text-transform: uppercase;
}

.footer .menu > ul > li > a:hover {
  color: var(--primary-color);
}

/* Active link state */
.footer .menu > ul > li > a.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Scroll to top button styles */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 20%;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
}

/* Show button when scrolled - Scroll to Top */
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover effects - Scroll to Top */
.scroll-to-top:hover {
  background: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

/* Arrow icon using CSS - Scroll to Top */
.scroll-to-top::before {
  content: "↑";
  display: block;
  line-height: 50px;
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .header .menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  .header .menu.active {
    transform: translateX(0);
  }

  .header .menu > ul {
    flex-direction: column;
    gap: 2rem;
    height: auto;
  }

  .header .menu > ul > li {
    margin: 0;
  }

  .header .menu > ul > li > a {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
  }

  .header .menu > ul > li > a:hover {
    background-color: #f0f0f0;
    color: var(--primary-color);
  }

  body.nav-opened {
    margin-right: var(--scrollbar-width);
    overflow: hidden;
  }
  .footer {
    height: auto;
    padding: 15px 24px;
    z-index: 999;
  }

  .footer nav {
    flex-direction: column;
    gap: 10px;
    height: auto;
  }

  .footer-brand {
    order: 2;
    font-size: 13px;
  }

  .footer .menu {
    order: 1;
    justify-content: center;
    margin: 0;
    flex: none;
  }

  .footer .menu > ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    height: auto;
  }

  .footer .menu > ul > li {
    margin: 0 2px;
  }

  .footer .menu > ul > li > a {
    font-size: 12px;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
  }

  .footer .menu > ul > li > a:hover {
    background-color: #f0f0f0;
    color: var(--primary-color);
  }
  /* Scroll to Top */
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 16px;
  }

  .scroll-to-top::before {
    line-height: 45px;
  }
}
