/* Main Styles for domain - Accounting Services */
:root {
  --bg-color: #0e1a24;
  --accent-color: #ffa600;
  --secondary-color: #264653;
  --button-color: #e76f51;
  --text-color: #ffffff;
  --text-secondary: #d6d6d6;
  --transition: all 0.3s ease-in-out;
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: #ff5e57;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Header Styles */
header {
  background-color: var(--bg-color);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

/* Burger Menu */
#burger-toggle {
  display: none;
}

.burger-menu {
  display: none;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--text-color);
  margin: 6px 0;
  transition: var(--transition);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--accent-color);
}

nav ul li a label {
  cursor: pointer;
  color: inherit;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  height: calc(100vh - 70px);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 26, 36, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeIn 1s ease-in-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
  animation: fadeIn 1.5s ease-in-out;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--button-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: fadeIn 2s ease-in-out;
}

.btn:hover {
  background-color: #c45d43;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Section Styles */
section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--accent-color);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 3px;
  background-color: var(--accent-color);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-img {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.about-img img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px 5px 0 0;
  position: relative;
  top: -30px;
  left: -30px;
  margin-bottom: -15px;
  width: calc(100% + 60px);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--accent-color);
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.benefit-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent-color);
}

/* Testimonials Section */
.testimonials-container {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial {
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  text-align: right;
  color: var(--accent-color);
  font-weight: bold;
}

/* Form Section */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' 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 top 50%;
}

/* Customize option background */
select option {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-question {
  display: none;
}

.faq-label {
  display: block;
  padding: 15px;
  background-color: var(--secondary-color);
  color: var(--text-color);
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.faq-label:hover {
  background-color: #2d5465;
}

.faq-label::after {
  content: "+";
  position: absolute;
  right: 15px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-question:checked + .faq-label::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  background-color: rgba(38, 70, 83, 0.5);
  border-radius: 0 0 5px 5px;
  transition: var(--transition);
}

.faq-question:checked + .faq-label + .faq-answer {
  max-height: 500px;
  padding: 15px;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-info i {
  margin-right: 10px;
  color: var(--accent-color);
}

.map-container {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background-color: #081218;
  padding: 40px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--accent-color);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 40px auto;
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.policy-container h1 {
  color: var(--accent-color);
  margin-bottom: 20px;
}

.policy-container h2 {
  color: var(--accent-color);
  margin: 25px 0 15px;
}

.policy-container p,
.policy-container ul {
  margin-bottom: 15px;
}

.policy-container ul {
  padding-left: 20px;
}

/* Thank You Page */
.thank-you {
  max-width: 600px;
  margin: 0 auto;
  height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.thank-you-box {
  background-color: var(--secondary-color);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.thank-you h1 {
  color: var(--accent-color);
  margin-bottom: 20px;
}

.thank-you p {
  margin-bottom: 25px;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--secondary-color);
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-consent p {
  margin-right: 15px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .burger-menu {
    display: block;
  }

  nav {
    position: absolute;
    top: 70px;
    left: -100%;
    width: 100%;
    background-color: var(--bg-color);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
  }

  #burger-toggle:checked ~ nav {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  /* Make sure mobile navigation text is visible */
  nav ul li a {
    display: block;
    padding: 10px 0;
    width: 100%;
    color: var(--text-color);
  }

  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  /* Error message for form */
  .error-message {
    margin-bottom: 20px;
    padding: 10px;
    background-color: rgba(255, 0, 0, 0.2);
    border-radius: 5px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .container {
    width: 95%;
  }
}
