/* 
* domain - Financial Auditing Company
* Main stylesheet
*/

:root {
  /* Color palette */
  --primary: #6C33FF;     /* Electric Indigo */
  --accent: #FFD23F;      /* Sunray Yellow */
  --contrast: #1E1E1E;    /* Charcoal Black */
  --background: #F9F9FB;  /* Ghost White */
  --highlight: #00FFFF;   /* Aqua Blue */
  --white: #FFFFFF;
  --light-gray: #ECECEC;
  --dark-gray: #666666;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--contrast);
  background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 15px;
}

h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--primary);
  bottom: 0;
  left: 0;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--accent);
  color: var(--contrast);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  display: inline-block;
}

.section-title h2:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Section dividers removed for even backgrounds */
.diagonal-top,
.diagonal-bottom {
  position: relative;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 15px;
}

.logo {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  color: var(--contrast);
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.nav-menu a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--contrast);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('../img/jlIIYO.jpg') no-repeat center center;
  background-size: cover;
  color: var(--white);
  overflow: hidden;
  margin-top: 80px;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.hero-btn {
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

@keyframes heroImageAnimation {
  0% {
    transform: scale(1) rotate(0deg);
  }
  100% {
    transform: scale(1.1) rotate(5deg);
  }
}

/* About Section */
.about {
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content h2:after {
  left: 0;
  transform: none;
}

/* Audit Types Section */
.audit-types {
  background-color: var(--background);
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.audit-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.audit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.audit-card-image {
  height: 200px;
  overflow: hidden;
}

.audit-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.audit-card:hover .audit-card-image img {
  transform: scale(1.05);
}

.audit-card-content {
  padding: 25px;
}

.audit-card-content h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

/* Why Choose Us Section */
.why-us {
  background-color: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  background-color: var(--background);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  background-color: var(--primary);
  border-radius: 50%;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--background);
}

.testimonial-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  flex: 1 1 calc(50% - 15px);
}

.testimonial-text {
  font-style: italic;
  position: relative;
  padding: 0 20px;
}

.testimonial-text:before {
  content: """;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.testimonial-author-info p {
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Request Quote Form Section */
.request-quote {
  background: linear-gradient(135deg, var(--primary) 0%, var(--highlight) 100%);
  color: var(--white);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  transform: rotate(-2deg);
}

.form-inner {
  transform: rotate(2deg);
}

.form-title {
  color: var(--primary);
  text-align: center;
  margin-bottom: 30px;
}

.form-title h2:after {
  background-color: var(--accent);
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--light-gray);
  border-radius: 4px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 51, 255, 0.2);
}

.form-label {
  position: absolute;
  left: 12px;
  top: 12px;
  color: var(--dark-gray);
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  background-color: var(--white);
  padding: 0 5px;
  color: var(--primary);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-checkbox input {
  margin-right: 10px;
  margin-top: 5px;
}

.form-checkbox label {
  font-size: 14px;
  color: var(--contrast);
}

.form-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(to right, var(--primary), var(--highlight));
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team {
  background-color: var(--background);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-member {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.team-member-image {
  height: 250px;
  overflow: hidden;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .team-member-image img {
  transform: scale(1.05);
}

.team-member-info {
  padding: 20px;
  text-align: center;
}

.team-member-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.team-member-position {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-style: italic;
}

/* FAQ Section */
.faq {
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  background-color: var(--background);
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.faq-question:hover {
  background-color: var(--light-gray);
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  transition: all 0.3s ease;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

.faq-active .faq-toggle {
  transform: rotate(45deg);
}

/* Footer */
footer {
  background-color: var(--contrast);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-logo {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-about {
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: var(--accent);
  bottom: 0;
  left: 0;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--light-gray);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact-icon {
  margin-right: 10px;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  margin-top: 30px;
  text-align: center;
  color: var(--light-gray);
  font-size: 0.9rem;
}

/* Animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  display: none;
}

.cookie-popup.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.cookie-text {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  justify-content: flex-end;
}

.cookie-accept-btn {
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept-btn:hover {
  background-color: var(--accent);
}

/* Policy pages */
.policy-container {
  max-width: 800px;
  margin: 150px auto 80px;
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Thank you page */
.thank-you-content {
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
  padding: 30px;
  border: 3px solid var(--primary);
  border-radius: 8px;
}

.policy-container h1 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary);
}

.policy-container h2 {
  color: var(--primary);
  margin-top: 40px;
}

.policy-container ul,
.policy-container ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.policy-container li {
  margin-bottom: 10px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .audit-grid,
  .benefits-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    height: auto;
    padding: 100px 0;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px 0;
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: 0;
    padding: 15px 20px;
    border-bottom: 1px solid var(--light-gray);
  }
  
  .nav-menu li:last-child {
    border-bottom: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    flex: 1 1 100%;
  }
}

@media (max-width: 576px) {
  .audit-grid,
  .benefits-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .form-container {
    padding: 20px;
  }
}
