/* 
   Main stylesheet for domain - Financial Auditing Company
   Colors: 
   - Base: #FFE6E0
   - Accent: #FF6F61
   - Highlight: #FFD194
   - Contrast: #FFFFFF
   - Focus: #A29BFE
*/

/* --- RESET & BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #FFE6E0;
}

/* Fix anchor positioning under fixed header */
section[id] {
  scroll-margin-top: 100px;
}

a {
  color: #FF6F61;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #A29BFE;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #FF6F61, #A29BFE);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(162, 155, 254, 0.3);
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FF6F61, #A29BFE);
  border-radius: 2px;
}

/* --- HEADER --- */
header {
  background-color: #FFFFFF;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF6F61, #A29BFE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
}

.nav-desktop ul {
  display: flex;
  list-style-type: none;
}

.nav-desktop li {
  margin-left: 30px;
}

.nav-desktop a {
  font-weight: 600;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #FF6F61;
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
  width: 100%;
}

/* Mobile Navigation */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #FF6F61;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  background-color: #FFFFFF;
  width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-mobile.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-mobile ul {
  list-style-type: none;
}

.nav-mobile li {
  margin-bottom: 15px;
}

.nav-mobile a {
  font-weight: 600;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(135deg, #FFE6E0, #FFD194);
  padding: 150px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .btn {
  animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- ABOUT SECTION --- */
.about {
  background-color: #FFFFFF;
}

.about-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

.about-text {
  flex: 1;
  padding: 0 30px;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2rem;
}

/* --- SERVICES SECTION --- */
.services {
  background-color: #FFE6E0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: #FF6F61;
}

/* --- AUDIT BLOCK --- */
.audit {
  background-color: #FFFFFF;
}

.audit-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.audit-tab {
  padding: 12px 24px;
  background: #FFE6E0;
  border: none;
  border-radius: 4px;
  margin: 0 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.audit-tab.active, .audit-tab:hover {
  background: #FF6F61;
  color: #FFFFFF;
}

.audit-content {
  max-width: 800px;
  margin: 0 auto;
}

.audit-item {
  display: none;
  animation: fadeIn 0.5s ease;
}

.audit-item.active {
  display: block;
}

.audit-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  display: block;
}

.audit-details ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.audit-details li {
  margin-bottom: 8px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
  background-color: #FFE6E0;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid #FFD194;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #555;
  line-height: 1.6;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-size: 40px;
  color: #FFD194;
  position: absolute;
  top: -20px;
  left: -5px;
  opacity: 0.5;
}

.testimonial-author {
  font-weight: 700;
  color: #FF6F61;
  margin-bottom: 5px;
}

.testimonial-company {
  font-size: 0.9rem;
  color: #777;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  background-color: #FFD194;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background-color: #FF6F61;
  transform: scale(1.3);
}

/* --- CTA SECTION --- */
.cta {
  background: linear-gradient(135deg, #FF6F61, #A29BFE);
  color: #FFFFFF;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
}

.cta .btn {
  background: #FFFFFF;
  color: #FF6F61;
  margin-top: 20px;
}

.cta .btn:hover {
  background: #FFE6E0;
}

/* --- CONTACT FORM --- */
.contact {
  background-color: #FFFFFF;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: #FFE6E0;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 2px solid #FFD194;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: #FF6F61;
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #FF6F61, #A29BFE);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- FOOTER --- */
footer {
  background-color: #333;
  color: #FFFFFF;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: #FFD194;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-column ul {
  list-style-type: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #FFFFFF;
}

.footer-column a:hover {
  color: #FFD194;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* --- POLICY PAGES --- */
.policy {
  padding: 150px 0 100px;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.policy h1 {
  margin-bottom: 30px;
  color: #FF6F61;
}

.policy h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: #333;
  font-size: 1.5rem;
}

.policy p, .policy ul, .policy ol {
  margin-bottom: 20px;
}

.policy ul, .policy ol {
  margin-left: 20px;
}

.policy a {
  color: #FF6F61;
  text-decoration: underline;
}

/* --- COOKIE CONSENT --- */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-width: 350px;
  display: none;
}

.cookie-consent.active {
  display: block;
  animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-text {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  justify-content: flex-end;
}

.cookie-accept {
  padding: 8px 15px;
  background: #FF6F61;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-accept:hover {
  background: #A29BFE;
}

/* --- THANK YOU PAGE --- */
.thank-you {
  text-align: center;
  padding: 150px 0;
}

.thank-you-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #FF6F61;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  background-color: #FFD194;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 209, 148, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(255, 209, 148, 0);
  }
  100% {
    transform: scale(1);
  }
}

.thank-you h1 {
  font-size: 3rem;
  color: #FF6F61;
  margin-bottom: 20px;
}

.thank-you p {
  max-width: 600px;
  margin: 20px auto;
  font-size: 1.2rem;
}

.back-home {
  margin-top: 30px;
}

/* --- FAQ SECTION --- */
.faq {
  background-color: #FFE6E0;
  padding: 80px 0;
}

.faq-section {
  margin: 40px auto;
  max-width: 800px;
}

.faq-item {
  margin: 0 auto 25px;
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 25px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: left;
  max-width: 700px;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
  position: relative;
  margin: 0;
  padding-right: 30px;
}

.faq-question a {
  display: block;
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  width: 100%;
  position: relative;
  line-height: 1.4;
}

.faq-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: bold;
  color: #FF6F61;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 20px;
}

.faq-answer {
  padding-top: 20px;
  margin-top: 15px;
  color: #333;
  border-top: 1px solid #EEE;
  line-height: 1.6;
  font-size: 1rem;
}

/* --- NOUVELLE SECTION FAQ --- */
.faq-new {
  background-color: #FFE6E0;
  padding: 80px 0;
}

.faq-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.faq-column {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.faq-card {
  background: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.faq-card-header {
  padding: 20px 25px;
  background: linear-gradient(to right, #FFD194, #FFE6E0);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-card-header h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  background-color: #FF6F61;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
}

.faq-card-body {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-card-body p {
  padding: 20px 0;
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }

  .audit-image img {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 15px 0;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-mobile {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    margin-bottom: 30px;
  }
  
  .about-text {
    padding: 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .audit-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .audit-tab {
    width: 100%;
    max-width: 250px;
    margin-bottom: 10px;
  }
  
  .form-container {
    padding: 30px 20px;
  }

  .audit-image img {
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .cookie-consent {
    left: 20px;
    right: 20px;
    max-width: none;
  }
} 

/* Media Queries for FAQ */
@media (max-width: 768px) {
  .faq-container {
    flex-direction: column;
  }
  
  .faq-column {
    max-width: 100%;
  }
  
  .faq-card-header h3 {
    font-size: 16px;
  }
} 

/* Media queries for testimonials */
@media (max-width: 992px) {
  .testimonials-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .testimonial-card {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 576px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }
} 