/* 
 * Main CSS Stylesheet for domain.com
 * Author: domain
 * Description: Modern, responsive design for financial audit services
 */

/* =================== 
   Base Styles
   =================== */
:root {
  --primary: #0ED2F7;
  --secondary: #F97D61;
  --accent: #FFD84C;
  --background: #FAFAFA;
  --text: #2B2B2B;
  --light-gray: #f0f0f0;
  --medium-gray: #dddddd;
  --dark-gray: #777777;
  --white: #ffffff;
  --black: #000000;
  --gradient: linear-gradient(135deg, #0ED2F7 0%, #F97D61 100%);
  --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 60%;
  height: 4px;
  background: var(--gradient);
  left: 20%;
  bottom: -12px;
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--dark-gray);
}

/* Section Dividers */
.section-divider {
  height: 100px;
  position: relative;
  overflow: hidden;
}

.diagonal-divider {
  position: absolute;
  width: 100%;
  height: 100px;
  background: var(--white);
  transform: skewY(-3deg);
  transform-origin: top right;
}

.curve-divider {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
}

.curve-divider svg {
  width: 100%;
  height: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: darken(var(--primary), 10%);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: darken(var(--secondary), 10%);
  transform: translateY(-2px);
}

.btn-gradient {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--box-shadow);
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #F97D61 0%, #0ED2F7 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(0,0,0,0.15);
}

/* =================== 
   Header Styles
   =================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  transition: all 0.3s ease;
}

.logo:hover h1 {
  transform: scale(1.05);
}

.main-nav ul {
  display: flex;
}

.main-nav ul li {
  margin-left: 1.5rem;
}

.main-nav ul li a {
  color: var(--text);
  font-weight: 500;
  position: relative;
}

.main-nav ul li a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.main-nav ul li a:hover:after,
.main-nav ul li a.active:after {
  width: 100%;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
  display: block;
}

/* =================== 
   Hero Section
   =================== */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: url('./img/9MtZW9.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--white);
  text-align: center;
  margin-top: 0;
  padding-top: 80px;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--white);
}

/* =================== 
   About Section
   =================== */
.about {
  background-color: var(--white);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-image {
  flex: 1;
  min-width: 300px;
  box-shadow: var(--box-shadow);
  border-radius: 8px;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-15deg);
  transition: all 0.5s ease;
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0);
}

/* =================== 
   Services Section
   =================== */
.services {
  background-color: var(--light-gray);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.1);
}

.service-card-content {
  padding: 1.5rem;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 1.5rem;
  color: var(--text);
}

/* =================== 
   Benefits Section
   =================== */
.benefits {
  background-color: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background-color: var(--light-gray);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
}

.benefit-item h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

/* =================== 
   Process Section
   =================== */
.process {
  background-color: var(--light-gray);
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--gradient);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 30px;
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 30px;
}

.timeline-content {
  width: calc(50% - 30px);
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.timeline-content:before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
}

.timeline-item:nth-child(odd) .timeline-content:before {
  right: -10px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid var(--white);
}

.timeline-item:nth-child(even) .timeline-content:before {
  left: -10px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--white);
}

.timeline-point {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-point {
  left: calc(50% - 30px);
}

.timeline-item:nth-child(even) .timeline-point {
  left: calc(50% + 30px);
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* =================== 
   Testimonials Section
   =================== */
.testimonials {
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content:before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.testimonial-author-info h4 {
  margin: 0;
  color: var(--primary);
}

.testimonial-author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* =================== 
   Order Form Section
   =================== */
.order-form-section {
  background-color: var(--light-gray);
}

.order-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.form-row {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--medium-gray);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
}

.form-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='%232B2B2B' 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 1rem center;
  background-size: 1em;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.form-check-label {
  font-size: 0.9rem;
}

.form-check-label a {
  text-decoration: underline;
}

/* Custom styled checkbox */
.custom-checkbox {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--light-gray);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.custom-checkbox:hover input ~ .checkmark {
  background-color: var(--medium-gray);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* =================== 
   FAQ Section
   =================== */
.faq {
  background-color: var(--white);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.accordion-header {
  position: relative;
}

.accordion-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem;
  background-color: var(--white);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: all 0.3s ease;
}

.accordion-content {
  background-color: var(--white);
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-body {
  padding: 1.25rem;
  border-top: 1px solid var(--medium-gray);
  color: var(--dark-gray);
  line-height: 1.6;
}

.accordion-item.active .accordion-button {
  background-color: var(--primary);
  color: var(--white);
}

.accordion-item.active .accordion-icon {
  color: var(--white);
}

@media (max-width: 768px) {
  .accordion-button {
    padding: 1rem;
  }
  
  .accordion-body {
    padding: 1rem;
  }
}

/* =================== 
   Footer Styles
   =================== */
.main-footer {
  background-color: var(--text);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary);
}

.contact-info li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.contact-info li i {
  margin-right: 0.5rem;
  color: var(--primary);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links li a {
  color: var(--medium-gray);
}

.footer-links li a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: var(--medium-gray);
}

/* =================== 
   Cookie Consent
   =================== */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(43, 43, 43, 0.95);
  color: var(--white);
  z-index: 9999;
  padding: 1rem 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cookie-content p {
  margin-right: 2rem;
}

/* =================== 
   Policy Pages
   =================== */
.policy-page {
  padding: 7rem 0 3rem;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.policy-border {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  pointer-events: none;
  border: 2px solid;
  border-image: linear-gradient(135deg, var(--primary), var(--secondary)) 1;
  border-radius: 4px;
}

.policy-container h1 {
  color: var(--primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--medium-gray);
}

.policy-container h2 {
  color: var(--secondary);
  margin: 2rem 0 1rem;
}

.policy-container p,
.policy-container ul {
  margin-bottom: 1rem;
}

.policy-container ul {
  padding-left: 2rem;
  list-style-type: disc;
}

/* =================== 
   Media Queries
   =================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 70px;
  }
  
  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: 100%;
  }
  
  .process-timeline:before {
    left: 30px;
  }
  
  .timeline-point,
  .timeline-item:nth-child(odd) .timeline-point,
  .timeline-item:nth-child(even) .timeline-point {
    left: 30px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content:before,
  .timeline-item:nth-child(even) .timeline-content:before {
    display: none; /* Hide arrows in mobile version */
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    padding: 80px 0;
    transition: all 0.4s ease;
    z-index: 1000;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  .main-nav ul li {
    margin: 1rem 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .benefit-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .form-row {
    margin-bottom: 1rem;
  }
  
  .policy-container {
    padding: 1.5rem;
  }
}

/* CSS Icons */
.icon-phone:before,
.icon-map:before,
.icon-mail:before {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
}

.icon-phone:before {
  content: '☎';
}

.icon-map:before {
  content: '📍';
}

.icon-mail:before {
  content: '✉';
}

/* CSS-only animations */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes slideIn {
  0% { transform: translateX(-50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-slide-in {
  animation: slideIn 0.5s ease forwards;
}

/* CSS Parallax Effect */
.parallax {
  position: relative;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateY(var(--parallax-offset, 0));
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
