/* Main Styles for morenthaqivo - Financial Audit Services */

/* Base Styles */
:root {
  --background: #f1eff8;
  --primary: #673ab7;
  --amber: #ffc107;
  --orange: #ff7043;
  --text-dark: #212121;
  --text-light: #757575;
  --border: #ddd;
  --white: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

body {
  font-family: "Roboto", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
  padding-top: 70px; /* Space for fixed header */
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  background: linear-gradient(45deg, var(--amber), var(--orange));
  color: var(--white);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 70px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  height: 100%;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

/* Navigation */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

.main-nav {
  height: 100%;
}

.nav-links {
  display: flex;
  list-style: none;
  height: 100%;
  align-items: center;
}

.nav-links li {
  margin-left: 20px;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-links li label {
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  height: 100vh;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, var(--amber), var(--orange));
}

/* Cards */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-img {
  height: 200px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

/* Benefits Section */
.benefits {
  background-color: var(--white);
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 20px;
}

.benefit-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Why Choose Us */
.why-choose-us {
  background-color: var(--primary);
  color: var(--white);
}

.why-choose-us h2,
.why-choose-us p {
  color: var(--white);
}

.why-choose-us .section-title::after {
  background: linear-gradient(45deg, var(--white), var(--amber));
}

/* Testimonials */
.testimonials {
  background-color: var(--background);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
}

.testimonial-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
}

.testimonial-container::-webkit-scrollbar {
  height: 8px;
}

.testimonial-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.testimonial-container::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.testimonial {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 20px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 10px;
  text-align: center;
}

.testimonial-navigation {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.testimonial-nav-item {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-nav-item:hover {
  background-color: var(--primary);
}

@media (min-width: 768px) {
  .testimonial {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (min-width: 992px) {
  .testimonial {
    flex: 0 0 calc(33.333% - 20px);
  }
}

/* Approach */
.approach {
  background-color: var(--white);
}

.approach-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.approach-step {
  position: relative;
  padding: 0 0 2rem 60px;
  margin-bottom: 2rem;
}

.approach-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, var(--amber), var(--orange));
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* FAQ Section */
.faq {
  background-color: var(--background);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background-color: var(--white);
  padding: 15px;
  cursor: pointer;
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  font-weight: 500;
  border: none;
  outline: none;
  transition: background-color 0.3s ease;
}

.faq-checkbox {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-question:after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.faq-checkbox:checked + .faq-question:after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: var(--white);
  transition: max-height 0.3s ease;
  padding: 0 15px;
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
  padding: 15px;
}

/* Form Section */
.contact-form {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 6px;
}

.checkbox-group label {
  font-size: 14px;
}

.checkbox-group a {
  color: var(--primary);
}

.form-submit {
  width: 100%;
}

/* Select Styling */
select.form-control {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23212121" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

select.form-control option {
  background-color: var(--primary);
  color: var(--white);
}

/* Contact Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.contact-item {
  text-align: center;
  padding: 20px;
}

.contact-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: #212121;
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-logo {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer p {
  color: var(--white);
}

.footer-links h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--white);

  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-copyright {
  text-align: center;
  border-top: 1px solid #424242;
  padding-top: 1.5rem;
  color: #bdbdbd;
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding: 15px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-text {
  margin-right: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-popup.hidden {
  display: none;
}

/* Policy Pages */
.policy-container {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 800px;
  margin: 8rem auto 3rem;
}

.policy-container h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.policy-container h2 {
  margin-top: 2rem;
  text-align: left;
}

/* Thank You Page */
.thank-you-container {
  text-align: center;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 800px;
  margin: 8rem auto 3rem;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Responsive Burger Menu */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
    width: 30px;
    height: 21px;
    position: relative;
    z-index: 2;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    transition: transform 0.3s ease;
  }

  .nav-toggle-label span {
    top: 9px;
  }

  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
  }

  .nav-toggle-label span::before {
    top: -9px;
  }

  .nav-toggle-label span::after {
    bottom: -9px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
  }

  .nav-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--white);
    max-height: 0;
    height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    align-items: stretch;
  }

  .nav-links li {
    margin: 0;
    text-align: center;
    height: auto;
  }

  .nav-links li label {
    width: 100%;
    padding: 0;
    justify-content: center;
  }

  .nav-links a {
    display: block;
    padding: 15px;
    width: 100%;
  }

  .nav-toggle:checked ~ .main-nav .nav-links {
    height: 100dvh;
    max-height: 100dvh;
  }

  .nav-toggle:checked ~ .nav-toggle-label span {
    background-color: transparent;
  }

  .nav-toggle:checked ~ .nav-toggle-label span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-toggle-label span::after {
    bottom: 0;
    transform: rotate(-45deg);
  }
}

/* Additional Responsive Adjustments */
@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .hero-content {
    padding: 0 15px;
  }
}
