/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sticky Header */
header.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background: #1a2b5f;
  padding: 15px 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ff6200;
}

/* Hero with Background Video and Overlay */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.hero h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.5em;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.cta-button {
  background: #ff6200;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 5px;
  transition: background 0.3s;
  cursor: pointer;
  border: none;
  position: relative;
  z-index: 1;
}

.cta-button:hover {
  background: #e65b00;
}

/* About Section with Padding Adjustment */
.about {
  padding: 80px 0 60px 0;
  text-align: center;
}

.about h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #1a2b5f;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.about-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-item img {
  height: 50px;
  margin-bottom: 15px;
}

.about-item h3 {
  color: #ff6200;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.about-item p {
  color: #666;
}

/* Process Section */
.process {
  background: #f5f5f5;
  padding: 60px 0;
  text-align: center;
}

.process h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #1a2b5f;
}

.process-steps {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.step {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 30%;
  margin: 10px;
}

.step span {
  display: block;
  font-size: 2em;
  color: #ff6200;
  margin-bottom: 10px;
}

.step h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.step p {
  color: #666;
}

/* Testimonials */
.testimonials {
  background: #1a2b5f;
  color: white;
  padding: 60px 0;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
}

.testimonial-carousel {
  overflow: hidden;
  width: 100%;
}

.testimonial-slider {
  display: flex;
  width: 200%;
  animation: slide 20s linear infinite;
}

.testimonial {
  width: 50%;
  padding: 20px;
  box-sizing: border-box;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial span {
  color: #ff6200;
}

/* Keyframes for carousel */
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Contact */
.contact {
  padding: 80px 0 60px 0;
  text-align: center;
}

.contact h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #1a2b5f;
}

.contact p {
  font-size: 1.2em;
  margin-bottom: 10px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
}

/* Ensure iframe fits well */
iframe {
  display: block;
}

/* Footer */
footer {
  background: #1a2b5f;
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer-links a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

.social-media a {
  margin: 0 10px;
}

footer p {
  margin-top: 10px;
}

.modal-content h2 {
  text-align: center;
  width: 100%;
}

/* Styling for the thank-you section to ensure visibility and consistency */
.thank-you {
  padding: 100px 0; /* Adds space above to account for sticky header and below for balance */
  text-align: center; /* Centers content, similar to simpler sections like .contact */
}

/* Styling for the h1 within the thank-you section */
.thank-you h1 {
  font-size: 2.5em; /* Matches typical heading sizes in index.html */
  color: #1a2b5f; /* Assumed primary color from index page; adjust if different */
  margin-bottom: 20px; /* Consistent spacing below heading */
}

/* Styling for the paragraph within the thank-you section */
.thank-you p {
  font-size: 1.2em; /* Slightly larger text for readability, consistent with other sections */
  color: #666; /* Secondary color for text; adjust if index page uses a different shade */
  margin-bottom: 30px; /* Space before the button */
}

/* Ensure the cta-button class is defined for consistency (add if not already present) */
.cta-button {
  background: #ff6200; /* Assumed call-to-action color; adjust to match index.html */
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 5px;
  transition: background 0.3s;
  display: inline-block; /* Ensures proper rendering as a link */
}

.cta-button:hover {
  background: #e65b00; /* Darker shade for hover effect; adjust to match index.html */
}

/* Privacy Policy Section */
.policy {
  padding: 120px 0 60px 0; /* Extra top padding to clear the sticky header */
}

.policy h1 {
  font-size: 2.5em;
  color: #1a2b5f;
  text-align: center;
  margin-bottom: 40px;
}

.policy section {
  margin-bottom: 40px;
}

.policy h2 {
  font-size: 1.8em;
  color: #1a2b5f;
  margin-bottom: 10px;
}

.policy p {
  font-size: 1em;
  color: #333;
}

.policy ul {
  list-style-type: disc;
  margin-left: 20px;
}

/* Terms and Conditions Section */
.terms {
  padding: 120px 0 60px 0; /* Extra top padding to clear the sticky header */
}

.terms h1 {
  font-size: 2.5em;
  color: #1a2b5f;
  text-align: center;
  margin-bottom: 40px;
}

.terms section {
  margin-bottom: 40px;
}

.terms h2 {
  font-size: 1.8em;
  color: #1a2b5f;
  margin-bottom: 10px;
}

.terms p {
  font-size: 1em;
  color: #333;
}

.terms ul {
  list-style-type: disc;
  margin-left: 20px;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  nav ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: auto;
  }
  nav ul li {
    margin-left: 15px;
    margin: 0 0 0 15px;
  }
  .hero h1 {
    font-size: 2.5em;
  }
  .hero p {
    font-size: 1.2em;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    flex-direction: column;
    align-items: center;
  }
  .step {
    width: 80%;
  }
  .modal-content {
    width: 95%;
  }
}