/* Main Styles for domain - Financial Audit Services */

/* Color Palette */
:root {
  --main-color: #BF00FF; /* Electric Purple */
  --accent-color: #7FDBFF; /* Aqua Sky */
  --bg-color: #1B1B1B; /* Deep Charcoal */
  --text-color: #F9F9F9; /* Snow White */
  --section-bg: #191970; /* Midnight Blue */
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--main-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 5rem 0;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--main-color);
  color: var(--text-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--accent-color);
  color: var(--bg-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  color: var(--main-color);
}

.section-title:after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 1rem auto;
}

/* Header & Navigation */
.header {
  background-color: rgba(27, 27, 27, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--main-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logo span {
  color: var(--accent-color);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

.nav-menu a:hover {
  color: var(--accent-color);
}

.nav-menu a:before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover:before {
  width: 100%;
}

/* Mobile navigation using checkbox hack */
.menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: linear-gradient(rgba(27, 27, 27, 0.7), rgba(27, 27, 27, 0.7)), url('./img/Kw3MN.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  animation: fadeInUp 1s ease 0.5s;
  animation-fill-mode: both;
}

.hero .btn {
  animation: fadeIn 1s ease 1s;
  animation-fill-mode: both;
}

/* About Section */
.about {
  background-color: var(--section-bg);
  position: relative;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
}

/* Services Section */
.services {
  position: relative;
  background-color: var(--bg-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: var(--section-bg);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-card img {
  height: 150px;
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Benefits Section */
.benefits {
  background-color: var(--section-bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.benefit-card {
  background-color: var(--bg-color);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-card img {
  height: 150px;
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  color: var(--main-color);
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: var(--section-bg);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.testimonial-card .quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-card .quote:before,
.testimonial-card .quote:after {
  content: '"';
  color: var(--accent-color);
  font-size: 2rem;
  position: absolute;
}

.testimonial-card .quote:before {
  left: -10px;
  top: -10px;
}

.testimonial-card .quote:after {
  right: -10px;
  bottom: -10px;
}

.client-name {
  color: var(--main-color);
  font-weight: 600;
  margin-top: 1rem;
}

/* Steps Section */
.steps {
  background-color: var(--section-bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.step-card {
  background-color: var(--bg-color);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--main-color);
  color: var(--text-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  border: 3px solid var(--accent-color);
}

.step-card h3 {
  color: var(--accent-color);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/* Form Section */
.contact {
  background-color: var(--bg-color);
  position: relative;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--section-bg);
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--main-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--accent-color);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--bg-color);
  border-radius: 5px;
  background-color: rgba(27, 27, 27, 0.7);
  color: var(--text-color);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--main-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(191, 0, 255, 0.25);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FDBFF' 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: 15px;
}

/* Custom style for select options */
.form-select option {
  background-color: var(--section-bg);
  color: var(--text-color);
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  accent-color: var(--main-color);
}

.checkbox-label {
  cursor: pointer;
}

.checkbox-label a {
  text-decoration: underline;
}

/* Call to action section */
.cta {
  background-color: var(--section-bg);
  text-align: center;
  padding: 6rem 0;
}

.cta h2 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: var(--main-color);
}

/* Footer */
.footer {
  background-color: var(--bg-color);
  padding: 3rem 0;
  border-top: 4px solid var(--main-color);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  position: relative;
  font-size: 1.4rem;
}

.footer-section h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--main-color);
  margin-top: 10px;
}

.contact-info {
  list-style: none;
}

.contact-info li {
  margin-bottom: 10px;
}

.legal-links {
  list-style: none;
}

.legal-links li {
  margin-bottom: 10px;
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Thank you page */
.thank-you {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
}

.thank-you-container {
  text-align: center;
  border: 3px solid var(--main-color);
  border-radius: 15px;
  padding: 3rem;
  background-color: var(--section-bg);
  margin: 8rem auto 5rem;
  max-width: 700px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.thank-you h1 {
  color: var(--main-color);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Legal pages */
.legal-page {
  padding: 3rem 0;
}

.legal-container {
  max-width: 900px;
  margin: 8rem auto 5rem;
  background-color: var(--section-bg);
  border: 2px solid var(--main-color);
  padding: 3rem;
  border-radius: 15px;
}

.legal-container h1 {
  color: var(--main-color);
  margin-bottom: 2rem;
  text-align: center;
}

.legal-container h2 {
  color: var(--accent-color);
  margin: 2rem 0 1rem;
}

/* Cookie consent popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--section-bg);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 400px;
  border: 2px solid var(--main-color);
  z-index: 1000;
}

.cookie-text {
  margin-bottom: 1rem;
  text-align: center;
}

.cookie-btn {
  background-color: var(--main-color);
  color: var(--text-color);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-btn:hover {
  background-color: var(--accent-color);
  color: var(--bg-color);
}

/* FAQ Accordion using checkbox hack */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-checkbox {
  display: none;
}

.faq-label {
  display: block;
  padding: 1rem;
  background-color: var(--section-bg);
  color: var(--accent-color);
  cursor: pointer;
  position: relative;
  font-weight: 600;
}

.faq-label:after {
  content: '+';
  position: absolute;
  right: 1rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(25, 25, 112, 0.6);
  transition: max-height 0.3s ease;
}

.faq-checkbox:checked ~ .faq-content {
  max-height: 500px;
}

.faq-checkbox:checked ~ .faq-label:after {
  transform: rotate(45deg);
}

.faq-text {
  padding: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media screen and (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .about-content {
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  /* Mobile Navigation */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background-color: var(--bg-color);
    width: 100%;
    padding: 2rem 0;
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu li {
    margin: 1.5rem 0;
  }
  
  .menu-btn {
    display: block;
    font-size: 2rem;
    color: var(--accent-color);
  }
  
  .menu-toggle:checked ~ .nav-menu {
    left: 0;
  }
  
  .menu-toggle:checked ~ .menu-btn {
    color: var(--main-color);
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media screen and (max-width: 576px) {
  section {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}