html,
body {
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(to bottom, #f1f1fa 0%, #ffffff 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* ====== CONTAINER ====== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== TOPBAR ====== */
.topbar {
  background: #fff;
  font-size: 14px;
  color: #000;
  font-family: Arial, sans-serif;
  line-height: 1.6; /* better line spacing */
}

.topbar .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
  flex-wrap: wrap;
}

/* Left side meta info */
.topbar .meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px; /* space between items */
}

.topbar .meta span {
  display: flex;
  align-items: center;
  color: #000;
  margin-bottom: 4px;
}

.topbar .meta i {
  margin-right: 6px;
  color: #000; /* black icons */
  font-size: 14px;
}

/* Separator style */
.topbar .sep {
  color: #c0c0c0;
  font-weight: 100;
  margin: 0 40px;
}

/* Right side social icons */
.topbar .social {
  display: flex;
  align-items: center;
  color: #c0c0c0;
  font-weight: 100;
  justify-content: center;
}

.topbar .social a {
  color: #000; /* black icons */
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  padding: 0 8px; /* Equal spacing on both sides */
}

.topbar .social .sep {
  color: #c0c0c0;
  font-weight: 100;
  margin: 0 4px; /* Reduced margin since we have padding on anchors */
}

.topbar .social a:hover {
  color: #fbfafc; /* purple hover */
  background-color: #662d91;
}

/* Remove left margin from first social icon */
.topbar .social a:first-child {
  margin-left: 0;
}

/* ✅ Responsive adjustments */
@media (max-width: 768px) {
  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }

  .topbar .meta {
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .topbar .sep {
    display: none;
  }

  .topbar .social {
    margin-top: 4px;
  }
  .topbar .social a {
    padding: 0 6px; /* Slightly reduced padding on mobile */
  }

  .topbar .social .sep {
    margin: 0 3px;
  }
}

/* ====== NAVBAR ====== */
/* ===== NAVBAR WRAPPER ===== */
.navbar {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 7px 0;
  margin-bottom: 0;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 65%; /* Slightly reduced but not too much */
  background: #f5f3fa; /* light lavender */
  clip-path: polygon(
    15% 0,
    100% 0,
    100% 100%,
    0 100%
  ); /* More moderate diagonal start */
  z-index: 0;
}

/* Media query for 1024px screens */
@media (max-width: 1024px) and (min-width: 769px) {
  .navbar::before {
    width: 75% !important;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%) !important;
    background: #f5f3fa !important;
  }
}

/* Media query for 768px screens */
@media (max-width: 768px) and (min-width: 481px) {
  .navbar::before {
    width: 65% !important;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%) !important;
    background: #f5f3fa !important;
  }
}

/* ===== CONTAINER ===== */
.navbar .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
}

/* ===== NAV LINKS ===== */
.navbar .nav {
  display: flex;
  gap: 30px;
  flex: 1 1 auto; /* Take available space */
  justify-content: center;
  align-items: center;
}

/* ===== CTA BUTTONS ===== */
.ctas {
  display: flex;
  gap: 12px;
  flex: 0 0 auto; /* Don't grow or shrink */
}
/* ===== BRAND SECTION ===== */
.navbar .brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto; /* Don't grow or shrink */
  max-width: 25vw; /* Use viewport width instead of fixed pixels */
  min-width: 250px; /* Minimum width to ensure logo fits */
}

.navbar .logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

.navbar .logo img {
  height: 40px;
  margin-bottom: 2px;
  max-width: 180px; /* Constrain logo image */
  width: auto;
  object-fit: contain;
}

.site-title {
  font-size: 13px;
  font-weight: 400;
  color: #6c757d;
  margin: 0;
  line-height: 1.2;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar .nav a {
  outline: none;
  box-shadow: none;
  text-decoration: none;
  color: #1f242c;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}
.navbar a,
.navbar a:focus,
.navbar a:active {
  outline: none !important;
  box-shadow: none !important;
}

.navbar .nav a:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -20px; /* Position at bottom of navbar */
  height: 2px;
  width: 100%;
  background: #a860f0;
}

/* Active navigation state */
.navbar .nav a.active {
  color: #662d91;
  font-weight: 600;
}

.navbar .nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -20px;
  height: 2px;
  width: 100%;
  background: #662d91;
}

/* ===== CTA BUTTONS ===== */
.ctas {
  display: flex;
  gap: 12px;
}

.button {
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 15px;
  display: inline-block;
  line-height: 1.2;
}

.button.primary {
  background: #662d91;
  color: #fff;
}

.button.primary:hover {
  background: #553075;
  color: white;
  box-shadow: 0 3px 6px rgba(251, 251, 252, 0.25);
}

.button.secondary {
  background: #fff;
  color: #1f242c;
  border: 1px solid #ddd;
}

.button.secondary:hover {
  background: #f8f9fa;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

/* ===== RESPONSIVE ===== */
/* Extra large screens */
@media (min-width: 1400px) {
  .navbar .brand {
    max-width: 350px;
    min-width: 350px;
  }

  .navbar .logo img {
    max-width: 200px;
  }

  .site-title {
    max-width: 200px;
  }
}

/* Large screens */
@media (min-width: 1200px) and (max-width: 1399px) {
  .navbar .brand {
    max-width: 320px;
    min-width: 320px;
  }

  .navbar .logo img {
    max-width: 190px;
  }

  .site-title {
    max-width: 190px;
  }
}

/* Medium-large screens */
@media (min-width: 1024px) and (max-width: 1199px) {
  .navbar .brand {
    max-width: 280px;
    min-width: 280px;
  }

  .navbar .logo img {
    max-width: 170px;
  }

  .site-title {
    max-width: 170px;
  }
}

/* Tablets and small laptops */
@media (min-width: 768px) and (max-width: 1023px) {
  .navbar .brand {
    max-width: 240px;
    min-width: 240px;
  }

  .navbar .logo img {
    max-width: 150px;
  }

  .site-title {
    max-width: 150px;
    font-size: 12px;
  }

  .navbar .nav {
    gap: 20px; /* Reduce gap between nav items */
  }

  .navbar .nav a {
    font-size: 15px; /* Slightly smaller nav text */
  }

  .ctas .button {
    padding: 8px 14px; /* Smaller buttons */
    font-size: 14px;
  }
}

/* Mobile and small tablets */
@media (max-width: 767px) {
  .navbar .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .navbar .brand {
    max-width: none;
    min-width: auto;
    width: auto;
  }

  .navbar .logo img {
    max-width: none;
  }

  .site-title {
    max-width: none;
  }

  .nav {
    order: 3;
  }

  .ctas {
    order: 2;
  }
}

/* ====== MOBILE MENU STYLES ====== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  padding: 0.5rem;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1000000 !important;
}

.mobile-menu-toggle:hover {
  color: #662d91;
}

.mobile-menu-dropdown {
  display: none;
  position: fixed !important;
  top: 60px !important;
  right: 20px !important;
  background: white !important;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 280px;
  z-index: 2147483647 !important; /* Maximum z-index value */
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.mobile-menu-dropdown.active {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  z-index: 2147483647 !important; /* Maximum z-index value */
}

.mobile-nav {
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  z-index: 2147483647 !important;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 1.5rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
  z-index: 2147483647 !important;
}

.mobile-nav a:hover {
  background-color: #f8f9fa;
  border-left-color: #662d91;
  color: #662d91;
  transform: translateX(5px);
}

.mobile-nav a.active {
  background-color: #f5f3fa;
  border-left-color: #662d91;
  color: #662d91;
  font-weight: 600;
}

.mobile-ctas {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 2147483647 !important;
}

.mobile-ctas .button {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 8px;
  position: relative;
  z-index: 2147483647 !important;
}

.mobile-ctas .button.primary {
  background: #662d91;
  color: white;
  border: none;
}

.mobile-ctas .button.primary:hover {
  background: #553075;
  transform: translateY(-2px);
}

.mobile-ctas .button.secondary {
  background: white;
  color: #333;
  border: 1px solid #ddd;
}

.mobile-ctas .button.secondary:hover {
  background: #f8f9fa;
  border-color: #662d91;
  color: #662d91;
}

/* Show mobile menu toggle on screens with hide-1024 class visible */
@media (max-width: 1024px) {
  .hide-1024 {
    position: relative;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* Ensure the dropdown positions correctly */
  .hide-1024 .mobile-menu-dropdown {
    position: absolute;
    right: 20px;
  }
}

/* Animation for smooth icon transitions */
.mobile-menu-toggle i {
  transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover i {
  transform: scale(1.1);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
  .mobile-menu-dropdown {
    min-width: 250px;
    right: 10px;
  }

  .mobile-nav a {
    padding: 0.75rem 1.25rem;
    font-size: 15px;
  }

  .mobile-ctas {
    padding: 1.25rem;
  }

  .mobile-ctas .button {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Ensure dropdown is above other elements */
.mobile-menu-dropdown {
  z-index: 9999;
}

/* Add subtle backdrop blur effect for modern browsers */
@supports (backdrop-filter: blur(10px)) {
  .mobile-menu-dropdown {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
  }
}

.dflex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.element-home {
  position: relative;
  width: 100%;
  min-height: 600px;
  background-image: url("layout.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.image-panel {
  display: none;
}

.element-home .button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 30px;
  background-color: #662d91;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 30px;
  z-index: 2;
  text-decoration: none;
  transition: all 0.3s ease;
}

.element-home .button:hover {
  background-color: #542471;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 45, 145, 0.3);
}

.element-home .text-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-family: var(--button-font-family);
  font-weight: var(--button-font-weight);
  color: #ffffff;
  font-size: var(--button-font-size);
  letter-spacing: var(--button-letter-spacing);
  line-height: var(--button-line-height);
  font-style: var(--button-font-style);
}

.element-home .designed-exclusively {
  position: relative;
  max-width: 800px;
  text-align: center;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

  font-family: "DM Sans", Helvetica;
  font-weight: 400;
  color: var(--gray-700);
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.6;
}

.element-home .span {
  line-height: 27px;
}

.element-home .text-wrapper-2 {
  line-height: 34px;
}

.element-home .group {
  position: absolute;
  top: 15px;
  left: calc(50% - 645px);
  width: 1291px;
  height: 32px;
  display: flex;
}

.element-home .group-2 {
  width: 247px;
  height: 32px;
  position: relative;
}

.element-home .text-wrapper-3 {
  position: absolute;
  top: 0;
  left: 24px;
  font-family: var(--body-m-font-family);
  font-weight: var(--body-m-font-weight);
  color: #000000;
  font-size: var(--body-m-font-size);
  letter-spacing: var(--body-m-letter-spacing);
  line-height: var(--body-m-line-height);
  white-space: nowrap;
  font-style: var(--body-m-font-style);
}

.element-home .text-wrapper-4 {
  position: absolute;
  width: 6.48%;
  height: 50%;
  top: 28.12%;
  left: 0;
  color: #000000;
  font-size: 16px;
  white-space: nowrap;
  font-family: "Font Awesome 6 Free-Solid", Helvetica;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
}

.element-home .line {
  margin-top: 5px;
  width: 1px;
  height: 25px;
  margin-left: 82px;
  object-fit: cover;
}

.element-home .group-3 {
  width: 222px;
  height: 32px;
  position: relative;
  margin-left: 85px;
}

.element-home .text-wrapper-5 {
  position: absolute;
  top: 0;
  left: 21px;
  font-family: var(--body-m-font-family);
  font-weight: var(--body-m-font-weight);
  color: #000000;
  font-size: var(--body-m-font-size);
  letter-spacing: var(--body-m-letter-spacing);
  line-height: var(--body-m-line-height);
  white-space: nowrap;
  font-style: var(--body-m-font-style);
}

.element-home .text-wrapper-6 {
  position: absolute;
  width: 5.41%;
  height: 50%;
  top: 28.12%;
  left: 0;
  color: #000000;
  font-size: 16px;
  white-space: nowrap;
  font-family: "Font Awesome 6 Free-Solid", Helvetica;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
}

.element-home .group-4 {
  width: 190px;
  height: 32px;
  position: relative;
  margin-left: 85px;
}

.element-home .text-wrapper-7 {
  position: absolute;
  top: 0;
  left: 25px;
  font-family: var(--body-m-font-family);
  font-weight: var(--body-m-font-weight);
  color: #000000;
  font-size: var(--body-m-font-size);
  letter-spacing: var(--body-m-letter-spacing);
  line-height: var(--body-m-line-height);
  white-space: nowrap;
  font-style: var(--body-m-font-style);
}

.element-home .text-wrapper-8 {
  position: absolute;
  width: 8.42%;
  height: 64.18%;
  top: 21.88%;
  left: 0;
  color: #000000;
  font-size: 16px;
  font-family: "Font Awesome 6 Free-Solid", Helvetica;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
}

.element-home .navbar {
  margin-top: 10px;
  width: 136px;
  height: 15px;
  position: relative;
  margin-left: 85px;
}

.element-home .text-wrapper-9 {
  position: absolute;
  width: 7.35%;
  height: 100%;
  top: 0;
  left: 0;
  font-family: "Font Awesome 6 Brands-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.element-home .text-wrapper-10 {
  width: 10.29%;
  left: 25.74%;
  position: absolute;
  height: 100%;
  top: 0;
  font-family: "Font Awesome 6 Brands-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.element-home .text-wrapper-11 {
  width: 11.03%;
  left: 54.41%;
  position: absolute;
  height: 100%;
  top: 0;
  font-family: "Font Awesome 6 Brands-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.element-home .text-wrapper-12 {
  width: 10.29%;
  left: 83.82%;
  position: absolute;
  height: 100%;
  top: 0;
  font-family: "Font Awesome 6 Brands-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.element-home .group-5 {
  position: absolute;
  top: 68px;
  left: 319px;
  width: 212px;
  height: 84px;
}

.element-home .text-wrapper-13 {
  position: absolute;
  top: 44px;
  left: 0;
  width: 210px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Sans", Helvetica;
  font-weight: 400;
  color: var(--gray-800);
  font-size: 19px;
  text-align: center;
  letter-spacing: 0.38px;
  line-height: 32px;
}

.element-home .group-6 {
  position: absolute;
  width: 96.23%;
  height: 52.74%;
  top: 0;
  left: 0;
}

.element-home .rectangle-5 {
  position: absolute;
  top: 60px;
  left: 612px;
  width: 1308px;
  height: 100px;
}

.element-home .text-wrapper-14 {
  position: absolute;
  top: 103px;
  left: 764px;
  font-family: "DM Sans", Helvetica;
  font-weight: 500;
  color: #1f242c;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.element-home .text-wrapper-15 {
  position: absolute;
  top: 103px;
  left: 893px;
  font-family: "DM Sans", Helvetica;
  font-weight: 500;
  color: #1f242c;
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.element-home .text-wrapper-16 {
  position: absolute;
  top: 103px;
  left: 1022px;
  font-family: "DM Sans", Helvetica;
  font-weight: 500;
  color: var(--gray-900);
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.element-home .button-2 {
  display: inline-flex;
  height: 58px;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: absolute;
  top: 81px;
  left: 1391px;
  background-color: var(--white);
  border-radius: 5px;
}

.element-home .text-wrapper-17 {
  position: relative;
  width: fit-content;
  font-family: "DM Sans", Helvetica;
  font-weight: 600;
  color: var(--gray-900);
  font-size: 19px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.element-home .text-wrapper-18 {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  color: var(--gray-900);
  font-size: 16px;
  white-space: nowrap;
  font-family: "Font Awesome 6 Free-Solid", Helvetica;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
}

.element-home .button-3 {
  display: inline-flex;
  height: 58px;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: absolute;
  top: 81px;
  left: 1162px;
  background-color: #662d91;
  border-radius: 5px;
}

.element-home .text-wrapper-19 {
  position: relative;
  width: fit-content;
  font-family: "DM Sans", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 19px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.element-home .text-wrapper-20 {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  color: #ffffff;
  font-size: 16px;
  white-space: nowrap;
  font-family: "Font Awesome 6 Free-Solid", Helvetica;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
}

@media (max-width: 1600px) {
  .element-home .img {
    max-width: 50%;
  }
  .element-home .designed-exclusively {
    margin-top: 15vh;
    font-size: 1rem;
  }
}

@media (max-width: 1366px) {
  .element-home .img {
    max-width: 55%;
  }
  .element-home .designed-exclusively {
    margin-top: 12vh;
    font-size: 0.95rem;
  }
  .element-home .button {
    padding: 12px 20px;
  }
}

@media (max-width: 1024px) {
  .element-home {
    text-align: center;
  }
  .element-home .img {
    position: static;
    display: block;
    margin: 2rem auto;
    max-width: 70%;
  }
  .element-home .designed-exclusively {
    margin: 2rem auto;
    font-size: 1rem;
    max-width: 90%;
  }
  .element-home .button {
    margin: 1rem auto;
    display: inline-flex;
  }
  .element-home .rectangle-2,
  .element-home .rectangle-3,
  .element-home .polygon {
    display: none;
  }
}
/* Original CSS code should be injected here */

/* Additional styles for semantic improvements */
.main-navigation {
  position: absolute;
  top: 103px;
  left: 764px;
  display: flex;
  gap: 129px;
}

.main-navigation a {
  font-family: "DM Sans", Helvetica;
  font-weight: 500;
  color: #1f242c;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus {
  color: #662d91;
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.navbar a {
  text-decoration: none;
  color: #000000;
}

.navbar a:hover,
.navbar a:focus {
  color: #662d91;
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.button:hover,
.button:focus {
  background-color: #7a3ba3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 45, 145, 0.3);
}

.button-2:hover,
.button-2:focus {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.button-3:hover,
.button-3:focus {
  background-color: #7a3ba3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 45, 145, 0.3);
}

/* Remove the individual text-wrapper styles for navigation items since they're now handled by .main-navigation a */
.element-home .text-wrapper-14,
.element-home .text-wrapper-15,
.element-home .text-wrapper-16 {
  display: none;
}

.cloud-note {
  position: absolute;
  background: #6cf;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.cloud-note:nth-child(1) {
  top: 20px;
  left: 60%;
}

.cloud-note:nth-child(2) {
  top: 120px;
  left: 70%;
}

.hero-shape {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 20px;
  opacity: 0.1;
}

/* Sections */
.section {
  padding-block: 56px;
  min-height: 80vh; /* Ensure minimum height for better vertical centering */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
}

.title {
  font-size: 32px;
  margin: 0 0 6px 0;
  text-align: center;
}

.intro {
  max-width: 680px;
  margin: 20px auto 40px;
  color: #4b5563;
  text-align: center;
}

/* Cards & grids */
/* ===== GRID ===== */
.grid {
  display: grid;
  gap: 18px;
}

.grid.brands {
  grid-template-columns: repeat(4, 1fr);
}

.grid.orders {
  grid-template-columns: repeat(
    2,
    1fr
  ); /* Back to 2 columns since you have 2 cards */
  gap: 40px; /* Increased gap for better spacing */
  padding-bottom: 40px; /* Add bottom padding to accommodate protruding buttons */
  padding-top: 20px; /* Add some top padding */
  justify-items: center; /* Center the cards within the grid */
  align-items: start; /* Align cards to the top */
  justify-content: center; /* Center the entire grid */
  max-width: 800px; /* Limit maximum width for better centering */
  margin: 0 auto; /* Center the grid container itself */
}

.brand-desc {
  text-align: center;
}

/* ===== CARD ===== */
.card {
  background: #fff; /* fallback if --surface not set */
  border: 1px solid #e5e7eb; /* light gray */
  border-radius: 18px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  padding: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* ===== LOGO ===== */
.brand-logo {
  /* height: 52px; */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.brand-logo img {
  /* max-height: 40px; */
  max-width: 80%;
  object-fit: contain;
}

/* ===== DESC ===== */
.brand-desc {
  font-size: 14px;
  line-height: 1.4;
  color: #4b5563;
}

/* ===== Orders Page Card ===== */
/* ===== Orders Page Card ===== */
.order-card {
  padding: 16px; /* Optimized padding */
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: visible;
  cursor: pointer;
  margin-bottom: 30px; /* Add space for the protruding button */
  aspect-ratio: 2/3; /* Changed to a more portrait orientation (taller) */
  min-height: 400px; /* Ensure minimum height for better proportions */
  display: flex;
  flex-direction: column;
}

.order-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* ===== Image Container ===== */
.order-hero {
  flex: 1; /* Take up most of the card space */
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px; /* Reduced margin */
  position: relative;
  overflow: hidden;
  width: 100%; /* Ensure full width */
  min-height: 280px; /* Set minimum height */
}

.order-hero img {
  max-width: 70%; /* Optimized size for better visibility */
  max-height: 70%; /* Optimized size for better visibility */
  object-fit: contain; /* Preserve logo aspect ratios */
  border-radius: 0; /* Remove border radius for logos */
  transition: transform 0.4s ease;
  width: auto;
  height: auto;
  display: block; /* Ensure proper block display */
  margin: auto; /* Additional centering */
  width: 158px;
}

.order-card:hover .order-hero img {
  transform: scale(1.05);
}

/* ===== Hidden Button Cluster ===== */
.order-card .cluster {
  position: absolute;
  bottom: -22px; /* Position so half the button height extends below the card */
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: center;
  z-index: 10;
}

.order-card:hover .cluster {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Button Styling ===== */
.button {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  white-space: nowrap; /* Prevent text wrapping */
  min-width: max-content; /* Ensure button is wide enough for content */
}

.button-text {
  display: flex;
  align-items: center;
  gap: 8px; /* Space between text and icon */
}

.button-text i {
  font-size: 14px; /* Slightly smaller icon */
  transition: transform 0.3s ease;
}

/* Primary Button */
.button.primary {
  background: #662d91;
  color: #fff;
  border: none;
}

.button.primary:hover {
  background: #553075;
  box-shadow: 0 6px 14px rgba(102, 45, 145, 0.35);
  transform: translateY(-2px);
}

.button.primary:hover .button-text i {
  transform: translateX(3px); /* Slide icon slightly to the right on hover */
}

/* Secondary Button */
.button.secondary {
  background: white;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.button.secondary:hover {
  background: #e5e7eb;
  color: #111827;
}

/* === Contact Page Layout === */
.contact-wrap {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

/* === LEFT PANEL === */
.left-panel {
  /* background: #223355; keep outer background dark */
  color: #e5e7eb;
  border-radius: 16px 0 0 16px; /* only round left side */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.left-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("contact-us-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* opacity: 0.5; */
  z-index: 1;
}

.left-panel > * {
  position: relative;
  z-index: 2;
}

.left-panel .inner {
  padding: 26px;
  color: white;
}

.left-panel .head {
  text-align: center;
  padding: 10px;
}

.left-panel h2 {
  margin: 0 0 6px 0;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.left-panel p {
  color: #fcfcfc;
}

.left-panel .box {
  border: none;
  border-radius: 0;
  padding: 16px;
  margin-top: 0;
  background: transparent;
}

.contact-info-container {
  border: 2px solid #ffffff;
  border-radius: 14px;
  margin-top: 14px;
  background: #204435a8;
  overflow: hidden;
}

.separator-line {
  height: 1px;
  background-color: #ffffff;
  margin: 0;
}

/* === CONTACT DETAILS TYPOGRAPHY === */
.contact-info-container h3 {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  text-align: left;
  vertical-align: middle;
  margin: 0 0 8px 0;
  color: #fff;
}

.contact-info-container h6 {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  margin: 0 0 12px 0;
  color: #fff;
}

.contact-info-container p {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0px;
  vertical-align: middle;
  margin: 0 0 8px 0;
  color: #fff;
}

.contact-info-container p a {
  color: #c7ffe5;
  text-decoration: none;
  font-style: italic;
}

.contact-info-container p a:hover {
  text-decoration: underline;
}

/* === RIGHT PANEL === */
.right-panel {
  background: #fff;
  border-radius: 0 16px 16px 0; /* only round right side */
  border: 1px solid #e5e7eb;
  padding: 26px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.right-panel h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.right-panel h2.center {
  text-align: center;
}

.right-panel p.center {
  font-size: 15px;
  margin-bottom: 10px;
  text-align: center;
}

/* === TAB BAR === */
.tabbar {
  display: flex;
  gap: 0;
  margin: 20px 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #f9fafb;
}

.tab {
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  position: relative;
}

/* Divider between tabs */
.tab:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: #e5e7eb;
}

/* Hover effect */
.tab:hover {
  background: #f3f4f6;
  color: #374151;
}

/* Selected state */
.tab.active {
  background: #6a0dad;
  color: #fff;
  border-radius: 6px;
}

.tab.active::after {
  display: none;
}

/* === FORM SUBTITLE === */
.form-subtitle.center {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  margin: 20px 0;
  font-weight: 400;
}

/* === FORM === */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

/* === INPUT WITH ICONS === */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 12px;
  color: #9ca3af;
  font-size: 16px;
  z-index: 1;
}

.input.with-icon {
  padding-left: 40px;
}

.input,
.textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.input:focus,
.textarea:focus {
  border-color: #6d28d9;
  outline: none;
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.form-foot {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #6b7280;
  font-size: 14px;
  margin: 16px 0;
  line-height: 1.5;
}

.form-foot label {
  margin-bottom: 0;
  font-weight: 400;
  color: #6b7280;
}

.checkbox {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.link {
  color: #6b7280;
  text-decoration: underline;
  font-weight: 400;
}

.link:hover {
  color: #374151;
  text-decoration: underline;
}

/* === BUTTON === */
.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.button.primary {
  background: #662d91;
  color: #fff;
}

.button.primary:hover {
  background: #553075;
}

/* === FORM SUBMIT BUTTON === */
form .button.primary {
  width: 100%;
  background: #2a2a2a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
  display: block;
  justify-content: center;
  align-items: center;
}

form .button.primary .button-text {
  display: block;
  text-align: center;
  width: 100%;
}

form .button.primary:hover {
  background: #2a2a2a;
  box-shadow: 0 4px 10px #2a2a2a;
}

/* === DYNAMIC FORM FIELDS === */
.form-fields {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.form-fields.fade-out {
  opacity: 0;
}

.form-fields.fade-in {
  opacity: 1;
}

/* Ensure consistent spacing for dynamic fields */
#dynamicFormFields {
  margin-bottom: 20px;
}

/* Animation for form subtitle changes */
.form-subtitle {
  transition: opacity 0.2s ease-in-out;
}

/* Smooth button text transition */
.button-text {
  transition: all 0.2s ease-in-out;
}

/* Footer */
footer {
  padding: 32px 0;
  color: #6b7280;
  text-align: center;
  border-top: 1px solid var(--muted);
  background: var(--surface);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .grid.brands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 15px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .ctas {
    order: 2;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: 100%;
    max-width: 250px;
  }

  .grid.brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.orders {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .topbar .container {
    flex-direction: column;
    gap: 10px;
  }

  .meta {
    flex-wrap: wrap;
    justify-content: center;
  }

  .grid.brands {
    grid-template-columns: 1fr;
  }

  .tabbar {
    flex-direction: column;
    gap: 0;
  }

  .tab {
    border-radius: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .tab:last-child {
    border-bottom: none;
  }

  .tab.active {
    border-radius: 0;
  }
}

/* ====== HERO BANNER RESPONSIVE STYLES ====== */

/* Large screens and zoom out */
@media (min-width: 1400px) {
  .element-home {
    min-height: 700px;
    padding: 80px 20px;
  }

  .element-home .designed-exclusively {
    max-width: 900px;
    padding: 50px;
    font-size: 20px;
  }

  .element-home .button {
    padding: 25px 40px;
    font-size: 18px;
  }
}

/* Medium screens and standard zoom */
@media (max-width: 1200px) {
  .element-home {
    min-height: 550px;
    padding: 50px 20px;
  }

  .element-home .designed-exclusively {
    max-width: 700px;
    padding: 35px;
    font-size: 17px;
  }

  .element-home .button {
    padding: 18px 28px;
  }
}

/* Tablet and small screens */
@media (max-width: 768px) {
  .element-home {
    min-height: 450px;
    padding: 40px 15px;
    background-position: center top;
  }

  .element-home .designed-exclusively {
    max-width: 90%;
    padding: 25px;
    font-size: 16px;
    line-height: 1.5;
  }

  .element-home .button {
    padding: 15px 25px;
    margin-top: 20px;
  }
}

/* Mobile screens */
@media (max-width: 480px) {
  .element-home {
    min-height: 400px;
    padding: 30px 10px;
  }

  .element-home .designed-exclusively {
    max-width: 95%;
    padding: 20px;
    font-size: 14px;
    line-height: 1.4;
  }

  .element-home .button {
    padding: 12px 20px;
    font-size: 14px;
    margin-top: 15px;
  }

  .element-home .text-wrapper {
    font-size: 14px;
  }
}

/* High zoom levels (zoom in) */
@media (max-width: 600px) and (min-height: 400px) {
  .element-home {
    min-height: 350px;
    padding: 25px 10px;
  }

  .element-home .designed-exclusively {
    padding: 15px;
    font-size: 13px;
  }

  .element-home .button {
    padding: 10px 18px;
    font-size: 13px;
  }
}

/* ====== DYNAMIC ZOOM ADJUSTMENTS ====== */

/* Compact mode for very small viewports */
.element-home.compact-mode {
  min-height: 300px !important;
  padding: 15px 5px !important;
}

.element-home.compact-mode .designed-exclusively {
  max-width: 98% !important;
  padding: 12px !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.element-home.compact-mode .button {
  padding: 8px 15px !important;
  font-size: 12px !important;
  margin-top: 10px !important;
}

/* Zoom-specific adjustments */
.element-home.high-zoom {
  background-attachment: scroll;
  background-size: contain !important;
}

.element-home.low-zoom {
  background-attachment: fixed;
  min-height: 80vh;
}

/* Smooth transitions for zoom changes */
.element-home {
  transition: min-height 0.3s ease, padding 0.3s ease;
}

.element-home .designed-exclusively {
  transition: padding 0.3s ease, font-size 0.3s ease, max-width 0.3s ease;
}

.element-home .button {
  transition: padding 0.3s ease, font-size 0.3s ease, margin-top 0.3s ease;
}

/* Performance optimization for high zoom */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .element-home {
    background-image: url("layout.png");
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Header buttons responsive adjustments */
@media (max-width: 1024px) {
  .navbar .ctas .button {
    font-size: 13px;
    padding: 8px 16px;
  }
}

/* Hide CTA buttons on 768px screens */
@media (max-width: 768px) {
  .navbar .ctas {
    /* display: none; */
  }

  /* Mobile view: Hide the main desktop nav by default, but NOT the mobile dropdown nav */
  .navbar .nav {
    display: none; /* Hide the main navigation on small screens */
  }

  /* Display hamburger only on smaller screens */
  @media (max-width: 1024px) {
    .hamburger {
      display: block;
    }

    .navbar .nav {
      display: none; /* Hide the main navigation on small screens */
    }

    .ctas {
      /* display: none; */
    }
  }
}

@media (max-width: 767px) {
  .navbar .ctas .button {
    font-size: 12px;
    padding: 6px 12px;
  }

  .navbar .ctas {
    gap: 8px;
    display: flex; /* Show buttons again below 767px */
  }
}

@media (max-width: 480px) {
  .navbar .ctas .button {
    font-size: 11px;
    padding: 5px 10px;
  }

  .navbar .ctas {
    flex-direction: column;
    gap: 5px;
  }
}

.dflex {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 768px) {
  .button-text {
    font-size: 12px;
  }
  .hide-768 {
    display: none;
  }
}

.text-hero-banner {
  font-size: 15px;
}
.description-hero-banner {
  width: 800px;
}
@media (max-width: 768px) {
  .container.hide-768 {
    display: none !important;
  }
  .hide-1024 {
    display: flex !important;
  } /* or block */
}

/* ≥ 769px: show desktop, hide mobile (explicit, in case inline styles fight it) */
@media (min-width: 769px) {
  .container.hide-768 {
    display: flex !important;
  }
  .hide-1024 {
    display: none !important;
  }
}

@media (width: 1024px) {
  .description-hero-banner {
    width: 400px !important;
  }
  .text-hero-banner {
    font-size: 17px !important;
  }
}
@media (width: 768px) {
  .description-hero-banner {
    width: 270px !important ;
  }
  .text-hero-banner {
    font-size: 14px !important;
  }
  .topbar .sep {
    margin: 0px 13px;
  }
}

@media (max-width: 425px) {
  .description-hero-banner {
    /* display: none !important; */
  }
  /* .meta1 {
    display: none !important;
  }
  .meta2 {
    display: none !important;
  }
  .meta3 {
    display: none !important;
  }
  .meta4 {
    display: none !important;
  }
  .meta5 {
    display: none !important;
  } */
  .logo-com {
    width: 90px !important;
  }

  /* Remove clip-path on small mobile screens */
  .navbar::before {
    clip-path: none !important;
    width: 100% !important;
  }

  /* Topbar adjustments for small screens */
  .topbar {
    font-size: 12px !important;
    padding: 4px 0 !important;
  }

  .topbar .container {
    padding: 4px 10px !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .topbar .meta {
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }

  /* Show only social media icons on very small screens */
  .topbar .social a {
    font-size: 12px !important;
    padding: 4px 6px !important;
    margin: 0 2px !important;
    border-radius: 3px !important;
    transition: all 0.3s ease !important;
  }

  .topbar .social a:hover {
    background-color: #662d91 !important;
    color: #fff !important;
    transform: scale(1.1) !important;
  }

  /* Hide separators on small screens */
  .topbar .sep {
    display: none !important;
  }
}

/* Additional adjustments for 375px and below */
@media (max-width: 375px) {
  .navbar::before {
    clip-path: none !important;
    width: 100% !important;
  }

  .topbar {
    font-size: 11px !important;
  }

  .topbar .container {
    padding: 3px 8px !important;
    gap: 6px !important;
  }

  .topbar .meta {
    gap: 4px !important;
  }

  .topbar .social a {
    font-size: 11px !important;
    padding: 3px 5px !important;
    margin: 0 1px !important;
  }
}

/* Additional adjustments for 320px and below */
@media (max-width: 320px) {
  .navbar::before {
    clip-path: none !important;
    width: 100% !important;
  }

  .topbar {
    font-size: 10px !important;
  }

  .topbar .container {
    padding: 2px 5px !important;
    gap: 4px !important;
  }

  .topbar .meta {
    gap: 3px !important;
  }

  .topbar .social a {
    font-size: 10px !important;
    padding: 2px 4px !important;
    margin: 0 1px !important;
  }
}

/* Additional media queries for specific small screen sizes */
@media (max-width: 375px) {
  .navbar::before {
    clip-path: none !important;
    width: 100% !important;
  }
}

@media (max-width: 320px) {
  .navbar::before {
    clip-path: none !important;
    width: 100% !important;
  }
}

/* ====== DESCRIPTION HERO BANNER RESPONSIVE ADJUSTMENTS ====== */

/* Tablet screens - 768px */
@media (max-width: 768px) {
  .description-hero-banner {
    width: 90% !important;
    max-width: 500px !important;
    margin-left: 20px !important;
    padding: 25px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  }

  .text-hero-banner {
    font-size: 14px !important;
    line-height: 22px !important;
    margin-bottom: 15px !important;
  }
}

/* Mobile screens - 425px */
@media (max-width: 425px) {
  .description-hero-banner {
    display: block !important;
    width: 95% !important;
    max-width: 380px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    padding: 20px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 6px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15) !important;
    text-align: left !important;
  }

  .text-hero-banner {
    font-size: 13px !important;
    line-height: 20px !important;
    margin-bottom: 12px !important;
    color: #555 !important;
  }

  .description-hero-banner a {
    padding: 10px 20px !important;
    font-size: 13px !important;
    margin-top: 15px !important;
  }
}

/* Small mobile screens - 375px */
@media (max-width: 375px) {
  .description-hero-banner {
    display: block !important;
    width: 100% !important;
    max-width: 350px !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    padding: 18px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
  }

  .text-hero-banner {
    font-size: 12px !important;
    line-height: 18px !important;
    margin-bottom: 10px !important;
    color: #555 !important;
  }

  .description-hero-banner a {
    padding: 8px 16px !important;
    font-size: 12px !important;
    margin-top: 12px !important;
    width: 100% !important;
    text-align: center !important;
  }
}

/* Extra small mobile screens - 320px */
@media (max-width: 320px) {
  .description-hero-banner {
    display: block !important;
    width: 100% !important;
    max-width: 300px !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
    padding: 15px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  }

  .text-hero-banner {
    font-size: 11px !important;
    line-height: 16px !important;
    margin-bottom: 8px !important;
    color: #555 !important;
  }

  .description-hero-banner a {
    padding: 6px 12px !important;
    font-size: 11px !important;
    margin-top: 10px !important;
    width: 100% !important;
    text-align: center !important;
  }
}

/* Additional adjustments for readability */
@media (max-width: 768px) {
  .description-hero-banner .text-hero-banner:first-child {
    margin-bottom: 15px !important;
  }

  .description-hero-banner .text-hero-banner:last-of-type {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 425px) {
  .description-hero-banner .text-hero-banner:first-child {
    margin-bottom: 12px !important;
  }

  .description-hero-banner .text-hero-banner:last-of-type {
    margin-bottom: 18px !important;
  }
}

@media (max-width: 375px) {
  .description-hero-banner .text-hero-banner:first-child {
    margin-bottom: 10px !important;
  }

  .description-hero-banner .text-hero-banner:last-of-type {
    margin-bottom: 15px !important;
  }
}

@media (max-width: 320px) {
  .description-hero-banner .text-hero-banner:first-child {
    margin-bottom: 8px !important;
  }

  .description-hero-banner .text-hero-banner:last-of-type {
    margin-bottom: 12px !important;
  }
}

/* ====== MOBILE MENU STYLES - ENHANCED Z-INDEX FIX ====== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  padding: 0.5rem;
  transition: color 0.3s ease;
  position: relative;
  z-index: 999999 !important;
}

.mobile-menu-toggle:hover {
  color: #662d91;
}

/* Force mobile menu dropdown to appear above all content */
.mobile-menu-dropdown {
  display: none;
  position: fixed !important;
  top: 80px !important;
  right: 20px !important;
  left: auto !important;
  background: white !important;
  border: 1px solid #ddd !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
  min-width: 280px !important;
  max-width: 350px !important;
  z-index: 999999999 !important;
  opacity: 0 !important;
  transform: translateY(-20px) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  overflow: visible !important;
  pointer-events: none !important;
}

.mobile-menu-dropdown.active {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  z-index: 999999999 !important;
  pointer-events: auto !important;
}

/* Ensure all child elements maintain high z-index */
.mobile-menu-dropdown * {
  position: relative !important;
  z-index: 999999999 !important;
}

.mobile-nav {
  padding: 1rem 0 !important;
  border-bottom: 1px solid #f0f0f0 !important;
  position: relative !important;
  z-index: 999999999 !important;
  background: white !important;
}

.mobile-nav a {
  display: block !important;
  padding: 0.85rem 1.5rem !important;
  text-decoration: none !important;
  color: #333 !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  border-left: 3px solid transparent !important;
  position: relative !important;
  z-index: 999999999 !important;
  background: white !important;
}

.mobile-nav a:hover {
  background-color: #f8f9fa !important;
  border-left-color: #662d91 !important;
  color: #662d91 !important;
  transform: translateX(5px) !important;
}

.mobile-nav a.active {
  background-color: #f5f3fa !important;
  border-left-color: #662d91 !important;
  color: #662d91 !important;
  font-weight: 600 !important;
}

.mobile-ctas {
  padding: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  position: relative !important;
  z-index: 999999999 !important;
  background: white !important;
}

.mobile-ctas .button {
  width: 100% !important;
  text-align: center !important;
  justify-content: center !important;
  padding: 12px 20px !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  position: relative !important;
  z-index: 999999999 !important;
  display: block !important;
}

.mobile-ctas .button.primary {
  background: #662d91 !important;
  color: white !important;
  border: none !important;
}

.mobile-ctas .button.primary:hover {
  background: #553075 !important;
  transform: translateY(-2px) !important;
}

.mobile-ctas .button.secondary {
  background: white !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
}

.mobile-ctas .button.secondary:hover {
  background: #f8f9fa !important;
  border-color: #662d91 !important;
  color: #662d91 !important;
}

/* Ensure contact page elements don't interfere */
.contact-wrap {
  position: relative !important;
  z-index: 1 !important;
}

.left-panel,
.right-panel {
  position: relative !important;
  z-index: 1 !important;
}

main.section {
  position: relative !important;
  z-index: 1 !important;
}

.container {
  position: relative !important;
  z-index: 1 !important;
}

/* Create isolation for contact page */
.contact-wrap {
  isolation: isolate !important;
}

/* Override any conflicting z-index values */
.navbar,
.topbar,
header {
  position: relative !important;
  z-index: 100 !important;
}

/* Mobile menu container gets highest priority */
.hide-1024 {
  position: relative !important;
  z-index: 999999 !important;
}

/* ====== MOBILE MENU STYLES - FIXED HAMBURGER VISIBILITY ====== */
.mobile-menu-toggle {
  display: none !important;
  background: none !important;
  border: none !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  color: #333 !important;
  padding: 0.5rem !important;
  transition: color 0.3s ease !important;
  position: relative !important;
  z-index: 999999 !important;
}

.mobile-menu-toggle:hover {
  color: #662d91 !important;
}

/* Show mobile menu toggle on mobile screens */
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: block !important;
  }

  .hide-1024 {
    position: relative !important;
    z-index: 999999 !important;
  }

  .hide-1024 .mobile-menu-toggle {
    display: block !important;
  }
}

/* Ensure hamburger shows on tablets and phones */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block !important;
  }
}

@media (max-width: 480px) {
  .mobile-menu-toggle {
    display: block !important;
    font-size: 1.3rem !important;
  }
}
