/* 
* Main Stylesheet
* Financial Audit Services Website
* 
* Color Palette:
* - Primary: #6F00FF (Electric Indigo)
* - Secondary: #40E0D0 (Light Turquoise)
* - Background: #1A1A1A (Deep Charcoal)
* - Accent: #CCFF00 (Bright Lime)
* - Text: #F8F8F2 (Ivory)
*/

/* CSS Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; /* 10px base for easier rem calculations */
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #f8f8f2;
  background-color: #1a1a1a;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", Georgia, serif;
  margin-bottom: 2rem;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 4.8rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 2.8rem;
}

h4 {
  font-size: 2.4rem;
}

p {
  margin-bottom: 1.6rem;
}

a {
  color: #40e0d0;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover,
a:focus {
  color: #ccff00;
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background-color: #6f00ff;
  color: #f8f8f2;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover,
.btn:focus {
  background-color: #7d19ff;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #6f00ff;
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: #6f00ff;
}

.btn-accent {
  background-color: #ccff00;
  color: #1a1a1a;
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: #d9ff33;
  color: #1a1a1a;
}

/* Header Styles */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
  z-index: 1001;
}

.logo img {
  height: auto;
}

/* Main Navigation */
.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  color: #f8f8f2;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.nav-list a:hover,
.nav-list a:focus {
  color: #40e0d0;
}

.header-contact {
  display: flex;
  align-items: center;
}

.header-contact .phone {
  color: #ccff00;
  font-weight: 700;
  font-size: 1.8rem;
}

/* Mobile Menu (CSS-only) */
.menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: #f8f8f2;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-icon {
  top: 50%;
  transform: translateY(-50%);
}

.menu-icon::before {
  top: -10px;
}

.menu-icon::after {
  top: 10px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(
      circle at 30% 50%,
      rgba(111, 0, 255, 0.4),
      transparent 70%
    ),
    radial-gradient(circle at 70% 20%, rgba(64, 224, 208, 0.3), transparent 50%);
  z-index: 1;
}

.hero-content {
  display: grid;
  margin: 0 auto;
  justify-items: center;
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  margin-bottom: 2rem;
  color: #f8f8f2;
  font-size: 5.6rem;
}

.hero h1 span {
  color: #40e0d0;
}

.hero p {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #f8f8f2;
}

/* Sections Common Styles */
.section {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  color: #40e0d0;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ccff00;
}

.section-description {
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Services Section */
.services {
  background-color: #1a1a1a;
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(111, 0, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 3rem;
  transition: all 0.3s ease;
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  border-bottom-color: #40e0d0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-icon {
  color: #ccff00;
  font-size: 4rem;
  margin-bottom: 2rem;
}

/* About Section */
.about {
  background-color: rgba(26, 26, 26, 0.7);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: -20px 20px 0 #6f00ff;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.features {
  background-color: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(64, 224, 208, 0.2), transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.feature-item {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background-color: rgba(255, 255, 255, 0.07);
  transform: translateY(-5px);
}

.feature-icon {
  color: #40e0d0;
  font-size: 3.6rem;
  margin-bottom: 1.5rem;
}

/* Projects Section */
.projects {
  background-color: #1a1a1a;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
}

.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
  background-color: rgba(26, 26, 26, 0.7);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 3rem;
  position: relative;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-content::before {
  content: '"';
  font-size: 6rem;
  color: #6f00ff;
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1.5rem;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.testimonial-position {
  color: #40e0d0;
  font-size: 1.4rem;
}

/* Form Section */
.contact-form-section {
  background-color: #1a1a1a;
  position: relative;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 4rem;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #40e0d0;
}

.form-control {
  width: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f8f8f2;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.form-control::placeholder {
  color: rgba(248, 248, 242, 0.5);
}

.form-control:focus {
  outline: none;
  border-color: #6f00ff;
  box-shadow: 0 0 0 2px rgba(111, 0, 255, 0.2);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2340E0D0' 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 15px center;
  background-size: 16px;
  padding-right: 45px;
}

.form-select option {
  background-color: #1a1a1a;
  color: #f8f8f2;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.checkbox-custom {
  position: relative;
  margin-right: 10px;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-mark {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #40e0d0;
  border-radius: 4px;
  vertical-align: middle;
}

.checkbox-input:checked ~ .checkbox-mark:after {
  content: "";
  position: absolute;
  display: block;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #ccff00;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-mark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-label {
  font-size: 1.4rem;
}

/* FAQ Section */
.faq {
  background-color: rgba(26, 26, 26, 0.7);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.faq-question {
  font-weight: 700;
  color: #40e0d0;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.faq-answer {
  color: #f8f8f2;
}

/* Contact Section */
.contact {
  background-color: #1a1a1a;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-icon {
  color: #ccff00;
  font-size: 2.4rem;
}

.map-container {
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.main-footer {
  background-color: rgba(20, 20, 20, 0.95);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: #40e0d0;
  margin-bottom: 2rem;
  font-size: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #6f00ff;
}

.footer-description {
  color: rgba(248, 248, 242, 0.8);
  margin-top: 2rem;
}

.footer-logo img {
  height: auto;
}

address {
  font-style: normal;
  color: rgba(248, 248, 242, 0.8);
}

address p {
  margin-bottom: 1rem;
}

.legal-links {
  list-style: none;
}

.legal-links li {
  margin-bottom: 1rem;
}

.legal-links a {
  color: rgba(248, 248, 242, 0.8);
  transition: all 0.3s ease;
}

.legal-links a:hover {
  color: #40e0d0;
}

.copyright {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(248, 248, 242, 0.5);
  font-size: 1.4rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  justify-content: center;
}

.cookie-content {
  max-width: 1000px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-content p {
  margin-bottom: 0;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mt-4 {
  margin-top: 4rem;
}
.mb-4 {
  margin-bottom: 4rem;
}
.mt-6 {
  margin-top: 6rem;
}
.mb-6 {
  margin-bottom: 6rem;
}

/* Policy Pages */
.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 12rem 2rem 6rem;
}

.policy-content h1 {
  color: #40e0d0;
  margin-bottom: 3rem;
}

.policy-content h2 {
  color: #ccff00;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.policy-content p {
  margin-bottom: 1.8rem;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: 2rem;
  margin-left: 2rem;
}

.policy-content li {
  margin-bottom: 1rem;
}

/* Thank You Page */
.thank-you {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.thank-you-content {
  margin: 0 auto;
  max-width: 700px;
}

.thank-you-icon {
  font-size: 8rem;
  color: #ccff00;
  margin-bottom: 2rem;
}

.thank-you h1 {
  color: #40e0d0;
}

/* Media Queries for Responsive Design */
@media (max-width: 1200px) {
  html {
    font-size: 58%;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 56%;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 4.8rem;
  }

  .hero p {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 54%;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10rem 2rem 2rem;
    transition: all 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 3rem;
  }

  .nav-list li {
    width: 100%;
    text-align: center;
  }

  .nav-list a {
    font-size: 1.8rem;
    display: block;
    padding: 1rem 0;
  }

  .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1002;
  }

  /* CSS-only mobile menu toggle */
  .menu-toggle:checked ~ .menu-btn .menu-icon {
    background-color: transparent;
  }

  .menu-toggle:checked ~ .menu-btn .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
  }

  .menu-toggle:checked ~ .menu-btn .menu-icon::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .menu-toggle:checked ~ .main-nav {
    right: 0;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  }

  .header-contact {
    display: none;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 52%;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .hero {
    min-height: 500px;
  }

  .section {
    padding: 6rem 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 3rem 2rem;
  }
}
