//=+========== =============== Home header page css=======================================
.header {
  background-color: #fff;
  border-bottom: 1px solid var(--header-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

  .header-container {
    max-width: 100%;
    margin: 0 3%;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;

    @media (max-width: 968px) {
      padding: 0 1rem;
      height: 56px;
      margin: 0 1%;
    }
  }

  .header-logo {
    .logo-link {
      text-decoration: none;
      display: flex;
      align-items: center;
    }

    .logo-image {
      transition: filter 0.3s ease;

      [data-bs-theme=dark] & {
        filter: brightness(0) invert(1);
      }
    }
  }

  .desktop-nav {
    display: flex;

    @media (max-width: 968px) {
      display: none;
    }

    .nav-list {
      display: flex;
      gap: 2rem;
      list-style: none;
      margin: 0;
      padding: 0;
      align-items: center;

      @media (max-width: 1200px) {
        gap: 1.5rem;
      }
    }

    .nav-item {
      position: relative;
    }

    .nav-link {
      text-decoration: none;
      color: var(--text-dark);
      font-weight: 500;
      font-size: 0.875rem;
      padding: 0.5rem 0;
      position: relative;
      transition: color 0.3s ease;
      letter-spacing: 0.3px;

      &::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--bs-primary);
        transition: width 0.3s ease;
      }

      &:hover {
        color: var(--text-primary);

        &::after {
          width: 100%;
        }
      }

      &.active {
        color: var(--text-primary);
        font-weight: 600;

        &::after {
          width: 100%;
        }
      }
    }
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;

    @media (max-width: 968px) {
      gap: 0.75rem;
    }
  }

  // Customer Service Dropdown
  .customer-service-wrapper {
    position: relative;

    @media (max-width: 968px) {
      display: none;
    }
  }

  .customer-service-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border-radius: 6px;

    i {
      font-size: 1rem;
    }

    .dropdown-icon {
      font-size: 0.75rem;
      transition: transform 0.3s ease;

      &.rotated {
        transform: rotate(180deg);
      }
    }

    &:hover {
      background-color: var(--bs-tertiary-bg);
      color: var(--text-primary);
    }

    @media (max-width: 1200px) {
      .cs-text {
        display: none;
      }
    }
  }

  .customer-service-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background-color: var(--nav-color);
    border: 1px solid var(--border-input);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;

    &.active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .dropdown-item {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      padding: 1rem;
      transition: background-color 0.2s ease;
      cursor: pointer;

      &:first-child {
        border-bottom: 1px solid var(--border-input);
      }

      &:hover {
        background-color: var(--bs-tertiary-bg);
      }

      i {
        font-size: 1.25rem;
        color: var(--text-primary);
        margin-top: 0.25rem;
      }

      .dropdown-content {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;

        .dropdown-title {
          font-weight: 600;
          font-size: 0.875rem;
          color: var(--text-dark);
        }

        .dropdown-subtitle {
          font-size: 0.8125rem;
          color: var(--text-secondary);
        }
      }
    }
  }

  // Country Selector
  .country-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;

    @media (max-width: 968px) {
      display: none;
    }

    &:hover {
      background-color: var(--bs-tertiary-bg);
    }

    .country-flag {
      width: 24px;
      height: 16px;
      border-radius: 2px;
    }

    .country-text {
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--text-dark);
    }

    i {
      font-size: 0.75rem;
      color: var(--text-dark);
    }
  }

  // Theme Toggle
  .theme-toggle-btn {
    background: transparent;
    border: 1.5px solid var(--border-input);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s ease;

    &:hover {
      background-color: var(--bs-tertiary-bg);
      border-color: var(--border-primary);
      color: var(--text-primary);
      transform: rotate(15deg) scale(1.05);
    }

    &:active {
      transform: rotate(15deg) scale(0.95);
    }

    i {
      font-size: 1rem;
    }
  }

  // Mobile Menu Button
  .mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 26px;
    height: 20px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;

    @media (max-width: 968px) {
      display: flex;
    }

    .hamburger-line {
      width: 100%;
      height: 2.5px;
      background-color: var(--text-dark);
      border-radius: 2px;
      transition: all 0.3s ease;
      display: block;
    }

    &:hover {
      .hamburger-line {
        background-color: var(--text-primary);
      }
    }

    &.active {
      .hamburger-line:nth-child(1) {
        transform: translateY(8.75px) rotate(45deg);
      }

      .hamburger-line:nth-child(2) {
        opacity: 0;
      }

      .hamburger-line:nth-child(3) {
        transform: translateY(-8.75px) rotate(-45deg);
      }
    }
  }

  // Mobile Navigation
  .mobile-nav {
    display: none;
    background-color: var(--nav-color);
    border-left: 1px solid var(--header-border);
    position: fixed;
    top: 56px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 56px);
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
    z-index: 999;

    @media (max-width: 968px) {
      display: block;
    }

    &.active {
      right: 0;
    }

    .mobile-nav-list {
      list-style: none;
      margin: 0;
      padding: 1rem 0.75rem;
    }

    .mobile-nav-item {
      margin-bottom: 0.5rem;
      opacity: 0;
      transform: translateX(20px);
      animation: fadeInItem 0.4s ease forwards;

      &:nth-child(1) {
        animation-delay: 0.1s;
      }

      &:nth-child(2) {
        animation-delay: 0.15s;
      }

      &:nth-child(3) {
        animation-delay: 0.2s;
      }

      &:nth-child(4) {
        animation-delay: 0.25s;
      }

      &:nth-child(5) {
        animation-delay: 0.3s;
      }

      &:nth-child(6) {
        animation-delay: 0.35s;
      }

      &:last-child {
        margin-bottom: 0;
      }

      &.customer-service-mobile {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-input);

        .mobile-cs-header {
          display: flex;
          align-items: center;
          gap: 0.75rem;
          padding: 0.75rem;
          font-weight: 600;
          font-size: 0.8125rem;
          color: var(--text-dark);
          background-color: var(--bs-tertiary-bg);
          border-radius: 6px;
          margin-bottom: 0.5rem;

          i {
            font-size: 1rem;
            color: var(--text-primary);
          }
        }

        .mobile-cs-content {
          display: flex;
          flex-direction: column;
          gap: 0.5rem;

          .mobile-cs-item {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            padding: 0.75rem;
            background-color: var(--bs-secondary-bg);
            border-radius: 6px;

            i {
              font-size: 1rem;
              color: var(--text-primary);
              margin-top: 0.25rem;
            }

            .mobile-cs-title {
              font-weight: 600;
              font-size: 0.8125rem;
              color: var(--text-dark);
              margin-bottom: 0.25rem;
            }

            .mobile-cs-subtitle {
              font-size: 0.75rem;
              color: var(--text-secondary);
            }
          }
        }
      }
    }

    .mobile-nav-link {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem;
      text-decoration: none;
      color: var(--text-dark);
      font-weight: 500;
      font-size: 0.8125rem;
      transition: all 0.25s ease;
      border-radius: 6px;
      position: relative;
      overflow: hidden;

      i {
        font-size: 1rem;
        color: var(--text-secondary);
        transition: color 0.25s ease;
      }

      &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 3px;
        height: 100%;
        background-color: var(--bs-primary);
        transform: scaleY(0);
        transition: transform 0.3s ease;
      }

      &:hover {
        color: var(--text-primary);
        background-color: var(--bs-tertiary-bg);
        padding-left: 1rem;

        i {
          color: var(--text-primary);
        }

        &::before {
          transform: scaleY(1);
        }
      }

      &.active {
        color: var(--text-primary);
        font-weight: 600;
        background-color: var(--bs-tertiary-bg);
        padding-left: 1rem;

        i {
          color: var(--text-primary);
        }

        &::before {
          transform: scaleY(1);
        }
      }
    }
  }
}

// Animations
@keyframes fadeInItem {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

// ============ Footer Styles  using css =================================
// Modern Footer Styles
.footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 3.5rem 0 0;
  font-size: 0.9rem;
  position: relative;
  margin-top: auto;

  // Brand Section
  .brand-section {
    img {
      transition: filter 0.3s ease;
    }

    .company-desc {
      color: #b8bcc8;
      font-size: 0.875rem;
      line-height: 1.8;
      margin-bottom: 0;
    }
  }

  // Footer Titles
  .footer-title {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
    position: relative;
    display: inline-block;

    &::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 40px;
      height: 2px;
      background-color: var(--text-primary);
    }
  }

  // Footer Links
  .footer-links {
    padding-left: 0;
    margin-bottom: 0;

    li {
      margin-bottom: 0.75rem;

      a {
        color: #b8bcc8;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-block;
        font-size: 0.875rem;
        position: relative;
        padding-left: 0;

        &:hover {
          color: var(--text-light);
          padding-left: 10px;
        }

        &::before {
          content: '→';
          position: absolute;
          left: -20px;
          opacity: 0;
          transition: all 0.3s ease;
          color: var(--text-primary);
        }

        &:hover::before {
          opacity: 1;
          left: -5px;
          color: var(--text-light);
        }
      }
    }
  }

  // Contact Info
  .footer-contact {
    padding-left: 0;
    margin-bottom: 0;

    .contact-item {
      display: flex;
      align-items: flex-start;
      color: #b8bcc8;
      margin-bottom: 1rem;
      font-size: 0.875rem;
      line-height: 1.6;

      i {
        font-size: 1rem;
        margin-top: 2px;
        margin-right: 12px;
        flex-shrink: 0;
        color: var(--text-primary);
      }

      a {
        color: #b8bcc8;
        text-decoration: none;
        transition: color 0.3s ease;

        &:hover {
          color: var(--text-light);
        }
      }

      span {
        line-height: 1.6;
      }
    }
  }

  // Social Links
  .social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;

    .social-icon {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
      color: #b8bcc8;
      text-decoration: none;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      font-size: 1.1rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);

      &:hover {
        background: linear-gradient(135deg, var(--bs-primary), var(--bs-dark-primary));
        color: #fff;
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 8px 25px rgba(241, 106, 36, 0.5);
        border-color: transparent;
      }
    }
  }

  // App Download Section
  .app-download-section {
    background: linear-gradient(135deg, rgba(241, 106, 36, 0.1), rgba(217, 90, 26, 0.05));
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(241, 106, 36, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;

    &::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(241, 106, 36, 0.1) 0%, transparent 70%);
      animation: pulse 4s ease-in-out infinite;
    }

    .download-content {
      position: relative;
      z-index: 1;

      .download-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 0.75rem;
        letter-spacing: 0.5px;
      }

      .download-desc {
        color: #b8bcc8;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0;
      }
    }

    .app-buttons {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
      justify-content: flex-end;
      position: relative;
      z-index: 1;

      .app-store-btn,
      .play-store-btn {
        display: inline-block;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

        img {
          height: 50px;
          width: auto;
          filter: brightness(1);
          transition: all 0.3s ease;
        }

        &:hover {
          transform: translateY(-5px) scale(1.05);

          img {
            filter: brightness(1.1) drop-shadow(0 8px 20px rgba(241, 106, 36, 0.3));
          }
        }
      }
    }
  }

  // Bottom Footer
  .footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    .copyright-text {
      color: #b8bcc8;
      font-size: 0.875rem;

      strong {
        color: var(--text-primary);
        font-weight: 600;
      }
    }

    .footer-legal {
      margin-bottom: 0;

      .list-inline-item {
        font-size: 0.875rem;

        a {
          color: #b8bcc8;
          text-decoration: none;
          transition: color 0.3s ease;
          padding: 0 8px;

          &:hover {
            color: var(--text-primary);
          }
        }

        &:not(:last-child) {
          color: #6c7588;
        }
      }
    }
  }
}

// Dark Theme Adjustments
[data-bs-theme="dark"] {
  .footer {
    background-color: var(--bs-secondary-bg);

    .brand-section {
      img {}

      .company-desc {
        color: #9ca3af;
      }
    }

    .footer-links a,
    .footer-contact .contact-item,
    .footer-contact a,
    .copyright-text,
    .footer-legal a {
      color: #9ca3af;
    }

    .footer-links a:hover,
    .footer-contact a:hover,
    .footer-legal a:hover {
      color: var(--text-primary);
    }

    .social-links .social-icon {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
      color: #9ca3af;
      border-color: rgba(255, 255, 255, 0.08);
    }

    .app-download-section {
      background: linear-gradient(135deg, rgba(241, 106, 36, 0.15), rgba(217, 90, 26, 0.08));
      border-color: rgba(241, 106, 36, 0.25);

      .download-desc {
        color: #9ca3af;
      }
    }

    .footer-bottom {
      border-top-color: var(--border-secondary);
    }
  }
}

// Light Theme Specific
[data-bs-theme="light"] {
  .footer {
    background-color: #2b2e41;

    .brand-section img {}
  }
}

// Responsive Styles
@media (max-width: 991px) {
  .footer {
    padding: 3rem 0 0;

    .footer-title {
      margin-top: 1.5rem;
      margin-bottom: 1.2rem;
    }
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 2.5rem 0 0;
    font-size: 0.85rem;

    .brand-section {
      text-align: center;
      margin-bottom: 1rem;

      img {
        margin: 0 auto;
      }

      .company-desc {
        text-align: center;
      }
    }

    .social-links {
      justify-content: center;
    }

    .footer-title {
      text-align: center;
      margin-top: 2rem;
      margin-bottom: 1rem;
      display: block;

      &::after {
        left: 50%;
        transform: translateX(-50%);
      }
    }

    .footer-links,
    .footer-contact {
      text-align: center;

      li a::before {
        display: none;
      }

      a:hover {
        padding-left: 0;
      }
    }

    .footer-contact .contact-item {
      justify-content: center;
      text-align: left;
    }

    .app-download-section {
      padding: 2rem 1.5rem;
      text-align: center;

      .download-content {
        text-align: center;
        margin-bottom: 1.5rem;

        .download-title {
          font-size: 1.25rem;
        }
      }

      .app-buttons {
        justify-content: center;
        gap: 12px;

        .app-store-btn img,
        .play-store-btn img {
          height: 45px;
        }
      }
    }

    .footer-bottom {
      margin-top: 2.5rem;
      padding: 1.25rem 0;
      text-align: center;

      .col-md-6 {
        text-align: center !important;
      }

      .copyright-text {
        margin-bottom: 1rem;
      }

      .footer-legal {
        text-align: center;
      }
    }
  }
}

@media (max-width: 575px) {
  .footer {
    .social-links .social-icon {
      width: 36px;
      height: 36px;
      font-size: 1rem;
    }

    .app-download-section {
      padding: 1.5rem 1rem;

      .download-title {
        font-size: 1.1rem;
      }

      .download-desc {
        font-size: 0.85rem;
      }

      .app-buttons {
        flex-direction: column;
        align-items: center;

        .app-store-btn img,
        .play-store-btn img {
          height: 42px;
        }
      }
    }

    .footer-legal .list-inline-item a {
      padding: 0 5px;
      font-size: 0.8rem;
    }
  }
}

// Keyframe Animations
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}



// ========= heading title About css using globale css  =====================================================

// Footer Titles
.heading-title {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-transform: uppercase;
  position: relative;
  display: inline-block;

  &::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background-color: var(--text-primary);
  }
}



// === =============  section title====================================================================
.section-title {
  font-weight: 700;
  font-size: 1.5rem !important;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-transform: uppercase;
  position: relative;
  display: inline-block;

  &::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 30%;
    height: 3px;
    background-color: var(--text-primary);
    transform: translateX(-50%);
  }
}