/* Main styles for Financial Audit Website */
:root {
  --color-background: #1C1E26;
  --color-accent: #00F5D4;
  --color-coral: #FF6B6B;
  --color-amber: #FFB400;
  --color-white: #FFFFFF;
  --color-grey: #B5B5B5;
  --border-radius: 24px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--color-background);
  color: var(--color-white);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-coral);
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1.5rem;
}

button, .btn {
  background-color: var(--color-accent);
  color: var(--color-background);
  border: none;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

button:hover, .btn:hover {
  background-color: var(--color-coral);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* Header */
header {
  background-color: var(--color-background);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

nav a {
  color: var(--color-white);
  font-weight: 500;
}

nav a:hover {
  color: var(--color-accent);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
}

.hamburger-icon {
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  display: none;
}

.hamburger-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--color-white);
  border-radius: 3px;
  left: 0;
  transition: var(--transition);
}

.hamburger-icon span:nth-child(1) {
  top: 0;
}
.hamburger-icon span:nth-child(2) {
  top: 8px;
}
.hamburger-icon span:nth-child(3) {
  top: 16px;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-content {
  background-color: #565656eb;;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 1rem;
  z-index: 3;
}
.hero::before {
  content: '';
  background-color: #323231eb;

  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* About Section */
.about {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--color-accent);
}

.section-title p {
  color: var(--color-grey);
  max-width: 600px;
  margin: 0 auto;
}

/* Services/Audit Section */
.services {
  padding: 100px 0;
  background-color: rgba(0, 245, 212, 0.05);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 30px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.service-card h3 {
  color: var(--color-accent);
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
}

.benefits-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.benefit-item {
  flex: 1 1 300px;
  text-align: center;
}

.benefit-icon {
  font-size: 40px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background-color: rgba(255, 107, 107, 0.05);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.testimonial-image {
  height: 200px;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  padding: 20px;
}

.testimonial-name {
  color: var(--color-amber);
  font-weight: 600;
}

/* Steps Section */
.steps {
  padding: 100px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(274px, 1fr));
  gap: 20px;
}

.step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
}

.step-image {
  height: 200px;
  overflow: hidden;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-number {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  background-color: var(--color-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step-content {
  padding: 20px;
}

/* Team Section */
.team {
  padding: 100px 0;
  background-color: rgba(0, 245, 212, 0.05);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.team-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  text-align: center;
}

.team-image {
  height: 300px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 20px;
}

.team-position {
  color: var(--color-grey);
  margin-bottom: 10px;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  cursor: pointer;
  display: block;
  position: relative;
  font-weight: 500;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  transition: var(--transition);
}

.faq-checkbox {
  display: none;
}

.faq-answer {
  background-color: rgba(255, 255, 255, 0.02);
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer-content {
  padding: 0 20px;
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
  padding: 20px;
}

.faq-checkbox:checked + .faq-question::after {
  content: '−';
}

/* Contact Form */
.contact {
  padding: 100px 0;
  background-color: rgba(255, 180, 0, 0.05);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: var(--color-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
}

select.form-control option {
  background-color: white;
  color: #333;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-col {
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--color-accent);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background-color: var(--color-background);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  z-index: 1000;
  display: none;
}

.cookie-popup.show {
  display: block;
  animation: slideUp 0.5s ease forwards;
}

.cookie-popup p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Thank You Page */
.thank-you {
  margin: 8rem auto 5rem;
  max-width: 600px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--box-shadow);
}
.thank-you-page {
    height: 100vh;
    display: grid;
    align-items: center;

}



/* Policy Pages */
.policy-content {
  margin: 4rem auto;
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--box-shadow);
}

/* Animations */
@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hamburger-icon {
    display: block;
  order: 2;

  }

  .thank-you-page {
      height: auto;
  }
  
  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-background);
    flex-direction: column;
    padding:  0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
  }
  
  .mobile-menu-toggle:checked ~ nav ul {
    max-height: 500px;
    padding: 20px 0;

  }
  
  .mobile-menu-toggle:checked ~ .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .mobile-menu-toggle:checked ~ .hamburger-icon span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle:checked ~ .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}
