body {
  margin: 0;
  background-color: #0a0a0a;
  color: #f5f5f5;
}

:root {
    --vh: 1vh;
}

@supports (-webkit-touch-callout: none) {
    .container, .card-body, .faq-container, .hero-container, .site-footer, 
    .pop-up-form-overlay, .stats-content-wrapper {
        height: calc(var(--vh, 1vh) * 100);
    }
}

/* ==========================================================================
   MAIN CSS FILE - Combined from multiple component stylesheets
   ========================================================================== */

/* ==========================================================================
   NAVBAR STYLES
   ========================================================================== */
/* Base navbar styling */
.navbar {
    position: fixed;
    top: 10px; 
    left: 0;
    width: 100%;
    max-width: 1100px;
    height: 80px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background-color: rgba(10, 10, 10, 0.98);
    z-index: 1000;
    transition:
        background-color 0.3s cubic-bezier(0.4,0,0.2,1),
        box-shadow 0.3s cubic-bezier(0.4,0,0.2,1),
        max-width 0.2s cubic-bezier(0.4,0,0.2,1);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 25px;
}

.navbar.scrolled {
    max-width: 600px;
    background-color: rgba(10, 10, 10, 0.98);
    box-shadow: 
        0 4px 12px 0 rgba(0,0,0,0.15),
        0 8px 24px 0 rgba(0,0,0,0.20),
        0 12px 36px 0 rgba(0,0,0,0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 30px;
    height: 70px; 
}

.navbar-side-container-left,
.navbar-side-container-right {
    position: fixed;
    top: 20px;
    height: 70px;
    background-color: transparent;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
}

.navbar-side-container-left {
    left: calc(50% - 350px);
    transform: translateX(-100%);
    justify-content: flex-end;
    padding-right: 20px;
}

.navbar-side-container-right {
    right: calc(50% - 350px);
    transform: translateX(100%);
    justify-content: flex-start;
    padding-left: 20px;
}

.navbar-side-container-left.visible,
.navbar-side-container-right.visible {
    opacity: 1;
}

.navbar-links {
    display: flex;
    align-items: center;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    transition: color 0.3s;
    font-weight: 700;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.brand-logo {
    height: 60px; 
    width: auto; 
    margin-right: 0;
}

.navbar-links a:hover {
    color: #f60;
    font-weight: bold;
}

.mobile-menu {
    display: none;
    color: white;
    font-size: 16px;
    align-items: center;
}

.mobile-menu:hover {
    color: #f60;
}

.mobile-menu.active .menu-icon {
    stroke: #f60;
    transform: rotate(90deg);
}

.menu-icon {
    margin-left: 10px;
    width: 22px; /* Slightly larger icon */
    height: 22px;
    cursor: pointer;
    transition: transform 0.3s;
    stroke: #f60; /* Always orange */
}

.hero-section {
    padding-top: 90px;
}


.mobile-dropdown {
    position: fixed;
    top: 75px; 
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(20, 20, 20, 0.9);
    border-radius: 12px;
    width: 70%;
    max-width: 300px;
    z-index: 1001;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-dropdown.active {
    display: flex;
    opacity: 1;
}

.mobile-dropdown a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    margin: 12px 0;
    padding: 8px 0;
    text-align: center;
    width: 100%;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.mobile-dropdown::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    z-index: 1;
}

.mobile-dropdown a:hover {
    color: #f60;
}

.close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.close-menu:hover {
    color: #f60;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 900px) {
    .navbar {
        height: 70px; 
        padding: 0 15px; 
        max-width: 100vw;
        will-change: transform;
        transition: all 0.45s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    
    .navbar.scrolled {
        top: 10px;
        width: 80vw;
        max-width: 80vw;
        left: 50%;
        transform: translateX(-50%) scale(0.9);
        border-radius: 18px;
        background-color: rgba(10, 10, 10, 0.92);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 0 15px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }
    
    .navbar-links {
        display: none;
    }
    
    .mobile-menu {
        display: flex;
        transition: color 0.3s ease;
        font-weight: 600; 
    }
    
    .brand-logo {
        height: 50px; 
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 65px;
        padding: 0 12px;
    }
    
    .navbar.scrolled {
        width: 88vw;
        max-width: 88vw;
        padding: 0 12px;
        transform: translateX(-50%) scale(1);
    }
    
    .mobile-menu {
        font-size: 15px;
    }
    
    .menu-icon {
        margin-left: 8px;
    }
    
    .brand-logo {
        height: 45px;
    }
}
/* ==========================================================================
   TOAST NOTIFICATION STYLES
   ========================================================================== */
/* Success */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1100;
    /* Accessibility improvements */
    outline: 2px solid transparent;
    transition: outline-color 0.2s;
    role: "alert";
    aria-live: "assertive";
}
  
.toast:focus {
    outline-color: #f60;
}

.toast--active {
    display: flex;
    align-items: center;
}
  
.toast__icon {
    margin-right: 10px;
    color: #4CAF50;
    width: 24px;
}
  
.toast__content h2 {
    margin: 0 0 5px;
    font-size: 18px;
}
  
.toast__content p {
    margin: 0;
    font-size: 14px;
}
/* ==========================================================================
   CARDS STACKING EFFECT STYLES WITH iOS FIXES
   ========================================================================== */

:root {
  --cards: 4;
  --cardHeight: auto;
  --cardMinHeight: 420px;
  --cardTopPadding: 0.5em;
  --cardMargin: clamp(12px, 2vw, 30px);
  --card-bg: #201f1f;
  --card-border: rgba(255, 255, 255, 0.2);
  --container-max-width: 1000px;
  --container-width: 100%;
}

.container {
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 0rem;
  min-height: 100vh;
  background-color: #0a0a0a;
  border-radius: 18px;
  -webkit-overflow-scrolling: touch;
}

@supports (-webkit-touch-callout: none) {
  .container {
    min-height: -webkit-fill-available;
    height: calc(var(--vh, 1vh) * 100);
  }
}

#cards {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(var(--cards), min-content);
  gap: var(--cardMargin);
  margin-bottom: var(--cardMargin);
  width: 100%;
  max-width: 1000px;
}

.card {
  position: sticky;
  top: 100px;
  padding-top: calc(var(--index) * var(--cardTopPadding));
  display: flex;
  justify-content: center;
  opacity: 1;
  min-height: var(--cardMinHeight);
  width: var(--container-width);
  max-width: var(--container-max-width);
  background-color: #0a0a0a;
  border: 2px solid var(--card-border);
  transition: transform 0.3s ease, height 0.3s ease;
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
  margin: 0 auto;
}

.card-body {
  box-sizing: border-box;
  padding: 2rem;
  min-height: var(--cardMinHeight);
  width: 100%;
  background: var(--card-bg);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
}

/* ==========================================================================
   iOS SPECIFIC CARD FIXES
   ========================================================================== */

@supports (-webkit-touch-callout: none) {
  /* Create proper stacking context for iOS */
  #cards {
    position: relative;
    z-index: 1;
    transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
  }
  
  .card {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 100px !important;
    transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Force hardware acceleration */
    -webkit-perspective: 1000px;
    perspective: 1000px;
    /* Ensure proper layering */
    z-index: calc(10 - var(--index, 0));
  }
  
  .card-body {
    transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
  }
  
  .container {
    /* Improve iOS rendering */
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    /* Fix iOS height issues */
    min-height: calc(var(--vh, 1vh) * 100);
    height: auto;
  }
  
  /* Fix stats layout in cards for iOS */
  .stats-content-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
    transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
  }
  
  .stats-text, .stats-image {
    flex: 1 !important;
    transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
  }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .card {
    min-height: var(--cardMinHeight);
    top: 70px;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  
  .card-body,
  .faq-container,
  .faq-block,
  .faq-section-block {
    padding: 1.5rem;
    width: 100%;
  }
  
  .faq-container,
  .faq-block,
  .faq-section-block,
  .container,
  .card {
    max-width: 93%;
  }
  
  /* iOS mobile specific fixes */
  @supports (-webkit-touch-callout: none) {
    .card {
      top: 70px !important;
    }
    
    .stats-content-wrapper {
      flex-direction: column !important;
      gap: 1.5rem !important;
    }
    
    .stats-text, .stats-image {
      width: 100% !important;
      flex: none !important;
    }
  }
}

@media (max-width: 480px) {
  .card-body,
  .faq-container,
  .faq-block,
  .faq-section-block {
    padding: 1.25rem;
  }
  
  .faq-container,
  .faq-block,
  .faq-section-block,
  .container,
  .card {
    max-width: 95%;
  }
}

@media (max-height: 700px) and (max-width: 768px) {
  .card {
    min-height: 300px;
  }
  
  .card-body {
    min-height: 300px;
  }
  
  :root {
    --cardMinHeight: 300px;
  }
}
.stats-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  height: 100%;
  width: 100%;
  position: relative;
}

.stats-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 45%;
  padding-right: 1.5rem;
  font-weight: 500;
  height: 100%;
}

.stats-text h2 {
  margin-top: 5px;
  margin-left: 5px;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: auto;
}

.stats-text .description {
  margin: 0;
  margin-left: 5px;
  margin-top: auto;
  margin-bottom: 10px;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

.stats-image {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 14px;
  padding: 0; 
  height: 100%;
}

.stats-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}


@media (max-width: 480px) {
  :root { --cardHeight: 300px; }
  .card-body { padding: 1.5rem; }
  .stats-text h2 { font-size: 1.4rem; }
  .stats-text .description { font-size: 0.8rem; }
  .stats-image img { max-height: 100px; }
}

@media (max-width: 768px) {
  .card { 
    min-height: auto; 
    top: 70px; 
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .stats-content-wrapper { 
    flex-direction: column; 
  }
  
  .stats-text { 
    width: 100%; 
    margin-bottom: 1.5rem; 
    padding-right: 0; 
    height: auto;
  }
  
  .stats-text h2 { 
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 0;
  }
  
  .stats-text .description {
    margin-top: 0;
  }
  
  .stats-image { 
    width: 100%;
    height: auto;
    margin-top: 0.5rem;
    padding: 0;
  }
  
  .stats-image img {
    width: 100%;
    max-height: none;
    height: auto;
    border-radius: 8px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .card { 
    min-height: 400px; 
  }
  
  .card-body {
    padding: 1.75rem;
  }
  
  .stats-content-wrapper { 
    flex-direction: row; 
  }
  
  .stats-text { 
    width: 50%; 
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .stats-text h2 { 
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: auto;
    line-height: 1.1;
  }
  
  .stats-text .description {
    margin-top: auto;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.3;
  }
  
  .stats-image { 
    width: 45%;
    height: 100%;
  }
  
  .stats-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

@media only screen and (min-width: 768px) and (max-width: 834px) {
  .stats-text h2 { 
    font-size: 1.8rem;
  }
  
  .stats-text .description {
    font-size: 0.85rem;
  }
}


@media only screen and (min-width: 1024px) and (max-width: 1366px) {
  .card { 
    min-height: 450px; 
  }
  
  .stats-text h2 { 
    font-size: 2.4rem;
  }
  
  .stats-text .description {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  :root { --cardHeight: 460px; } 
  .card-body {
    padding: 2rem;
  }
  .stats-text { 
    width: 45%;
  }
  .stats-text h2 { 
    font-size: 2.6rem; 
    margin-bottom: 0;
  }
  .stats-text .description { 
    font-size: 1rem;
    margin-top: auto;
  }
  .stats-image { 
    width: 50%; 
  }
}

@media (max-height: 700px) and (max-width: 768px) {
  .card { 
    min-height: auto;
  }
  
  .card-body {
    min-height: auto;
  }
  
  :root { --cardHeight: auto; }
}

@supports (-webkit-touch-callout: none) {
  .card { min-height: -webkit-fill-available; }
}

body.direct-faq-navigation .container.cards-container {
  min-height: 0;
  height: auto;
  padding-bottom: 0;
  margin-bottom: 0;
}

body.direct-faq-navigation .card.faq-card {
  position: relative;
  top: 0;
  padding-top: 0;
  margin-bottom: 10px;
}

body.direct-faq-navigation .card-body.faq-card-body {
  transform: translateY(0);
}
/* Media queries for all screen sizes */
@media (max-width: 768px) {
  :root {
    --container-max-width: 93%;
  }
}

@media (max-width: 480px) {
  :root {
    --container-max-width: 95%;
  }
}


@media (min-width: 1281px) {
  :root {
    --container-max-width: 1000px;
  }
  
  /* Maintain maximum width even on very large screens */
  .card,
  .card-body,
  .faq-container,
  .faq-block,
  .faq-section-block,
  .container {
    max-width: var(--container-max-width);
    width: var(--container-width);
  }
}

@media (min-width: 2000px) {
  :root {
    --container-max-width: 1000px;
  }
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
body {
  padding-bottom: 0;
}

.site-footer {
  background: #0a0a0a;
  color: #fff;
  padding: 0rem 0 0rem;
  text-align: center;
  width: 100%;
  border-top: 0px solid #1f1f1f;
  margin-top: 2rem;
  position: relative;
  overflow: visible;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.footer-location {
  font-size: 0.975rem;
  opacity: .8;
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-copyright {
  font-size: .55rem;
  opacity: .6;
  margin-bottom: 1rem;
  color: lightgray;
}

.footer-policy {
  font-size: .75rem;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-policy a {
  color: #fff;
  text-decoration: none;
}

.footer-policy a:hover {
  text-decoration: underline;
}

.footer-slogan {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  font-size: 5vw;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0.05;
  white-space: nowrap;
  overflow: visible;
  line-height: 1;
  z-index: 5;
  letter-spacing: -0.4vw;
  color: transparent;
  pointer-events: none;
  margin-top: 0;
  margin-bottom: 0;
  transition: opacity 3s ease-in-out, transform 6s ease-in-out;
  background: linear-gradient(to top, 
    rgba(100, 100, 100, 0.7) 0%,
    rgba(200, 200, 200, 0.8) 40%, 
    rgba(255, 255, 255, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
}
.footer-slogan.visible {
  opacity: 1; 
  transform: translateY(0); 
}
@media (max-width: 768px) {
  .footer-slogan {
    font-size: 7vw; /* Larger font size on smaller screens */
    bottom: -80px; /* Adjusted position */
    letter-spacing: -0.8vw; 
    white-space: normal; 
    line-height: 1;
  }
  
  .site-footer {
    min-height: 150px;
    margin-bottom: 60px; /* Reduced margin */
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .footer-slogan {
    font-size: 14vw; /* Changed from 18vw to 14vw for smaller text */
    bottom: -110px;
    letter-spacing: -1vw;
    white-space: normal; /* Allow text to wrap if needed */
    line-height: 0.9;
  }
  
  .site-footer {
    min-height: 120px;
    margin-bottom: 60px;
    /* padding: 2rem 0 1rem; */
  }
  
  .footer-content {
    max-width: 90%;
  }
}
.demo-section {
  position: relative;
  z-index: 20;
}

body {
  padding-bottom: 100px;
}

.site-footer {
  min-height: 200px;
  margin-bottom: 120px;
}
/* ==========================================================================
   DEMO POPUP FORM STYLES
   ========================================================================== */

.pop-up-form-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pop-up-form-overlay.active {
  opacity: 1;
}
.pop-up-form-content {
  background-color: #333333;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 325px;
  position: relative;
  color: #d3d3d3;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.pop-up-form-overlay.active .pop-up-form-content {
  transform: translateY(0);
}
.pop-up-form-close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #d3d3d3;
}
.pop-up-form {
  display: flex;
  flex-direction: column;
}
.pop-up-form h2 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #d3d3d3;
  font-size: 18px;
}
.pop-up-form label {
  margin-top: 8px;
  margin-bottom: 4px;
  font-weight: 500;
  color: #d3d3d3;
  font-size: 14px;
}
.pop-up-form input, 
.pop-up-form select, 
.pop-up-form textarea {
  padding: 8px;
  border: 1px solid #444444;
  border-radius: 4px;
  margin-bottom: 8px;
  font-family: inherit;
  background-color: #5c5c5c;
  color: #d3d3d3;
  font-size: 14px;
}

.pop-up-form textarea {
  resize: vertical;
  background-color: #5c5c5c;
}

.pop-up-form-submit-btn {
  margin-top: 12px;
  padding: 8px;
  background-color: #d3d3d3;
  color: #333333;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

.pop-up-form-submit-btn:hover {
  background-color: #bebebe;
}

.pop-up-form-submit-btn.loading {
  color: transparent;
  position: relative;
  pointer-events: none;
}

.pop-up-form-submit-btn.loading:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #333333;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

body.no-scroll {
  overflow: hidden;
  max-height: 100vh;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   FAQ STYLES
   ========================================================================== */
.faq-section {
  padding: 0rem 1.5rem;
  display: flex;
  justify-content: center;
  background: #0a0a0a;
  width: 100%;
  margin-bottom: 2rem;
}

.faq-container {
  position: relative;
  max-width: var(--container-max-width);
  width: var(--container-width);
  margin: 0 auto;
  background: #201f1f;
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.07);
}

.faq-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 340px;
  height: 330px;
  background-image: url('../images/question_mark_final.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: 0.60;
  z-index: 0;
  pointer-events: none;
}

.faq-heading, .faq-tags, .faq-answers {
  position: relative;
  z-index: 1;
  background-color: transparent;
}

.faq-heading {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-tag {
  background: #1e1e1e;
  border: 1px solid #333;
  color: white;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  opacity: 0.4; 
}

.faq-tag.active,
.faq-tag:hover {
  background-color: white;
  color: black;
  opacity: 1; 
}

.faq-answer {
  display: none;
}

.faq-answer.active {
  display: block;
}

.faq-answer h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.faq-answer p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 100%;
}

/* FAQ Block containers */
.faq-block,
.faq-section-block {
  position: relative;
  max-width: var(--container-max-width);
  width: var(--container-width);
  margin: 0 auto;
  background: #111;
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow: hidden;
  border: .1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 0 10px rgba(255, 255, 255, .07);
}

.faq-section-block {
  padding-bottom: 1rem;
}

/* Tabs Navigation */
.faq-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid #333;
  margin-bottom: 20px;
  padding-bottom: 5px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.faq-tabs::-webkit-scrollbar {
  display: none;
}

.faq-tab {
  background: none;
  border: none;
  color: #888;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: color .3s;
  white-space: nowrap;
}

.faq-tab.active {
  color: #f60;
  border-bottom: 2px solid #f60;
}

.faq-tab:hover {
  color: #fff;
}

/* Accordion-style FAQ content */
.faq-content {
  padding: 10px 0;
}

.faq-content details {
  margin-bottom: 15px;
  border-radius: 8px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
}

.faq-content summary {
  padding: 15px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-weight: 500;
}

.faq-content summary::-webkit-details-marker {
  display: none;
}

.faq-content summary::after {
  content: "+";
  color: #f60;
  font-size: 18px;
}

.faq-content details[open] summary::after {
  content: "−";
}

.faq-content details[open] {
  box-shadow: 0 0 10px rgba(255, 102, 0, .1);
}

.faq-content p {
  padding: 0 15px 15px;
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}

/* FAQ Media Queries */
@media (max-width: 768px) {
  .faq-section {
    padding: 1.5rem 1rem;
  }
  
  .faq-container {
    padding: 1.5rem;
  }
  
  /* Adjust background image for tablets */
  .faq-container::after {
    width: 220px;
    height: 210px;
    opacity: 0.5;
  }
  
  .faq-heading {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }
  
  .faq-tab {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .faq-tags {
    /* Keep tags in rows (removing column direction) */
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .faq-tag {
    /* Increased size by ~10% */
    padding: 7px 13px;
    font-size: 14px;
  }
  
  .faq-answer h3 {
    font-size: 1.1rem;
  }
  
  .faq-content summary {
    padding: 12px;
    font-size: 15px;
  }
  
  .faq-content p {
    padding: 0 12px 12px;
    font-size: 13px;
  }
  
  .container {
    max-width: 93%; /* Or a specific pixel value */
  }
}
/* Smaller mobile devices */
@media (max-width: 480px) {
  .faq-container {
    padding: 1.25rem;
  }
  
  /* Further reduce background image for mobile phones */
  .faq-container::after {
    width: 350px;
    height: 240px;
    opacity: 0.4;
    right: -15px; /* Slight adjustment to position */
  }
  
  .faq-heading {
    font-size: 1.5rem;
  }
  
  .faq-tag {
    padding: 5px 11px;
    font-size: 13px;
  }
  
  .faq-content summary {
    font-size: 14px;
  }
}
/* iPad and tablet-specific width adjustments - add after existing media queries */
@media only screen and (min-width: 768px) and (max-width: 1366px) {
  /* Set consistent width for cards and FAQ containers */
  :root {
    --container-max-width: 95%;
  }

  .card,
  .container {
    width: var(--container-width);
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
  }
  
  #cards {
    width: 100%;
    max-width: 100%;
  }
  
  /* Ensure card body matches FAQ container width */
  .card-body {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
  }
  
  /* Ensure all containers have the same width */
  .faq-container, 
  .faq-block,
  .faq-section-block,
  .card {
    width: var(--container-width);
    max-width: var(--container-max-width);
  }
}
/* Specific iPad Pro 12.9-inch fixes */
@media only screen and (min-width: 1024px) and (max-width: 1366px) {
  .card {
    min-height: 480px;
  }
}
/* ==========================================================================
   POLICY PAGE STYLES
   ========================================================================== */
.policy-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1rem;
  background: #0a0a0a;
  margin-top: 20px; 
}
/* Language selector */.language-selector {
  margin-bottom: 2rem;
}

.language-selector select {
  background-color: #111;
  color: #fff;
  border: 1px solid #444;
  padding: 0.5rem;
  border-radius: 5px;
  font-size: 0.9rem;
}

.updated-date {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 1rem;
}

h1.title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 2.5rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 1.5rem;
}

/* Text styling */
p {
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #ccc;
}

.policy-paragraph {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Links styling */
a {
  color: #4a90e2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Lists styling */
.policy-section ul, .policy-section ol {
  padding-left: 1.2rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.policy-section li {
  margin-bottom: 0.75rem;
  color: #ccc;
  line-height: 1.5;
  text-align: left;
}

/* For section spacing */
.policy-section {
  margin-bottom: 2.5rem;
}

/* Legal highlighting for important notes */
.legal-highlight {
  background-color: rgba(255, 102, 0, 0.1);
  border-left: 3px solid #FF6600;
  padding: 1rem;
  margin: 1.5rem 0;
}

/* Policy Responsive adjustments */
@media (max-width: 768px) {
  .policy-container {
    width: 95%;
    padding: 1rem;
  }
  
  h1.title {
    font-size: 2rem;
  }
  
  .policy-paragraph {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   CAREER PAGE STYLES
   ========================================================================== */
/* Container for all content - centered with max-width */
.careers-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1rem;
  background: #0a0a0a;
  margin-top: 20px; /* Space for navbar */
  text-align: left; /* Ensures text is left-aligned within the centered container */
}

/* Section headings - left aligned but in the centered container */
h1, h2 {
  text-align: left;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2rem;
  font-weight: bold;
}

h2 {
  font-size: 1.5rem;
  font-weight: bold;
}

.intro-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 0.5rem auto;
  position: relative; /* Needed for overlay */
  overflow: hidden;
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

/* Gradient overlay */
.intro-image::after {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  border-radius: 12px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.2) 0%,
    rgba(10,10,10,0.6) 100%
  );
}

.about, .roles, .offer {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.98rem;
}

/* Lists styling */
.offer ul, .offer ol {
  padding-left: 1.2rem;
  text-align: left;
}

.offer li {
  margin-bottom: 0.75rem;
  color: #ccc;
  line-height: 1.5;
  text-align: left;
}

/* For role links */
.roles .role-link {
  display: block;
  font-size: 1.1rem;
  color: #FF6600;
  text-decoration: none;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
  font-weight: 500;
  text-align: left;
}

/* Career responsive adjustments */
@media (max-width: 768px) {
  .careers-container {
    width: 95%;
    padding: 1rem;
  }
}