/* Main Styles for Domain Financial Audit Website */

:root {
  --primary: #05386B; /* Dark blue */
  --accent: #FF715B;  /* Salmon */
  --background: #F8F8F8; /* Light grey */
  --secondary: #379683; /* Mint green */
  --text: #333333;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary);
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
  position: relative;
  margin-bottom: 40px;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background: var(--accent);
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 20px;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow);
  text-align: center;
}
/* Buttons */
.elem {
  display: inline-block;
  padding: 12px 6px;

  cursor: pointer;

  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px var(--shadow);
}

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
  animation: fadeInUp 1s ease-out 0.3s;
  animation-fill-mode: both;
}

.hero-buttons {
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
}

/* About Section */
.about-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.about-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px var(--shadow);
  flex: 1 1 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
}

.about-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 15px;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow);
}

.benefit-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

/* Services Section */
.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-column {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px var(--shadow);
  flex: 1 1 300px;
  transition: all 0.3s ease;
}

.service-column:hover {
  transform: translateY(-5px);
  border-top: 3px solid var(--accent);
}

.service-column h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.service-feature {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.service-icon {
  color: var(--accent);
  margin-right: 10px;
}

/* Form Section */
.form-section {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 25px var(--shadow);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
}

form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
}

input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(55, 150, 131, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(55, 150, 131, 0.3);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background-color: white;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  background-color: #f9f9f9;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer-content {
  padding: 20px;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 1000px;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 20px;
}

.blog-date {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Contact Section */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-info {
  flex: 1 1 300px;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info-item {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  color: var(--accent);
  margin-right: 15px;
  font-size: 1.2rem;
}

.contact-map {
  flex: 1 1 400px;
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-text {
  flex: 1 1 300px;
  margin-right: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-accept {
  background: var(--primary);
  color: white;
  border: none;
}

.cookie-more {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Legal Pages Style */
.legal-page {
  max-width: 900px;
  margin: 120px auto 50px;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
}

.legal-page h1 {
  text-align: center;
  margin-bottom: 30px;
}

.legal-content {
  font-size: 1.1rem;
}

.legal-content h2 {
  margin-top: 40px;
}

.legal-content p, .legal-content ul {
  margin-bottom: 20px;
}

.legal-content ul {
  padding-left: 20px;
}

/* Thank You Page */
.thank-you-container {
    text-align: center;
    padding: 100px 20px;
}

.thank-you-box {
    background: white;
    border: 2px solid var(--secondary);
    border-radius: 10px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 5px 15px var(--shadow);
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.thank-you-message {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .container {
    max-width: 100%;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
    max-height: 400px;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .form-section {
    padding: 25px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 90px 0 50px;
  }
  
  .cookie-consent {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .legal-page {
    padding: 30px 20px;
  }
}