/* DOMAIN - Financial Audit Website Styles */

:root {
  --primary: #00747C;
  --accent: #FF6B4A;
  --neutral: #F9F9F9;
  --text: #333333;
  --decorative: #FFF5A5;
  --white: #FFFFFF;
  --light-gray: #EEEEEE;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 15px;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.btn-primary {
  background-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--accent);
}

.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%);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  z-index: 1000;
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  font-weight: 600;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover:after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 100px;
  background: linear-gradient(135deg, var(--neutral), var(--white));
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  right: -150px;
  top: -150px;
  width: 400px;
  height: 400px;
  background: var(--decorative);
  border-radius: 50%;
  opacity: 0.2;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-text {
  flex: 0 0 50%;
  max-width: 50%;
}

.hero-text h1 {
  margin-bottom: 20px;
  font-size: 3rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-image {
  flex: 0 0 45%;
  max-width: 45%;
}

/* About Section */
.about {
  background-color: var(--white);
}

.about-content {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.about-column {
  flex: 1;
  min-width: 250px;
  background: var(--neutral);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.about-column:hover {
  transform: translateY(-10px);
}

.about-image {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.about-column:hover .about-image img {
  transform: scale(1.05);
}

/* Services Section */
.services {
  background-color: var(--neutral);
  position: relative;
}

.services:before {
  content: '';
  position: absolute;
  left: -150px;
  bottom: -150px;
  width: 400px;
  height: 400px;
  background: var(--decorative);
  border-radius: 50%;
  opacity: 0.1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: var(--accent);
  transition: var(--transition);
}

.service-card:hover:before {
  height: 100%;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

/* Benefits Section */
.benefits {
  background-color: var(--white);
}

.benefits-list {
  list-style: none;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--neutral);
  border-radius: 8px;
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateX(10px);
  box-shadow: var(--box-shadow);
}

.benefit-icon {
  flex: 0 0 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--white);
  font-size: 1.2rem;
}

.benefit-text {
  flex: 1;
}

/* Process Section */
.process {
  background-color: var(--neutral);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  flex-wrap: wrap;
}

.process-step {
  flex: 0 0 calc(25% - 30px);
  position: relative;
  z-index: 1;
  padding: 30px 20px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-10px);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 20px;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--neutral);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text:before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-author {
  font-weight: 700;
}

.testimonial-position {
  font-size: 0.9rem;
  color: #666;
}

/* Contact Form Section */
.contact {
  background-color: var(--neutral);
}

.contact-form-container {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.contact-form-container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 116, 124, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

/* Legal Section */
.legal-preview {
  background-color: var(--white);
  padding: 40px 0;
}

.legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-link {
  padding: 10px 15px;
  background: var(--neutral);
  border-radius: 4px;
  transition: var(--transition);
}

.legal-link:hover {
  background: var(--primary);
  color: var(--white);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-column p, .footer-column a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-column a:hover {
  color: var(--decorative);
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-item {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact-icon {
  margin-right: 10px;
  color: var(--decorative);
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 10px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Policy Pages */
.policy-page {
  padding: 120px 0 60px;
}

.policy-content {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.text-center {
  text-align: center;
}

.policy-content h2 {
  margin-top: 40px;
}

.policy-content h3 {
  margin-top: 30px;
}

.policy-content ul, .policy-content ol {
  margin-bottom: 20px;
  margin-left: 20px;
}

.policy-content li {
  margin-bottom: 10px;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  width: 90%;
  max-width: 400px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  z-index: 9999;
  text-align: center;
  display: none;
}

.cookie-consent p {
  margin-bottom: 15px;
}

.cookie-consent .btn {
  margin: 0 5px;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.slide-up {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-text, .hero-image {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .hero-image {
    margin-top: 40px;
  }
  
  .process-step {
    flex: 0 0 calc(50% - 20px);
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .header-container {
    position: relative;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-item {
    margin: 10px 0;
  }
  
  .section {
    padding: 60px 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .about-column {
    flex: 0 0 100%;
  }
  
  .process-step {
    flex: 0 0 100%;
  }
  
  .contact-form-container {
    padding: 30px 20px;
  }
}
