/* 
   Domain - Financial Audit Services
   Main Stylesheet
   Color Palette:
   - Main background: #1E2D3D (deep graphite)
   - Accents: #FFD600 (bright gold)
   - Buttons and links: #009688 (turquoise-green)
   - Text: #FFFFFF and #B0BEC5 for secondary
*/

/* ===== GLOBAL STYLES ===== */
:root {
  --color-bg-primary: #1E2D3D;
  --color-bg-secondary: #263747;
  --color-accent: #FFD600;
  --color-button: #009688;
  --color-button-hover: #00796B;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #B0BEC5;
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-size: 16px;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: block;
  text-align: center;
  width: 100%;
}

h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 80px;
  height: 3px;
  background-color: var(--color-accent);
  transition: width var(--transition-speed);
}

section:hover h2::after {
  width: 120px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--color-button);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--color-accent);
}

ul {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

section {
  padding: 80px 0;
  position: relative;
}

section:nth-child(even) {
  background-color: var(--color-bg-secondary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ===== HEADER STYLES ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(30, 45, 61, 0.95);
  z-index: 100;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.logo a {
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
}

.logo-text {
  position: relative;
  background: linear-gradient(45deg, var(--color-text-primary) 50%, var(--color-accent) 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.5s ease;
}

.logo-text:hover {
  background-position: left bottom;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin-left: 20px;
}

.main-nav a {
  color: var(--color-text-primary);
  font-weight: 500;
  padding: 8px 12px;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  transition: width var(--transition-speed);
}

.main-nav a:hover::after {
  width: 80%;
}

.nav-button {
  background-color: var(--color-button);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color var(--transition-speed);
}

.nav-button:hover {
  background-color: var(--color-button-hover);
  color: white;
}

.nav-button::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
}

.menu-icon, .menu-icon::before, .menu-icon::after {
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: var(--color-text-primary);
  border-radius: 3px;
  transition: all var(--transition-speed);
}

.menu-icon {
  top: 50%;
  transform: translateY(-50%);
}

.menu-icon::before {
  content: '';
  top: -10px;
}

.menu-icon::after {
  content: '';
  bottom: -10px;
}

.menu-icon.open {
  background-color: transparent;
}

.menu-icon.open::before {
  transform: rotate(45deg) translate(5px, 10px);
}

.menu-icon.open::after {
  transform: rotate(-45deg) translate(5px, -10px);
}

/* Add space for fixed header */
main {
  padding-top: 80px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background-image: linear-gradient(rgba(30, 45, 61, 0.8), rgba(30, 45, 61, 0.9)), url('../img/XtUEx1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 100px 0;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--color-text-secondary);
  animation: fadeIn 1.3s ease-out;
}

.cta-button {
  display: inline-block;
  background-color: var(--color-button);
  color: white;
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all var(--transition-speed);
  animation: fadeIn 1.6s ease-out;
}

.cta-button:hover {
  background-color: var(--color-button-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: white;
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-speed);
}

.about-image:hover img {
  transform: scale(1.03);
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  background-color: rgba(38, 55, 71, 0.8);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background-color: var(--color-accent);
  transition: height 0.5s ease;
}

.service-card:hover::before {
  height: 100%;
}

.service-image {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 6px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-card h3 {
  margin-bottom: 15px;
  position: relative;
}

/* ===== WHY US SECTION ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.advantage-card {
  padding: 30px;
  background-color: rgba(38, 55, 71, 0.8);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all var(--transition-speed);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.advantage-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.3;
  position: absolute;
  top: 15px;
  right: 20px;
  transition: all 0.5s ease;
}

.advantage-card:hover .advantage-number {
  opacity: 0.6;
  transform: scale(1.1);
}

/* ===== PROCESS SECTION ===== */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  margin-top: 50px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 2px;
  background-color: rgba(255, 214, 0, 0.3);
  z-index: 0;
}

.step-card {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  padding: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--color-accent);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-bg-primary);
  transition: all var(--transition-speed);
}

.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 214, 0, 0.5);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: rgba(38, 55, 71, 0.8);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content p {
  font-style: italic;
  color: var(--color-text-secondary);
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.author-info h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* ===== FAQ SECTION ===== */
.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
  position: relative;
}

.faq-toggle {
  display: block;
  padding: 20px;
  background-color: rgba(38, 55, 71, 0.8);
  color: var(--color-text-primary);
  font-weight: 600;
  width: 100%;
  text-align: left;
  transition: all var(--transition-speed);
  position: relative;
}

.faq-toggle:hover {
  background-color: rgba(38, 55, 71, 0.9);
  color: var(--color-text-primary);
}

.faq-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 1.5rem;
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  background-color: rgba(30, 45, 61, 0.7);
  transition: all var(--transition-speed);
  display: none;
}

.faq-item.open .faq-answer {
  padding: 20px;
  max-height: 1000px;
  display: block;
}

/* ===== CONTACT SECTION ===== */
.contact-info {
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-details {
  flex: 1;
  min-width: 300px;
  background-color: rgba(38, 55, 71, 0.8);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container {
  flex: 2;
  min-width: 300px;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-icon {
  margin-right: 15px;
}

/* ===== FORM SECTION ===== */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(38, 55, 71, 0.8);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input, select {
  width: 100%;
  padding: 12px;
  background-color: rgba(30, 45, 61, 0.8);
  border: 1px solid rgba(176, 190, 197, 0.3);
  border-radius: 4px;
  color: var(--color-text-primary);
  font-size: 1rem;
  transition: all var(--transition-speed);
}

input:focus, select:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 8px rgba(255, 214, 0, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  flex: 1;
  margin-bottom: 0;
  font-weight: normal;
  font-size: 0.9rem;
}

.submit-button {
  background-color: var(--color-button);
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.submit-button:hover {
  background-color: var(--color-button-hover);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER STYLES ===== */
.site-footer {
  background-color: var(--color-bg-secondary);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-description {
  color: var(--color-text-secondary);
  max-width: 300px;
  font-size: 0.95rem;
}

.footer-contact h4, .footer-links h4 {
  color: var(--color-text-primary);
  margin-bottom: 20px;
  position: relative;
}

.footer-contact h4::after, .footer-links h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-contact ul, .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li, .footer-links li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact svg {
  margin-right: 10px;
}

.footer-contact a, .footer-links a {
  color: var(--color-text-secondary);
  transition: color var(--transition-speed);
}

.footer-contact a:hover, .footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(176, 190, 197, 0.2);
  padding-top: 20px;
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(38, 55, 71, 0.95);
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 250px;
}

.cookie-button {
  background-color: var(--color-button);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-speed);
}

.cookie-button:hover {
  background-color: var(--color-button-hover);
}

/* ===== THANKS PAGE ===== */
.thanks-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 60px 0;
}

.thanks-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 30px;
  background-color: rgba(38, 55, 71, 0.8);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.thanks-icon {
  margin-bottom: 30px;
}

.thanks-message {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.contact-info {
  margin-bottom: 20px;
  text-align: center;
}

.thanks-content .contact-details {
  margin-bottom: 40px;
  background: none;
  box-shadow: none;
  text-align: center;
}

.return-button {
  display: inline-block;
  background-color: var(--color-button);
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  transition: all var(--transition-speed);
}

.return-button:hover {
  background-color: var(--color-button-hover);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: white;
}

/* ===== POLICY PAGES ===== */
.policy-section {
  padding: 120px 0 80px;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-date {
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.policy-text h2 {
  margin-top: 40px;
  color: var(--color-accent);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.cookie-table th, .cookie-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(176, 190, 197, 0.3);
}

.cookie-table th {
  background-color: rgba(38, 55, 71, 0.8);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .process-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .menu-toggle {
    display: block;
    z-index: 110;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-bg-secondary);
    padding: 80px 20px 40px;
    transition: right 0.3s ease;
    z-index: 100;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  }
  
  .main-nav.visible {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
  }
  
  .main-nav li {
    margin: 10px 0;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    flex-direction: column;
  }

  .map-container {
    height: 300px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .step-card {
    min-width: 140px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
} 