/* 
* domain - Financial Audit Company
* Main Stylesheet
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --bg-dark: #05002A;
  --bg-purple: #4E0D60;
  --accent-neon: #00FF9F;
  --accent-yellow: #FFFB00;
  --text-white: #FFFFFF;
  --text-gray: #B3B3B3;
  --btn-purple: #8200FF;
  --btn-purple-hover: #B06CFF;
  --form-border: #00FF9F;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Montserrat', 'Arial', sans-serif;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-purple) 100%);
  color: var(--text-white);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  text-align: center;
}

h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background: var(--accent-neon);
  bottom: -10px;
  left: 25%;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

a {
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-neon);
}

section {
  padding: 80px 0;
  text-align: center;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header Styles */
header {
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
  background-color: rgba(5, 0, 42, 0.9);
}

header.scrolled {
  background-color: rgba(5, 0, 42, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo a {
  color: var(--text-white);
}

/* Navigation */
.nav-desktop {
  display: flex;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
}

.nav-desktop ul li {
  margin-left: 30px;
}

.nav-desktop ul li a {
  font-weight: 500;
  position: relative;
}

.nav-desktop ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-neon);
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-desktop ul li a:hover::after {
  width: 100%;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg-purple);
  padding: 80px 20px 20px;
  transition: right 0.3s ease;
  z-index: 999;
}

.nav-mobile.active {
  right: 0;
}

@media (max-width: 768px) {
  .nav-mobile {
    display: block;
  }
}

.nav-mobile ul {
  list-style: none;
}

.nav-mobile ul li {
  margin-bottom: 20px;
}

.nav-mobile ul li a {
  display: block;
  font-size: 1.2rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(130, 0, 255, 0.3), transparent);
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.hero h1 span {
  color: var(--accent-neon);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-gray);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--btn-purple);
  color: var(--text-white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background: var(--btn-purple-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: var(--text-white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-neon);
  color: var(--accent-neon);
}

.btn-outline:hover {
  background: var(--accent-neon);
  color: var(--bg-dark);
}

/* About Section */
.about {
  position: relative;
}

/* Services Section */
.services {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  transition: transform 0.3s ease;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom: 3px solid var(--accent-neon);
}

.service-card h3 {
  color: var(--accent-neon);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent-yellow);
}

.service-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 20px;
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--accent-neon);
  margin-bottom: 15px;
}

/* How We Work Section */
.how-we-work {
  position: relative;
}

.steps-container {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: var(--accent-neon);
  color: var(--bg-dark);
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 20px;
}

.step-content {
  padding-left: 20px;
}

/* Testimonials */
.testimonials {
  position: relative;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.client-name {
  font-weight: 700;
  margin-bottom: 5px;
}

.client-position {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* FAQ Section */
.faq {
  position: relative;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '▼';
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

/* Contact Section */
.contact {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-info h3 {
  color: var(--accent-neon);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  margin-right: 15px;
  color: var(--accent-neon);
  font-size: 1.2rem;
}

.contact-details {
  flex: 1;
}

/* Form Styles */
.form-container {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 159, 0.3);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 159, 0.3);
  border-radius: 5px;
  color: var(--text-white);
  font-family: 'Montserrat', 'Arial', sans-serif;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-neon);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.form-select option {
  background-color: var(--bg-purple);
  color: var(--text-white);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-input {
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-label {
  font-size: 0.9rem;
}

.checkbox-label a {
  color: var(--accent-neon);
  text-decoration: underline;
}

/* Footer */
footer {
  background: rgba(5, 0, 42, 0.8);
  padding: 60px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  margin-bottom: 20px;
  color: var(--accent-neon);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--accent-neon);
  color: var(--bg-dark);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(5, 0, 42, 0.9);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: bottom 0.5s ease;
}

.cookie-consent.hide {
  bottom: -100%;
}

.cookie-text {
  flex: 1;
  margin-right: 20px;
}

.cookie-btns {
  display: flex;
  gap: 10px;
}

/* Policy Pages */
.policy-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 10px;
  margin: 40px 0;
}

.policy-content h2 {
  color: var(--accent-neon);
}

.policy-content h3 {
  margin-top: 30px;
}

.policy-content ul, 
.policy-content ol {
  margin: 20px 0;
  padding-left: 20px;
}

.policy-content li {
  margin-bottom: 10px;
}

/* Thank You Page */
.thanks-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  border: 2px solid var(--accent-neon);
  padding: 40px;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.05);
}

.thanks-icon {
  font-size: 5rem;
  color: var(--accent-neon);
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  h1 {
    font-size: 2.3rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    height: auto;
    min-height: 100vh;
  }
  
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .services-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    padding: 20px;
  }
}

/* Animation Classes - Modified to show content by default */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}