body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-image: url('Mask group.png');
  background-size: cover;
  background-repeat: no-repeat;
  /* background-position: center;
  background-attachment: fixed; */
}
/* This container ensures footer stays at bottom */
.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.header-container {
  display: flex;
  /* justify-content: space-between; */
  /* justify-content: flex-start;  */
  align-items: center;
  position: relative;
  /* padding: 10px 20px; */
}
header {
  text-align: center;
  padding: 10px 40px;
  margin-top: 40px;
  /* background-color: #f8f8f8; */
}
footer {
  text-align: center;
  padding: 10px 0;
  color: #FFFFFF;
  font-size: 16px;
}
.centered-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.centered-nav a {
  margin: 0 60px;
  text-decoration: none;
  font-weight: bold;
  color: #FFFFFF;
  white-space: nowrap; 
  transform: translateY(-10px);
  margin-top: -20px;
}

main {
  flex: 1;
  padding: 20px 0;
  margin: 50px 230px 30px;
}

.pov-logo8 {
  width: 152;
  height: 66;
  transform: translateY(-25px);
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 80px; /* space between images */
  margin-top: -20px;
}

.image1-wrapper,
.image2-wrapper {
  display: block;
}

.image-row img {
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-row img:hover {
  transform: scale(1.05); /* zoom effect on hover */
}

/* .image1 {
  width: 334px;
  height: 578px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image2 {
  width: 634px;
  height: 594px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image3 {
  width: 272px;
  height: 575px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
} */


.image1 {
  width: 250px;
  height: auto;
}
.image2 {
  width: 400px;
  height: auto;
}
.image3 {
  width: 200px;
  height: auto;
}
 .privacy-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* Align items to the left */
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.download-section {
  text-align: center;
  padding: 20px 20px;
  margin-top: -100px;
}

.download-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #39FF14 0%, #FFFF04 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.store-img-apple{
  height: 50px;
  width: 130px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.store-img-android{
  height: 55px;
  width: 130px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.store-img:hover {
  transform: scale(1.05);
}


.privacy-box {
  background-color: #000;
  border-radius: 15px;
  /* padding: 20px; */
  padding-left: 15px;
  padding-right: 15px;
  border: 3px solid #39FF14;
  /* box-shadow: 0 0 10px 3px #00ff44; */
  color: white;
  /* flex: 1 1 calc(33.333% - 20px);3 per row with gap */
  width: calc(33.333% - 20px);
  flex: 0 0 auto;   
  box-sizing: border-box;
  height: 200px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  /* transition: transform 0.3s ease; */
  transition: max-height 0.3s ease;
}

.privacy-box h3 {
  color: #00ff44;
  margin-bottom: 10px;
  font-size: 18px;
}

.subtitle {
  color: white;
  font-size: 15px;
  font-style: bold;
}

hr {
  border: none;             /* Remove default border */
  height: 0.5px;              /* Set desired height */
  background-color: #39FF14; /* Customize color */
  margin: 20px 0;           /* Optional: spacing above/below */
}

a {
  color: white;
  text-decoration: underline;
}

a:hover {
  color: #00cc88;
  text-decoration: none;
}

.privacy-box p {
  font-size: 14px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* show max 4 lines */
  line-clamp: 4; /* standard property for compatibility */
  -webkit-box-orient: vertical;
  margin: 0;
  padding: 0;
  margin-bottom: 0;
}

.privacy-box ul {
  margin-left: 20px;
  padding-left: 5px;
  margin-top: 0;
  font-size: 14px;
  line-height: 1.4;
}

.privacy-box li {
  margin-bottom: 6px;
  line-height: 1.2;
  font-size: 14px;
  line-height: 1.4;
}


/* Overlay Box */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.expanded-box {
  background-color: #000;
  border: 3px solid #39FF14;
  color: white;
  padding: 30px;
  max-width: 600px;
  max-height: 80vh;  /* Set height relative to viewport */
  overflow-y: auto;   /* Enables vertical scrolling */
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #24e103 #111;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 20px;
  z-index: 1001;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.expanded-box h3 {
  color: #00ff44 !important;
  font-size: 18px;
}

.expanded-box::-webkit-scrollbar {
  width: 10px;
}

.expanded-box::-webkit-scrollbar-track {
  background: #111;
  border-radius: 10px;
}

.expanded-box::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #39FF14, #00cc00);
  border-radius: 10px;
  box-shadow: 0 0 10px #39FF14;
}

.expanded-box::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00ff55, #00cc33);
  box-shadow: 0 0 15px #00ff55;
}


.overlay.show .expanded-box {
  transform: scale(1);
}


.hamburger-icon {
  display: none; /* Hide by default */
  font-size: 30px;
  cursor: pointer;
  color: white;
  margin-right: -50px;
  position: absolute;
  left: 20px;
  top: 10px;
}

/* Overlay nav styles */
.overlay2 {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0, 0.95);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay2 a {
  padding: 8px;
  text-decoration: none;
  font-size: 15px;
  color: #FFFFFF;
  display: block;
  transition: 0.3s;
}

.overlay2 a:hover,
.overlay2 a:active,
.overlay2 a:focus {
  color: #39FF14;
}

.overlay2 .closebtn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 50px;
  cursor: pointer;
}

h5{
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
    margin-top: -60px;
  }

h2{
    font-size: 22px;
    font-weight: bold;
    color: #39FF14;
    margin-top: -60px;
}

h4{
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
}

.mobile-privacy-title {
  display: none; /* Hidden by default (for desktop) */
  color: #39FF14;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
}

a[href^="tel"] {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none; /* disables click */
  cursor: default;
}


.search-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
}

.search-bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
  margin-left: 120px;
  margin-right: 20px;
}

.search-label {
  color: #39FF14;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
}

.search-input-wrapper {
  position: relative;
  width: 350px;
  max-width: 400px;
}

.search-input {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border-radius: 18px;
  font-size: 13px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  text-align: center;
}

.search-input:focus {
  outline: none;
  border-color: #39FF14;
  border-width: 3px;
}

.search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Modal Base Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #121212;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  color: white;
  position: relative;
  text-align: center;
}

.modal-content input,
.modal-content select {
  width: 80%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
}

.modal-content h3 {
  margin-bottom: 15px;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* Gradient Button */
.gradient-btn {
  background: linear-gradient(90deg, #39FF14, #FFFF04);
  color: black;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  margin-top: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gradient-btn:hover {
  transform: scale(1.05);
}




@media (max-width: 600px) {

    body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('Mask group2.png');
    background-position: center 60%; 
    background-repeat: no-repeat;
    background-size: cover; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    /* background-size: cover; */
    /* background-position: bottom center;  */
    /* background-repeat: no-repeat; */
    /* background-position: center; */
    /* background-attachment: fixed; */
    overflow-x: hidden; 
  }

  .mobile-privacy-title {
    display: block;
  }

  .privacy-box {
    flex: 1 1 100%;
  }

  .centered-nav {
    display: none; /* Hide desktop nav on small screens */
  }

  .header-container {
    justify-content:  flex-start; /* Logo stays centered */
    /* position: relative; */
  }

  .pov-logo8 {
    position: absolute;
    left: 50%;
    top: -50px; /* Adjust top position */
    transform: translateX(-50%);
    width: 152px;
    height: 66px;
    margin-top: 20px; /* Adjust margin */
  }

  .hamburger-icon {
    display: block; /* Show hamburger icon */
    position: absolute;
    margin-left: -40px;
    top: -20px;
  }

  main {
    margin: 0px; /* Reduce margins for mobile */
    padding: 0px; /* Adjust padding for mobile */
    margin-bottom: -10px; 
  }

  .download-section {
    padding: 20px 10px;
    margin-top: 3px;
    margin-bottom: -10px;
  }

  .download-title {
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: bold;
    text-align: center;
    color: #010101;
    -webkit-text-fill-color: #010101; /* For Safari */
    background: none; /* Remove gradient background */
  }


  footer {
    padding: 15px 10px;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    color: #000000;
  }
  
  
  h5{
    font-size: 13px;
    font-weight: bold;
    color: #FFFFFF;
    margin-top: 30px;
  }

  h2{
    font-size: 18px;
    font-weight: bold;
    color: #39FF14;
    margin-top: 70px;
    padding-bottom: 10px;
    margin-right: 20px; /* Reduce margins for mobile */
    margin-left: 20px;
    padding-right: 20px; /* Adjust padding for mobile */
    padding-left: 20px;
  }

  h4 {
    font-size: 13px;
    margin-right: 20px; /* Reduce margins for mobile */
    margin-left: 20px;
    padding-right: 10px; /* Adjust padding for mobile */
    padding-left: 10px;
  }

  .overlay {
    padding: 30px; /* prevent edge-to-edge tight layout */
    box-sizing: border-box;
  }

 .expanded-box {
    width: 90%;              /* Approximate width of privacy-box */
    max-width: 90%;
    height: auto;
    max-height: 80vh;
    padding: 20px;
    margin: 0 auto;          /* Center horizontally */
    border-radius: 15px;
  }

  .overlay2 a.active {
    color: #39FF14;
  }

  a[href^="tel"] {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none; /* disables click */
    cursor: default;
  }


.search-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
}

.search-bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  margin-left: 20px;
  margin-right: 20px;
}

  .search-label {
    font-size: 14px;
  }

  
.search-input-wrapper {
  position: relative;
  width: 250px;
  max-width: 400px;
}

  .search-input {
    font-size: 12px;
    padding: 8px 35px 8px 12px;
  }

  .school-result p,
  .fallback-ui p {
    font-size: 13px;
  }

.search-input:focus {
  outline: none;
  border-color: #39FF14;
  border-width: 3px;
}

.search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

  .modal-content {
    padding: 20px 0;
    border-radius: 8px;
  }

  .modal-content h3 {
    font-size: 16px;
  }

  .modal-content input,
  .modal-content select {
    width: 80%;
    font-size: 12px;
    padding: 8px;
  }

  .modal-content button {
    font-size: 12px;
    padding: 10px;
  }

  .close {
    font-size: 20px;
  }

/* Gradient Button */
  .gradient-btn {
    font-size: 12px;
    padding: 8px 16px;
  }

.gradient-btn:hover {
  transform: scale(1.05);
}

  .image-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    width: 100%;
  }

 .image1-wrapper {
    display: none;
  }

  .search-column {
    order: 2;
    width: 100%;
    padding: 0;
  }

  .image2-wrapper {
    order: 3;
    width: 100%;
    overflow: hidden; /* Hides the overflowing part of the image */
    display: flex;
    justify-content: flex-end;
    margin: 0;
  }

  .image2 {
    width: 250px;
    height: auto;
    transform: translateX(40%); /* Push half off-screen */
  }

}

@media (min-width: 601px) and (max-width: 1112px) {
  html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    width: 100vw;
  }

  body {
    background-image: url('Mask group2.png');
    background-position: center 70%;
    background-repeat: no-repeat;
    background-size: cover;
  }

  main {
    margin: 0;
    padding: 0;
    margin-bottom: -10px;
  }

  .centered-nav {
    display: none;
  }

  .header-container {
    justify-content: flex-start;
  }

  .pov-logo8 {
    position: absolute;
    left: 50%;
    top: -50px;
    transform: translateX(-50%);
    width: 172px;
    height: 76px;
    margin-top: 20px;
  }

  .hamburger-icon {
    display: block;
    position: absolute;
    margin-left: -10px;
    top: -20px;
  }

  .overlay2 a {
    padding: 8px;
    text-decoration: none;
    font-size: 22px;
    color: #FFFFFF;
    display: block;
    transition: 0.3s;
  }

  h2{
    font-size: 22px;
    font-weight: bold;
    color: #39FF14;
    margin-top: 130px;
    padding-bottom: 30px;
    margin-right: 20px; /* Reduce margins for mobile */
    margin-left: 20px;
    padding-right: 20px; /* Adjust padding for mobile */
    padding-left: 20px;
  }

  h4 {
    font-size: 14px;
    margin-right: 20px; /* Reduce margins for mobile */
    margin-left: 20px;
    padding-right: 10px; /* Adjust padding for mobile */
    padding-left: 10px;
  }


  footer {
    padding: 15px 10px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    color: #000000;
  }

  .image-row {
    margin-top: 120px;
    gap: 5px; /* space between images */
    margin-left: 120px;
  }

  .image1 {
    width: 200px;
    height: auto;
  }
  .image2 {
    width: 350px;
    height: auto;
  }

  .search-bar-container {
    margin-left: 50px;
    margin-right: 20px;
  }

}