/* Defining CSS custom properties */
:root {
  --highlight-bg: #22D3EE; /* Sky Cyan */
  --highlight-text: #0F172A; /* Slate Navy */
  --text-light: #FFFFFF;
  --primary-bg: #f9fafb;
  --primary-text: #111827;
  --secondary-text: #6b7280;
  --active-bg: #022c22;
  --active-text: #ffffff;
  --text-dark: #0F172A;
  --radius: 16px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Resetting default styles1 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Setting base body and html styles */
body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Defining shared component styles */
/* Styling download button */
.download-btn {
  display: inline-block;
  background-color: var(--highlight-bg);
  color: var(--highlight-text);
  border: none;
  padding: 1rem 2rem;
  font-weight: bold;
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 3rem;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
  transform: scale(1.05);
  background-color: #1bcfe0;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

/* Styling card component */
.card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  gap: 1rem;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.02);
}

.card img, .card svg {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.card-text h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-text);
  margin-bottom: 0.3rem;
}

.card-text p {
  font-size: 1rem;
  color: var(--secondary-text);
}

/* Styling highlight text */
.highlight {
  background-color: var(--highlight-bg);
  color: var(--highlight-text);
  padding: 0 0.3rem;
  border-radius: 4px;
  font-weight: 600;
}

/* Styling hero section */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  color: var(--text-light);
  padding: 2rem;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.hero-text {
  position: absolute;
  top: 55vh;
  left: 5%;
  max-width: 50%;
  z-index: 998;
  padding-bottom: 2rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  font-weight: 700;
}

.hero-text h2 {
  margin-top: 1rem;
  font-weight: 400;
  font-size: 1.2rem;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Styling earn section */
.earn-section {
  background: var(--primary-bg);
  padding: 2rem 1rem;
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: var(--secondary-text);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  min-height: 2.5rem;
  transition: all 0.3s ease;
}

.tab.active {
  background: var(--active-bg);
  color: var(--active-text);
  border: none;
}

.tab:hover {
  transform: scale(1.05);
}

.earn-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-text);
  margin-bottom: 2rem;
  text-align: center;
}

.earn-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

/* Styling download section */
.download-section {
  background: #fff;
  padding: 3rem 1rem;
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
}

.download-section h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.download-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.download-card {
  flex: 1 1 16rem;
  max-width: 90%;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.download-card:hover {
  transform: scale(1.02);
}

.download-card img {
  width: 100%;
  max-width: 10rem;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  loading: lazy;
}

.download-card p {
  font-size: 1rem;
  color: var(--text-dark);
  margin-top: 1rem;
}

/* Styling usecase section */
.usecase-section {
  background: var(--primary-bg);
  padding: 3rem 1rem;
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  text-align: center;
}

.usecase-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 1.5rem;
  justify-items: center;
  align-items: center;
  margin-top: 1.25rem;
}

.usecase-img {
  width: 100%;
  max-width: 8rem;
  height: auto;
  aspect-ratio: 2/3;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.usecase-img:hover {
  transform: scale(1.05);
}

.phone-frame {
  width: 100%;
  max-width: 12rem;
  height: auto;
  aspect-ratio: 2/3;
  border: 0.4rem solid #111;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 0 0 0.2rem var(--highlight-bg), var(--shadow);
  transition: transform 0.2s ease;
}

.phone-frame:hover {
  transform: scale(1.05);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-indicators {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-indicators span {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--secondary-text);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.carousel-indicators span.active {
  background-color: var(--highlight-bg);
}

/* Styling modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 1.5rem;
  border-radius: var(--radius);
  max-width: 90%;
  width: 20rem;
  text-align: center;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-content img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.modal-content h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 1rem 0;
}

.modal-content .download-btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  margin-top: 1rem;
}

.close {
  color: #aaa;
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close:hover {
  color: var(--text-dark);
}

/* Defining responsive styles */
/* Adjusting for tablets (≤1024px) */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.1rem;
  }

  .earn-title {
    font-size: 1.6rem;
  }

  .download-section h2 {
    font-size: 1.6rem;
  }
}

/* Adjusting for mobile (≤768px) */

@media (max-width: 768px) {
  .hero-text {
    top: 30vh;
    left: 5%;
    max-width: 90%;
    padding: 0 1rem 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text h2 {
    font-size: 1rem;
  }

  .download-btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
  }

  .earn-section {
    padding: 1.5rem 0.5rem;
  }

  .tab {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .card {
    padding: 1rem;
  }

  .card img, .card svg {
    width: 3rem;
    height: 3rem;
  }

  .card-text h3 {
    font-size: 1.1rem;
  }

  .card-text p {
    font-size: 0.9rem;
  }

  .download-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 1rem;
  }

  .download-card img {
    max-width: 8rem;
  }

  .usecase-wrapper {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0 1rem;
  }

  .usecase-wrapper::-webkit-scrollbar {
    display: none;
  }

  .usecase-img, .phone-frame {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: center;
  }

  .carousel-indicators {
    display: flex;
  }
}

/* Adjusting for small mobile (≤480px) */

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text h2 {
    font-size: 0.9rem;
  }

  .download-btn {
    font-size: 0.9rem;
  }

  .earn-title {
    font-size: 1.4rem;
  }

  .download-section h2 {
    font-size: 1.4rem;
  }

  .modal-content {
    width: 90%;
    padding: 1rem;
  }

  .usecase-img, .phone-frame {
    flex: 0 0 90%;
    max-width: 90%;
  }
}


/*PRIVACY POLICY PAGE*/

.legal-body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: #f9fafb; /* formerly var(--primary-bg) */
  margin: 0px;
}

.legal-body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.legal-hero-policy {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
}

.legal-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #0f172a;
  color: #fff;
}

.legal-top-bar .logo {
  font-size: 1.7rem;
  font-weight: 700;
}

.legal-top-bar .legal-actions {
  display: flex;
  gap: 1rem;
}

.legal-actions button {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  cursor: pointer;
}

.legal-header {
  text-align: center;
  padding: 2rem 1rem 0.5rem;
}

.legal-header h1 {
  font-size: 2rem;
  font-weight: 700;
}

.legal-highlight {
  background-color: #22D3EE;
  padding: 0 0.4rem;
}

.legal-wrapper {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1300px;
  margin: auto;
}

.legal-sidebar {
  width: 240px;
}

.legal-sidebar ul {
  list-style: none;
  padding: 0;
}

.legal-sidebar li {
  margin-bottom: 0.75rem;
}

.legal-sidebar a {
  text-decoration: none;
  color: #0f172a;
  padding: 0.5rem 1rem;
  display: inline-block;
  border-radius: 6px;
  background-color: transparent;
  transition: 0.2s ease;
  border: 1px solid grey;
}

.legal-sidebar a.active,
.legal-sidebar a:hover {
  background-color: #0f172a;
  color: #fff;
}

.legal-content {
  flex: 1;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  overflow-x: hidden;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  color: #22d3ee;
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.legal-content ul {
  padding-left: 1.5rem;
}

@media (max-width: 768px) {
  .legal-wrapper {
    flex-direction: column;
  }

  .legal-sidebar {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .legal-header h1 {
    font-size: 1.5rem;
  }
}



/* CONTACT US PAGE */

   .contact-hero {
    background: url(https://images.unsplash.com/photo-1581092919530-3869b7c1e9bf?auto=format&fit=crop&w=1350&q=80) center / cover no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

   .contact-us-text
   {
    padding: 3rem;
    display: block;
   }
   
    .contact-hero h1 {
      font-size: 3rem;
      font-weight: 700;
    }

    .contact-hero span {
      background-color: #6b7280;
      color: #0f172a;
      padding: 0 0.5rem;
      border-radius: 4px;
    }

    .contact-hero p {
      font-size: 1.2rem;
      margin: 1rem 0;
    }

    .contact-btn {
      padding: 0.8rem 1.5rem;
      font-size: 1rem;
      font-weight: 600;
      background-color: #cfff04;
      color: #0f172a;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
      transition: background 0.3s;
    }

    .contact-btn:hover {
      background-color: #b6e300;
    }

    @media (max-width: 768px) {
      .contact-hero {
        align-items: center;
        text-align: center;
        padding: 1rem;
      }

      .contact-hero h1 {
        font-size: 2.2rem;
      }

      .contact-hero p {
        font-size: 1rem;
      }

      .contact-btn {
        width: 100%;
        font-size: 1.1rem;
      }
    }

    


    /* about_us */

       a {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    img {
      max-width: 100%;
      height: auto;
    }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* Hero Banner */
    .ob-banner {
      position: relative;
      width: 100%;
      height: 100vh;
      max-height: 600px;
      overflow: hidden;
      /*margin-top: 70px;*/
    }

    .ob-banner img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    .ob-banner-text {
      position: absolute;
      bottom: 2rem;
      left: 2rem;
      color: white;
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 700;
      text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }

    /* Main Content */
    main.container {
      margin-top: 2rem;
      padding-top: 2rem;
      position: relative;
      z-index: 10;
    }

    /* Section styles */
    .ob-section {
      padding: 4rem 0;
    }

    .ob-section h2 {
      font-size: clamp(1.75rem, 3vw, 2.5rem);
      margin-bottom: 1.5rem;
      color: #22D3EE;
      line-height: 1.3;
    }

    .ob-section p, .ob-section li {
      font-size: clamp(1rem, 1.25vw, 1.25rem);
      margin-bottom: 1.25rem;
      color: #0F172A;
    }

    .ob-section li {
      margin-bottom: 0.75rem;
      position: relative;
      padding-left: 1.75rem;
    }

    .ob-section li:before {
      content: "•";
      color: #22D3EE;
      font-weight: bold;
      position: absolute;
      left: 0;
      top: 0;
    }

    .ob-highlight {
      color: #22D3EE;
      font-weight: bold;
    }

    .ob-link-style {
      display: inline-block;
      color: #22D3EE;
      font-weight: 600;
      margin-top: 1rem;
      position: relative;
      padding-bottom: 0.25rem;
    }

    .ob-link-style:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: #22D3EE;
      transform: scaleX(0);
      transform-origin: right;
      transition: transform 0.3s ease;
    }

    .ob-link-style:hover:after {
      transform: scaleX(1);
      transform-origin: left;
    }

    /* Split Layout */
    .ob-split-layout {
      display: flex;
      flex-direction: column;
      gap: 3rem;
      align-items: center;
      margin: 5rem 0;
    }

    .ob-split-layout.reverse {
      flex-direction: column-reverse;
    }

    .ob-split-layout .image-container {
      width: 100%;
      overflow: hidden;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .ob-split-layout img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .ob-split-layout .image-container:hover img {
      transform: scale(1.05);
    }

    .ob-split-layout .text {
      width: 100%;
    }

    /* Footer */
  

    /* Responsive Adjustments */
    @media (min-width: 768px) {
      .ob-split-layout {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
      }

      .ob-split-layout.reverse {
        flex-direction: row-reverse;
      }

      .ob-split-layout .image-container {
        flex: 1;
        min-height: 400px;
      }

      .ob-split-layout .text {
        flex: 1;
        padding: 0 2rem;
      }
    }

    @media (max-width: 991px) {
      .ob-banner {
        height: 60vh;
      }
    }

    @media (max-width: 767px) {
      .ob-banner {
        height: 50vh;
      }

      .ob-banner-text {
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        width: 100%;
      }

      .ob-section {
        padding: 2.5rem 0;
      }

      .ob-split-layout {
        margin: 3rem 0;
      }
    }

    @media (max-width: 480px) {
      .ob-banner {
        height: 40vh;
      }

      .footer-content {
        grid-template-columns: 1fr;
      }
    }

    /* Animation for scroll reveal */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease;
    }

    .reveal.active {
      opacity: 1;
      transform: translateY(0);
    }


    /* CONTACT US PAGE */

    .contact-wrapper {
    background: #fffde7;
    position: relative;
    padding: 2rem 1rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
  }

  .contact-bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 140%;
    height: 100%;
    background:#22D3EE; /* accent-green */
    clip-path: polygon(0 0, 100% 0, 80% 50%, 100% 100%, 0 100%);
    z-index: 0;
    transform: rotate(-5deg);
  }

  .contact-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .contact-header {
    text-align: center;
    margin-bottom: 2rem;
  }

  .contact-header h1 {
    font-size: 2rem;
    font-weight: bold;
  }

  .contact-header p {
    font-size: 1rem;
    color: #444;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background-color: #f3f3f3;
    resize: vertical;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .form-group small {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: #555;
    margin-top: 0.3rem;
  }

  .upload-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f3f3;
    height: 80px;
    width: 80px;
    font-size: 2rem;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 0.5rem;
  }

  .upload-info {
    font-size: 0.75rem;
    color: #999;
  }

  .submit-btn {
    display: block;
    width: 100%;
    background-color: #22D3EE;
    color: #000;
    font-weight: bold;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    margin-top: 1.5rem;
    cursor: pointer;
  }

  .submit-btn:hover {
    background-color: #b6e700;
  }

  .privacy-note {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 1.5rem;
  }

  .privacy-note a {
    font-weight: bold;
    color: #111;
    text-decoration: underline;
  }

  @media (max-width: 600px) {
    .contact-container {
      padding: 1.5rem;
    }

    .contact-header h1 {
      font-size: 1.6rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      font-size: 0.95rem;
    }
  }


/* DELETE ACCOUNT PAGE */

.delete-wrapper {
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      background: #f2f2f2;
      padding: 1rem;
    }

    .delete-card {
      background: white;
      border-radius: 24px;
      padding: 2rem;
      max-width: 420px;
      width: 100%;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
      text-align: center;
    }

    .delete-card h2 {
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: #111;
    }

    .form-group {
      margin-bottom: 1.5rem;
      text-align: left;
    }

    .form-group label {
      display: block;
      font-size: 0.95rem;
      margin-bottom: 0.4rem;
      font-weight: 600;
    }

    .form-group input {
      width: 100%;
      padding: 0.8rem 1rem;
      font-size: 1rem;
      border: 1px solid #ddd;
      border-radius: 10px;
      background: #f4f4f4;
    }

    .phone-field {
      display: flex;
      align-items: center;
      background: #f4f4f4;
      border-radius: 10px;
      border: 1px solid #ddd;
      overflow: hidden;
    }

    .phone-field select {
      border: none;
      padding: 0.8rem 0.6rem;
      background: #f4f4f4;
      font-size: 1rem;
    }

    .phone-field input {
      flex: 1;
      border: none;
      background: #f4f4f4;
      padding-left: 0;
    }

    .btn {
      display: block;
      width: 100%;
      padding: 0.9rem;
      font-size: 1rem;
      font-weight: 600;
      border: none;
      background-color: #d2fe20;
      color: #000;
      border-radius: 12px;
      cursor: pointer;
      transition: background 0.2s ease;
    }

    .btn:hover {
      background-color: #c4f800;
    }

    @media (max-width: 500px) {
      .delete-card {
        padding: 1.5rem;
      }

      .delete-card h2 {
        font-size: 1.1rem;
      }
    }