/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary-color: #0a0c0e;
    --secondary-color: #ffc300;
    --success-color: #4CAF50;
    --error-color: #f44336;
    --background-color: #f0f0f0;
    --text-color: #fefefe;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: white;
   /* background-image: url('img/card45.jpg'); /* Replace with your actual image path */
}

.header-bg {
    background: whitesmoke;
    color: black;
    width: 100%;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    display: block;
    z-index: 1;
    min-height: 10px;
    padding-bottom: 10px;

}

.header-bg::before {
    display: none;
}

.header-bg .container {
    position: relative;
    z-index: 2;
}

.header-bg .container h1 {
  font-size: clamp(1.5rem, 5vw, 3rem); /* Minimum 1.5rem, preferred 5% of viewport width, max 3rem */
  font-weight: 800;
  margin-bottom: 0.75rem;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(90deg, #4f46e5, #3b82f6, #02178d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 8px rgba(63, 81, 181, 0.3);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 3s ease;
}


.header-bg .container h1:hover {
  filter: brightness(1.1);
  text-shadow: 3px 3px 12px rgba(1, 1, 2, 0.6);
  cursor: pointer;
}

.header-bg .container p {
  font-size: 1.2rem;
  margin-top: 0.3rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #374151; /* dark slate gray */
  text-shadow: 0 1px 3px rgba(0,0,0,0.1);
  letter-spacing: 0.5px;
  line-height: 1.5;
}




/* Optional responsiveness if still desired */
@media (max-width: 1024px) {
    .header-bg {
        padding: 5rem 1rem 2rem;
    }
}

@media (max-width: 768px) {
    .header-bg {
        padding: 4rem 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .header-bg {
        padding: 3rem 1rem 1.5rem;
    }
}

.intro-description {
  margin-top: 30px; /* Adjust as needed */
  font-weight: normal;
  font-size: 1.0rem;
  line-height: 1.5;
  color: #847f7f;
}





/* Container spans full width */
/* Fullscreen background with services overlay */
.slideshow-services-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh; /* Full screen height */
  overflow: hidden;
}

/* Image slideshow styles */
.image-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.image-slideshow img.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.image-slideshow img.slide.active {
  opacity: 1;
  z-index: 2;
}

/* Service section overlay */
.services.container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  height: 100%;
  margin: 0 auto;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  animation: slideInFromLeft 1.2s ease-out;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem); /* Scales between 1.1rem and 1.4rem */
  line-height: 1.8;
  padding: 3rem 2rem;
}

/* Optional: increase heading size */
.services.container h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem); /* Larger min, preferred, and max */
    margin-bottom: 1.2rem;
    padding-top: 5rem;
}


/* Optional: adjust bullet points */
.services.container ul li {
  font-size: clamp(1rem, 2vw, 1.3rem); /* Bullet points scale as well */
  margin-bottom: 1rem;
}


/* Slide-in animation */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .services.container {
    padding: 30px 20px;
    max-width: 95vw;
  }
}




main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 4rem 0;
}

.checker-section, .instructions, .testimonials {
    /*background-image: url('img/card55.jpg'); */
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.checker-section:hover, .instructions:hover, .testimonials:hover {
    transform: translateY(-5px);
}

.checker-section {
    flex-basis: 100%;
    max-width: 500px;
    background-image: url('img/apple giftcard.jpg');
    background-size: cover;        /* makes sure the image covers the container */
    background-position: center;   /* centers the image */
    background-repeat: no-repeat;  /* prevents tiling */
}


.instructions, .testimonials {
    flex-basis: 100%;
    max-width: 600px;
    color: #000;
}

.checker-section h2, .instructions h2, .testimonials h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

form {
    display: flex;
    flex-direction: column;
    /*background-color: rgba(255, 255, 255, 0.3); /* Light transparent white */
    padding: 2rem; /* Optional: adds spacing inside the form */
    border-radius: 8px; /* Optional: rounded corners */
    backdrop-filter: blur(5px); /* Optional: adds a nice blur effect */
}


form input, form select {
    margin-bottom: 1rem;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

form button {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #e6b000;
}

.testimonial-slider {
  position: relative;
  height: 150px; /* Adjust based on content */
  overflow: hidden;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  text-align: center;
  font-size: 1.1rem;
  padding: 1rem;
}

.testimonial.active {
  opacity: 1;
}


.instructions ol {
    padding-left: 1.5rem;
}

.instructions li {
    margin-bottom: 0.5rem;
}

#message {
    display: none;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
}

.success {
    background: var(--success-color);
    color: white;
}

.error {
    background: var(--error-color);
    color: white;
}

@media (max-width: 768px) {
    main {
        flex-direction: column;
    }

    .checker-section, .instructions, .testimonials {
        max-width: 100%;
    }
}

.testimonial {
    margin-bottom: 1rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.testimonial cite {
    display: block;
    text-align: right;
    color: var(--primary-color);
}

.visa-fields, .other-fields {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 100px;
    color: #000;
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    text-align: center;
    border-radius: 8px;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 25px;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#services-carousel {
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 20px;
  text-align: center;
  transition: background-image 1s ease-in-out;
  min-height: 300px;
}

#service-display {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 20px auto 0;
  opacity: 0;
  transition: opacity 1s ease;
}

#service-display.fade-in {
  opacity: 1;
}

.testimonial-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3); /* Optional darker background for contrast */
  height: 50px;
  z-index: 2;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeMove 250s linear infinite; /* Slower speed */
  padding-left: 100%;
}

.marquee-track span {
  display: inline-block;
  padding: 0 2rem;
  font-size: 1.2rem; /* Increased font size */
  color: #fff;        /* White text */
  user-select: none;
}

@keyframes marqueeMove {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.verify-btn {
  margin-top: 2rem;
  padding: 0.85rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #c1ceef, #143576);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 3s ease-in-out;
  letter-spacing: 0.5px;
}

.verify-btn:hover {
  background: linear-gradient(135deg, #143576, #c1ceef);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.buy-btn {
  background: linear-gradient(135deg, #c1ceef, #143576);
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  margin-top: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.buy-btn:hover {
  background: linear-gradient(135deg, #143576, #c1ceef);
}
/* Container styling */
.faq-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

/* Main heading */
.faq-section > h2 {
  text-align: center;
  color: #07080a;
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 50px;
  letter-spacing: 1.5px;
  user-select: none;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease forwards;
}

/* Each FAQ item */
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 112, 243, 0.1);
  padding: 25px 30px;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(40px);
  animation-fill-mode: forwards;
  cursor: default;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 15px 40px rgba(0, 112, 243, 0.2);
}

.faq-item h3 {
  color: #0d0f11;
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 12px;
  user-select: none;
}

.faq-item p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  user-select: text;
}

/* Bounce-in animation */
@keyframes bounceInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px);
  }
  80% {
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade in for main heading */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Class to trigger animation */
.bounce-in {
  animation: bounceInUp 0.6s ease forwards;
}


.video-section {
  padding: 60px 20px;
  background-color: #f2f2f2;
  text-align: center;
}

.video-section h2 {
  font-size: 2.2rem;
  color: #0070f3;
  margin-bottom: 30px;
  font-weight: 700;
}

/* Responsive video container */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  background: #000;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.video-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.video-section h2 {
  font-size: 2.4rem;
  color: #0a0b0d;
  margin-bottom: 25px;
  font-weight: 700;
}

/* Responsive wrapper for 16:9 video */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background-color: #000;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Video fills the wrapper */
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Optional: Improve heading on smaller screens */
@media (max-width: 600px) {
  .video-section h2 {
    font-size: 1.8rem;
  }
}
