/* Main Stylesheet for domain - Accounting Services */

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-size: 16px;
  font-family: "Arial", sans-serif;
}

body {
  background-color: #1e2b4a;
  color: #ffffff;
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: #ffb700;
  transition: all 0.3s ease;
}

a:hover {
  color: #f37335;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(45deg, #ffb700, #f37335);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

/* Header Styles */
header {
  background-color: rgba(30, 43, 74, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
}

.logo span {
  color: #ffb700;
}

/* Navigation Styles */
.burger-menu {
  display: none;
}

.burger-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
}

.burger-label span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #ffb700;
  border-radius: 3px;
  transition: all 0.3s ease;
}

nav ul {
  display: flex;
  list-style-type: none;
  gap: 1.5rem;
}

nav ul li a {
  color: #cbd5e1;
  font-weight: 500;
  padding: 0.5rem;
  position: relative;
}

nav ul li a:hover {
  color: #ffb700;
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #ffb700;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  background-image: url("./img/wfvU3.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 43, 74, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
}

/* Benefits Section */
.benefits {
  padding: 5rem 0;
  background-color: #1e2b4a;
}

.benefits-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.benefits-heading h2 {
  font-size: 2.5rem;
  color: #ffb700;
  margin-bottom: 1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
}

.benefit-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  object-fit: cover;
}

.benefit-card h3 {
  font-size: 1.5rem;
  color: #ffb700;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: #cbd5e1;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: #18223a;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 10px;
}

.about-content h2 {
  font-size: 2.5rem;
  color: #ffb700;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: #1e2b4a;
}

.services-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.services-heading h2 {
  font-size: 2.5rem;
  color: #ffb700;
  margin-bottom: 1rem;
}

.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;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card-image {
  height: 200px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-content {
  padding: 1.5rem;
}

.service-card-content h3 {
  font-size: 1.5rem;
  color: #ffb700;
  margin-bottom: 1rem;
}

.service-card-content p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: #18223a;
}

.testimonials-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-heading h2 {
  font-size: 2.5rem;
  color: #ffb700;
  margin-bottom: 1rem;
}

.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);
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
  font-style: italic;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  color: rgba(255, 183, 0, 0.2);
  position: absolute;
  top: -20px;
  left: -10px;
  z-index: -1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.author-info h4 {
  color: #ffb700;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.author-info p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

/* Form Section */
.contact {
  padding: 5rem 0;
  background-color: #1e2b4a;
}

.contact-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-heading h2 {
  font-size: 2.5rem;
  color: #ffb700;
  margin-bottom: 1rem;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(
    145deg,
    rgba(30, 43, 74, 0.9),
    rgba(24, 34, 58, 0.9)
  );
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 183, 0, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  color: #ffffff;
  font-size: 1rem;
}

.form-group 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='%23ffb700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.form-group select option {
  background-color: #1e2b4a;
  color: #ffffff;
}

.checkbox-group {
  margin-bottom: 1.5rem;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.checkbox-container input {
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-container label {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.checkbox-container label a {
  color: #ffb700;
  text-decoration: underline;
}

.form-submit {
  text-align: center;
}

/* Footer Styles */
footer {
  background-color: #18223a;
  padding: 3rem 0 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  color: #ffb700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 2px;
  background-color: #ffb700;
}

.footer-section p {
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style-type: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: #ffb700;
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-contact p i {
  margin-right: 10px;
  color: #ffb700;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #1e2b4a;
  border: 1px solid #ffb700;
  padding: 20px;
  border-radius: 10px;
  z-index: 9999;
  max-width: 400px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: none;
}

.cookie-popup.show {
  display: block;
  animation: slideIn 0.5s forwards;
}

.cookie-content {
  margin-bottom: 15px;
}

.cookie-content h3 {
  font-size: 1.3rem;
  color: #ffb700;
  margin-bottom: 10px;
}

.cookie-content p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cookie-actions button {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
}

.accept-cookies {
  background: linear-gradient(45deg, #ffb700, #f37335);
  color: #ffffff;
}

.decline-cookies {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid #cbd5e1;
}

/* Legal Pages Styles */
.legal-page {
  padding: 8rem 0 5rem;
}

.legal-container {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  max-width: 900px;
}

.legal-title {
  font-size: 2.5rem;
  color: #ffb700;
  margin-bottom: 2rem;
  text-align: center;
}

.legal-content h2 {
  font-size: 1.8rem;
  color: #ffb700;
  margin: 2rem 0 1rem;
}

.legal-content h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin: 1.5rem 0 1rem;
}

.legal-content p {
  color: #cbd5e1;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  color: #cbd5e1;
  margin-bottom: 1rem;
  margin-left: 2rem;
}

.legal-content ul li,
.legal-content ol li {
  margin-bottom: 0.5rem;
}

/* Thank You Page Styles */
.thank-you-page {
  padding: 5rem 0;
  text-align: center;
}

.thank-you-container {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #ffb700;
  padding: 3rem;
  border-radius: 10px;
  max-width: 700px;
  margin: 8rem auto 5rem;
}

.thank-you-container h1 {
  font-size: 2.5rem;
  color: #ffb700;
  margin-bottom: 1.5rem;
}

.thank-you-container p {
  color: #cbd5e1;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: #18223a;
}

.faq-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-heading h2 {
  font-size: 2.5rem;
  color: #ffb700;
  margin-bottom: 1rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  padding: 0;
}

.faq-question label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  color: #ffffff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.faq-question label::after {
  content: "+";
  font-size: 1.5rem;
  color: #ffb700;
  transition: all 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 1.5rem;
  color: #cbd5e1;
}

.faq-toggle {
  display: none;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-toggle:checked + label::after {
  transform: rotate(45deg);
}

.faq-toggle:checked + label {
  color: #ffb700;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .burger-label {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #1e2b4a;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }

  .burger-menu:checked ~ .nav-menu {
    max-height: 300px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav ul {
    flex-direction: column;
    padding: 1rem;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    display: block;
    padding: 1rem;
  }

  .burger-menu:checked ~ .burger-label span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger-menu:checked ~ .burger-label span:nth-child(2) {
    opacity: 0;
  }

  .burger-menu:checked ~ .burger-label span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    height: 500px;
  }

  .form-container {
    padding: 1.5rem;
  }

  .legal-container {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .services-grid,
  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .cookie-popup {
    left: 10px;
    right: 10px;
    max-width: none;
    width: auto;
  }

  .cookie-actions {
    flex-direction: column;
  }
}
