/* 
* Domain - Financial Audit Services
* Main Stylesheet
*/

/* ===== VARIABLES ===== */
:root {
  --electric-plum: #6b1fbf;
  --saffron-neon: #ffc145;
  --deep-graphite: #1e1e24;
  --arctic-mint: #9af0d7;
  --sand-white: #f5f2ea;
  --light-gray: #f0f0f0;
  --dark-gray: #333;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: var(--deep-graphite);
  background-color: var(--sand-white);
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--electric-plum);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--saffron-neon);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  background-color: var(--electric-plum);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn:hover {
  background-color: var(--saffron-neon);
  color: var(--deep-graphite);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--saffron-neon);
  color: var(--deep-graphite);
}

.btn-secondary:hover {
  background-color: var(--electric-plum);
  color: white;
}

/* ===== HEADER ===== */
header {
  background-color: var(--deep-graphite);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--saffron-neon);
}

/* Hamburger menu with CSS only */
.menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.menu-icon {
  position: relative;
  width: 30px;
  height: 2px;
  background-color: var(--saffron-neon);
  transition: var(--transition);
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--saffron-neon);
  transition: var(--transition);
  left: 0;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  top: 8px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--arctic-mint);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu a:hover {
  color: var(--saffron-neon);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-color: var(--deep-graphite);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/G508D.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 1;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.25rem;
  color: var(--arctic-mint);
  margin-bottom: 2rem;
}

/* ===== TRUST INDICATORS SECTION ===== */
.indicators {
  padding: 4rem 0;
  background-color: white;
}

.indicators-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--electric-plum);
}

.indicators-grid {
  display: flex;
  justify-content: space-around;
  text-align: center;
  flex-wrap: wrap;
}

.indicator-item {
  flex: 1;
  min-width: 200px;
  margin: 1rem;
  padding: 1.5rem;
}

.indicator-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--saffron-neon);
  margin-bottom: 1rem;
}

.indicator-text {
  color: var(--deep-graphite);
  font-weight: 600;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 4rem 0;
  background-color: var(--sand-white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--electric-plum);
}

.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: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  color: var(--electric-plum);
  margin-bottom: 1rem;
}

.service-desc {
  margin-bottom: 1.5rem;
}

/* ===== PROCESS STEPS ===== */
.process {
  padding: 4rem 0;
  background-color: white;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.step-card {
  background-color: var(--sand-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--electric-plum);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-img {
  height: 180px;
  overflow: hidden;
}

.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-content {
  padding: 1.5rem;
}

.step-title {
  color: var(--electric-plum);
  margin-bottom: 1rem;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
  padding: 4rem 0;
  background-color: var(--sand-white);
}

.benefits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.benefit-item {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.benefit-icon {
  min-width: 50px;
  height: 50px;
  background-color: var(--saffron-neon);
  border-radius: 50%;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-graphite);
  font-weight: 700;
  font-size: 1.5rem;
}

.benefit-content h3 {
  color: var(--electric-plum);
  margin-bottom: 0.5rem;
}

/* ===== CASE STUDIES ===== */
.cases {
  padding: 4rem 0;
  background-color: white;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.case-card {
  background-color: var(--sand-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.case-img {
  height: 200px;
  overflow: hidden;
}

.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-content {
  padding: 1.5rem;
}

.case-title {
  color: var(--electric-plum);
  margin-bottom: 1rem;
}

.case-desc {
  margin-bottom: 1.5rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 4rem 0;
  background-color: var(--sand-white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  position: relative;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 4rem;
  color: rgba(107, 31, 191, 0.1);
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.author-info h4 {
  margin-bottom: 0.2rem;
  color: var(--electric-plum);
}

.author-info p {
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== FAQ SECTION ===== */
.faq {
  padding: 4rem 0;
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  background-color: var(--sand-white);
  padding: 1rem;
  display: block;
  width: 100%;
  text-align: left;
  position: relative;
  cursor: pointer;
  color: var(--deep-graphite);
  font-weight: 600;
}

.faq-checkbox {
  display: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: white;
  padding: 0 1rem;
}

.faq-checkbox:checked + .faq-question + .faq-answer {
  max-height: 500px;
  padding: 1rem;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-checkbox:checked + .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

/* ===== CONTACT FORM ===== */
.contact {
  padding: 4rem 0;
  background-color: var(--sand-white);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  background-color: white;
}

.form-select option {
  background-color: white;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-check input {
  margin-right: 0.5rem;
  margin-top: 0.3rem;
}

.form-check label {
  font-size: 0.9rem;
}

.form-btn {
  width: 100%;
  font-size: 1.1rem;
  padding: 1rem;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--deep-graphite);
  color: white;
  padding: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-popup.hidden {
  display: none;
}

.cookie-text {
  margin-right: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* ===== POLICY PAGES ===== */
.policy-page {
  padding: 4rem 0;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.policy-date {
  color: var(--dark-gray);
  font-style: italic;
  margin-bottom: 2rem;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h2 {
  color: var(--electric-plum);
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.policy-list {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.policy-list li {
  margin-bottom: 0.5rem;
}

/* ===== THANK YOU PAGE ===== */
.thank-you {
  margin: 8rem auto 5rem;
  max-width: 600px;
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.thank-you h1 {
  color: var(--electric-plum);
  margin-bottom: 1.5rem;
}

.thank-you .btn {
  margin-top: 2rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--deep-graphite);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-column h3 {
  color: var(--saffron-neon);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--arctic-mint);
}

.footer-links a:hover {
  color: var(--saffron-neon);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .menu-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: var(--deep-graphite);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: var(--transition);
  }

  .nav-menu li {
    margin: 1.5rem 0;
  }

  .menu-toggle:checked ~ .nav-menu {
    left: 0;
  }

  .menu-toggle:checked + .menu-btn .menu-icon {
    background-color: transparent;
  }

  .menu-toggle:checked + .menu-btn .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
  }

  .menu-toggle:checked + .menu-btn .menu-icon::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.8rem;
  }

  .hero {
    height: 70vh;
  }

  .btn {
    padding: 0.6rem 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
