/* 
  Main Stylesheet for Domain - Financial Auditing Website
  Color Palette:
  - Dark Purple: #3C1361
  - Coral: #FF6B6B
  - Light Gray: #F5F5F5
  - Yellow-Green: #C6FF00
  - Deep Indigo: #1A1A40
*/

/* --- Reset & Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #F5F5F5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: #3C1361;
  transition: all 0.3s ease;
}

a:hover {
  color: #FF6B6B;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #1A1A40;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

h2:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: #FF6B6B;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: #FF6B6B;
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
  background: #3C1361;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(60, 19, 97, 0.4);
}

.btn-secondary {
  background: #C6FF00;
  color: #1A1A40;
  border: none;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(198, 255, 0, 0.4);
}

.btn-secondary:hover {
  background: #1A1A40;
  color: #C6FF00;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26, 26, 64, 0.3);
}

/* --- Header --- */
.header {
  background-color: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  color: #3C1361;
  letter-spacing: -1px;
  text-transform: lowercase;
}

.logo:hover {
  color: #FF6B6B;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-menu a {
  font-weight: 600;
}

.nav-menu a.active {
  color: #FF6B6B;
}

/* Mobile Menu Toggle (PHP-based) */
.mobile-menu-wrapper {
  display: none;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
}

.bar {
  width: 30px;
  height: 3px;
  background-color: #3C1361;
  display: block;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.close-icon {
  font-size: 30px;
  color: #3C1361;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #3C1361 0%, #1A1A40 100%);
  color: white;
  padding: 150px 0 100px;
  margin-top: 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(198, 255, 0, 0.1);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* --- About Section --- */
.about {
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: #FF6B6B;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
  }
}

/* --- Services Section --- */
.services {
  background-color: #F5F5F5;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.service-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25px;
  right: 25px;
  height: 3px;
  background: linear-gradient(to right, #3C1361, #FF6B6B, #C6FF00);
  border-radius: 3px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: #3C1361;
  font-size: 1.8rem;
}

.service-card .btn {
  margin-top: auto;
  align-self: flex-start;
  margin-top: 20px;
}

/* --- Advantages Section --- */
.advantages {
  background-color: white;
}

.advantages-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.advantage-item {
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 5px solid #C6FF00;
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  color: #FF6B6B;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* --- Process Section --- */
.process {
  background-color: #F5F5F5;
}

.process-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: center;
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 80px;
  height: 80px;
  background: #3C1361;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
}

.step-content h3 {
  margin-bottom: 10px;
}

/* --- Testimonials Section --- */
.testimonials {
  background-color: white;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #F5F5F5;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card:after {
  content: '"';
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 5rem;
  color: rgba(60, 19, 97, 0.1);
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: bold;
  color: #3C1361;
}

.testimonial-position {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* --- Form Section --- */
.form-section {
  background-color: #F5F5F5;
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 50%;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1A1A40;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #3C1361;
  box-shadow: 0 0 0 3px rgba(60, 19, 97, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%233C1361' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-checkbox input {
  width: 20px;
  height: 20px;
  accent-color: #3C1361;
}

.form-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

/* Alert messages */
.alert {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 500;
}

.alert-error {
  background-color: rgba(255, 107, 107, 0.1);
  color: #FF6B6B;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

/* --- FAQ Section --- */
.faq {
  background-color: white;
  padding-bottom: 100px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid rgba(60, 19, 97, 0.1);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  background: white;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
  border-color: #FF6B6B;
  box-shadow: 0 10px 40px rgba(255, 107, 107, 0.1);
}

.faq-question {
  background: white;
  color: #1A1A40;
  padding: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.faq-item.active .faq-question {
  color: #FF6B6B;
  border-left-color: #FF6B6B;
}

.faq-icon {
  background: #f5f5f5;
  color: #3C1361;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
  background: #FF6B6B;
  color: white;
}

.faq-answer {
  background: #fcfcfc;
  padding: 0 25px;
  line-height: 1.6;
  display: none;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 25px;
  color: #666;
}

/* --- Contact Section --- */
.contact {
  background-color: #F5F5F5;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-icon {
  background: #FF6B6B;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  height: 400px;
}

/* --- Footer --- */
.footer {
  background: #1A1A40;
  color: white;
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
  display: block;
}

.footer-description {
  opacity: 0.8;
}

.footer h3 {
  color: #C6FF00;
  margin-bottom: 20px;
}

.footer-nav li,
.footer-contact li,
.footer-legal li {
  margin-bottom: 12px;
}

.footer a {
  color: white;
  opacity: 0.8;
}

.footer a:hover {
  opacity: 1;
  color: #FF6B6B;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* --- Cookie Consent Popup --- */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 90%;
  width: 500px;
  z-index: 9999;
}

.cookie-text {
  margin-bottom: 0;
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* --- Policy Pages --- */
.policy-page {
  padding: 150px 0 80px;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.policy-container h2 {
  text-align: left;
  margin-top: 40px;
}

.policy-container h2:first-of-type {
  margin-top: 0;
}

.policy-container h2:after {
  left: 0;
  transform: none;
}

.policy-container ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.policy-container ul li {
  margin-bottom: 10px;
}

/* --- Thank You Page --- */
.thank-you-page {
  text-align: center;
  padding: 150px 0 80px;
}

.thank-you-container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  background: #C6FF00;
  color: #1A1A40;
  font-size: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.thank-you-container h1 {
  margin-bottom: 20px;
}

.thank-you-container p {
  margin-bottom: 30px;
}

/* --- Media Queries --- */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 130px 0 80px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-wrapper {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-btns .btn {
    width: 100%;
  }
  
  .about-container,
  .services-container,
  .advantages-container,
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    grid-template-columns: 60px 1fr;
    gap: 15px;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .form-container {
    padding: 30px 20px;
  }
  
  .form-section::before {
    width: 200px;
    height: 200px;
  }
  
  .contact-map {
    height: 300px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 110px 0 60px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .policy-container {
    padding: 30px 20px;
  }
  
  .cookie-consent {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 20px;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
} 