/* Main Stylesheet for domain.com */

/* Base Styles */
:root {
  --background: #f5f6f7;
  --lime: #b4ff39;
  --blue: #0094ff;
  --text: #2d3142;
  --gradient-start: #ff6b6b;
  --gradient-end: #ffd93d;
  --white: #ffffff;
  --light-gray: #e5e5e5;
  --dark-gray: #4a4a4a;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--lime);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
  text-align: center;
}

.btn:hover {
  background-color: var(--lime);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.btn-lime {
  background-color: var(--lime);
  color: var(--text);
}

.btn-lime:hover {
  background-color: var(--blue);
  color: var(--white);
}

/* Header & Navigation */
.header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.logo span {
  color: var(--blue);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--blue);
}

/* Mobile Navigation - Checkbox Hack */
.menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .menu-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    height: calc(100vh - 70px);
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    padding: 2rem 0;
  }

  .nav-item {
    margin: 1rem 0;
    text-align: center;
  }

  .menu-toggle:checked ~ .nav-menu {
    left: 0;
  }

  .menu-toggle:checked + .menu-btn span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle:checked + .menu-btn span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .menu-btn span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 5rem 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(45, 49, 66, 0.8), rgba(45, 49, 66, 0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Services */
.services {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--text);
}

/* Benefits */
.benefits {
  background-color: var(--background);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.benefit-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

/* About */
.about {
  background-color: var(--white);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1 1 400px;
}

.about-image {
  flex: 1 1 400px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

/* Process */
.process {
  background-color: var(--background);
}

.process-steps {
  margin-top: 3rem;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  height: 100%;
  width: 2px;
  background-color: var(--blue);
}

.step {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 4rem;
  position: relative;
}

.step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  min-width: 60px;
  height: 60px;
  background-color: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 2rem;
  z-index: 1;
}

.step:nth-child(even) .step-number {
  margin-right: 0;
  margin-left: 2rem;
}

.step-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  flex: 1;
  max-width: calc(50% - 4rem);
}

@media (max-width: 768px) {
  .process-steps::before {
    left: 30px;
  }

  .step,
  .step:nth-child(even) {
    flex-direction: row;
  }

  .step-number,
  .step:nth-child(even) .step-number {
    margin-right: 2rem;
    margin-left: 0;
  }

  .step-content {
    max-width: calc(100% - 6rem);
  }
}

/* Testimonials */
.testimonials {
  background-color: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--background);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial-text {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: bold;
}

.testimonial-company {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

/* FAQ */
.faq {
  background-color: var(--background);
}

.faq-container {
  margin-top: 3rem;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.faq-question {
  background-color: var(--white);
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
}

.faq-checkbox {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-answer {
  background-color: var(--light-gray);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 1.5rem;
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-checkbox:checked + .faq-question::after {
  content: "-";
}

/* Contact Form */
.contact {
  background-color: var(--white);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--background);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--light-gray);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%232D3142%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  background-size: 12px auto;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-checkbox {
  margin-right: 10px;
  margin-top: 3px;
}

.checkbox-label {
  font-size: 0.9rem;
}

.checkbox-label a {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
}

/* Thank You Page */
.thank-you {
  margin: 8rem auto 5rem;
  max-width: 600px;
  padding: 2rem;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  text-align: center;
}

/* Policy Pages */
.policy-container {
  margin: 8rem auto 5rem;
  max-width: 800px;
  padding: 2rem;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
}

.policy-container h1 {
  margin-bottom: 2rem;
}

.policy-container h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: var(--text);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-column h3 {
  margin-bottom: 1.5rem;
  color: var(--lime);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--white);
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-contact {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact svg {
  margin-right: 10px;
  min-width: 20px;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 1.5rem;
  background-color: var(--white);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  z-index: 1001;
  display: none;
}

.cookie-popup.show {
  display: block;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1 1 300px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    flex-direction: column;
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .section-padding {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}
