/* 
   Main CSS file for cylarivontiq Financial Audit Website
   Color Scheme:
   - Background: #0a1e2d
   - Primary text: #ffffff
   - Secondary text: #d1d1d1
   - Accent 1: #f9a826 (gold)
   - Accent 2: #6ef7dd (neon turquoise)
   - Button Gradient: linear-gradient(90deg, #6ef7dd, #f9a826)
*/

/* ====== BASE STYLES ====== */
* {
  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: "Helvetica Neue", Arial, sans-serif;
  background-color: #0a1e2d;
  color: #ffffff;
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: #6ef7dd;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #f9a826;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.8em;
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  list-style: none;
}

section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  width: 80px;
  background: linear-gradient(90deg, #6ef7dd, #f9a826);
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #0a1e2d;
  color: #ffffff;
  border: 2px solid #6ef7dd;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  outline: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(110, 247, 221, 0.3);
  color: #ffffff;
}

.btn-primary {
  background: linear-gradient(90deg, #6ef7dd, #f9a826);
  border: none;
  color: #0a1e2d;
}

.btn-primary:hover {
  box-shadow: 0 5px 15px rgba(249, 168, 38, 0.3);
  color: #0a1e2d;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #f9a826;
  color: #f9a826;
}

.btn-secondary:hover {
  background: #f9a826;
  color: #0a1e2d;
}

/* ====== HEADER ====== */
header {
  background-color: rgba(10, 30, 45, 0.95);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: lowercase;
  letter-spacing: 1px;
  display: block;
  background: linear-gradient(90deg, #6ef7dd, #f9a826);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

nav ul {
  display: flex;
  gap: 30px;
}

nav a {
  color: #ffffff;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6ef7dd, #f9a826);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a:focus::after {
  width: 100%;
}

/* ====== HERO SECTION ====== */
.hero-section {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 30, 45, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #d1d1d1;
}

/* ====== ABOUT SECTION ====== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.about-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid transparent;
  border-image: linear-gradient(90deg, #6ef7dd, #f9a826);
  border-image-slice: 1;
  pointer-events: none;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ====== BENEFITS SECTION ====== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(110, 247, 221, 0.1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #f9a826;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-item h3 {
  color: #f9a826;
}

/* ====== SERVICES SECTION ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(249, 168, 38, 0.1);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  color: #f9a826;
  margin-bottom: 15px;
}

.service-content ul {
  margin: 15px 0;
  padding-left: 20px;
}

.service-content ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.service-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(90deg, #6ef7dd, #f9a826);
}

/* ====== PROCESS SECTION ====== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 0 auto;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.process-step {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(90deg, #6ef7dd, #f9a826);
  color: #0a1e2d;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  margin-bottom: 10px;
}

/* ====== TESTIMONIALS SECTION ====== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  position: relative;
}

.testimonial-content {
  margin-bottom: 20px;
  position: relative;
  padding-top: 30px;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 5rem;
  color: rgba(110, 247, 221, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author h4 {
  color: #f9a826;
  margin-bottom: 5px;
}

.testimonial-author p {
  font-size: 0.9rem;
  color: #d1d1d1;
}

/* ====== FAQ SECTION ====== */
.faq-items {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-toggle {
  display: none;
}

.faq-question {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  font-weight: 600;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: #f9a826;
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-toggle:checked ~ .faq-question .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  background: rgba(255, 255, 255, 0.02);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 20px;
}

/* ====== ORDER FORM SECTION ====== */
.form-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  position: relative;
}

.form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid transparent;
  border-image: linear-gradient(90deg, #6ef7dd, #f9a826);
  border-image-slice: 1;
  pointer-events: none;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  color: #ffffff;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #6ef7dd;
  box-shadow: 0 0 0 2px rgba(110, 247, 221, 0.2);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f9a826' 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;
  padding-right: 40px;
}

.form-group select option {
  background-color: #0a1e2d;
  color: #ffffff;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 4px;
}

.form-group.checkbox label {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.form-submit {
  margin-top: 30px;
  text-align: center;
}

/* ====== FOOTER ====== */
footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 60px 0 20px;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 15px;
}

.footer-description {
  color: #d1d1d1;
  margin-bottom: 20px;
}

.footer-contacts h3,
.footer-links h3 {
  color: #f9a826;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-contacts p {
  margin-bottom: 10px;
  color: #d1d1d1;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #d1d1d1;
  font-size: 0.9rem;
}

/* ====== COOKIE CONSENT ====== */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: rgba(10, 30, 45, 0.95);
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: bottom 0.5s ease;
}

.cookie-consent.active {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-content p {
  margin-bottom: 0;
  flex: 1;
  min-width: 200px;
}

/* ====== POLICY PAGES ====== */
.policy-section {
  padding: 60px 0;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 10px;
  position: relative;
}

.policy-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid transparent;
  border-image: linear-gradient(90deg, #6ef7dd, #f9a826);
  border-image-slice: 1;
  pointer-events: none;
  border-radius: 10px;
}

.policy-content h1 {
  text-align: center;
  margin-bottom: 40px;
}

.policy-text h2 {
  color: #f9a826;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.policy-text ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.policy-text ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.policy-text ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ef7dd;
}

/* ====== THANK YOU PAGE ====== */
.thank-you-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

.thank-you-content {
  text-align: center;
  max-width: 600px;
  margin: 8rem auto 3rem;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  position: relative;
}

.thank-you-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-image: linear-gradient(90deg, #6ef7dd, #f9a826);
  border-image-slice: 1;
  pointer-events: none;
  border-radius: 10px;
}

.thank-you-content h1 {
  margin-bottom: 30px;
}

.thank-you-content p {
  margin-bottom: 20px;
  color: #d1d1d1;
}

.thank-you-content .btn {
  margin-top: 20px;
}

/* ====== RESPONSIVE STYLES ====== */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* General responsive adjustments */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  section {
    padding: 3rem 0;
  }

  /* Header mobile styles */
  .nav-container {
    position: relative;
  }

  .nav-toggle-label {
    display: block;
    cursor: pointer;
    height: 24px;
    width: 30px;
    position: relative;
    z-index: 2;
  }

  .nav-toggle-label span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-toggle-label span:first-child {
    top: 0;
  }

  .nav-toggle-label span:nth-child(2) {
    top: 10px;
  }

  .nav-toggle-label span:last-child {
    top: 20px;
  }

  .nav-toggle:checked + .nav-toggle-label span:first-child {
    transform: rotate(45deg);
    top: 10px;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-label span:last-child {
    transform: rotate(-45deg);
    top: 10px;
  }

  nav {
    position: absolute;
    top: 100%;
    right: -20px;
    background: #0a1e2d;
    width: 250px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: scale(0);
    transform-origin: top right;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  .nav-toggle:checked ~ nav {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  /* Other responsive adjustments */
  .hero-content {
    padding: 0 20px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-content .btn {
    width: 100%;
    text-align: center;
  }

  .policy-content,
  .thank-you-content {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.5rem;
  }

  .benefit-item,
  .service-card,
  .testimonial-item {
    padding: 20px;
  }

  .footer-wrapper {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex-direction: column;
    gap: 15px;
  }
}
