/* Financial Audit Website - domain.com 
   Main Stylesheet */

:root {
  /* Color Palette */
  --primary: #007F73;      /* Emerald Green */
  --accent: #FFB400;       /* Golden Amber */
  --secondary: #2E3A87;    /* Indigo Blue */
  --background: #F0F4F8;   /* Soft Light Blue */
  --text: #1A1A1A;         /* Graphite Black */
  --text-secondary: #7D7D7D; /* Warm Grey */
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --border-color: #E0E0E0;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
}

.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--accent);
}

.section-padding {
  padding: 5rem 0;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

nav a {
  color: var(--text);
  font-weight: 500;
}

nav a:hover {
  color: var(--primary);
}

/* Burger Menu */
.menu-toggle {
  display: none;
}

.menu-toggle-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.menu-toggle-label span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About Section */
.about {
  background-color: var(--white);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 10px;
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* 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(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

/* Advantages Section */
.advantages {
  background-color: var(--white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.advantage-item {
  background-color: var(--background);
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  transition: transform 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-5px);
}

.advantage-icon {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Steps Section */
.steps {
  background-color: var(--background);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.step-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: var(--background);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 4rem;
  line-height: 1;
  opacity: 0.2;
  color: var(--primary);
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.client-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.client-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-details h4 {
  margin-bottom: 0.2rem;
}

.client-details p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Form Section */
.order-form {
  background-color: var(--background);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

select.form-input {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0,0 L12,0 L6,6 Z" fill="%23666"/></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  padding-right: 30px;
  background-color: white;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: underline;
}

/* Thank You Page */
.thank-you {
  max-width: 700px;
  margin: 8rem auto 5rem;
  padding: 3rem;
  text-align: center;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
}

.thank-you h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-logo {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-about p {
  margin-bottom: 1rem;
}

.footer-contact h3, .footer-links h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 10px;
  color: var(--accent);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Policy Pages */
.policy-container {
  max-width: 900px;
  margin: 4rem auto;
  padding: 3rem;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.policy-container h2 {
  margin-top: 2rem;
  text-align: left;
}

.policy-container p, .policy-container ul, .policy-container ol {
  margin-bottom: 1.5rem;
}

.policy-container ul, .policy-container ol {
  padding-left: 2rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 999;
  display: none;
}

.cookie-popup.show {
  display: block;
  animation: slideUp 0.5s forwards;
}

.cookie-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* FAQ Styles */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background-color: var(--white);
  padding: 1rem 1.5rem;
  cursor: pointer;
  position: relative;
  display: block;
  font-weight: 500;
  border-left: 4px solid var(--primary);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-checkbox {
  display: none;
}

.faq-answer {
  background-color: var(--background);
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-checkbox:checked ~ .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .header-container {
    padding: 1rem;
  }
  
  .menu-toggle-label {
    display: flex;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  nav ul {
    flex-direction: column;
    padding: 0;
    align-items: stretch;
  }
  
  nav li {
    border-bottom: 1px solid var(--border-color);
  }
  
  nav a {
    display: block;
    padding: 1rem;
  }
  
  .menu-toggle:checked ~ nav {
    max-height: 100vh;
    height: 100vh;
    padding: 1rem;
  }
  
  .menu-toggle:checked ~ .menu-toggle-label span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle:checked ~ .menu-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle:checked ~ .menu-toggle-label span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .form-container {
    padding: 2rem 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
