/* 
* Main CSS file for domain audit financier website 
* All styles are organized in this single file as per requirements
*/

/* ---------- Global Settings ---------- */
:root {
  --color-bg: #0e101c;
  --color-accent: #f7b733;
  --color-secondary: #20c997;
  --color-text: #ffffff;
  --color-bg-dark: #1c1e2e;
  --font-main: "Poppins", sans-serif;
  --container-width: 1200px;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Import Google Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

section[id] {
  scroll-margin-top: 80px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  list-style-position: inside;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--color-accent);
  margin: 0.5rem auto 0;
}

.section-header p {
  color: var(--color-secondary);
  font-size: 1.2rem;
}

/* ---------- Button Styles ---------- */
.btn-primary,
.btn-secondary,
.btn-text {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-main);
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

.btn-primary:hover {
  background-color: #e8a929;
  color: var(--color-bg);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-text);
}

.btn-secondary:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-bg);
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: 500;
}

.btn-accent:hover {
  background-color: #e8a929;
  color: var(--color-bg);
}

.btn-text {
  background-color: transparent;
  color: var(--color-accent);
  padding: 0;
  border-bottom: 1px solid var(--color-accent);
  border-radius: 0;
}

.btn-text:hover {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* ---------- Header & Navigation ---------- */
header {
  background-color: rgba(14, 16, 28, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
  text-transform: lowercase;
}

.logo:hover {
  color: var(--color-accent);
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.menu-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--color-text);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 8px;
}

.menu-icon span:nth-child(3) {
  top: 16px;
}

/* Mobile Menu */
@media (max-width: 992px) {
  .menu-toggle {
    display: none;
  }

  .menu-toggle:checked ~ nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
  }

  .menu-icon {
    display: block;
    z-index: 1001;
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-dark);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
  }

  nav ul li {
    margin: 10px 0;
  }

  nav ul li a {
    display: block;
    padding: 10px 0;
  }
}

/* ---------- Hero Section ---------- */
.hero {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(14, 16, 28, 0.9),
    rgba(14, 16, 28, 0.7)
  );
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 1s ease;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--color-text);
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- About Section ---------- */
.about {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-features {
  list-style: none;
  margin-top: 2rem;
}

.about-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 1rem;
}

.about-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  background-color: var(--color-accent);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border: 4px solid var(--color-accent);
  border-radius: var(--border-radius);
  z-index: -1;
}

/* ---------- Services Section ---------- */
.services {
  padding: 100px 0;
  background-color: var(--color-bg-dark);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background-color: var(--color-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.card p {
  margin-bottom: 1.5rem;
}

.card ul {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 0.5rem;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background-color: var(--color-secondary);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
}

/* ---------- Why Us Section ---------- */
.why-us {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  background: linear-gradient(
    135deg,
    rgba(28, 30, 46, 0.8) 0%,
    rgba(28, 30, 46, 0.4) 100%
  );
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-accent);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--color-accent);
}

.feature p {
  font-size: 0.95rem;
  color: var(--color-text);
  opacity: 0.9;
}

/* ---------- Reviews Section ---------- */
.reviews {
  padding: 100px 0;
  background-color: var(--color-bg-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background: linear-gradient(
    135deg,
    rgba(14, 16, 28, 0.8) 0%,
    rgba(14, 16, 28, 0.4) 100%
  );
  padding: 30px;
  border-radius: var(--border-radius);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.2;
  line-height: 0;
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
}

.testimonial-author p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ---------- FAQ Section ---------- */
.faq {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  background: linear-gradient(
    135deg,
    rgba(28, 30, 46, 0.8) 0%,
    rgba(28, 30, 46, 0.4) 100%
  );
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-toggle {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: var(--transition);
}

.faq-toggle:checked ~ .faq-question .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 1000px;
  padding: 0 20px 20px;
}

/* ---------- Contact Section ---------- */
.contact {
  padding: 100px 0;
  background-color: var(--color-bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.contact-info p {
  margin-bottom: 2rem;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-item h4 {
  margin-bottom: 5px;
  color: var(--color-secondary);
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 300px;
}

.contact-form-container {
  background: linear-gradient(
    135deg,
    rgba(28, 30, 46, 0.8) 0%,
    rgba(28, 30, 46, 0.4) 100%
  );
  padding: 30px;
  border-radius: var(--border-radius);
}

.form-error {
  background-color: rgba(255, 0, 0, 0.1);
  border-left: 3px solid #ff3333;
  color: #ff3333;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group .required {
  color: var(--color-accent);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 16px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(247, 183, 51, 0.2);
}

/* Custom select styles */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: 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='%23ffffff' 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");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Style for option tags */
select option {
  background-color: var(--color-bg-dark);
  color: var(--color-text);
  padding: 10px;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  cursor: pointer;
  position: relative;
  height: 16px;
  width: 16px;
}

.checkbox-group label {
  margin-bottom: 0;
  cursor: pointer;
  font-size: 0.9rem;
}

/* ---------- Legal Section ---------- */
.legal {
  padding: 50px 0;
  background-color: var(--color-bg);
  text-align: center;
}

.legal-content {
  font-size: 0.9rem;
  opacity: 0.7;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content p {
  margin-bottom: 10px;
}

/* ---------- Footer ---------- */
footer {
  background-color: var(--color-bg-dark);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-about .logo {
  margin-bottom: 15px;
  display: block;
}

.footer-about p {
  font-size: 0.9rem;
  opacity: 0.7;
}

footer h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--color-accent);
  position: relative;
}

footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  opacity: 0.7;
  transition: var(--transition);
}

footer ul li a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ---------- Cookie Popup ---------- */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  background-color: var(--color-bg-dark);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
}

.cookie-popup h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-accent);
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 20px;
  gap: 15px;
}

.cookie-actions a {
  margin-right: auto;
  color: var(--color-text);
  opacity: 0.8;
  text-decoration: underline;
}

/* ---------- Policy Pages ---------- */
.policy-page {
  padding: 120px 0 80px;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-bg-dark);
  padding: 40px;
  border-radius: var(--border-radius);
}

.policy-content h1 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--color-accent);
}

.policy-section {
  margin-bottom: 30px;
}

.policy-section h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--color-secondary);
}

.policy-section h3 {
  font-size: 1.2rem;
  margin: 20px 0 10px;
  color: var(--color-accent);
}

.policy-section p {
  margin-bottom: 15px;
}

.policy-section ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.policy-section ul li {
  margin-bottom: 8px;
}

.policy-footer {
  margin-top: 40px;
  text-align: center;
  font-style: italic;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* ---------- Thank You Page ---------- */
.thank-you {
  padding: 150px 0;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
  border: 3px solid var(--color-accent);
  padding: 2rem 2rem;
  border-radius: 1rem;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(32, 201, 151, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.thank-you-icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-secondary);
}

.thank-you h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.thank-you p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.thank-you-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 992px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-about {
    text-align: center;
  }

  .footer-about .logo {
    margin: 0 auto 15px;
  }

  footer h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  footer h3 {
    text-align: center;
  }

  footer ul li {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .policy-content {
    padding: 25px 20px;
  }

  .thank-you-buttons {
    flex-direction: column;
  }
}
