/* 
   Main CSS file for Financial Auditing website
   Color Scheme:
   - Main: #0A1F44 (deep neon blue)
   - Accent: #B8FF00 (electric lime)
   - Background: #F4F4F6 (light slate)
   - Text: #2E2E2E (graphite)
   - Additional: #A9A9FF (cool purple-gray)
*/

/* CSS Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-main: #0A1F44;
  --color-accent: #B8FF00;
  --color-background: #F4F4F6;
  --color-text: #2E2E2E;
  --color-additional: #A9A9FF;
  --font-primary: 'Poppins', sans-serif;
  --transition: all 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--color-main);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-main);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color-accent);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-main);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-accent);
  color: var(--color-main);
}

.btn-secondary {
  background-color: var(--color-accent);
  color: var(--color-main);
}

.btn-secondary:hover {
  background-color: var(--color-main);
  color: white;
}

/* Header and Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-main);
}

.logo svg {
  margin-right: 0.5rem;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav .btn-primary {
  background: linear-gradient(135deg, var(--color-main), #0E2A5A);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.main-nav .btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent), #9FD800);
  color: var(--color-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-main);
  margin: 5px 0;
  transition: var(--transition);
}

/* Cookie Popup */
.cookie-popup {
  background-color: var(--color-main);
  color: white;
  padding: 1rem 0;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.cookie-popup .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-popup p {
  margin-right: 1rem;
}

.cookie-popup .btn-primary {
  background-color: var(--color-accent);
  color: var(--color-main);
  font-weight: 600;
  min-width: 120px;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: var(--transition);
}

.cookie-popup .btn-primary:hover {
  background-color: white;
  color: var(--color-main);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-main), var(--color-additional));
  color: white;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/pattern.svg');
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Services Section */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
}

.service-card-content {
  padding: 1.5rem;
}

.service-card h3 {
  color: var(--color-main);
}

/* About Section */
.about {
  background-color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

/* Advantages Section */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.advantage-item {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-main), var(--color-accent));
}

.advantage-item h3 {
  color: var(--color-main);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

/* Cases Section */
.cases {
  background-color: white;
}

.cases-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--color-background);
  border-radius: 8px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 0.5rem;
}

/* Reviews Section */
.reviews-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: 600;
  color: var(--color-main);
}

/* Contact Form Section */
.contact {
  background-color: white;
}

.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
}

.step-form {
  display: flex;
  flex-direction: column;
}

.form-step {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  position: relative;
}

.form-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: var(--color-additional);
}

.form-step:last-child::before {
  height: 50%;
}

.form-step::after {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-accent);
  border: 3px solid white;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230A1F44'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1.5rem;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.checkbox-group input {
  margin-right: 0.5rem;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1.5rem;
}

.faq-question {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-main);
}

/* Footer */
.site-footer {
  background-color: var(--color-main);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-about {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  color: white;
  margin-bottom: 1rem;
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 0.5rem;
}

.footer-contact ul,
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact a,
.footer-links a {
  color: var(--color-additional);
}

.footer-contact a:hover,
.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Thanks Page */
.thanks-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thanks-content {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.thanks-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-icon svg {
  width: 50px;
  height: 50px;
  color: var(--color-main);
}

/* Legal Pages */
.legal-page {
  padding: 5rem 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 1.5rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  .about-content,
  .cases-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    padding: 2rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .mobile-menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .cookie-popup .container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-popup p {
    margin-bottom: 1rem;
  }
  
  .stat-item {
    padding: 1rem;
  }
} 