/**
 * Main stylesheet for the financial audit website
 * Color palette:
 * - Main background: #024731 (deep emerald)
 * - Accent: #D9F10D (bright lemon)
 * - Additional: #6B4E9B (ultraviolet)
 * - Text: #F4F4F4 (warm light gray)
 * - Block background: #7CD9C4 (light turquoise)
 * - Buttons: gradient from #D9F10D to #6B4E9B
 */

/* ------------- Base styles and resets ------------- */
:root {
  --color-bg-main: #024731;
  --color-accent: #D9F10D;
  --color-additional: #6B4E9B;
  --color-text: #F4F4F4;
  --color-block-bg: #7CD9C4;
  --gradient-button: linear-gradient(135deg, #D9F10D 0%, #6B4E9B 100%);
  --font-primary: 'Arial', sans-serif;
  --font-secondary: 'Georgia', serif;
  --header-height: 80px;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--color-accent);
}

h3 {
  font-size: 1.5rem;
}

section {
  padding: 80px 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--color-additional);
}

/* ------------- Animation utilities ------------- */
.fadeIn {
  animation: fadeIn 1s ease-out forwards;
}

.slideInLeft {
  animation: slideInLeft 1s ease-out forwards;
}

.slideInRight {
  animation: slideInRight 1s ease-out forwards;
}

.slideInUp {
  animation: slideInUp 1s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ------------- Button styles ------------- */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-button);
  color: var(--color-text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--color-text);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-text);
}

.btn-secondary:hover {
  background: rgba(217, 241, 13, 0.1);
  color: var(--color-accent);
}

/* ------------- Header & Navigation ------------- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(2, 71, 49, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.logo-svg {
  height: 30px;
  width: 150px;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;

  list-style: none;
  gap: 20px;

}

.main-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 2rem;
  position: relative;
}

.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-speed);
}

.main-nav a:hover::after {
  width: 100%;
}


/* ------------- Hero Section ------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(2, 71, 49, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--color-text);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: var(--color-text);
}

/* ------------- About Section ------------- */
.about {
  background-color: var(--color-bg-main);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text {
  padding-right: 20px;
}

.about-features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-right: 15px;
  min-width: 24px;
}

/* ------------- Audit Types Section ------------- */
.audit-types {
  background-color: var(--color-block-bg);
  color: var(--color-bg-main);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  display: inline-block;
}

.section-header h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.audit-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.audit-card:hover {
  transform: translateY(-5px);
}

.audit-card-image {
  height: 200px;
  overflow: hidden;
}

.audit-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.audit-card:hover .audit-card-image img {
  transform: scale(1.05);
}

.audit-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.audit-card h3 {
  color: var(--color-bg-main);
  margin-bottom: 15px;
}

.audit-card p {
  color: #333;
  margin-bottom: 15px;
  flex-grow: 1;
}

.audit-card .btn {
  align-self: flex-start;
}

/* ------------- Advantages Section ------------- */
.advantages {
  background-color: var(--color-bg-main);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.advantage-item {
  background: rgba(124, 217, 196, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform var(--transition-speed);
}

.advantage-item:hover {
  transform: translateY(-5px);
}

.advantage-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 15px;
}

.advantage-item h3 {
  margin-bottom: 15px;
}

/* ------------- Testimonials Section ------------- */
.testimonials {
  background-color: var(--color-block-bg);
  color: var(--color-bg-main);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.testimonial-content {
  position: relative;
  padding: 20px 0;
}



.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-author h4 {
  margin-bottom: 5px;
  color: var(--color-bg-main);
}

.testimonial-author p {
  color: #666;
  font-size: 0.9rem;
}

/* ------------- Form Section ------------- */
.contact {
  background-color: var(--color-bg-main);
}

.form-container {
  background-color: rgba(124, 217, 196, 0.1);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  max-width: 800px;
margin: 0 auto;
}

.form-header {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid rgba(124, 217, 196, 0.3);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--color-accent);
  outline: none;
}

select.form-control {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23F4F4F4" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
}

select.form-control option {
  background-color: white;
  color: #333;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-input {
  margin-right: 10px;
  margin-top: 4px;
}

.checkbox-label {
  font-size: 0.9rem;
}

.checkbox-label a {
  font-weight: 600;
}

.form-submit {
  margin-top: 30px;
}

/* ------------- FAQ Section ------------- */
.faq {
  background-color: var(--color-block-bg);
  color: var(--color-bg-main);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  display: none;
}

.faq-label {
  display: block;
  padding: 15px 20px;
  background-color: white;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-label::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-additional);
  transition: transform var(--transition-speed);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 0 0 5px 5px;
  transition: max-height var(--transition-speed);
}

.faq-content-inner {
  padding: 20px;
}

.faq-question:checked ~ .faq-content {
  max-height: 500px; /* Adjust based on content */
}

.faq-question:checked ~ .faq-label::after {
  content: '-';
}

/* ------------- CTA Section ------------- */
.cta {
  background-color: var(--color-bg-main);
  text-align: center;
  padding: 100px 0;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 30px;
  font-size: 1.2rem;
}

/* ------------- Footer ------------- */
.main-footer {
  background-color: rgba(2, 71, 49, 0.8);
  padding: 60px 0 20px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info h3,
.footer-contact h3,
.footer-links h3 {
  color: var(--color-accent);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(124, 217, 196, 0.2);
}

/* ------------- Cookie Banner ------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(2, 71, 49, 0.95);
  padding: 20px;
  z-index: 2000;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  flex: 1;
  min-width: 200px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* ------------- Policy Pages ------------- */
.policy-container {
  background-color: rgba(124, 217, 196, 0.1);
  border-radius: 10px;
  padding: 40px;
  margin: 120px auto 60px;
  max-width: 900px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
  margin-bottom: 30px;
}

.policy-container h2 {
  margin-top: 40px;
}

.policy-container p,
.policy-container ul {
  margin-bottom: 20px;
}

.policy-container ul {
  padding-left: 20px;
}

/* ------------- Thank You Page ------------- */
.thank-you-container {
  background-color: rgba(124, 217, 196, 0.1);
  border-radius: 10px;
  padding: 60px 40px;
  margin: 8rem auto 5rem;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-accent);
  margin-bottom: 20px;
}

/* ------------- Responsive Styles ------------- */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-text {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
  }
  
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background: var(--color-text);
    height: 2px;
    width: 28px;
    position: relative;
    transition: all var(--transition-speed);
  }
  
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: '';
    position: absolute;
  }
  
  .nav-toggle-label span::before {
    bottom: 8px;
  }
  
  .nav-toggle-label span::after {
    top: 8px;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span::before {
    transform: rotate(45deg);
    bottom: 0;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
  }
  
  .main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-bg-main);
    height: 0;
    overflow: hidden;
    transition: height var(--transition-speed);
    visibility: hidden;
  }
  
  .nav-toggle:checked ~ .main-nav {
    height: 100vh;
    visibility: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: var(--header-height);
    z-index: 1000;
  }
  
  .main-nav ul {
    flex-direction: column;
    text-align: center;
    gap: 0;
  }
  
  .main-nav li {
    margin: 15px 0;
  }
  
  .main-nav a {
    font-size: 1.2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .form-container {
    padding: 30px 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .policy-container,
  .thank-you-container {
    padding: 30px 20px;
    margin: 100px auto 40px;
  }
}
