/* Main Styles for Domain Financial Audit Website */

/* Custom CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

:root {
  /* Color Palette */
  --primary-bg: #02475e;
  --accent-blue: #0090c1;
  --accent-coral: #ff715b;
  --text-light: #fefefc;
  --text-dark: #1c1c1c;
  --overlay: rgba(2, 71, 94, 0.85);
  --gradient: linear-gradient(135deg, #0090c1, #ff715b);
}

body {
  font-family: 'Arial', sans-serif;
  color: var(--text-light);
  background-color: var(--primary-bg);
  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;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  text-align: center;
}

h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gradient);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-coral);
}

section {
  padding: 80px 0;
}

/* Header Styles */
header {
  background-color: rgba(2, 71, 94, 0.95);
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-light);
}

.logo span {
  color: var(--accent-coral);
}

/* Navigation */
.nav-desktop {
  display: flex;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
}

.nav-desktop ul li {
  margin-left: 30px;
}

.nav-desktop ul li a {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
}

.nav-desktop ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--gradient);
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-desktop ul li a:hover:after {
  width: 100%;
}

/* Mobile Navigation - CSS Only */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span:before,
.nav-toggle-label span:after {
  display: block;
  background: var(--text-light);
  height: 2px;
  width: 2rem;
  position: relative;
}

.nav-toggle-label span:before,
.nav-toggle-label span:after {
  content: '';
  position: absolute;
}

.nav-toggle-label span:before {
  bottom: 8px;
}

.nav-toggle-label span:after {
  top: 8px;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gradient);
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
}

/* About Section */
.about {
  background-color: rgba(254, 254, 252, 0.05);
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: rgba(254, 254, 252, 0.05);
  padding: 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-img {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 5px;
}

.service-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card h3 {
  color: var(--accent-blue);
}

.service-card ul {
  margin-top: 15px;
  padding-left: 20px;
}

/* Testimonials */
.testimonials {
  background: rgba(254, 254, 252, 0.05);
}

.testimonial-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(2, 71, 94, 0.5);
  padding: 30px;
  border-radius: 10px;
  position: relative;
}

.testimonial-card:before {
  content: '"';
  font-size: 5rem;
  color: rgba(255, 113, 91, 0.2);
  position: absolute;
  top: 10px;
  left: 10px;
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.client-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

/* Process Section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.process-step {
  position: relative;
  padding: 30px;
  background: rgba(254, 254, 252, 0.05);
  border-radius: 10px;
  padding-left: 70px;
}

.process-step:before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  background: var(--gradient);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(254, 254, 252, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.faq-header {
  position: relative;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 144, 193, 0.1);
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
  width: 100%;
}

.faq-question:hover {
  background: rgba(0, 144, 193, 0.15);
}

.faq-question-text {
  flex: 1;
  color: var(--text-light);
}

.faq-icon {
  color: var(--text-light);
  font-size: 16px;
  transition: transform 0.3s ease;
}

.faq-answer {
  background: rgba(2, 71, 94, 0.4);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer-content {
  padding: 0 20px;
}

.faq-answer p {
  margin: 15px 0;
  color: var(--text-light);
}

/* CSS-only accordion */
.faq-toggle {
  display: none;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-toggle:checked + .faq-question {
  background: rgba(0, 144, 193, 0.2);
  border-bottom: 1px solid rgba(254, 254, 252, 0.1);
}

.faq-toggle:checked + .faq-question .faq-icon {
  transform: rotate(180deg);
}

/* Contact Form */
.contact-form {
  background: rgba(254, 254, 252, 0.05);
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(254, 254, 252, 0.2);
  background: rgba(254, 254, 252, 0.05);
  border-radius: 5px;
  color: var(--text-light);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23fefefc' viewBox='0 0 16 16'%3E%3Cpath d='M8 12L2 6h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  cursor: pointer;
}

select.form-control option {
  background-color: var(--primary-bg);
  color: var(--text-light);
  padding: 10px;
}

select.form-control:focus {
  border-color: var(--accent-coral);
  box-shadow: 0 0 0 2px rgba(255, 113, 91, 0.25);
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-check-input {
  margin-right: 10px;
  margin-top: 5px;
  min-width: 15px;
  min-height: 15px;
}

/* Contact Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-item i {
  margin-right: 15px;
  color: var(--accent-coral);
  font-size: 1.2rem;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  position: relative;
  margin-bottom: 25px;
}

.footer-col h4:after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--gradient);
  position: absolute;
  left: 0;
  bottom: -10px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(254, 254, 252, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(254, 254, 252, 0.7);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-bg);
  border: 1px solid var(--accent-blue);
  border-radius: 10px;
  padding: 20px;
  max-width: 300px;
  z-index: 9999;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-popup.show {
  display: block;
  animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.cookie-popup p {
  margin-bottom: 15px;
}

.cookie-popup button {
  background: var(--gradient);
  border: none;
  color: var(--text-light);
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}

/* Legal Pages */
.legal-page {
  background: rgba(254, 254, 252, 0.05);
  border-radius: 10px;
  padding: 40px;
  margin: 150px auto 60px;
  max-width: 1000px;
}

.legal-page h1 {
  margin-bottom: 30px;
  text-align: center;
}

.legal-content {
  color: var(--text-light);
}

.legal-content h2 {
  margin-top: 40px;
}

.legal-content p {
  margin-bottom: 20px;
}

.legal-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 100px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thank-you .container {
  background: rgba(254, 254, 252, 0.05);
  border-radius: 10px;
  padding: 40px;
  max-width: 800px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--accent-blue);
}

.thank-you h1 {
  margin-bottom: 30px;
  color: var(--accent-coral);
}

.thank-you p {
  margin-bottom: 20px;
}

.thank-you .btn {
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 991px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-bg);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }
  
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-image {
    order: 1;
    margin-bottom: 30px;
  }
  
  .service-card {
    margin-bottom: 20px;
  }
  
  .service-card-img img {
    height: 180px;
  }
  
  .testimonial-card {
    margin-bottom: 20px;
  }
  
  .contact-info-card h3:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .contact-info-card {
    text-align: center;
  }
  
  
  .nav-toggle-label {
    display: block;
  }
  
  .nav-toggle:checked ~ .nav-desktop {
    display: block;
  }
  
  .nav-desktop ul {
    flex-direction: column;
  }
  
  .nav-desktop ul li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(254, 254, 252, 0.1);
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  h2:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  h2 {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .contact-form {
    padding: 20px;
  }
} 

/* Map Section */
.map-section {
  background-color: rgba(254, 254, 252, 0.05);
}

.map-container {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.contact-info-card {
  flex: 1;
  background: rgba(2, 71, 94, 0.5);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--accent-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-info-card h3 {
  margin-bottom: 25px;
  color: var(--accent-coral);
  position: relative;
}

.contact-info-card h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--gradient);
  position: absolute;
  left: 0;
  bottom: -10px;
}

.google-map {
  flex: 2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.google-map iframe {
  display: block;
}

/* Contact Info */
.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item i {
  margin-right: 15px;
  color: var(--accent-coral);
  font-size: 1.2rem;
}

/* Responsive Map */
@media (max-width: 991px) {
  .map-container {
    flex-direction: column;
  }
  
  .google-map iframe {
    height: 350px;
  }
}  