/* Main Styles for domain - Accounting Services Website */

/* Base Styles */
:root {
  --primary-bg: #1a1a40;
  --accent-1: #ff6f61;
  --accent-2: #f9dc5c;
  --accent-3: #6fffe9;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  color: var(--primary-bg);
  font-weight: bold;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, var(--accent-1) 0%, var(--accent-2) 100%);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 20px;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-1) 0%, var(--accent-2) 100%);
}

p {
  margin-bottom: 20px;
}

section {
  padding: 80px 0;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 26, 64, 0.95);
  z-index: 1000;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-primary);
  text-decoration: none;
}

.logo span {
  color: var(--accent-1);
}

/* Navigation */
.hamburger-menu {
  display: none;
}

.menu-toggle {
  display: none;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-list li {
  margin-left: 30px;
}

.nav-list a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: var(--accent-3);
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url("./img/g8uzT.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* About Section */
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

/* 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: 30px;
  transition: transform 0.3s ease;
  overflow: hidden;
  position: relative;
}

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card:hover {
  transform: translateY(-10px);
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.benefit-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
}

.benefit-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Form Section */
.form-section {
  background-color: rgba(255, 255, 255, 0.02);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

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='white' 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 10px center;
  background-size: 15px;
}

select option {
  background-color: var(--primary-bg);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.form-btn {
  width: 100%;
  padding: 15px;
}

/* Testimonials Section */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  margin: 20px;
  text-align: center;
}

.testimonial-author {
  font-weight: bold;
  color: var(--accent-3);
  margin-top: 20px;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent-1);
}

.faq-answer {
  background-color: rgba(255, 255, 255, 0.02);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle {
  display: none;
}

.faq-toggle:checked + .faq-question::after {
  content: "-";
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 20px;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}
a {
  color: #ff7300;
}

.footer-links a:hover {
  color: var(--accent-3);
}

.contact-info {
  list-style: none;
}

.contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--primary-bg);
  border: 1px solid var(--accent-3);
  padding: 20px;
  border-radius: 10px;
  z-index: 9999;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-popup.show {
  display: block;
}

.cookie-popup p {
  margin-bottom: 15px;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  margin: 8rem auto 3rem;
  max-width: 700px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 120px auto 40px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid var(--accent-3);
}

.policy-container h1 {
  margin-bottom: 30px;
  text-align: center;
}

.policy-container h2 {
  font-size: 1.8rem;
  margin-top: 30px;
}

.policy-container p,
.policy-container ul,
.policy-container ol {
  margin-bottom: 20px;
}

.policy-container ul,
.policy-container ol {
  padding-left: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  /* Mobile Navigation */
  .hamburger-menu {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
  }

  .menu-toggle {
    display: none;
  }

  .hamburger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }

  .hamburger-menu span:nth-child(1) {
    top: 0px;
  }

  .hamburger-menu span:nth-child(2) {
    top: 8px;
  }

  .hamburger-menu span:nth-child(3) {
    top: 16px;
  }

  .menu-toggle:checked + .hamburger-menu span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
  }

  .menu-toggle:checked + .hamburger-menu span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }

  .menu-toggle:checked + .hamburger-menu span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
  }

  .nav-list {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--primary-bg);
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    transition: left 0.3s ease;
  }

  .menu-toggle:checked ~ .nav-list {
    left: 0;
  }

  .nav-list li {
    margin: 15px 0;
  }
}

@media (max-width: 480px) {
  section {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}
