/* styles.css for domain.com - Financial Audit Services */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  background-color: #0C0C1E;
  color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

a {
  color: #F5B301;
  text-decoration: none;
}

a:hover {
  color: #F5B301;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background-color: #F5B301 !important;
  color: #0C0C1E !important;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background-color: #F5B301 !important;
  color: #0C0C1E !important;
  text-decoration: none !important;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #F5B301, #F0325F);
}

.secondary-text {
  color: #CCCCCC;
}

/* Header Styles */
header {
  background-color: rgba(12, 12, 30, 0.9);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
}

.logo span {
  color: #F5B301;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

.mobile-menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  background-color: #0C0C1E;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(12, 12, 30, 0.8), rgba(240, 50, 95, 0.3));
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #CCCCCC;
}

.hero .btn:hover,
.hero .btn:focus,
.hero .btn:active {
  text-decoration: none !important;
  background-color: #F5B301 !important;
  color: #0C0C1E !important;
  transform: none !important;
}

/* About Section */
.about {
  background-color: #1A1A2E;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

/* Services Section */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: #1A1A2E;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
  background-color: #1A1A2E;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  color: #F5B301;
}

.service-card h3 {
  margin-bottom: 15px;
  color: #F5B301;
}

/* Why Us Section */
.why-us {
  background-color: #1A1A2E;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefit-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #F0325F;
}

/* Process Section */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #F5B301, #F0325F);
  z-index: -1;
}

.step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
  margin-bottom: 30px;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #F5B301;
  color: #0C0C1E;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 20px;
}

/* Testimonials Section */
.testimonials {
  background-color: #1A1A2E;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: #0C0C1E;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 60px;
  color: rgba(245, 179, 1, 0.2);
}

.client-name {
  font-weight: bold;
  color: #F5B301;
  margin-top: 20px;
  display: block;
}

/* FAQ Section */
.faq-container {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  background-color: #1A1A2E;
  color: #FFFFFF;
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
  border-radius: 4px;
  font-weight: bold;
}

.faq-answer {
  background-color: rgba(26, 26, 46, 0.5);
  padding: 15px 20px;
  color: #CCCCCC;
  display: none;
  border-radius: 0 0 4px 4px;
}

details {
  margin-bottom: 15px;
  background-color: #1A1A2E;
  border-radius: 4px;
  overflow: hidden;
}

summary {
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  background-color: #1A1A2E;
  color: #FFFFFF;
  position: relative;
}

summary::after {
  content: '+';
  position: absolute;
  right: 20px;
}

details[open] summary::after {
  content: '-';
}

details[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

details > div {
  padding: 15px 20px;
  color: #CCCCCC;
}

/* Contact Form Section */
.form-section {
  padding: 80px 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #0C0C1E;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #F5B301;
  border-radius: 4px;
  font-size: 16px;
  background-color: #FFFFFF;
  color: #0C0C1E;
}

.form-control:focus {
  outline: none;
  border-color: #F5B301;
}

.checkbox-group {
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  color: #000000;
  margin-bottom: 10px;
}

.checkbox-label a {
  color: #000000;
  text-decoration: underline;
}

.checkbox-label input {
  margin-right: 10px;
  margin-top: 5px;
}

/* Contact Section */
.contact {
  background-color: #1A1A2E;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.contact-icon {
  font-size: 30px;
  margin-bottom: 15px;
  color: #F5B301;
}

/* Footer */
footer {
  background-color: #0C0C1E;
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3 {
  margin-bottom: 20px;
  color: #F5B301;
  font-size: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #CCCCCC;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1A1A2E;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.cookie-text {
  margin-right: 20px;
}

@media screen and (max-width: 768px) {
  .cookie-popup {
    flex-direction: column;
    padding: 15px;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .cookie-popup .btn {
    width: 100%;
    text-align: center;
  }
}

.cookie-popup.hidden {
  display: none;
}

/* Policy Pages */
.policy-page {
  padding: 120px 0 60px;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #1A1A2E;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-container h1 {
  margin-bottom: 30px;
}

.policy-container h2 {
  margin-top: 30px;
  margin-bottom: 20px;
  color: #F5B301;
}

.policy-container p {
  margin-bottom: 20px;
}

.policy-container ul {
  margin-bottom: 20px;
  margin-left: 20px;
}

.policy-container ul li {
  margin-bottom: 10px;
}

.contact-info-block {
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 15px;
  background-color: rgba(26, 26, 46, 0.5);
  border-radius: 8px;
  border-left: 3px solid #F5B301;
}

/* Extra Pages */
.extra-page {
  padding: 120px 0 60px;
}

.extra-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #1A1A2E;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.extra-container h1 {
  margin-bottom: 30px;
  text-align: center;
}

.extra-container .btn:hover,
.extra-container .btn:focus,
.extra-container .btn:active {
  text-decoration: none !important;
  background-color: #F5B301 !important;
  color: #0C0C1E !important;
  transform: none !important;
}

/* Mobile Menu Styles */
@media screen and (max-width: 768px) {
  nav ul {
    display: none;
  }

  .header-content {
    justify-content: center;
  }
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .section-title {
    font-size: 28px;
  }

  .about-content {
    flex-direction: column;
    gap: 20px;
  }

  .step {
    min-width: 150px;
  }
}

/* Card Style for Images */
.image-card {
  background-color: #1A1A2E;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

.image-card:hover {
  background-color: #1A1A2E;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-img-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-bottom: 10px;
  color: #F5B301;
}

/* Responsiveness for smaller screens */
@media screen and (max-width: 480px) {
  .section {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 30px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .form-container {
    padding: 20px;
  }
}
