/* 
 * domain.com - Financial Audit Company
 * Custom CSS Stylesheet
 */

:root {
  --electric-tangerine: #FF5E3A;
  --warm-slate: #4A4E69;
  --vanilla-ice: #F3E0EC;
  --celestial-aqua: #79E3D8;
  --pale-charcoal: #252525;
  --transition-speed: 0.3s;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Adjust anchor positions */
}

body {
  font-family: 'Poppins', 'Helvetica Neue', sans-serif;
  background-color: var(--vanilla-ice);
  color: var(--warm-slate);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--electric-tangerine);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1.5rem;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 5rem 0;
  position: relative;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--electric-tangerine);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(74, 78, 105, 0.2);
}

.btn:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--celestial-aqua);
  z-index: -1;
  transition: width var(--transition-speed) ease;
}

.btn:hover:after {
  width: 100%;
}

/* Header Styles */
header {
  background-color: var(--pale-charcoal);
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-speed) ease;
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--electric-tangerine);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  position: relative;
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--celestial-aqua);
  transition: width var(--transition-speed) ease;
}

.nav-links a:hover:after {
  width: 100%;
}

.contact-info {
  display: flex;
  align-items: center;
}

.contact-info a {
  margin-left: 1rem;
  display: flex;
  align-items: center;
}

.contact-info a:hover {
  color: var(--celestial-aqua);
}

/* Mobile Nav */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  position: relative;
  color: white;
  margin-top: 0;
  padding-top: 80px;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.5s;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.7s;
}

.hero .btn {
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.9s;
}

/* About Section */
.about {
  position: relative;
  overflow: hidden;
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--electric-tangerine);
}

.animated-divider {
  height: 3px;
  width: 0;
  background: var(--electric-tangerine);
  margin: 2rem auto;
  animation: growWidth 2s ease forwards;
}

/* Services Section */
.services {
  background-color: rgba(74, 78, 105, 0.05);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed) ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--celestial-aqua);
  opacity: 0.1;
  z-index: -1;
  transition: height var(--transition-speed) ease;
}

.service-card:hover:before {
  height: 100%;
}

.service-image {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 8px;
  height: 200px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

/* Benefits Section */
.benefits {
  position: relative;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.benefit-item:nth-child(2) {
  animation-delay: 0.2s;
}

.benefit-item:nth-child(3) {
  animation-delay: 0.4s;
}

.benefit-item:nth-child(4) {
  animation-delay: 0.6s;
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--electric-tangerine);
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform var(--transition-speed) ease;
}

.benefit-item:hover .benefit-icon {
  transform: translateY(-10px) rotate(10deg);
}

/* Testimonials Section */
.testimonials {
  background-color: rgba(74, 78, 105, 0.05);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial-card {
  position: relative;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card:nth-child(odd) {
  margin-top: 2rem;
}

.quote-icon {
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 3rem;
  color: var(--electric-tangerine);
  opacity: 0.2;
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.client-name {
  font-weight: 600;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background-color: white;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease, padding var(--transition-speed) ease;
}

.faq-answer.active {
  padding: 1rem 1.5rem;
  max-height: 500px;
}

/* Form Section */
.form-section {
  position: relative;
  overflow: hidden;
}

.form-container {
  background-color: white;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.form-grid {
  display: flex;
  flex-direction: column;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  transition: all var(--transition-speed) ease;
  pointer-events: none;
}

.form-group.active label {
  top: 0;
  font-size: 0.8rem;
  color: var(--electric-tangerine);
  background: white;
  padding: 0 5px;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(74, 78, 105, 0.2);
  border-radius: 5px;
  transition: all var(--transition-speed) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--electric-tangerine);
}

.form-control:focus + label,
.form-control:not(:placeholder-shown) + label {
  top: 0;
  font-size: 0.8rem;
  color: var(--electric-tangerine);
  background: white;
  padding: 0 5px;
}

/* Single column form - no need for full-width class */

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
  flex-shrink: 0;
}

.checkbox-group label {
  line-height: 1.4;
}

.checkbox-policy {
  margin-bottom: 15px;
  display: block;
}

.checkbox-policy label {
  display: inline-block;
  max-width: 90%;
}

/* Footer */
footer {
  background-color: var(--pale-charcoal);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--electric-tangerine);
  margin-bottom: 1rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a:hover {
  color: var(--celestial-aqua);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--pale-charcoal);
  color: white;
  padding: 1rem;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(100%);
  transition: transform var(--transition-speed) ease;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-popup p {
  margin: 0;
  padding-right: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes growWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.8rem 0;
  }
  
  .header-container {
    justify-content: center;
  }
  
  .nav-desktop {
    display: none; /* Hide navigation in mobile view */
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .services-grid,
  .benefits-grid,
  .testimonial-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card:nth-child(odd) {
    margin-top: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .form-container {
    padding: 2rem 1.5rem;
  }
}