/* Main Styles for domain - Financial Audit Services */

:root {
  /* Color palette */
  --bg-main: #F0F4FF;
  --accent1: #3F51B5;
  --accent2: #FF6F61;
  --accent3: #00C896;
  --text-primary: #212121;
  --text-secondary: #666666;
  --white: #FFFFFF;
  --light-indigo: #E8EAF6;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent1);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent2);
}

/* Sections */
.section {
  padding: 60px 0;
}

.section:nth-child(odd) {
  background-color: var(--white);
}

.section:nth-child(even) {
  background-color: var(--light-indigo);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--accent1), var(--accent3));
  margin: 15px auto 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(to right, var(--accent1), var(--accent3));
  color: var(--white);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(63, 81, 181, 0.2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(63, 81, 181, 0.3);
  color: var(--white);
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent1);
  text-transform: lowercase;
}

/* Navigation */
.nav-desktop {
  display: none;
}

.nav-mobile {
  display: block;
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--accent1);
  cursor: pointer;
}

.menu-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 2000;
  padding: 60px 20px 20px;
}

.menu-mobile.show {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--accent1);
  cursor: pointer;
}

.menu-mobile ul {
  list-style: none;
}

.menu-mobile li {
  margin-bottom: 15px;
}

.menu-mobile a {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 500;
  display: block;
  padding: 5px 0;
}

/* Hero Section */
.hero {
  padding: 120px 0 60px;
  text-align: center;
  background: linear-gradient(to right bottom, var(--bg-main), var(--light-indigo));
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--accent1);
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* About Section */
.about {
  text-align: left;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-text {
  margin-bottom: 30px;
}

.about-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }
  
  .about-text {
    flex: 1;
    margin-bottom: 0;
  }
  
  .about-image-container {
    flex: 1;
  }
}

/* Services Section */
.services-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: var(--accent1);
  margin-bottom: 15px;
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.benefit-item {
  text-align: center;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-indigo);
  border-radius: 50%;
  color: var(--accent1);
  font-size: 1.8rem;
}

/* Testimonials Section */
.testimonials-slider {
  margin-top: 30px;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  position: relative;
  padding: 0 20px;
}

.testimonial-text:before,
.testimonial-text:after {
  content: '"';
  font-size: 2rem;
  color: var(--accent2);
  position: absolute;
}

.testimonial-text:before {
  top: -10px;
  left: 0;
}

.testimonial-text:after {
  bottom: -10px;
  right: 0;
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent1);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  background-color: var(--white);
  padding: 15px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  color: var(--accent1);
}

.faq-question:after {
  content: '+';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.faq-question.active:after {
  content: '−';
}

.faq-answer {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: var(--white);
}

.faq-answer.show {
  padding: 15px;
  max-height: 500px;
}

/* Form Section */
.form-section {
  background-color: var(--light-indigo);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent1);
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
}

/* Footer */
footer {
  background-color: var(--accent1);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
}

.footer-section h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--accent3);
  margin-top: 10px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  z-index: 9999;
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-accept {
  background-color: var(--accent3);
  color: var(--white);
  border: none;
}

.btn-more {
  background-color: transparent;
  border: 1px solid var(--accent1);
  color: var(--accent1);
}

/* Policy Pages */
.policy-container {
  max-width: 900px;
  margin: 120px auto 60px;
  padding: 40px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.policy-container h1 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--accent1);
}

.policy-section {
  margin-bottom: 30px;
}

.policy-section h2 {
  color: var(--accent1);
  margin-bottom: 15px;
}

/* Media Queries */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .nav-desktop {
    display: block;
  }
  
  .nav-desktop ul {
    display: flex;
    list-style: none;
  }
  
  .nav-desktop li {
    margin-left: 25px;
  }
  
  .nav-desktop a {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-desktop a:hover {
    color: var(--accent1);
  }
  
  .nav-mobile {
    display: none;
  }
  
  .services-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .service-card {
    flex: 1;
    min-width: 250px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .testimonials-slider {
    display: flex;
    gap: 20px;
  }
  
  .testimonial-card {
    flex: 1;
  }
  
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .service-card {
    flex: 1;
  }
}
