* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins, Helvetica, sans-serif;
}
html, body {
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scrollbars */
}

html {
  scroll-behavior: smooth; /* enables smooth scrolling */
}

body {
  background: #000;
  color: #fff;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}
nav .highlight {
  color: #b19cd9; /* light purple */
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: flex-end; /* or space-between if you prefer */
}
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}
nav ul li a {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
nav ul li.Homebtn a {
  color: #a97ef9; 
}

nav ul li.nav-bar a {
  color: white;   
}
.homebtn .scrolled {
  color: white; 
  transition: background 0.3s ease
}

nav ul li a:hover {
  color: cyan;
}
nav.scrolled {
  background: rgb(40, 28, 50);
  backdrop-filter: blur(8px);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  transition: background 0.3s ease;
}
.hamburger {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 30px;
}
/*@media Ln719*/

/*Section sizes*/
.features {
  padding: 100px 50px;
  background: #333;
  color: white;
  text-align: center;
}

.product_preview{
  padding: 100px 50px;
  background: #111;
  color: white;
  text-align: center;
}

.why_choose_XR{
  padding: 100px 50px;
  background: #222;
  color: white;
  text-align: center;
}

.contact{
  padding: 10px 50px;
  background: #333;
  color: white;
  text-align: center;
}


.btn {
  padding: 10px 20px;
  background: #b19cd9;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  gap: 50px;
}
.hero img {
  width: 450px;
  border-radius: 12px;
}
.hero-text {
  max-width: 500px;
}
.hero-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero-text p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}


/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 60px 50px;
  background: #1e1e1e;  /* dark gray background */
}

.feature-card {
  background: #2a2a2a;   /* card color */
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #444;
  color: #fff;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);  
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #b19cd9; /* matching purple accent */
}
/*
.feature-card .magnifying-glass::before {
  content: "🔍";
  position: absolute;
  left: 0;
  top: 0;
  color: #b19cd9;
  font-size: 1.2rem;
  font-weight: bold;
}*/

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
}

.product_preview{
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}

/*Product preview*/
.product_preview .text {
  max-width: 600px;
}
/*.product_preview .head{
  line-height: 4rem;
}*/

.product_preview .text .head {
  font-size: 2rem;
  margin-bottom: 16px;
  color: white;
}
.product_preview ul{
  padding-left: 1rem;
  margin-top: 1rem;
  list-style: none; 
}

.product_preview li::before {
  content: "✔";
  position: absolute;
  left: 0;
  font-size: 1rem;
  color: #8a63f6; /* purple tick */
  font-weight: bold;
}
.product_preview li {
  line-height: 1;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 1em;
  color: #fff;
  position: relative;
  padding-left: 24px; /* space for tick */
}

.product_preview p{
  font-size: .1.5em;
  line-height: 1.6;
  color: #ffffff;
}
.product_preview .image img{
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/*.tick {
  font-size: 1em;

}
If size needs be adjusted in the future
*/
.why_choose_XR {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: #fff;
  text-align: left;
}

/* Left side image */
.imageR img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Right side text */
.why_choose_us {
  max-width: 680px;
}

.why_choose_us h2 {
  color: #b19cd9; 
  font-size: 3rem;
  margin-bottom: 4rem;
}

.why_choose_us ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why_choose_us ul li {
  margin-bottom: 1rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
  color: #ffffff;
  font-size: 1rem;
}

/* custom bullet */
.why_choose_us ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #b19cd9;
  font-size: 1.2rem;
  font-weight: bold;
}

.dropdown {
  margin-bottom: 1rem;
}

.dropdown button {
  width: 100%;
  background: #2d2d2d;
  border: 2px solid #b19cd9;
  border-radius: 10px;
  color: #fff;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s;
}

.dropdown button:hover {
  background: #b19cd9;
  color: #222;
}

.dropdown .content {
  display: none;
  background: rgba(177, 156, 217, 0.15);
  color: #dcd0ff;
  padding: 12px 16px;
  margin-top: 8px;
  border-radius: 8px;
  font-size: 0.95rem;
  border-left: 3px solid #b19cd9;
}

.dropdown.active .content {
  display: block;
  animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}


/*Contact Us placeHolder*/
.contactUs{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #111;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.contact-container {
    background-color: #333;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    overflow: hidden;
    
}

.contact-header {
    background-color: #b19cd9;
    color: #0e2a2d;
    padding: 20px;
    text-align: center;
}

.contact-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-header p {
    font-size: 16px;
    opacity: 0.9;
}

.contact-content {
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #80b0f0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    color: white;
    background: #45315d;/*Gradient placeHolder color*/
    transition: border-color 0.3s ease;
}

input::placeholder,
textarea::placeholder {
    color: #ddcbfbe7;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b19cd9;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    background-color: #b19cd9;
    color: #ffffff;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#spinner {
    display: none;
    width: 40px;
    max-width: 40px;
    height: 40px;
    margin: 20px auto 0;
    border: 4px solid #b19cd9;
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    justify-self: center;
    align-self: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.submit-btn:hover {
    background-color: #6f5c94;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}


.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: none;
    border: 1px solid #c3e6cb;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-header {
        padding: 30px 20px;
    }

    .contact-header h1 {
        font-size: 24px;
    }

    .contact-content {
        padding: 30px 20px;
    }

    .contact-info {
        padding: 20px;
        grid-template-columns: 1fr;
    }
}


/*----------*/
.footer {
  
  color: #fff;
  text-align: center;
  padding: 3rem 2rem 1rem;
}

.contact_info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  max-width: 130rem;
  margin: 0 auto;
  /*background-color: #006666;*/
}
/* Footer sections */

.gpv_logo_text_only_1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Logo */
.gpv_logo_text_only_1 h1{
  position: relative;
  
  top: 5;
  font-family: poppins, sans-serif;
  font-size: 4rem;
  /*text-align: center;*/
  font-weight: 400; /* Thinner look */
}
.gpv_logo_text_only_1 .highlight2{
  color: #b19cd9;
}
/* Navigation links */
.footer-details {
  display: flex;
  gap: 4rem;
  /*background-color: #fff;*/
  position: relative;
  left: 10px;/*Position adjustment of contact details*/
}
.footer-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-details ul li {
  margin-bottom: 0.8rem;
}
.footer-details ul li a {
  text-decoration: none;
  color: #ddd;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.footer-details ul li a:hover {
  color: #b19cd9;
}

/* Socials */
.footer-socials a {
  display: inline;
  /*background-color: #6f51a6;*/
  margin-right: 2rem;
  font-size: 2rem;
  color: #b19cd9;
  transition: color 0.3s ease;
}
.footer-socials a:hover {
  color: #fff;
}
/*@media footer-socials Ln739*/

/* Bottom text */
.footer-bottom {
  margin-top: 2rem;
}
.footer-bottom p {
  font-size: 0.9rem;
  color: #b19cd9;
}




/* Responsive */


@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero img {
    width: 100%;
    max-width: 350px;
  }
}

@media (max-width: 900px) {
  .product_preview {
    flex-direction: column;
    text-align: center;
  }
}


@media (max-width: 900px) {
  .why_choose_XR {
    flex-direction: column;
    text-align: center;
  }
  .why_choose_us {
    max-width: 100%;
  }
}


@media (max-width: 900px) {
  .contact_info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  .contact-details {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  .footer-socials a {
    margin-bottom: 0;
  }
}
@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }
  .hero {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .hero-text p {
    font-size: 0.9rem;
  }
  .product_preview,
  .why_choose_XR {
    flex-direction: column;
    text-align: center;
  }
  .footer-details {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  h1, h2, h3 {
    font-size: 1.5rem;
  }
  p {
    font-size: 0.9rem;
  }
  img {
    max-width: 90%;
    height: auto;
  }
}
body {
  overflow-x: hidden;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 70px;
    right: 30px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }
  .nav-links.show {
    display: flex;
  }
  .hamburger {
    display: block;
  }
}
@media (max-width: 768px) {
  .footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    gap: 15px;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0;
  }
}
/* End of CSS file */
