.hero-section {
  position: relative;
  overflow: hidden;
  height: 37vw;
  width: 100%;
  min-height: 500px;
  margin: 0;
  padding: 0;
}

.hero-section img.hero-img {
  height: 42vw;
  width: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Mobile-specific image */
.hero-section img.mobile-hero-img {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 45rem;
  padding: 4rem 2rem;
  color: var(--color_white);
}

.hero-content h1 span {
  color: var(--color_yellow);
}

.hero-content h3 {
  font-size: var(--font_size_main_lg);
  font-weight: 400;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  color: var(--color_main);
}

.hero-content p {
  font-size: var(--font_size_main_md);
  margin-top: 1rem;
  color: var(--color_border);
  line-height: 1.6;
}

.hero-content .banner-btn {
  margin-top: 1.8rem;
  padding: 0.8rem 2rem;
  font-size: var(--font_size_main_md);
  border-radius: 0.5rem;
  font-weight: 500;
  color: var(--color_white);
  width: 10vw;
  background-color: var(--color_main);
  float: left;
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
  #random {
    height: 4vw;
  }
  .hero-section {
    height: 100vh !important; /* Full viewport height */
    min-height: 600px !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0;
    margin: 0;
    position: relative;
  }

  /* Hide desktop image, show mobile image */
  .hero-section img.hero-img {
    display: none;
  }

  .hero-section img.mobile-hero-img {
    display: block;
    position: absolute !important; /* Changed from relative to absolute */
    inset: 0 !important; /* Cover entire section */
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
    z-index: 1 !important; /* Behind the content */
    order: 2 !important;
  }

  .hero-content {
    text-align: center;
    padding: 3rem 1.5rem !important;
    order: 1 !important;
    background: none !important; /* Remove gradient background */
    position: relative;
    z-index: 2 !important; /* Above the image */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100% !important;
  }

  /* Add overlay to improve text readability */
  .hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 2;
  }

  .hero-content h1 {
    font-size: 2.5rem !important;
    position: relative;
    z-index: 3;
  }

  .hero-content h3,
  .hero-content p {
    position: relative;
    z-index: 3;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-content .banner-btn {
    width: auto !important; /* Remove fixed width on mobile */
    float: none !important; /* Remove float on mobile */
    display: inline-block;
    position: relative;
    z-index: 3;
  }

  /* Adjust other mobile styles */
  .small-img {
    display: none;
  }

  .badge-box {
    left: 0;
    transform: none;
    bottom: -2rem;
  }

  .action-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    width: 100%;
    text-align: left !important;
  }

  .phone-box {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    white-space: nowrap;
  }

  .explore-btn {
    display: inline-flex !important;
    white-space: nowrap;
    margin: 0 !important;
    width: auto !important;
    align-self: center !important;
  }

  .feature-box {
    padding: 2.2rem 1rem;
  }

  .row.g-4 .col-md-6.col-lg-3 {
    width: 50%;
  }

  .feature-title {
    font-size: var(--font_size_main_md) !important;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 80vh !important;
    min-height: 500px !important;
  }

  .hero-content h1 {
    font-size: 2rem !important;
  }

  .hero-content {
    padding: 7rem 1rem !important;
  }

  .stats-wrapper .col-12 {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
  }
}

/* Rest of your existing CSS remains the same */
.service-about-section {
  margin-top: 7rem;
}

.image-box {
  position: relative;
  border-radius: 1rem;
  animation: fadeIn 1s ease-out;
  overflow: visible;
}

.image-box img.main-img {
  border-radius: 1rem;
}

.small-img-wrapper {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 16rem;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  overflow: hidden;
  z-index: 20;
  border: 0.3rem solid #fff;
  border-right: none;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.2);
  animation: slideInRight 0.9s ease-out forwards;
}

.small-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.small-img-wrapper:hover .small-img {
  transform: scale(1.05);
}

.badge-box {
  position: absolute;
  bottom: 2rem;
  left: 0;
  transform: translateX(-50%);
  background: var(--color_main);
  color: var(--color_white);
  padding: 1.2rem 2.2rem;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 50;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.15);
  animation: floatBadge 3s ease-in-out infinite;
}

.badge-box i {
  font-size: var(--font_size_main_xl);
}

.badge-box:hover {
  transform: translateX(-50%) scale(1.08);
}

.list-check {
  font-size: var(--font_size_main_md);
}

.list-check i {
  color: var(--color_yellow);
}

.action-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  animation: fadeIn 1.2s ease-out;
}

.phone-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-icon-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--color_main);
  color: var(--color_white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.phone-icon-circle i {
  transform: rotate(90deg);
}

.phone-text .text-secondary {
  font-size: 1rem;
}

.explore-btn {
  border-radius: 0.6rem;
  transition: 0.4s ease;
}

.explore-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.15);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translate(80px, -50%);
  }
  100% {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

.pricing-title {
  font-size: var(--font_size_main_xxl);
  font-weight: 700;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.text-green {
  font-weight: bold;
  color: var(--color_green);
}

.pricing-card {
  background: none;
  border-radius: 1rem;
  padding: 2rem 2rem 3rem;
  border: 0.1rem solid var(--color_border);
  transition: border 0.1s, transform 0.3s;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.pricing-card h3 {
  color: var(--color_main);
  font-weight: bold;
}

.pricing-card:hover,
.pricing-card.featured:hover {
  border: 0.1rem solid var(--color_main);
  cursor: pointer;
  transform: translateY(-10px);
}

.pricing-card .price {
  font-size: var(--font_size_main_xl);
}

.feature-item {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feature-item i {
  font-size: 1.2rem;
  color: var(--color_yellow);
}

.feature-box {
  background: white;
  padding: 3rem 1rem;
  margin: 1.4rem 0;
  border-radius: 0.8rem;
  text-align: center;
  box-shadow: 0 0.4rem 4rem rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.12);
}

.feature-title {
  font-size: var(--font_size_main_lg);
  font-weight: 600;
  margin-top: 1.2rem;
}

.icon-circle {
  width: 7rem;
  height: 7rem;
  border: 2px solid var(--color_main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.icon {
  font-size: var(--font_size_main_xxl);
  color: var(--color_main);
}

.image-text {
  font-size: 5rem;
  font-weight: 900;
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Section heading */
.wn-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

.wn-heading {
  margin-bottom: 1rem;
}

.wn-heading h2 {
  font-size: 1.5rem;
  margin: 0 0 0.25rem 0;
  font-weight: 700;
  color: #111;
}

.wn-heading p {
  margin: 0;
  color: #7b7b7b;
  font-size: 0.9375rem;
}

/* Main row */
.wn-row {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

/* Left featured */
.wn-featured {
  flex: 0 0 58%;
  background: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(30, 40, 50, 0.06);
  display: flex;
  flex-direction: column;
}

.wn-featured .media {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  display: block;
}

.wn-featured .body {
  padding: 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.meta {
  display: flex;
  gap: 1rem;
  color: #7b7b7b;
  font-size: 0.875rem;
  align-items: center;
  flex-wrap: wrap;
}

.meta i {
  margin-right: 0.4rem;
  color: #9ea6ac;
}

.wn-featured .title {
  font-size: 1.3125rem;
  margin: 0;
  font-weight: 700;
  color: #111;
  line-height: 1.15;
}

.wn-featured .excerpt {
  margin: 0;
  color: #4b4b4b;
  font-size: 0.975rem;
}

.wn-featured .footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wn-featured .read {
  text-decoration: none;
  color: #ff6b6b;
  font-weight: 600;
  font-size: 0.9rem;
}

.wn-featured .tags {
  color: #7b7b7b;
  font-size: 0.875rem;
}

/* Right stacked articles */
.wn-list {
  flex: 0 0 42%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wn-list .panel {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 8px 20px rgba(30, 40, 50, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
}

.wn-article {
  display: flex;
  gap: 0.9rem;
  padding: 0.6rem 0;
  align-items: flex-start;
  border-bottom: 1px dashed #ececec;
}

.wn-article:last-child {
  border-bottom: none;
}

.wn-article .thumb {
  width: 6.25rem;
  height: 6.25rem;
  flex: 0 0 6.25rem;
  object-fit: cover;
  border-radius: 0.4rem;
  overflow: hidden;
  display: block;
  box-shadow: 0 6px 14px rgba(20, 20, 20, 0.04);
}

.wn-article .info {
  flex: 1;
}

.wn-article .info .a-meta {
  color: #7b7b7b;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.wn-article .info h4 {
  margin: 0 0 0.25rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  line-height: 1.2;
}

.wn-article .info p {
  margin: 0;
  color: #555;
  font-size: 0.875rem;
}

.discover-more {
  text-align: right;
  margin-top: 0.5rem;
}

.discover-more a {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

/* Responsiveness */
@media (max-width: 991.98px) {
  .wn-featured .media {
    height: 16rem;
  }

  .wn-article .thumb {
    width: 88px;
    height: 88px;
  }
}

@media (max-width: 767.98px) {
  .wn-row {
    flex-direction: column;
  }

  .wn-featured {
    flex: 1 1 auto;
  }

  .wn-list {
    flex: 1 1 auto;
  }

  .wn-featured .media {
    height: 12.5rem;
  }

  .wn-article .thumb {
    width: 72px;
    height: 72px;
  }
}

/* Feature css*/
.feature-container {
  height: 85vh;
  max-height: 800px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
}

.desktop-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.feature-container .sidebar {
  background-color: #fff;
  width: 22vw;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #eee;
}

.feature-container .nav-container {
  flex: 1;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 0.5rem 0;
}

.feature-container .nav-link {
  padding: 1rem 1.5rem;
  background-color: var(--color_main) !important;
  font-size: 1rem;
  border-bottom: 1px solid red;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.feature-container .nav-link:hover,
.feature-container .nav-link.active {
  background-color: #e9ecef;
  color: #2c3e50;
  border-left: 4px solid #007bff;
}

.feature-container .nav-link i {
  margin-right: 0.75rem;
  width: 1.25rem;
  text-align: center;
}
