/* Global Styles */
:root {
  --primary-color: #152938;
  --accent-color: #00d1b2;
  --background-color: #f8f8f8;
  --text-color: #1e1e1e;
  --highlight-color: #e3ff00;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--accent-color);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--highlight-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* Header & Navigation */
header {
  background-color: var(--primary-color);
  position: fixed;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  color: var(--highlight-color);
}

/* Burger menu */
.menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: white;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: 25px;
}

.main-nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.main-nav ul li a:hover {
  color: var(--highlight-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(21, 41, 56, 0.8), rgba(21, 41, 56, 0.8)),
    url("img/b2oke.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content {
  width: 100%;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Us Section */
.about {
  background-color: white;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Benefits Section */
.benefits {
  background-color: var(--primary-color);
  color: white;
}

.benefits h2,
.benefits h3 {
  color: white;
}

.benefits h2:after {
  background-color: var(--highlight-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit-item {
  text-align: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.benefit-item img {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
}

/* Process Steps Section */
.steps {
  background-color: white;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.step-item {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--background-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

/* Form Section */
.contact {
  background-color: var(--primary-color);
  color: white;
  position: relative;
  overflow: hidden;
}

.contact h2 {
  color: white;
}

.contact h2:after {
  background-color: var(--highlight-color);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  color: var(--text-color);
  border-left: 5px solid var(--highlight-color);
}

.form-container:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background-color: var(--highlight-color);
  opacity: 0.2;
  border-radius: 0 0 0 100%;
  z-index: -1;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.form-control {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--text-color);
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 209, 178, 0.2);
  outline: none;
  background-color: white;
}

.checkbox-group {
  margin-top: 15px;
  background-color: rgba(248, 248, 248, 0.7);
  padding: 15px;
  border-radius: 6px;
  border-left: 3px solid var(--accent-color);
}

.checkbox-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 10px;
  font-weight: normal;
  padding: 5px 0;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 12px;
  width: 22px;
  height: 22px;
  accent-color: var(--accent-color);
  cursor: pointer;
}

.checkbox-group a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
  transition: all 0.2s ease;
}

.checkbox-group a:hover {
  color: var(--accent-color);
}

.error-text {
  color: #ff3860;
  margin-top: 15px;
  font-size: 0.95rem;
  background-color: rgba(255, 56, 96, 0.1);
  padding: 10px 15px;
  border-radius: 4px;
  border-left: 3px solid #ff3860;
}

.form-group button[type="submit"] {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 209, 178, 0.3);
}

.form-group button[type="submit"]:hover {
  background-color: var(--highlight-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 209, 178, 0.4);
}

/* FAQ Section */
.faq {
  background-color: var(--background-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: none;
}

.faq-label {
  display: block;
  padding: 15px;
  background-color: white;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-label:after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: white;
  border-radius: 0 0 4px 4px;
  margin-top: -5px;
  padding: 0 15px;
}

.faq-question:checked ~ .faq-label:after {
  content: "-";
}

.faq-question:checked ~ .faq-content {
  max-height: 1000px;
  padding: 15px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: white;
  margin-bottom: 20px;
  position: relative;
}

.footer-section h3:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--highlight-color);
  padding-left: 5px;
}

.contact-info {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 10px;
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

/* Thank you page */
.thank-you {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  margin: 7rem auto 2rem;
  border: 2px solid var(--accent-color);
  padding: 40px;
  border-radius: 8px;
}

/* Policy pages */
.policy-page {
  padding: 120px 0 60px;
  min-height: 80vh;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;

  word-break: break-word;
  overflow-wrap: break-word;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
  margin-bottom: 30px;
  color: var(--primary-color);
}

.policy-content h2 {
  text-align: left;
  margin-top: 30px;
}

.policy-content h2:after {
  left: 0;
  transform: none;
}

.policy-content p,
.policy-content ul,
.policy-content ol {
  margin-bottom: 20px;
}

.policy-content ul,
.policy-content ol {
  margin-left: 20px;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  padding: 20px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-popup p {
  margin-bottom: 15px;
}

.cookie-btn {
  background-color: var(--highlight-color);
  color: var(--primary-color);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn:hover {
  background-color: white;
}

.hidden {
  display: none;
}

/* Responsive styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    background-color: var(--primary-color);
    height: calc(100vh - 65px);
    transition: all 0.3s ease;
  }

  .menu-toggle:checked ~ .main-nav {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 20px 0;
  }

  .main-nav ul li {
    margin: 0;
    text-align: center;
  }

  .main-nav ul li a {
    display: block;
    padding: 15px;
    font-size: 1.1rem;
  }

  section {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .form-container {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero {
    height: 90vh;
  }

  .btn {
    padding: 10px 20px;
  }

  .footer-container {
    gap: 20px;
  }
}

/* Styling select option tags */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: white
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23152938' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")
    no-repeat right 10px center;
  padding-right: 30px;
  border: 2px solid var(--accent-color);
  border-radius: 4px;
  cursor: pointer;
}

/* This CSS is for styling the background of options in select fields */
select option {
  background-color: var(--background-color);
  color: var(--text-color);
  padding: 12px;
  border-bottom: 1px solid #ddd;
}

/* For Firefox which doesn't support styling options directly */
@-moz-document url-prefix() {
  select {
    background-color: white;
    border: 1px solid #ddd;
  }
}

/* Support for IE11 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  select::-ms-expand {
    display: none;
  }
  select {
    padding-right: 30px;
  }
}
