/* Main styles for domain.com - Financial Audit Services */

/* Global styles */
:root {
  --primary: #2b2b2b; /* Main color - deep graphite */
  --accent: #a3ff12; /* Accent - bright lime */
  --secondary: #3ed1c4; /* Secondary - soft turquoise */
  --background: #f7f3e9; /* Background - warm light beige */
  --text-dark: #2b2b2b; /* Text on light background */
  --text-light: #ffffff; /* Text on dark background */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-size: 16px;
  font-family: "Roboto", "Open Sans", sans-serif;
}

body {
  background-color: var(--background);
  color: var(--text-dark);
  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(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--primary);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-padding {
  padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: lowercase;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--accent);
}

/* Mobile navigation */
.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  gap: 4px;
}

#menu-toggle {
  display: none;
}

/* Hero section */
.hero {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(43, 43, 43, 0.7);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--text-light);
  padding: 20px;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About section */
.about {
  background-color: var(--background);
}

.about-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

/* Benefits section */
.benefits {
  background-color: var(--primary);
  color: var(--text-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

/* Services section */
.services {
  background-color: var(--background);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: var(--text-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-content {
  padding: 25px;
}

/* Why us section */
.why-us {
  background-color: var(--secondary);
  color: var(--primary);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.why-us-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.why-us-icon {
  font-size: 1.8rem;
  color: var(--primary);
}

/* Order form section */
.order-form {
  background-color: var(--background);
}

.form-container {
  background-color: var(--text-light);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(163, 255, 18, 0.2);
  outline: none;
}

.form-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%232B2B2B" d="M6 8L0 0h12z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-container input {
  margin-right: 10px;
  margin-top: 5px;
}

/* Testimonials section */
.testimonials {
  background-color: var(--primary);
  color: var(--text-light);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  left: -20px;
  top: -20px;
  opacity: 0.3;
  color: var(--accent);
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent);
}

/* FAQ section */
.faq {
  background-color: var(--background);
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: block;
  background-color: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  padding: 15px;
  cursor: pointer;
  position: relative;
  border-radius: 8px;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.faq-checkbox {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-answer {
  background-color: var(--text-light);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0 15px;
}

.faq-checkbox:checked ~ .faq-question::after {
  content: "-";
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
  padding: 15px;
}

/* Contacts section */
.contacts {
  background-color: var(--secondary);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  color: var(--primary);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-icon {
  margin-right: 15px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--accent);
  border-radius: 50%;
}

.map-container {
  height: 400px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

/* Footer styles */
footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: lowercase;
}

.footer-links h4 {
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-light);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Thank you page styles */
.thank-you {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-container {
  max-width: 700px;
  margin: 8rem auto 5rem;
  padding: 60px;
  background-color: var(--text-light);
  border: 2px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Policy pages styles */
.policy {
  padding: 120px 0 60px;
}

.policy-container {
  background-color: var(--text-light);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.policy h1 {
  margin-bottom: 30px;
  color: var(--primary);
}

.policy h2 {
  margin: 30px 0 15px;
  color: var(--primary);
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--text-light);
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  max-width: 90%;
  width: 500px;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-button {
  background-color: var(--accent);
  color: var(--primary);
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  html {
    font-size: 15px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
  }

  .hamburger span {
    background-color: white;
    height: 4px;
    width: 2rem;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    flex-direction: column;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-item {
    margin: 0;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  #menu-toggle:checked ~ .nav-menu {
    max-height: 300px;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .form-container,
  .thank-you-container,
  .policy-container {
    padding: 20px;
  }
}
