/* 
* Main Stylesheet for domain - Financial Audit Services
* Colors: 
* - Background gradient: #111F2B to #134E5E
* - Accent colors: #FF6B35, #FFD166
* - Button: #21BF73 (with white text)
* - Text: light (#F5F5F5) on dark bg, dark on light bg
*/

/* === Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

section[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #111f2b 0%, #134e5e 100%) fixed;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: #ff6b35;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #ffd166;
}

img {
  max-width: 100%;
  height: auto;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #f5f5f5;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #ff6b35;
}

/* === Button Styles === */
.cta-button,
.primary-button,
.submit-button {
  display: inline-block;
  padding: 12px 28px;
  background-color: #21bf73;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover,
.primary-button:hover,
.submit-button:hover {
  background-color: #1a9e5f;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.cta-button:active,
.primary-button:active,
.submit-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* === Header Styles === */
.main-header {
  background-color: rgba(17, 31, 43, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f5f5f5;
  text-transform: lowercase;
  letter-spacing: 1px;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #f5f5f5;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.main-nav li a {
  color: #f5f5f5;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.main-nav li a:hover {
  color: #ffd166;
}

.main-nav li a.cta-button {
  color: #fff;
  background-color: #21bf73;
}

/* === Mobile Menu === */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(17, 31, 43, 0.95);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }

  .menu-toggle:checked ~ .main-nav {
    max-height: 500px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 20px;
  }

  .main-nav li {
    margin: 10px 0;
  }
}

/* === Hero Section === */
.hero-section {
  min-height: calc(100vh - 80px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #f5f5f5;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 31, 43, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-out;
}

.hero-tagline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeIn 1s ease-out 0.3s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === About Section === */
.about-section {
  padding: 5rem 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-image {
  flex: 1;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-text {
  flex: 1;
  color: #f5f5f5;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #ffd166;
}

.about-text p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about-image {
    width: 100%;
    margin-bottom: 30px;
  }
}

/* === Benefits Section === */
.benefits-section {
  padding: 5rem 0;
}

.benefits-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.benefit-card {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  color: #f5f5f5;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffd166;
}

@media (max-width: 768px) {
  .benefits-container {
    flex-direction: column;
  }
}

/* === Services Section === */
.services-section {
  padding: 5rem 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.services-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-card {
  display: flex;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.service-image {
  width: 40%;
  min-height: 250px;
  object-fit: cover;
}

.service-content {
  padding: 30px;
  color: #f5f5f5;
  flex: 1;
}

.service-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #ffd166;
}

.service-content p {
  margin-bottom: 20px;
}

.service-link {
  display: inline-block;
  font-weight: 600;
  padding: 8px 0;
  position: relative;
}

.service-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff6b35;
  transition: width 0.3s ease;
}

.service-link:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .service-card {
    flex-direction: column;
  }

  .service-image {
    width: 100%;
    height: 200px;
  }
}

/* === Process Section === */
.process-section {
  padding: 5rem 0;
}

.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  margin-bottom: 30px;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #ff6b35;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  margin-right: 20px;
}

.step-content {
  color: #f5f5f5;
  padding: 10px 0;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffd166;
}

/* Add connector lines between steps */
.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 30px;
  width: 2px;
  height: calc(100% - 30px);
  background-color: #ff6b35;
}

/* === Testimonials Section === */
.testimonials-section {
  padding: 5rem 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-wrapper {
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  animation: fadeEffect 0.5s;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  color: #f5f5f5;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: -10px;
  opacity: 0.2;
  color: #ff6b35;
}

.testimonial-author h4 {
  color: #ffd166;
  margin-bottom: 5px;
}

/* CSS-only slider using radio buttons */
.testimonial-slider input[type="radio"] {
  display: none;
}

#testimonial-1:checked ~ .testimonial-wrapper .testimonial-slide:nth-of-type(1),
#testimonial-2:checked ~ .testimonial-wrapper .testimonial-slide:nth-of-type(2),
#testimonial-3:checked
  ~ .testimonial-wrapper
  .testimonial-slide:nth-of-type(3) {
  display: block;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.testimonial-controls label {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#testimonial-1:checked ~ .testimonial-controls label:nth-of-type(1),
#testimonial-2:checked ~ .testimonial-controls label:nth-of-type(2),
#testimonial-3:checked ~ .testimonial-controls label:nth-of-type(3) {
  background-color: #ff6b35;
  transform: scale(1.2);
}

/* === FAQ Section === */
.faq-section {
  padding: 5rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-question {
  display: block;
  background-color: rgba(255, 255, 255, 0.1);
  color: #f5f5f5;
  padding: 15px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 15px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.faq-answer {
  background-color: rgba(255, 255, 255, 0.05);
  color: #f5f5f5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  border-radius: 0 0 5px 5px;
}

.faq-answer p {
  padding: 15px;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question {
  border-radius: 5px 5px 0 0;
  background-color: rgba(255, 107, 53, 0.7);
}

.faq-item input[type="checkbox"]:checked ~ .faq-question::after {
  transform: rotate(45deg);
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 500px;
}

/* === Contact Form Section === */
.contact-section {
  padding: 5rem 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.form-error {
  background-color: rgba(255, 0, 0, 0.1);
  color: #ffd166;
  padding: 10px;
  border-left: 3px solid #ff6b35;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #f5f5f5;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: #f5f5f5;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff6b35;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Custom Select Styling */
.custom-select {
  position: relative;
}

.custom-select select {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: #f5f5f5;
  appearance: none;
  cursor: pointer;
}

.custom-select::after {
  content: "▼";
  font-size: 0.8rem;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #f5f5f5;
  pointer-events: none;
}

/* Style the option background */
.custom-select select option {
  background-color: #134e5e;
  color: #f5f5f5;
  padding: 12px;
}

/* Custom Checkbox */
.checkbox-group {
  color: #f5f5f5;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
}

.custom-checkbox input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.custom-checkbox label {
  margin-bottom: 0;
  line-height: 1.4;
}

.form-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 20px;
  text-align: center;
}

/* Submit Button Animation */
.submit-button {
  width: 100%;
  font-size: 1.1rem;
  padding: 14px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.submit-button:hover {
  animation: vibrate 0.3s linear;
}

@keyframes vibrate {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-2px);
  }
  40% {
    transform: translateX(2px);
  }
  60% {
    transform: translateX(-2px);
  }
  80% {
    transform: translateX(2px);
  }
  100% {
    transform: translateX(0);
  }
}

/* === Footer === */
.main-footer {
  background-color: rgba(17, 31, 43, 0.95);
  color: #f5f5f5;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #f5f5f5;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact h4,
.footer-links h4,
.footer-legal h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ffd166;
}

.footer-contact ul,
.footer-links ul,
.footer-legal ul {
  list-style: none;
}

.footer-contact ul li,
.footer-links ul li,
.footer-legal ul li {
  margin-bottom: 10px;
}

.footer-contact ul li a,
.footer-links ul li a,
.footer-legal ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-contact ul li a:hover,
.footer-links ul li a:hover,
.footer-legal ul li a:hover {
  color: #ff6b35;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* === Cookie Popup === */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: rgba(17, 31, 43, 0.95);
  color: #f5f5f5;
  padding: 20px;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.cookie-content p {
  flex: 1;
}

#accept-cookies {
  background-color: #21bf73;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
}

#accept-cookies:hover {
  background-color: #1a9e5f;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

/* === Thank You Page === */
.thank-you-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.thank-you-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 40px;
  max-width: 600px;
  text-align: center;
  color: #f5f5f5;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 auto;
}

.thank-you-card h1 {
  color: #ffd166;
  margin-bottom: 20px;
}

.checkmark-container {
  margin: 30px auto;
  width: 80px;
  height: 80px;
  position: relative;
}

.checkmark {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #21bf73;
  stroke-miterlimit: 10;
  box-shadow: inset 0 0 0 #21bf73;
  animation: fill 0.4s ease-in-out 0.4s forwards,
    scale 0.3s ease-in-out 0.9s both;
  position: relative;
  top: 0;
  right: 0;
}

.checkmark:before {
  content: "";
  width: 30px;
  height: 60px;
  position: absolute;
  top: 10px;
  left: 30px;
  border-right: 6px solid #21bf73;
  border-bottom: 6px solid #21bf73;
  transform: rotate(45deg);
  opacity: 0;
  animation: checkmark 0.3s ease-in-out 0.9s forwards;
}

@keyframes checkmark {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-20px, -20px);
  }
  100% {
    opacity: 1;
    transform: rotate(45deg) translate(0, 0);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0 0 0 80px rgba(33, 191, 115, 0.1);
  }
}

@keyframes scale {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: scale(1.1);
  }
}

/* === Policy Pages === */
.policy-section {
  padding: 4rem 0;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  color: #f5f5f5;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-container h1 {
  color: #ffd166;
  margin-bottom: 20px;
  text-align: center;
}

.policy-container h2 {
  color: #ff6b35;
  margin: 30px 0 15px;
  font-size: 1.5rem;
}

.policy-container p,
.policy-container ul,
.policy-container ol {
  margin-bottom: 15px;
}

.policy-container ul,
.policy-container ol {
  padding-left: 20px;
}

.policy-container li {
  margin-bottom: 8px;
}

/* === Media Queries === */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .about-text h3,
  .service-content h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .benefit-card,
  .service-content,
  .testimonial-card,
  .form-container,
  .policy-container {
    padding: 20px;
  }

  .process-step {
    flex-direction: column;
  }

  .step-number {
    margin-bottom: 15px;
  }

  .process-step:not(:last-child)::before {
    display: none;
  }
}
