/* 
   Main stylesheet for domain - Financial Audit Services
   Author: domain team
   Version: 1.0
*/

/* === RESET & 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: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #ffb400;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #00c9a7;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: #ffb400;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

section {
  padding: 80px 0;
}

p {
  margin-bottom: 1rem;
}

button,
.btn-primary {
  display: inline-block;
  padding: 10px 25px;
  background-color: #ffb400;
  color: #0f2027;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

button:hover,
.btn-primary:hover {
  background-color: #00c9a7;
  transform: translateY(-2px);
}

ul {
  list-style: none;
}

/* === HEADER & NAVIGATION === */
header {
  position: sticky;
  top: 0;
  background-color: rgba(15, 32, 39, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.main-nav ul {
  display: flex;
  gap: 20px;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* === HERO SECTION === */
.hero {
  min-height: 90vh;
  background: url("./img/Ae6qf.jpg") no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(15, 32, 39, 0.7);
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #d3d3d3;
  animation: fadeInUp 1s ease;
}

/* === ABOUT SECTION === */
.about {
  background-color: rgba(32, 58, 67, 0.5);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image img {
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* === BENEFITS SECTION === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background-color: rgba(32, 58, 67, 0.7);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  font-size: 3rem;
  color: #ffb400;
  margin-bottom: 20px;
}

/* === SERVICES SECTION === */
.services {
  background-color: rgba(32, 58, 67, 0.5);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(44, 83, 100, 0.7);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.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: #ffb400;
}

/* === HOW WE WORK SECTION === */
.how-we-work {
  text-align: center;
}

.steps {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: #ffb400;
  z-index: -1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: #ffb400;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #0f2027;
}

.step p {
  text-align: center;
  font-size: 0.9rem;
}

/* === TESTIMONIALS SECTION === */
.testimonials {
  background-color: rgba(32, 58, 67, 0.5);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial {
  background-color: rgba(44, 83, 100, 0.7);
  padding: 25px;
  border-radius: 10px;
  position: relative;
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: bold;
  color: #ffb400;
}

/* === FAQ SECTION === */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: rgba(44, 83, 100, 0.7);
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-question {
  display: block;
  padding: 15px;
  position: relative;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(44, 83, 100, 0.9);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 500px;
  padding: 0 15px 15px;
}

/* === CONTACT FORM SECTION === */
.contact {
  background-color: rgba(32, 58, 67, 0.5);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(44, 83, 100, 0.7);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 180, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background-color: rgba(255, 180, 0, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.form-container::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 150px;
  height: 150px;
  background-color: rgba(0, 201, 167, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #ffb400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.form-group input:focus + label,
.form-group select:focus + label {
  transform: translateX(5px);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background-color: rgba(15, 32, 39, 0.7);
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #ffb400;
  box-shadow: 0 0 8px rgba(255, 180, 0, 0.4);
  outline: none;
}

.form-group 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='%23FFB400' 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: 15px;
  padding-right: 40px;
}

.form-group select option {
  background-color: #203a43;
  color: #ffffff;
  padding: 10px;
}

.form-group select option:hover,
.form-group select option:focus,
.form-group select option:checked {
  background-color: #2c5364;
  color: #ffb400;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  margin-top: 3px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 2px solid rgba(255, 180, 0, 0.5);
  border-radius: 4px;
  background-color: rgba(15, 32, 39, 0.7);
  position: relative;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffb400;
  font-size: 14px;
  font-weight: bold;
}

.checkbox-group label {
  cursor: pointer;
  font-size: 15px;
}

.checkbox-group a {
  text-decoration: underline;
  transition: all 0.3s ease;
}

.checkbox-group a:hover {
  color: #00c9a7;
}

.error-message {
  color: #ff6b6b;
  margin-top: 5px;
  font-size: 0.9rem;
  background-color: rgba(255, 107, 107, 0.1);
  padding: 5px 10px;
  border-radius: 4px;
  border-left: 3px solid #ff6b6b;
}

.form-btn {
  text-align: center;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.form-btn button {
  padding: 12px 30px;
  background-color: #ffb400;
  color: #0f2027;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-btn button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

.form-btn button:hover {
  background-color: #00c9a7;
  transform: translateY(-3px);
}

.form-btn button:hover::before {
  left: 100%;
}

/* === FOOTER === */
footer {
  background-color: #0f2027;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

footer h3,
footer h4 {
  color: #ffb400;
  margin-bottom: 20px;
}

footer p,
footer a {
  color: #d3d3d3;
  font-size: 0.9rem;
}

footer ul li {
  margin-bottom: 10px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(211, 211, 211, 0.1);
  font-size: 0.8rem;
  color: #d3d3d3;
}

/* === COOKIE POPUP === */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: #203a43;
  color: #ffffff;
  padding: 20px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin: 0;
  padding-right: 20px;
}

/* === POLICY PAGES === */
.policy-page {
  padding: 80px 0;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(44, 83, 100, 0.7);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
  text-align: center;
  margin-bottom: 30px;
}

.policy-section {
  margin-bottom: 30px;
}

.policy-section h2 {
  text-align: left;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.policy-section h2::after {
  left: 0;
  transform: none;
}

/* === THANK YOU PAGE === */
.thank-you {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
}

.thank-you-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(44, 83, 100, 0.7);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.thank-you-container h1 {
  color: #ffb400;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .about-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  /* Mobile menu */
  .menu-icon {
    display: block;
    z-index: 101;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: #0f2027;
    z-index: 100;
    transition: right 0.3s ease;
    padding-top: 60px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu-toggle:checked ~ .main-nav {
    right: 0;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Other mobile styles */
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cookie-content {
    flex-direction: column;
    gap: 15px;
  }

  .steps {
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 50px 0;
  }

  .testimonials-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
}
