/* Base Styles */
      body {
        font-family: 'DM Sans', sans-serif;
        background-color: #eaf1ff;
      }
      
      /* Smooth scrolling */
      html {
        scroll-behavior: smooth;
      }
      
      /* Offset for fixed header */
      section {
        scroll-margin-top: 80px;
      }

      /* Header Styles */
      .custom-navbar {
        background-color: #358438;
        font-family: 'DM Sans', sans-serif;
        padding: 15px 0;
      }

      .navbar-container {
        max-width: 1140px;
      }

      .navbar-logo {
        order: 1;
      }

      .logo-img {
        width: 152px;
        height: 42px;
      }

      .mobile-toggle {
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        order: 3;
      }

      .mobile-toggle-icon {
        background-image: url('data:image/svg+xml;charset=utf8,%3Csvg viewBox=%270 0 30 30%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath stroke=%27rgba(255, 255, 255, 1)%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3E%3C/svg%3E');
      }

      .nav-collapse {
        order: 2;
      }

      .desktop-nav {
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .nav-link-desktop {
        text-decoration: none;
        font-family: 'DM Sans', sans-serif;
        font-weight: 500;
      }

      .mobile-nav {
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .nav-link-mobile {
        text-decoration: none;
        font-family: 'DM Sans', sans-serif;
        font-weight: 500;
        font-size: 1.1rem;
      }

      .mobile-store-btn {
        height: 35px;
      }

      .desktop-store-btns {
        order: 3;
      }

      .desktop-store-btn {
        height: 35px;
      }

      /* First Section Styles */
      .home-section {
        background-color: #eaf1ff;
        margin-top: 80px;
      }

      .phone-container {
        max-width: 300px;
        width: 100%;
        animation: float-in 1s ease-out forwards;
        will-change: transform, opacity;
      }

      @keyframes float-in {
        0% {
          opacity: 0;
          transform: translateY(30px);
        }
        100% {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .phone-frame {
        border-radius: 3rem;
        background: linear-gradient(45deg, #000000 0%, #3d518c 20%, #a1bee2 20%, #0b497f 66%, #a1bee2 80%, #3d518c 80%, #000000 100%);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 3px 15px rgba(0, 0, 0, 0.35);
        margin: 15px auto;
        transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              box-shadow 0.5s ease;
      }

      .phone-frame:hover {
        transform: translateY(-15px) scale(1.03);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2), 
              0 0 20px rgba(53, 132, 56, 0.15);
      }

      .phone-screen-border {
        border-radius: 3rem;
        background: linear-gradient(45deg, #000000 0%, #3d518c 20%, #a1bee2 20%, #0b497f 66%, #a1bee2 80%, #3d518c 80%, #000000 100%);
        box-shadow: 0 0px 5px rgba(0, 0, 0, 0.55), inset 1px 0px 3px rgba(255, 255, 255, 0.55);
      }

      .phone-btn-left-1 {
        left: -4px;
        top: 80px;
        width: 4px;
        height: 50px;
        border-radius: 4px 0 0 4px;
        animation: fade-in 1.5s ease-out 1s forwards;
        opacity: 0;
      }

      .phone-btn-left-2 {
        left: -4px;
        top: 140px;
        width: 4px;
        height: 50px;
        border-radius: 4px 0 0 4px;
        animation: fade-in 1.5s ease-out 1s forwards;
        opacity: 0;
      }

      .phone-btn-right {
        right: -7px;
        top: 120px;
        width: 4px;
        height: 100px;
        border-radius: 0 4px 4px 0;
        animation: fade-in 1.5s ease-out 1s forwards;
        opacity: 0;
      }

      .phone-screen-container {
        border-radius: 2.75rem;
        aspect-ratio: 375/812;
      }

      .phone-screen {
        border-radius: 2.375rem !important;
        animation: fade-in 1.2s ease-out 0.3s forwards;
        opacity: 0;
      }

      .phone-screen-img {
        object-fit: cover;
        border-radius: 2.375rem !important;
        animation: fade-in 1.2s ease-out 0.3s forwards;
        opacity: 0;
      }

      @keyframes fade-in {
        0% { opacity: 0; }
        100% { opacity: 1; }
      }

      .phone-screen::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(
          to right,
          rgba(255, 255, 255, 0) 0%,
          rgba(255, 255, 255, 0.4) 50%,
          rgba(255, 255, 255, 0) 100%
        );
        transform: skewX(-25deg);
        animation: shine 3s infinite 1s;
        z-index: 2;
      }

      @keyframes shine {
        0% { left: -100%; }
        100% { left: 200%; }
      }

      .app-icon {
        max-width: 120px;
        animation: pop-in 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s forwards;
        opacity: 0;
        transform: scale(0.6);
      }

      @keyframes pop-in {
        0% {
          opacity: 0;
          transform: scale(0.6);
        }
        70% {
          transform: scale(1.1);
        }
        100% {
          opacity: 1;
          transform: scale(1);
        }
      }

      .qr-code {
        max-width: 120px;
        animation: fade-up 0.8s ease-out 0.8s forwards;
        opacity: 0;
        transform: translateY(15px);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      @keyframes fade-up {
        0% {
          opacity: 0;
          transform: translateY(15px);
        }
        100% {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .qr-code:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      }

      /* Second Section Styles */
      .features-section {
        background-color: #ffffff;
      }

      .features-container {
        max-width: 1400px;
      }

      .features-image-container {
        max-width: 100%;
      }

      .features-image {
        max-width: 100%;
        height: auto;
      }

      /* Third Section Styles */
      .products-section {
        background-color: #e0f0d8;
      }

      .product-card {
        width: 280px;
        height: 380px;
        transition: all 0.3s ease;
      }

      .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      }

      .product-image-container {
        height: 320px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .product-image {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
      }

      .product-text {
        font-size: 14px;
        font-weight: 500;
      }

      /* Fourth Section Styles */
      .halal-shopping-section {
        background-color: #ffffff;
      }

      .halal-text {
        max-width: 850px;
        margin-left: auto;
        margin-right: auto;
      }

      /* Fifth Section Styles */
      .download-section {
        background-color: #e8f5e9;
      }

      .download-content {
        gap: 16px;
    margin-bottom: 404px;
    padding-right: 20px;
    margin-top: 70px;
      }
      

      .download-title {
        font-size: 32px;
        font-style: italic;
        margin: 0;
        line-height: 1;
      }

      .download-subtitle {
        color: #666;
        font-size: 12px;
        font-weight: bold;
        letter-spacing: 2px;
        margin-top: 0;
      }

      .download-buttons {
        gap: 16px;
      }

      .app-store-btn {
        display: flex;
        align-items: center;
        background-color: #000;
        color: #fff;
        padding: 12px 16px;
        border-radius: 12px;
        width: 180px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      }

      .app-store-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
      }

      .app-store-icon {
        font-size: 1.8rem;
        margin-right: 12px;
        color: #fff;
      }

      .app-store-text {
        line-height: 1.2;
        color: #fff;
      }

      .app-store-small {
        font-size: 10px;
        color: #fff;
        display: block;
      }

      .app-store-large {
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        display: block;
      }

      .google-play-btn {
        display: flex;
        align-items: center;
        background-color: #000;
        color: #fff;
        padding: 12px 16px;
        border-radius: 12px;
        width: 180px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      }

      .google-play-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
      }

      .google-play-icon {
        font-size: 1.8rem;
        margin-right: 12px;
        color: #fff;
      }

      .google-play-text {
        line-height: 1.2;
        color: #fff;
      }

      .google-play-small {
        font-size: 10px;
        color: #fff;
        display: block;
      }

      .google-play-large {
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        display: block;
      }

      .qr-code-desktop {
        max-width: 120px;
        margin-right: -280px;
        margin-bottom: 337px;
        transform: translateY(42px); /* Move down by 50 pixels */
      }

      .mobile-view-desktop {
        max-width: 800px;
      }

      /* Mobile Download Styles */
      .download-title-mobile {
        color: #333;
        font-size: 1.5rem;
        letter-spacing: 1.5px;
        font-style: italic;
      }

      .download-subtitle-mobile {
        color: #666;
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 1px;
        font-style: italic;
      }

      .mobile-download-buttons {
        gap: 15px;
      }

      .app-store-btn-mobile {
        display: flex;
        align-items: center;
        background-color: #000;
        color: #fff;
        padding: 10px 14px;
        border-radius: 10px;
        width: 160px;
        transition: all 0.3s ease;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
      }

      .app-store-btn-mobile:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
      }

      .app-store-icon-mobile {
        font-size: 1.5rem;
        margin-right: 10px;
      }

      .app-store-text-mobile {
        line-height: 1.1;
      }

      .app-store-small-mobile {
        font-size: 9px;
        color: #fff;
        display: block;
      }

      .app-store-large-mobile {
        font-size: 14px;
        font-weight: bold;
        color: #fff;
        display: block;
      }

      .google-play-btn-mobile {
        display: flex;
        align-items: center;
        background-color: #000;
        color: #fff;
        padding: 10px 14px;
        border-radius: 10px;
        width: 160px;
        transition: all 0.3s ease;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
      }

      .google-play-btn-mobile:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
      }

      .google-play-icon-mobile {
        font-size: 1.5rem;
        margin-right: 10px;
      }

      .google-play-text-mobile {
        line-height: 1.1;
      }

      .google-play-small-mobile {
        font-size: 9px;
        color: #fff;
        display: block;
      }

      .google-play-large-mobile {
        font-size: 14px;
        font-weight: bold;
        color: #fff;
        display: block;
      }

      .mobile-view-mobile {
        max-width: 100%;
        height: auto;
        object-fit: contain;
      }

      /* Sixth Section Styles */
      .thank-you-section {
        background-color: #ffffff;
      }

      .thank-you-title {
        color: #333;
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.2;
      }

      .thank-you-icon {
        width: clamp(80px, 15vw, 100px);
        height: clamp(80px, 15vw, 100px);
        border-radius: clamp(16px, 3vw, 20px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      }

      .website-url {
        color: #666;
        font-size: clamp(14px, 4vw, 16px);
        font-weight: 500;
        line-height: 1.4;
      }

      .thank-you-subtitle {
        color: #666;
        font-weight: 400;
        font-size: clamp(1rem, 5vw, 1.2rem);
        line-height: 1.4;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
      }

      /* FAQ Section Styles */
      .faq-section {
        background-color: #f8f9fa;
      }

      .faq-button {
        box-shadow: none;
      }

      .faq-icon {
        width: 24px;
        height: 24px;
        background-color: #358438;
        font-size: 14px;
      }

      /* Hide default Bootstrap accordion arrow */
      .accordion-button::after {
        display: none;
      }
      
      /* Custom accordion button states */
      .accordion-button:not(.collapsed) {
        background-color: #f8f9fa !important;
        color: #333 !important;
        box-shadow: none !important;
      }
      
      .accordion-button:focus {
        box-shadow: none !important;
        border-color: transparent !important;
      }
      
      /* Toggle icons - show minus when expanded */
      .accordion-button:not(.collapsed) .faq-icon-plus {
        display: none !important;
      }
      
      .accordion-button:not(.collapsed) .faq-icon-minus {
        display: block !important;
      }
      
      /* Hover effect */
      .accordion-button:hover {
        background-color: #f8f9fa !important;
        transform: translateY(-1px);
        transition: all 0.2s ease;
      }
      
      /* Smooth transitions */
      .accordion-collapse {
        transition: all 0.3s ease;
      }

      /* Footer Styles */
      .footer-section {
        background-color: #f8f9fa;
        border-top: 1px solid #e9ecef;
      }

      .footer-heading {
        color: #333;
        font-size: clamp(14px, 4vw, 16px);
      }

      .footer-link {
        color: #666;
        font-size: clamp(12px, 3.5vw, 14px);
        line-height: 1.5;
      }

      .footer-divider {
        border-color: #dee2e6;
      }

      .footer-copyright {
        color: #666;
        font-size: clamp(11px, 3vw, 14px);
        line-height: 1.4;
      }

      .footer-copyright-link {
        color: #666;
      }

      /* Social Sidebar Styles */
      .social-sidebar {
        top: 50%;
        z-index: 9999;
        border-radius: 0 0.5rem 0.5rem 0;
        overflow: hidden;
        box-shadow: 0.25rem 0 0.75rem rgba(0, 0, 0, 0.15);
      }

      .social-btn {
        width: 3.125rem;
        height: 3.125rem;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        margin: 0;
      }

      .social-btn:hover {
        transform: translateX(0.3125rem);
        box-shadow: 0.125rem 0 0.3125rem rgba(0, 0, 0, 0.2);
      }

      .facebook-btn {
        background-color: #3b5998;
      }

      .twitter-btn {
        background-color: #1c1c1c;
      }

      .linkedin-btn {
        background-color: #0077b5;
      }

      .pinterest-btn {
        background-color: #bd081c;
      }

      .reddit-btn {
        background-color: #ff4500;
      }

      .weibo-btn {
        background-color: #e6162d;
      }

      .email-btn {
        background-color: #6c757d;
        border-radius: 0 0 0.5rem 0;
      }

      .social-icon {
        width: 1.5rem;
        height: 1.5rem;
        filter: brightness(0) invert(1);
      }

      /* Store Image Button Styles - Desktop */
      .store-image-btn {
        display: inline-block;
        transition: all 0.3s ease;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      }

      .store-image-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
      }

      .store-btn-image {
        width: 180px;
        height: auto;
        display: block;
        border-radius: 12px;
      }

      /* Store Image Button Styles - Mobile */
      .store-image-btn-mobile {
        display: inline-block;
        transition: all 0.3s ease;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
      }

      .store-image-btn-mobile:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
      }

      .store-btn-image-mobile {
        width: 160px;
        height: auto;
        display: block;
        border-radius: 10px;
      }

      /* Professional UI Animations */

      /* Animation for phone container */
      .phone-container {
        animation: float-in 1s ease-out forwards;
        will-change: transform, opacity;
      }

      @keyframes float-in {
        0% {
          opacity: 0;
          transform: translateY(30px);
        }
        100% {
          opacity: 1;
          transform: translateY(0);
        }
      }

      /* Enhanced hover effect for phone */
      .phone-frame {
        transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                    box-shadow 0.5s ease;
      }

      .phone-frame:hover {
        transform: translateY(-15px) scale(1.03);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2), 
                    0 0 20px rgba(53, 132, 56, 0.15);
      }

      /* Screen animation */
      .phone-screen-img {
        animation: fade-in 1.2s ease-out 0.3s forwards;
        opacity: 0;
      }

      @keyframes fade-in {
        0% { opacity: 0; }
        100% { opacity: 1; }
      }

      /* Screen glow effect */
      .phone-screen::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(
          to right,
          rgba(255, 255, 255, 0) 0%,
          rgba(255, 255, 255, 0.4) 50%,
          rgba(255, 255, 255, 0) 100%
        );
        transform: skewX(-25deg);
        animation: shine 3s infinite 1s;
        z-index: 2;
      }

      @keyframes shine {
        0% { left: -100%; }
        100% { left: 200%; }
      }

      /* App icon animation */
      .app-icon {
        animation: pop-in 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s forwards;
        opacity: 0;
        transform: scale(0.6);
      }

      /* Title animation */
      h2.fw-bold {
        animation: slide-up 0.8s ease-out 0.4s forwards;
        opacity: 0;
        transform: translateY(20px);
      }

      @keyframes slide-up {
        0% {
          opacity: 0;
          transform: translateY(20px);
        }
        100% {
          opacity: 1;
          transform: translateY(0);
        }
      }

      /* Subtitle animation */
      h4.fw-light {
        animation: slide-up 0.8s ease-out 0.6s forwards;
        opacity: 0;
        transform: translateY(20px);
      }

      /* QR code animation */
      .qr-code {
        animation: fade-up 0.8s ease-out 0.8s forwards;
        opacity: 0;
        transform: translateY(15px);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      @keyframes fade-up {
        0% {
          opacity: 0;
          transform: translateY(15px);
        }
        100% {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .qr-code:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      }

      /* Pulse animation for the app icon */
      .app-icon {
        animation: pop-in 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s forwards,
                   pulse 3s infinite ease-in-out 1s;
        opacity: 0;
        transform: scale(0.6);
      }

      @keyframes pulse {
        0% {
          box-shadow: 0 0 0 0 rgba(53, 132, 56, 0.4);
        }
        70% {
          box-shadow: 0 0 0 10px rgba(53, 132, 56, 0);
        }
        100% {
          box-shadow: 0 0 0 0 rgba(53, 132, 56, 0);
        }
      }

      /* Enhanced notch appearance */
      .phone-notch {
        animation: fade-in 1.5s ease-out 0.7s forwards;
        opacity: 0;
      }

      /* Background gradient animation for home section */
      .home-section {
        position: relative;
        overflow: hidden;
      }

      .home-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(
          circle at center,
          rgba(53, 132, 56, 0.03) 0%,
          rgba(224, 240, 216, 0.03) 40%,
          rgba(234, 241, 255, 0) 70%
        );
        z-index: -1;
        animation: rotate-gradient 30s infinite linear;
        transform-origin: center;
      }

      @keyframes rotate-gradient {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }

/* Fix for navbar-toggler in mobile view */
.navbar-collapse {
    transition: height 0.3s ease;
}

/* Make sure the navbar-collapse has proper styling */
.navbar-collapse.collapse {
    display: flex !important;
    height: auto !important;
    visibility: visible !important;
    overflow: visible !important;
}

/* When collapsed on mobile */
@media (max-width: 991.98px) {
    .navbar-collapse.collapse:not(.show) {
        display: none !important;
    }
}

/* Better visibility for toggle icon */
.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* Adding animation to the toggler */
.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    transition: box-shadow 0.15s ease-in-out;
    outline: none !important;
}

/* Prevent unwanted outline */
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.25);
    outline: none;
}

/* Mobile navbar styles */
.navbar-collapse {
  transition: all 0.35s ease;
}

/* Fix for mobile navbar display */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: #358438;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
}

/* Proper navbar toggler styling */
.navbar-toggler {
  padding: 0.25rem;
  border: none;
  background-color: transparent;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Override Bootstrap's default toggler icon styling */
.navbar-toggler-icon {
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg viewBox=%270 0 30 30%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath stroke=%27rgba(255, 255, 255, 1)%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3E%3C/svg%3E') !important;
  transition: all 0.3s;
}

/* Animation for mobile nav links */
.mobile-nav .nav-item {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-collapse.collapsing .mobile-nav .nav-item,
.navbar-collapse:not(.show) .mobile-nav .nav-item {
  transform: translateY(-10px);
  opacity: 0;
}
.halal-shopping-section {
    background-color: #ffffff;
}

.halal-text {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}