/* 
 * Main stylesheet for domain.com
 * Financial Audit Services Website
 */

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark-bg: #1f2235;
  --accent-1: #ff6b6b;
  --accent-2: #ffd93d;
  --text-light: #ffffff;
  --text-secondary: #d3d3d3;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-size: 16px;
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-light);
}

.section-subtitle {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.2rem;
  color: var(--text-secondary);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: var(--dark-bg);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  background-color: var(--dark-bg);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
}

.nav-item a {
  color: var(--text-light);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
}

.nav-item a:hover {
  color: var(--accent-1);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(31, 34, 53, 0.7), rgba(31, 34, 53, 0.7)),
    url(./img/n1MMP.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.hero-btn {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--accent-1);
}

.about-text p {
  margin-bottom: 15px;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0;
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-title {
  font-size: 1.5rem;
  margin: 20px 0 15px;
  color: var(--text-light);
  padding: 0 20px;
}

.service-description {
  color: var(--text-secondary);
  padding: 0 20px 20px;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.benefit-icon {
  color: var(--accent-1);
  font-size: 1.5rem;
  min-width: 30px;
}

.benefit-text h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Work Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: var(--dark-bg);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.process-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  position: relative;
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.author-info h4 {
  font-size: 1.1rem;
}

.author-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(rgba(31, 34, 53, 0.8), rgba(31, 34, 53, 0.9)),
    url("./img/cta-bg.jpg");
  background-size: cover;
  background-position: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.cta .btn {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* Contact Form Section */
.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: var(--text-light);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 6px;
}

.form-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-text a {
  color: var(--accent-1);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
}

.faq-question {
  display: block;
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 40px;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  transition: var(--transition);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-item input[type="checkbox"]:checked ~ .faq-content {
  max-height: 500px;
  padding-bottom: 15px;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question::after {
  content: "−";
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info h4,
.footer-links h4,
.footer-contact h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--accent-2);
}

.footer-info p {
  margin-bottom: 15px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--accent-1);
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy Pages and Thank You Page */
.policy-container {
  max-width: 800px;
  margin: 80px auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-title {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.policy-content h2 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: var(--accent-1);
}

.policy-content p {
  margin-bottom: 15px;
}

.policy-content ul {
  margin-bottom: 15px;
  padding-left: 20px;
  list-style-type: disc;
}

.policy-content ul li {
  margin-bottom: 8px;
}

.back-to-home {
  text-align: center;
  margin-top: 30px;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  max-width: 400px;
  width: 90%;
  z-index: 9999;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: none;
}

.cookie-popup p {
  margin-bottom: 15px;
}

.cookie-btn {
  width: 100%;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .about-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background-color: var(--dark-bg);
    flex-direction: column;
    padding: 40px 20px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item a {
    display: block;
    padding: 15px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .contact-form-container {
    padding: 20px;
  }

  .policy-container {
    padding: 20px;
  }
}
