/* 
   Main Stylesheet for domain.com
   Financial Audit Services Website
*/

/* Base styles and typography */
:root {
  --primary-gradient-start: #7B61FF;
  --primary-gradient-end: #1CE6B3;
  --background-light: #F5F5F5;
  --background-white: #FFFFFF;
  --text-color: #0F172A;
  --accent-color: #FFE500;
  --button-color: #7B61FF;
  --shadow-light: 0 5px 15px rgba(123, 97, 255, 0.1);
  --shadow-medium: 0 8px 30px rgba(123, 97, 255, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 2rem;
}


.text-center h2:after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--button-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-gradient-end);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  overflow-x: hidden;
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Header styles */
header {
  background: var(--background-white);
  box-shadow: var(--shadow-light);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-color);
}

.logo span {
  color: var(--primary-gradient-start);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--primary-gradient-start);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cta-button:hover {
  box-shadow: var(--shadow-medium);
  color: white;
  transform: translateY(-3px);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-color);
}

/* Mobile menu (Hamburger) */
.mobile-menu {
  display: none;
}

/* Hero section */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.05) 0%, rgba(28, 230, 179, 0.05) 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  padding-right: 2rem;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1;
}

/* About section */
.about {
  padding: 5rem 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

/* Benefits section */
.benefits {
  padding: 5rem 0;
  background-color: var(--background-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--background-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--primary-gradient-start);
  margin-bottom: 1rem;
}

/* Audit types section */
.audit-types {
  padding: 5rem 0;
}

.audit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.audit-card {
  background: var(--background-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 2rem;
  transition: var(--transition);
  border-top: 4px solid var(--primary-gradient-start);
}

.audit-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.audit-card h3 {
  margin-bottom: 1rem;
}

.audit-card-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  margin-bottom: 1.5rem;
  display: block;
}

/* Process section */
.process {
  padding: 5rem 0;
  background-color: var(--background-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.process-step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 30px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
  z-index: -1;
}

/* Testimonials section */
.testimonials {
  padding: 5rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--background-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-light);
  position: relative;
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 0;
  left: 20px;
  font-size: 5rem;
  color: var(--primary-gradient-start);
  opacity: 0.2;
  line-height: 1;
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.client-name {
  font-weight: 600;
}

.client-role {
  color: #666;
  font-size: 0.9rem;
}

/* Contact form section */
.contact {
  padding: 5rem 0;
  background: url('./img/form-bg.jpg') center center/cover;
  position: relative;
  color: var(--background-white);
}

.contact:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: var(--border-radius);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: white;
  transition: var(--transition);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gradient-end);
}

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 1rem center;
  color: white;
}

select.form-control option {
  background: var(--text-color);
  color: white;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 0.5rem;
}

/* Footer styles */
footer {
  padding: 4rem 0 2rem;
  background-color: var(--text-color);
  color: var(--background-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
}

.footer-logo span {
  color: var(--primary-gradient-end);
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 0.5rem;
  color: var(--primary-gradient-end);
}

.footer-links h4 {
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-gradient-end);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: #ccc;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-gradient-end);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #999;
}

/* Policy pages styles */
.policy-page {
  padding: 4rem 0;
}

.policy-container {
  background-color: var(--background-white);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-light);
  border: 1px solid #eee;
}

.policy-container h1 {
  margin-bottom: 2rem;
}

.policy-container h2 {
  margin-top: 2rem;
}

/* Cookie consent popup */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-text {
  max-width: 80%;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.accept-btn {
  background: var(--primary-gradient-end);
  color: var(--text-color);
}

/* Thanks page */
.thanks-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
}

.thanks-content {
  max-width: 600px;
  border: 2px solid var(--primary-gradient-start);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-light);
  background-color: var(--background-white);
}

.thanks-icon {
  font-size: 5rem;
  color: var(--primary-gradient-start);
  margin-bottom: 2rem;
}

/* Responsive design */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .benefits-grid,
  .audit-cards,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(2n):after {
    display: none;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .header-container {
    flex-wrap: wrap;
  }

  nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--background-white);
    z-index: 1001;
    padding: 2rem;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-medium);
    overflow-y: auto;
  }

  .mobile-menu.active {
    right: 0;
  }

  .close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-color);
  }

  .mobile-menu ul {
    list-style: none;
    margin-top: 3rem;
  }

  .mobile-menu ul li {
    margin-bottom: 1.5rem;
  }

  .mobile-menu ul li a {
    color: var(--text-color);
    font-weight: 600;
    display: block;
    padding: 0.5rem 0;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
  }

  .overlay.active {
    display: block;
  }

  .hero-content {
    flex-direction: column-reverse;
  }

  .hero-text {
    padding-right: 0;
    text-align: center;
    margin-top: 2rem;
  }

  .about-content {
    flex-direction: column;
  }

  .benefits-grid,
  .audit-cards,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step:after {
    display: none;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 1.5rem;
  }
}
