/* Main Styles for domain - Financial Audit Company */

:root {
  /* Color Palette */
  --bg-gradient-start: #111827;
  --bg-gradient-end: #0F172A;
  --accent-lime: #4ADE80;
  --accent-cyan: #22D3EE;
  --accent-yellow: #FACC15;
  --text-white: #FFFFFF;
  --text-gray: #CBD5E1;
  --overlay-dark: rgba(15, 23, 42, 0.8);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
  color: var(--text-white);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-lime);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.elem {
  display: inline-block;
  padding: 12px 4px;

  font-weight: 600;
  text-align: center;
  cursor: pointer;

}
.btn-primary {
  background: linear-gradient(90deg, var(--accent-lime), var(--accent-cyan));
  color: var(--bg-gradient-start);
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-lime));
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.5);
  transform: translateY(-2px);
  color: var(--bg-gradient-start);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-cyan);
  color: var(--text-white);
}

.btn-outline:hover {
  background: var(--accent-cyan);
  color: var(--bg-gradient-start);
}

section {
  padding: 80px 0;
  scroll-margin-top: 100px; /* Prevents header from overlapping anchored content */
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(8px);
  padding: 20px 0;
  transition: all 0.3s ease;
}

.header-scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--accent-lime), var(--accent-cyan), var(--accent-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 30px;
}

nav a {
  color: var(--text-white);
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-lime);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  cursor: pointer;
  position: relative;
}

.menu-toggle form {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-white);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(15, 23, 42, 0.9)),
              url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 600px;
  animation: fadeInUp 1s ease;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* About Section */
.about {
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
}

.about-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Section */
.services {
  background: rgba(17, 24, 39, 0.8);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: linear-gradient(145deg, #162037, #0d1526);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-lime), var(--accent-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-image {
  transition: all 0.3s ease;
}

.service-card:hover .service-image {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-title {
  margin-bottom: 15px;
  color: var(--text-white);
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  padding: 25px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(22, 32, 55, 0.6), rgba(13, 21, 38, 0.6));
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  border-left: 3px solid var(--accent-lime);
}

.benefit-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(145deg, rgba(22, 32, 55, 0.8), rgba(13, 21, 38, 0.8));
}

/* Case Studies Section */
.case-studies {
  background: rgba(17, 24, 39, 0.8);
}

.case-study {
  background: linear-gradient(145deg, #162037, #0d1526);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.case-result {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.1);
  border-left: 3px solid var(--accent-lime);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(22, 32, 55, 0.6), rgba(13, 21, 38, 0.6));
}

.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: 1.5rem;
  transition: all 0.3s ease;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  opacity: 0;
}

.faq-item.active .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
  opacity: 1;
}

/* Form Section */
.form-section {
  position: relative;
  overflow: hidden;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(22, 32, 55, 0.7), rgba(13, 21, 38, 0.7));
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(203, 213, 225, 0.2);
  border-radius: 4px;
  color: var(--text-white);
  font-family: inherit;
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.form-submit {
  background: linear-gradient(90deg, var(--accent-lime), var(--accent-cyan));
  color: var(--bg-gradient-start);
  border: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.form-submit:hover {
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
  transform: translateY(-2px);
}

.form-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
}

.form-submit:hover::before {
  left: 100%;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: linear-gradient(145deg, rgba(22, 32, 55, 0.95), rgba(13, 21, 38, 0.95));
  backdrop-filter: blur(10px);
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s ease-in-out;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-text {
  flex: 1;
  margin-right: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-buttons form {
  display: inline-block;
}

/* Footer Styles */
footer {
  background: rgba(17, 24, 39, 0.95);
  padding: 60px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: var(--text-white);
  margin-bottom: 20px;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-lime);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}

.contact-info div {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  margin-right: 10px;
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(203, 213, 225, 0.1);
  padding-top: 20px;
  text-align: center;
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Policy Pages Styles */
.policy-page {
  max-width: 800px;
  margin: 120px auto 60px;
  background: linear-gradient(145deg, rgba(22, 32, 55, 0.7), rgba(13, 21, 38, 0.7));
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.policy-page h1 {
  margin-bottom: 30px;
  text-align: center;
}

.policy-page h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--accent-cyan);
}

.policy-page p, .policy-page ul {
  margin-bottom: 15px;
}

.policy-page ul {
  padding-left: 20px;
}

/* Thank You Page */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  text-align: center;
  padding: 40px;
}

.thank-you .container {
  max-width: 700px;
  background: linear-gradient(145deg, rgba(22, 32, 55, 0.8), rgba(13, 21, 38, 0.8));
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--accent-cyan);
}

.thank-you h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--accent-lime);
  text-align: center;
}

.thank-you p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-align: center;
}

.thank-you .btn {
  margin-top: 20px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-up {
  animation: fadeInUp 1s ease;
}

.fade-in-left {
  animation: fadeInLeft 1s ease;
}

.fade-in-right {
  animation: fadeInRight 1s ease;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-image {
    order: 1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.98));
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
  }
  
  nav ul.show {
    display: flex;
  }
  
  nav li {
    margin: 10px 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .service-cards, 
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-popup {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 15px;
  }
}