/* Main styles for domain - Financial Audit Services */

:root {
  --azure: #005f73;
  --lavender: #c77dff;
  --olive: #b5d99c;
  --graphite: #2c2c2c;
  --light-bg: #f7f7f7;
  --white: #ffffff;
  --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;
}

section[id] {
  scroll-margin-top: 40px;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background-color: var(--light-bg);
  color: var(--graphite);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles - Completely redone for mobile */
header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  position: relative;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--azure);
  text-decoration: none;
  z-index: 10;
}

.logo span {
  color: var(--lavender);
}

/* Navigation styles - Completely redone */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 20px;
  transition: var(--transition);
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--graphite);
  font-weight: 500;
  transition: var(--transition);
  padding: 5px 10px;
  display: block;
}

.nav-link:hover {
  color: var(--lavender);
}

/* Hamburger Icon */
.hamburger {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--azure);
  transition: transform 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
    cursor: pointer;
    z-index: 10;
    padding: 5px;
  }

  .hamburger {
    background-color: var(--azure);
  }

  .nav {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: width 0.3s ease;
  }

  .nav-list {
    flex-direction: column;
    padding: 80px 0 30px 0;
    width: 250px;
    gap: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 15px 30px;
    font-size: 1.1rem;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-link:hover {
    background-color: rgba(199, 125, 255, 0.1);
  }

  /* Checked state */
  .nav-toggle:checked ~ .nav {
    width: 250px;
  }

  .nav-toggle:checked ~ .nav .nav-list {
    opacity: 1;
  }

  /* Hamburger animation */
  .nav-toggle:checked ~ .nav-toggle-label .hamburger {
    background-color: transparent;
  }

  .nav-toggle:checked ~ .nav-toggle-label .hamburger::before {
    transform: rotate(45deg);
    top: 0;
    background-color: var(--lavender);
  }

  .nav-toggle:checked ~ .nav-toggle-label .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
    background-color: var(--lavender);
  }
}

.btn {
  display: inline-block;
  background-color: var(--azure);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--lavender);
  transform: translateY(-2px);
}

/* Hero section */
.hero {
  height: 80vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("./img/VR0J0.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Section styles */
section {
  padding: 80px 0;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--azure);
}

.section-title-underline {
  width: 60px;
  height: 4px;
  background-color: var(--lavender);
  margin: 0 auto 30px;
}

/* About section */
.about {
  background-color: var(--white);
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-text {
  flex: 1;
}

/* Benefits section */
.benefits-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.benefit-card {
  background-color: var(--white);
  padding: 0 0 30px 0;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  flex: 1 0 300px;
  max-width: 350px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.benefit-image {
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  width: 100%;
}

.benefit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.benefit-card:hover .benefit-image img {
  transform: scale(1.05);
}

.benefit-card h3 {
  margin: 0 30px 10px;
  color: var(--azure);
}

.benefit-card p {
  padding: 0 30px;
}

/* Services section */
.services {
  background-color: var(--white);
}

.services-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-card {
  background-color: var(--light-bg);
  padding: 0 0 30px 0;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  flex: 1 0 300px;
  max-width: 350px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: none;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
  height: 200px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-card h3 {
  margin: 20px 30px 10px;
  color: var(--azure);
}

.service-card p {
  padding: 0 30px;
  margin-bottom: 15px;
}

.service-card ul {
  padding: 0 30px 0 50px;
  margin-bottom: 20px;
}

.service-card ul li {
  margin-bottom: 5px;
}

.service-card .btn {
  align-self: flex-start;
  margin-left: 30px;
}

/* Testimonials section */
.testimonials {
  background-color: var(--azure);
  color: var(--white);
}

.testimonials h2 {
  color: var(--white);
}

.testimonials .section-title-underline {
  background-color: var(--olive);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  position: absolute;
  top: -20px;
  left: 20px;
  color: rgba(255, 255, 255, 0.2);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
}

/* FAQ section - Completely redesigned */
.faq {
  background-color: var(--light-bg);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: linear-gradient(135deg, var(--white) 0%, #f9f9f9 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.faq-checkbox {
  display: none;
}

.faq-question {
  display: block;
  padding: 20px 60px 20px 25px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--graphite);
  cursor: pointer;
  position: relative;
  border-left: 4px solid var(--azure);
}

.faq-question::before {
  content: "";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background-color: var(--lavender);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  text-align: center;
  line-height: 22px;
  color: white;
  font-size: 18px;
  transition: transform 0.4s ease;
}

.faq-checkbox:checked + .faq-question {
  border-left-color: var(--lavender);
}

.faq-checkbox:checked + .faq-question::before {
  background-color: var(--azure);
}

.faq-checkbox:checked + .faq-question::after {
  content: "−";
  transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
  background-color: var(--white);
  max-height: 0;
  overflow: hidden;
  line-height: 1.6;
  padding: 0 25px;
  transition: all 0.4s ease-out;
  opacity: 0;
  transform: translateY(-10px);
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 1000px;
  padding: 5px 25px 25px;
  opacity: 1;
  transform: translateY(0);
}

.faq-answer p {
  color: var(--graphite);
  margin-bottom: 15px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  padding-left: 20px;
  margin: 15px 0;
}

.faq-answer ul li {
  margin-bottom: 8px;
}

.faq-answer ul li:last-child {
  margin-bottom: 0;
}

/* Form section */
.form-section {
  background-color: var(--white);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

/* Contact section */
.contact {
  background-color: var(--olive);
  color: var(--graphite);
}

.contact h2 {
  color: var(--graphite);
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.contact-item {
  text-align: center;
}

.contact-icon {
  font-size: 2rem;
  color: var(--azure);
  margin-bottom: 10px;
}

/* Footer styles */
footer {
  background-color: var(--graphite);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  flex: 1 0 250px;
}

.footer-col h4 {
  color: var(--lavender);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover {
  color: var(--lavender);
}

.footer-bottom {
  margin-top: 50px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 15px 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.cookie-popup.hidden {
  display: none;
}

.cookie-text {
  margin-right: 20px;
}

/* Thank you page */
.thank-you {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.thank-you-content {
  text-align: center;
  border: 2px solid var(--azure);
  border-radius: 10px;
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-content h2 {
  color: var(--azure);
  margin-bottom: 20px;
}

/* Policy pages */
.policy-page {
  padding: 60px 0;
}

.policy-content {
  background-color: var(--white);
  border-radius: 10px;
  padding: 40px;
  box-shadow: var(--box-shadow);
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  color: var(--azure);
  margin-bottom: 30px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }

  section {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }

  .hero {
    height: 70vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .benefit-image,
  .service-image {
    height: 180px;
  }
}
