* {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.top-header {
  background-color: #f5f1f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 8rem;
}

.referral {
  font-size: 0.75rem;
}

.ads {
  color: blue;
  font-size: 0.875rem;
}

.Advertiser-click {
  height: 20px;
  width: 20px;
  position: absolute;
}

.navbar {
  display: flex;
  margin-top: 10px;
  padding: 0.5rem 8rem;
  align-items: center;
  gap: 50px;
}

.logo {
  width: 8em;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  font-size: 15px;
  color: #333;
  font-weight: 600;
}

.container {
  /* padding: 10px; */
  background-color: #f1f1f1;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 8rem;
}
.hero-content {
  flex: 1;
  min-width: 300px;
}
.hero-content p {
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: 32px;
  margin-bottom: 10px;
}
.hero-content ul {
  list-style: none;
  padding: 0;
}
.tick {
  font-size: 70%;
  color: #fff;
  border: 1px solid black;
  background-color: #000;
  padding: 1px 2px;
  border-radius: 50%;
}
.hero-content ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.platform-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 2rem;
  padding-top: 1rem;
}

.platform-icons p {
  padding-top: 1rem;
}

.platform-icons img {
  height: 40px;
  margin-right: 10px;
}
.map-img {
  max-width: 400px;
  padding-right: 20px;
}

/* section 2 */

.section-2{
  display: flex;
  padding: 2rem 8rem;
  align-items: center;
  /* gap: 10px; */
  justify-content: space-between;

}

.section-2 img{
  height: 30px;
  object-fit: contain;
}

/* cards */

.vpn-container{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom:10px ;
}

.vpn-card {
  width: 80%;
  border: 1px solid #0f0;
  /* border-radius: 10px; */
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.more{
  border: 1px solid rgb(235, 232, 232);
  border-bottom-left-radius:5px;
  border-bottom-right-radius:5px;
}


.vpn-car-header{
  display: grid;
  width: 80%;
  padding: 10px 80px;
  grid-template-columns: 2fr 3fr 1fr 2fr;
  border: 1px solid black;
  border-radius: 10px 10px 0 0;
  background-color: #000;

}

.vpn-car-header h4{
  color: #fff;
}

.badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #a8f0cc;
  color: #000;
  padding: 8px 14px;
  border-bottom-right-radius: 10px;
  font-weight: bold;
}

.vpn-left {
  display: grid;
  grid-template-columns: 2fr 3fr 1fr 2fr;
  padding-top: 20px;
  gap: 10px;
}

.vpn-logo {
  text-align: center;
  margin-bottom: 10px;
}

.vpn-logo img {
  height: 8rem;
}

.vpn-logo .name {
  font-size: 18px;
  color: #e50914;
  font-weight: bold;
}

.stars {
  color: #f5c518;
  font-size: 18px;
  text-align: center;
}

.review-rating {
  color: #888;
  font-size: 13px;
  text-align: center;
  margin-bottom: 20px;
}

.vpn-features {
  font-size: 14px;
  color: #333;
  margin-top: 10px;
}

.vpn-features ul {
  padding-left: 20px;
  margin: 10px 0;
}

.vpn-features li {
  margin: 6px 0;
}

.vpn-score {
  background: #4c5eff;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  width: 80px;
  height: 80px;
  /* border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.vpn-right {
  text-align: center;
}

.visit-btn {
  background: #ff5c1b;
  color: #fff;
  width: 80%;
  padding: 10px 20px;
  border: none;
  font-weight: 600;
  font-size: 25px;
  cursor: pointer;
  margin-top: 10px;
}

.visit-btn:hover {
  background: #ff3a00;
}

.offer-tooltip {
  background: #fff;
  border-radius: 20px;
  padding: 5px 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: -15px;
  right: 105px;
  font-size: 13px;
}

.signup-note {
  margin-top: 15px;
  background: #eef2ff;
  color: #333;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 13px;
  display: inline-block;
}

.last-section{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link {
  color: #2d56ff;
  font-size: 13px;
  text-decoration: none;
}

/* FAQ Section Styling */
.faq-section {
  margin-top: 20px;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  min-width: 70%;
  max-width: 70%;
}

.faq-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.faq h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #555;
}

.faq p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 10px;
}

.faq ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #666;
}

.faq ul li {
  margin-bottom: 5px;
}

/* FAQ Accordion Styling */
.faq-item {
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  background-color: #f1f1f1;
  border: none;
  text-align: left;
  font-size: 18px;
  padding: 10px;
  cursor: pointer;
  outline: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  position: relative;
  padding-left: 0; /* Reset padding for left corner */
  padding-right: 30px; /* Space for the icon */
}

.faq-question::before {
  content: none; /* Remove left corner icon */
}

.faq-question[aria-expanded="true"]::before {
  content: '\25BC'; /* Down-pointing triangle */
  transform: translateY(-50%) rotate(90deg);
}

.faq-question::after {
  content: '\25B6'; /* Right-pointing triangle */
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

.faq-question[aria-expanded="true"]::after {
  content: '\25BC'; /* Down-pointing triangle */
  transform: translateY(-50%) rotate(90deg);
}

.faq-question:hover {
  background-color: #ddd;
}

.faq-answer {
  display: none;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-top: 5px;
}

.faq-answer p, .faq-answer ul {
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: #666;
}

.faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
}

.faq-answer ul li {
  margin-bottom: 5px;
}

#popup {
  display: none;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 50rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}


#popup img{
  height: 25rem;
  object-fit: cover;
}

#popup h2{
  font-size:3.5rem ;
}

#popup .content{
  font-size: 3.5rem;
  text-align: start;
  opacity: 0.8;
  gap: 4px;
}

#popup p{
   text-align: start;
   margin-top: 10px;
}

#popupHeader {
  background: #f44336;
  color: white;
  padding: 20px;
  font-weight: bold;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  text-align: center;
}

#popupContent {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 50px;
}


.closeBtn {
  position: absolute;
  right: 20px;
  top: 15px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
}

.dealBtn {
  background-color: #2a2aff;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 40px;
  cursor: pointer;
  border-radius: 3px;
  overflow: hidden;
  font-weight: bold;
  font-size: 1.3rem;

}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
}

/* popup */

/* Footer Styles */
.footer {
  width: 100%;
  background: linear-gradient(to bottom, #fafafa 0%, #e8edfa 100%);
  padding: 60px 0 20px 0;
  margin-top: 40px;
  font-size: 16px;
  color: #222;
}
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 40px;
}
.footer-brand {
  flex: 2;
  min-width: 320px;
}
.footer-logo {
  width: 220px;
  margin-bottom: 30px;
}
.footer-description p {
  font-size: 22px;
  margin-bottom: 0;
  color: #222;
}
.footer-contact, .footer-about {
  flex: 1;
  min-width: 220px;
}
.footer-contact h4, .footer-about h4 {
  font-size: 22px;
  margin-bottom: 18px;
  color: #222;
}
.footer-contact-email {
  font-size: 17px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact-email a {
  color: #222;
  text-decoration: none;
}
.footer-socials {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
}
.footer-socials img {
  width: 28px;
  height: 28px;
  filter: grayscale(1) brightness(0.2);
  transition: filter 0.2s;
}
.footer-socials img:hover {
  filter: none;
}
.footer-about ul {
  list-style: none;
  padding: 0;
}
.footer-about ul li {
  margin-bottom: 10px;
}
.footer-about ul li a {
  color: #222;
  text-decoration: none;
  font-size: 16px;
}
.footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0 auto;
  padding: 0 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #222;
}
.footer-links {
  margin-bottom: 10px;
}
.footer-links a {
  color: #222;
  text-decoration: none;
  margin: 0 4px;
}
.footer-links a:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
  }
  .footer-logo {
    width: 160px;
  }
  .footer-description p {
    font-size: 18px;
  }
}

/* Privacy Policy Page Styles */
.privacy-header {
  background: #faefeb;
  padding: 40px 0 30px 0;
  text-align: center;
}
.privacy-header h1 {
  font-size: 3rem;
  color: #232333;
  font-weight: 700;
  margin: 0;
}
.privacy-content {
  max-width: 900px;
  margin: 60px auto 0 auto;
  padding: 0 20px 60px 20px;
  font-size: 1.2rem;
  color: #232333;
}
.privacy-content ol {
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}
.privacy-content li {
  margin-bottom: 1em;
}
.privacy-logo {
  width: 180px;
  margin: 30px 0 0 30px;
}
@media (max-width: 600px) {
  .privacy-header h1 { font-size: 2rem; }
  .privacy-content { font-size: 1rem; }
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.popup-content {
  background: #fff;
  color: #222;
  max-width: 450px;
  margin: 100px auto;
  padding: 20px 30px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}


/* Tablet and below */
@media (max-width: 992px) {
  .navbar {
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 10px;
    align-items: flex-start;
  }

  .hero {
    flex-direction: column;
    padding: 2rem;
    text-align: center;
  }

  .map-img {
    max-width: 100%;
    margin-top: 20px;
    padding-right: 0;
  }

  .section-2 {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 1rem;
  }

  .vpn-car-header {
    display: none; /* Hide table-style header on small screens */
  }

  .vpn-card {
    width: 95%;
    margin-bottom: 20px;
  }

  .vpn-left {
    grid-template-columns: 1fr;
  }

  .vpn-score {
    margin: 10px auto;
  }

  .last-section {
    align-items: center;
    text-align: center;
  }

  .faq-section {
    min-width: 90%;
    max-width: 95%;
  }

  #popup {
    width: 90%;
  }

  #popupContent {
    grid-template-columns: 1fr;
    padding: 20px;
    text-align: center;
  }

  #popup img {
    width: 100%;
    height: auto;
    max-height: 300px;
  }

  #popup h2,
  #popup .content {
    font-size: 2rem;
  }
}

/* Mobile-specific adjustments */
@media (max-width: 600px) {
  .visit-btn {
    font-size: 18px;
    padding: 10px;
    width: 100%;
  }

  .vpn-logo img {
    height: 100px;
  }

  nav a {
    display: block;
    margin: 10px 0;
  }

  .platform-icons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-content {
    padding: 0 10px;
  }

  .footer-bottom {
    font-size: 14px;
    text-align: center;
  }

  .footer-description p {
    font-size: 16px;
  }
}

/* Add styles for the floating reviews dialog */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.reviews-dialog {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(60,60,60,0.18);
  padding: 18px 0 8px 0;
  z-index: 1000;
  display: none;
  margin-top: 10px;
}
.reviews-dialog ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.reviews-dialog li {
  padding: 8px 24px;
}
.reviews-dialog li a {
  color: #222;
  text-decoration: none;
  font-size: 16px;
  display: block;
  transition: background 0.2s;
}
.reviews-dialog li a:hover {
  background: #f3f6fa;
  border-radius: 6px;
}
.reviews-menu {
  cursor: pointer;
  position: relative;
  z-index: 1100;
}
