/* 
 * Main CSS styles for domain - Financial Audit Services
 */

/* Base Styles */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --bg-color: #f5f9fc;
  --accent-yellow: #fcd34d;
  --accent-green: #34d399;
  --accent-pink: #ec4899;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 80px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--accent-yellow),
    var(--accent-pink)
  );
  margin: 10px auto 0;
  border-radius: 2px;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent-pink);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-yellow);
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(
    to right,
    var(--accent-yellow),
    var(--accent-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav-menu ul {
  display: flex;
  list-style: none;
}

.nav-menu ul li {
  margin-left: 1.5rem;
}

.nav-menu ul li a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

.nav-menu ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--accent-yellow),
    var(--accent-pink)
  );
  transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
  width: 100%;
}

/* Mobile menu */
.menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 21px;
  position: relative;
  z-index: 100;
}

.menu-btn span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--text-dark);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.menu-btn span:nth-child(1) {
  top: 0px;
}

.menu-btn span:nth-child(2) {
  top: 9px;
}

.menu-btn span:nth-child(3) {
  top: 18px;
}

.menu-toggle:checked + .menu-btn span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.menu-toggle:checked + .menu-btn span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle:checked + .menu-btn span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("./img/QznFH.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(
    to right,
    var(--accent-yellow),
    var(--accent-pink)
  );
  color: var(--white);
  box-shadow: 0 4px 15px rgba(252, 211, 77, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(252, 211, 77, 0.6);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--accent-pink);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background-color: var(--accent-yellow);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* About Section */
.about {
  background-color: var(--white);
}

.about-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.1);
}

.service-card-content {
  padding: 1.5rem;
}

/* Features Section */
.features {
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  background-color: var(--bg-color);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonials */
.testimonials {
  background-color: var(--bg-color);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  font-family: serif;
  line-height: 1;
  color: rgba(252, 211, 77, 0.3);
}

.testimonial-text {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
}

.testimonial-author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
}

.testimonial-author-info p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  position: relative;
  padding: 1.5rem;
  background-color: var(--bg-color);
  cursor: pointer;
  font-weight: 500;
}

.faq-checkbox {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-label {
  display: block;
  position: relative;
  cursor: pointer;
  padding-right: 30px;
}

.faq-label::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-checkbox:checked ~ .faq-label::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: var(--white);
  transition: max-height 0.5s ease;
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-content {
  padding: 1.5rem;
}

/* Contact Form */
.contact {
  background-color: var(--bg-color);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-container {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background-color: var(--bg-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 3px rgba(252, 211, 77, 0.2);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

/* Custom select styling */
.form-select option {
  background-color: var(--white);
  color: var(--text-dark);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-input {
  margin-top: 0.3rem;
  margin-right: 0.75rem;
}

.checkbox-label {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-light);
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

/* Contact Info Section */
.contact-info {
  background-color: var(--white);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-info-item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 10px;
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.contact-info-item:hover {
  transform: translateY(-5px);
}

.contact-info-icon {
  margin-bottom: 1rem;
}

.contact-info-icon img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.contact-info-content h3 {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(
    to right,
    var(--accent-yellow),
    var(--accent-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-about p {
  color: #a0aec0;
  font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--accent-yellow),
    var(--accent-pink)
  );
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: #a0aec0;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--accent-yellow);
}

.footer-contact p {
  margin-bottom: 0.75rem;
  color: #a0aec0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #a0aec0;
}

/* Policy Pages */
.policy-container {
  max-width: 900px;
  margin: 120px auto 50px;
  padding: 40px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.policy-header {
  margin-bottom: 2rem;
  text-align: center;
}

.policy-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-pink);
}

.policy-content p,
.policy-content ul {
  margin-bottom: 1.5rem;
}

.policy-content ul {
  padding-left: 1.5rem;
}

/* Thank You Page */
.thank-you-container {
  max-width: 600px;
  margin: 150px auto 50px;
  padding: 40px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 350px;
  background-color: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 20px;
  z-index: 1000;
  display: none;
}

.cookie-popup.visible {
  display: block;
  animation: fadeInUp 0.5s ease forwards;
}

.cookie-popup h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.cookie-popup p {
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.cookie-popup-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }

  .menu-btn {
    display: block;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    padding: 2rem 0;
    transition: left 0.3s ease;
    box-shadow: var(--shadow);
    overflow-y: auto;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
  }

  .nav-menu ul li {
    margin: 0 0 1.5rem;
    width: 100%;
    text-align: center;
  }

  .nav-menu ul li a {
    display: block;
    padding: 0.5rem 1rem;
    width: 100%;
  }

  .menu-toggle:checked ~ .nav-menu {
    left: 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 0.8rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  .policy-container,
  .thank-you-container {
    padding: 20px;
    margin-top: 100px;
  }
}
