/* 
 * Domain Financial Audit - Main Stylesheet
 * Colors:
 * - Dark Background: #1C1E26
 * - Coral Accent: #FF5E5B
 * - Yellow Accent: #FFD43B
 * - Text White: #FFFFFF
 * - Text Light Grey: #C4C4C4
 * - Form Background: #F7F7F7
 */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* Add padding to account for the fixed header */
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #1C1E26;
  color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

h1 {
  font-size: 48px;
  margin-bottom: 30px;
}

h2 {
  font-size: 36px;
  position: relative;
  padding-bottom: 20px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FF5E5B, #FFD43B);
  border-radius: 2px;
}

h3 {
  font-size: 24px;
}

p {
  margin-bottom: 20px;
  color: #C4C4C4;
}

.text-center {
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-gradient {
  background: linear-gradient(90deg, #FF5E5B, #FFD43B);
  color: #FFFFFF;
  box-shadow: 0 5px 15px rgba(255, 94, 91, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 94, 91, 0.5);
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FF5E5B;
}

.btn-outline:hover {
  background-color: rgba(255, 94, 91, 0.1);
}

.btn-nav {
  background: linear-gradient(90deg, #FF5E5B, #FFD43B);
  padding: 10px 20px;
  border-radius: 20px;
  color: #FFFFFF;
}

/* ===== HEADER ===== */
.site-header {
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: rgba(28, 30, 38, 0.9);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-height: 50px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu li {
  margin: 0 15px;
}

.nav-menu a {
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #FF5E5B, #FFD43B);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-form {
  display: contents;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
  background-image: url('../img/bg-hero.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 30, 38, 0.8);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-features {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(90deg, #FF5E5B, #FFD43B);
}

/* ===== SERVICES SECTION ===== */
.services {
  background-color: rgba(255, 255, 255, 0.02);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-title {
  color: #FFD43B;
  margin-bottom: 15px;
}

/* ===== WHY US SECTION ===== */
.why-us-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.why-us-text {
  flex: 1;
  min-width: 300px;
}

.why-us-list {
  flex: 1;
  min-width: 300px;
}

.why-us-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.why-us-icon {
  margin-right: 15px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #FF5E5B, #FFD43B);
  border-radius: 50%;
}

/* ===== INFOGRAPHIC SECTION ===== */
.infographic {
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.02);
}

.infographic-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.infographic-item {
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.infographic-number {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(90deg, #FF5E5B, #FFD43B);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 10px;
}

.infographic-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  right: 0;
  width: 2px;
  height: 50px;
  background: linear-gradient(180deg, #FF5E5B, #FFD43B);
}

/* CSS Animation for Infographic */
.infographic-number {
  animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.author-info h4 {
  margin-bottom: 5px;
  color: #FFD43B;
}

.author-info p {
  font-size: 14px;
  margin-bottom: 0;
}

.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 60px;
  color: rgba(255, 94, 91, 0.1);
  font-family: 'Georgia', serif;
  line-height: 1;
}

/* ===== CONTACT FORM SECTION ===== */
.contact {
  background-color: rgba(255, 255, 255, 0.02);
}

.form-wrapper {
  background-color: #F7F7F7;
  border-radius: 15px;
  padding: 40px;
  max-width: 700px;
  margin: 50px auto 0;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-title {
  color: #1C1E26;
  text-align: center;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #1C1E26;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  color: #1C1E26;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #FF5E5B;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 94, 91, 0.2);
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-check input {
  margin-top: 5px;
  margin-right: 10px;
}

.form-check label {
  color: #1C1E26;
  font-size: 14px;
}

.form-check a {
  color: #FF5E5B;
  text-decoration: underline;
}

.form-buttons {
  text-align: center;
  margin-top: 30px;
}

/* ===== FAQ SECTION ===== */
.faq {
  background-color: rgba(255, 255, 255, 0.02);
}

.faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 20px 0;
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
}

.faq-toggle {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background-color: #FFD43B;
  transition: all 0.3s ease;
}

.faq-toggle::before {
  width: 100%;
  height: 2px;
}

.faq-toggle::after {
  width: 2px;
  height: 100%;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 0 20px;
}

.faq-item.active .faq-toggle::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-about p {
  opacity: 0.7;
}

.footer-contact h3,
.footer-links h3 {
  color: #FFD43B;
  margin-bottom: 20px;
}

.footer-contact ul li,
.footer-links ul li {
  margin-bottom: 10px;
}

.footer-contact ul li i {
  margin-right: 10px;
  color: #FF5E5B;
}

.footer-links ul li a:hover {
  color: #FF5E5B;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
}

.footer-bottom p {
  opacity: 0.6;
  font-size: 14px;
  margin-bottom: 0;
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(28, 30, 38, 0.95);
  padding: 20px;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
}

.cookie-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cookie-more {
  color: #C4C4C4;
  text-decoration: underline;
}

.cookie-more:hover {
  color: #FFD43B;
}

/* ===== POLICY PAGES ===== */
.policy-page {
  padding: 140px 0 80px;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 15px;
  border: 2px solid #FFD43B;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h3 {
  color: #FFD43B;
  margin-bottom: 15px;
}

/* ===== THANK YOU PAGE ===== */
.thank-you {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px; /* Add padding to ensure content doesn't touch the edges */
}

.thank-you-content {
  max-width: 600px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 2px solid #FFD43B;
  margin: auto; /* Center horizontally */
}

.check-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: linear-gradient(90deg, #FF5E5B, #FFD43B);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1140px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 40px;
  }
  
  h2 {
    font-size: 32px;
  }
  
  .infographic-item:not(:last-child)::after {
    display: none;
  }
  
  .infographic-wrapper {
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .infographic-item {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #1C1E26;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    transition: all 0.5s ease;
    padding: 0;
  }
  
  .nav-menu.active {
    height: calc(100vh - 80px);
    padding: 40px 0;
    overflow-y: auto;
  }
  
  .nav-menu li {
    margin: 15px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .nav-menu.active li {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(0.1s * var(--i));
  }
  
  .form-wrapper {
    padding: 30px 20px;
  }
  
  .policy-container {
    padding: 30px 20px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .infographic-item {
    width: 100%;
  }
  
  .btn {
    padding: 12px 24px;
  }
}
