[class^="grid-"] > * img,
[class*=" grid-"] > * img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ==============================================
   GLOBAL STYLES
============================================== */
body {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #fff;
  color: #000;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
ul { padding-left: 1.5rem; }
.text-block { padding: 0.5rem; }
.text-block.dark { background: #ffffff; }

.content {
  padding-top: 8rem;
  padding-left: 5rem;
  padding-right: 5rem;
}

/* ==============================================
   NAVIGATION MENU
============================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background: black;
  color: white;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 1000;
  transition: top 0.4s ease, opacity 0.4s ease;
  padding: 0.5rem 1rem;
}

.navbar.hidden {
  top: -80px;
  opacity: 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
}

.nav-container ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.nav-container ul li a {
  color: white;
  text-decoration: none;
  position: relative;
  font-weight: 500;
}

.nav-container ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.nav-container ul li a:hover::after,
.nav-container ul li a.active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100; /* keep above menu */
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
}
/* Default nav links (desktop) */
#nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

/* Mobile Menu Slide-in */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  #nav-links {
    visibility: hidden;
    flex-direction: column;
    align-items: flex-end;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 215px;
    padding: 80px 20px 20px;
    gap: 20px;
    background: black;
    border-bottom-left-radius: 20px;
    transform: translateX(100%);
    transition: transform 0.6s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
  }

  #nav-links.open {
    transform: translateX(0);
  }
  #nav-links.open {
  transform: translateX(0);
  visibility: visible; /* make visible when open */
}
}

/* Hamburger animation (X icon) */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-hover-zone {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 999;
}
/* Hide language selector in mobile menu by default */
.mobile-language {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show it only when hamburger menu is open */
#nav-links.open .mobile-language {
  visibility: visible;
  opacity: 1;
}

/* ==============================================
   HERO SECTION
============================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  text-align: center;
  padding: 2rem;
  padding-top: 3rem;
}

.hero-text {
  grid-row: 1;
}

.hero-image {
  grid-row: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: 100%;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-image .character {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ===== Responsive Video (no Bootstrap) ===== */

/* modern browsers */
.video-ratio {
  aspect-ratio: 16 / 9;          /* responsive 16:9 */
  width: 100%;
  border-radius: 12px;            /* similar to rounded-3 */
  box-shadow: 0 8px 24px rgba(0,0,0,.25); /* similar to shadow-lg */
  overflow: hidden;
  background: #000;
  margin-top: 1rem;               /* spacing above video */
}

/* fallback for older browsers without aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .video-ratio {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;       /* 16:9 */
  }
  .video-ratio > iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

.video-ratio > iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==============================================
   GENERIC CONTENT GRID
============================================== */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1rem;
  padding: 1rem;
  border: solid 2px black;
}

/* ==============================================
   GRID-1ST (WHO ARE WE & CHALLANGES)
============================================== */
.grid-1st {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
}
.grid-1st > :nth-child(1){ grid-column: 1; grid-row: 1; }
.grid-1st > :nth-child(2){ grid-column: 2 / span 3; grid-row: 1; }
.grid-1st > :nth-child(3){ grid-column: 1 / span 2; grid-row: 2; }
.grid-1st > :nth-child(4){ grid-column: 3; grid-row: 2; }

/* ==============================================
   GRID-2ND (HOW IT WORKS)
============================================== */
.grid-2nd {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
}
.grid-2nd > :nth-child(1){ grid-column: 1 / span 2; grid-row: 1; align-content: space-around;}
.grid-2nd > :nth-child(2){ grid-column: 1 / span 2; grid-row: 2; align-content: start; }
.grid-2nd > :nth-child(3){ grid-column: 3; grid-row: 1 / span 2; }
.grid-2nd > :nth-child(4){ grid-column: 1 / span 2; grid-row: 3; }
.grid-2nd > :nth-child(5){ grid-column: 3; grid-row: 3; align-content: end;}
.grid-2nd > :nth-child(1) img {
  width: 70%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}
.grid-2nd > :nth-child(5) img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

/* ==============================================
   GRID-3RD (BENEFITS)
============================================== */
.grid-3rd {
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
}
.grid-3rd > :nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
.grid-3rd > :nth-child(2) { grid-column: 1; grid-row: 2; }
.grid-3rd > :nth-child(3) { grid-column: 1; grid-row: 3; }
.grid-3rd > :nth-child(4) { grid-column: 1; grid-row: 4; }
.grid-3rd > :nth-child(5) { grid-column: 2; grid-row: 2; }
.grid-3rd > :nth-child(6) { grid-column: 2; grid-row: 3; }
.grid-3rd {
  background-image: url("womanvr.png");
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  z-index: -10;
}

/* ==============================================
   GRID-4TH (BLUEPRINTS & 3D)
============================================== */
.grid-4th {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  position: relative;
  overflow: hidden;
}
.grid-4th > :nth-child(1) { grid-column: 1; grid-row: 1; }
.grid-4th > :nth-child(2) { grid-column: 1; grid-row: 2; align-content: end;}
.grid-4th > :nth-child(3) {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  z-index: 1;
}
.grid-4th > :nth-child(1) img {
    width: 100%;
}
.grid-4th > :nth-child(2) img {
    width: 100%;
}
.grid-4th > :nth-child(3) img {
  width: 100%;
  height: 100%;
}

/* ==============================================
   GRID-5TH (OUR SERVICE PACKAGES)
============================================== */
.grid-5th {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  position: relative;
  overflow: hidden;
}
.grid-5th > :nth-child(1) { grid-column: 1 / span 3; grid-row: 1; }
.grid-5th > :nth-child(2) { grid-column: 1; grid-row: 2; }
.grid-5th > :nth-child(3) { grid-column: 2; grid-row: 2; }
.grid-5th > :nth-child(4) { grid-column: 3; grid-row: 2; }
.grid-5th img { width: 100%; }

/* ======== PACKAGE BUTTONS STYLING ======== */
.grid-5th .package-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgb(0, 0, 0);
  margin-top: 5px;
}
.grid-5th .package-btn.basic {
  background: linear-gradient(135deg, #ff6a6a, #ffb36b);
  box-shadow: 0 4px 10px rgba(255, 106, 106, 0.4);
}
.grid-5th .package-btn.basic:hover {
  background: linear-gradient(135deg, #e85b5b, #e5a05f);
  box-shadow: 0 6px 14px rgba(255, 106, 106, 0.6);
}
.grid-5th .package-btn.professional {
  background: linear-gradient(135deg, #ff7f32, #1a73e8);
  box-shadow: 0 4px 10px rgba(26, 115, 232, 0.4);
}
.grid-5th .package-btn.professional:hover {
  background: linear-gradient(135deg, #e6702c, #165ec2);
  box-shadow: 0 6px 14px rgba(26, 115, 232, 0.6);
}
.grid-5th .package-btn.premium {
  background: linear-gradient(135deg, #ffe600, #00d084);
  box-shadow: 0 4px 10px rgba(0, 208, 132, 0.4);
  color: #003300;
}
.grid-5th .package-btn.premium:hover {
  background: linear-gradient(135deg, #e6cf00, #00b573);
  box-shadow: 0 6px 14px rgba(0, 208, 132, 0.6);
}
.grid-5th .text-block { text-align: center; }

/* ===============================
   CALL TO ACTION SECTION
================================== */
.cta-section {
  background: linear-gradient(135deg, #000000, #222222);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cta-section h2 { font-size: 2rem; margin-bottom: 1rem; font-weight: 700; }
.cta-section p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-btn {
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.cta-btn.primary { background-color: #ff6600; color: white; }
.cta-btn.primary:hover { background-color: #e65c00; }
.cta-btn.secondary {
  background-color: rgba(52, 56, 51, 0.69);
  color: white;
  border: 2px solid white;
}
.cta-btn.secondary:hover {
  background-color: rgb(92, 127, 231);
  color: black;
}
/* ===============================
   FOOTER
================================== */
.footer {
  background: #000;
  color: #fff;
  padding: 2rem 10%;
  margin-top: 0.1rem;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  border-bottom: 2px solid #ff6600;
  padding-bottom: 0.3rem;
}

.footer-section p,
.footer-section a,
.footer-section select,
.footer-section ul {
  font-size: 0.95rem;
  color: #878686;
}

.footer-section a {
  text-decoration: none;
  color: #ff6600;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ffa64d;
}

.footer-section select {
  padding: 0.4rem;
  border-radius: 8px;
  border: none;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  border-top: 1px solid #333;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #777;
}
/* ==============================================
   RESPONSIVE
============================================== */
@media (max-width: 768px) {
  .hero-image .intro-video {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
  }
  .content { padding-top: 2rem; padding-left: 1rem; padding-right: 1rem; }
  .content-grid,
  .grid-1st, .grid-2nd, .grid-3rd, .grid-4th, .grid-5th {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto;
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .content-grid > *,
  .grid-1st > *, .grid-2nd > *, .grid-3rd > *,
  .grid-4th > *, .grid-5th > * {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    grid-area: unset !important;
    row-gap: 20px;
  }
  .content-grid img, .hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  .hero-image .character {
    max-width: 60%;
    margin: 0 auto;
  }
  .cta-section h2 { font-size: 1.5rem; }
  .cta-section p { font-size: 1rem; }
  .cta-buttons { flex-direction: column; gap: 0.8rem; }
  .footer-container { flex-direction: column; }

}
/* Scroll-based animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s; /* slight delay for smoother appearance */
}
/* Hide demo & contact sections initially */
.form-section {
  display: none;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: relative;
  padding: 3rem 10%;
  text-align: center;
  background: #f9f9f9;
  border-top: 2px solid #eee;
}

.form-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.form-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.form-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ff6600;
  outline: none;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #ff6600;
}

@media (max-width: 768px) {
  .form-section {
    padding: 2rem 1rem;
  }
}
/* ===============================
   TOOLS & SOFTWARE SECTION
================================== */
.tools-section {
  padding: 3rem 10%;
  background: #f4f4f4;
  text-align: center;
  border-top: 2px solid #ddd;
}

.tools-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.tools-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tool-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.tool-card p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}

.tool-card a {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  background: #ff6600;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.tool-card a:hover {
  background: #e65c00;
}

.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}
.tool-logo {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
}
/* ==============================================
   CAREERS GRID (Mobile Enhancements)
============================================== */
@media (max-width: 768px) {
  .careers-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .careers-grid .job {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .careers-grid .job:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  }

  .careers-grid .job h2 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
  }

  .careers-grid .job p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    color: #333;
  }

  .careers-grid .job .cta-btn {
    display: block;
    text-align: center;
    padding: 0.75rem 1.2rem;
    border-radius: 10px;
    font-size: 1rem;
  }
}
/* ===============================
   COOKIE BANNER
================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  background: #000;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 2000;
  font-size: 0.95rem;
}

.cookie-banner p {
  margin: 0;
  text-align: center;
}

.cookie-banner a {
  color: #ff6600;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cookie-actions button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

#accept-cookies {
  background: #ff6600;
  color: #fff;
}

#accept-cookies:hover {
  background: #e65c00;
}

#decline-cookies {
  background: #555;
  color: #fff;
}

#decline-cookies:hover {
  background: #777;
}

.cookie-banner.hidden {
  display: none;
}
/* ===============================
   COOKIE CUSTOMIZE MODAL
================================== */
/* Cookie Modal Styles */
    .cookie-modal {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    .cookie-modal.hidden {
      display: none;
    }

    .cookie-content {
      background: #fff;
      padding: 2rem;
      border-radius: 8px;
      max-width: 400px;
      text-align: left;
    }

    .cookie-content h2 {
      margin-top: 0;
    }

    .cookie-options {
      margin: 1rem 0;
    }

    .cookie-actions {
      display: flex;
      justify-content: space-between;
      gap: 0.5rem;
    }

    .cookie-actions button {
      flex: 1;
      padding: 0.5rem;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-weight: bold;
    }

    #accept-all-cookies {
      background: #28a745;
      color: white;
    }

    #reject-all-cookies {
      background: #dc3545;
      color: white;
    }

    #save-cookie-preferences {
      background: #007bff;
      color: white;
    }

    footer a {
      color: #0d6efd;
      text-decoration: underline;
      cursor: pointer;
    }
   .language-label {
    text-align: right;
   }


