/* 
* Main stylesheet for domain website
* Fully responsive, without JavaScript (except cookie popup)
*/

/* ---- Reset & Base Styles ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #181c2e;
}

section[id] {
  scroll-margin-top: 80px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}
option {
  background-color: #393d4c;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ff6b6b;
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #ffd93d;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff6b6b;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

ul,
ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ---- Container ---- */
.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 5rem 0;
}

/* ---- Header & Navigation ---- */
header {
  background-color: rgba(24, 28, 46, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo a:hover {
  color: #ff6b6b;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff6b6b;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 21px;
  position: relative;
}

.menu-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #ffffff;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 9px;
}

.menu-icon span:nth-child(3) {
  top: 18px;
}

/* ---- Buttons ---- */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: #ff6b6b;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #e55a5a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: #ffd93d;
  border: 2px solid #ffd93d;
}

.btn-secondary:hover {
  background-color: #ffd93d;
  color: #181c2e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 217, 61, 0.4);
}

/* ---- Hero Section ---- */
.hero-section {
  background-image: linear-gradient(
      rgba(24, 28, 46, 0.7),
      rgba(24, 28, 46, 0.9)
    ),
    url("./img/BOmoD.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #c4c4c4;
}

/* ---- About Section ---- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  color: #c4c4c4;
  margin-bottom: 1.5rem;
}

.about-text strong {
  color: #ffffff;
}

/* ---- Services Section ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 1rem;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: #ffd93d;
  margin-bottom: 1rem;
}

.service-card p {
  color: #c4c4c4;
  margin-bottom: 1.5rem;
}

.service-card ul {
  margin-bottom: 1.5rem;
}

.service-card li {
  color: #c4c4c4;
  margin-bottom: 0.5rem;
}

/* ---- Advantages Section ---- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.advantage-item {
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-10px);
}

.advantage-icon {
  margin-bottom: 1rem;
}

.advantage-item h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.advantage-item p {
  color: #c4c4c4;
}

/* ---- Testimonials Section ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-stars {
  margin-bottom: 1rem;
}

.star {
  color: #ffd93d;
  font-size: 1.2rem;
}

.testimonial-text {
  color: #c4c4c4;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.author-name {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.author-company {
  color: #c4c4c4;
  font-size: 0.9rem;
}

/* ---- FAQ Section ---- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-toggle {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: #ff6b6b;
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-toggle:checked + .faq-question .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: rgba(255, 255, 255, 0.02);
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 1rem;
  color: #c4c4c4;
}

/* ---- Contact Section ---- */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info p {
  color: #c4c4c4;
  margin-bottom: 1.5rem;
}

.contact-info address {
  font-style: normal;
  color: #c4c4c4;
}

.contact-info address p {
  margin-bottom: 0.5rem;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
}

.form-errors {
  background-color: rgba(255, 107, 107, 0.2);
  border-left: 4px solid #ff6b6b;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.form-errors ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.form-errors li {
  color: #ff6b6b;
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #ff6b6b;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3);
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.form-group.checkbox label {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #c4c4c4;
}

/* ---- Process Section ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  position: relative;
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-10px);
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: #ff6b6b;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.process-step h3 {
  color: #ffd93d;
  margin-bottom: 1rem;
}

.process-step p {
  color: #c4c4c4;
}

/* ---- Footer ---- */
footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 3rem;
}

footer h3,
footer h4 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

footer p,
footer address {
  color: #c4c4c4;
  font-style: normal;
}

.footer-legal ul {
  list-style: none;
  margin-left: 0;
}

.footer-legal li {
  margin-bottom: 0.5rem;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  color: #c4c4c4;
  font-size: 0.9rem;
}

/* ---- Thank You Page ---- */
.thankyou-section {
  display: flex;
  align-items: center;
}

.thankyou-content {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 3rem;
  text-align: center;
  max-width: 700px;
  margin: 8rem auto 5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.thankyou-content h1 {
  color: #ffd93d;
  margin-bottom: 1.5rem;
}

.thankyou-content p {
  color: #c4c4c4;
  margin-bottom: 1.5rem;
}

.thankyou-phone {
  font-size: 1.5rem;
  margin-top: 2rem;
}

.thankyou-phone a {
  color: #ff6b6b;
  font-weight: 600;
}

/* ---- Policy Pages ---- */
.policy-section {
  padding: 5rem 0;
}

.policy-content {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h1 {
  color: #ffd93d;
  margin-bottom: 2rem;
  text-align: center;
}

.policy-content h2 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 107, 107, 0.5);
}

.policy-content h2::after {
  display: none;
}

.policy-content p,
.policy-content li {
  color: #c4c4c4;
  margin-bottom: 1rem;
}

.policy-content ul,
.policy-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.policy-content a {
  color: #ffd93d;
  text-decoration: underline;
}

.policy-content a:hover {
  color: #ff6b6b;
}

/* ---- Cookie Popup ---- */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #181c2e;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  padding: 1.5rem;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-content h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
  flex-basis: 100%;
}

.cookie-content p {
  flex: 1;
  margin-right: 2rem;
  color: #c4c4c4;
  margin-bottom: 1rem;
}

#accept-cookies {
  white-space: nowrap;
}

/* ---- Responsive Styles ---- */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
  }

  .hero-section {
    height: auto;
    padding: 6rem 0;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .menu-icon {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #181c2e;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    z-index: 999;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu-toggle:checked ~ .nav-links {
    max-height: 500px;
  }

  .menu-toggle:checked + .menu-icon span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
  }

  .menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .menu-icon span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content p {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .thankyou-content {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .service-card,
  .advantage-item,
  .testimonial-card,
  .process-step {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .policy-content {
    padding: 1.5rem;
  }
}
