/* Global Styles */
:root {
  --primary-bg: #FFFFFF;
  --primary-text: #1A1A1A;
  --accent: #195BFF;
  --secondary-bg: #F3F4F6;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Arial', sans-serif;
  color: var(--primary-text);
  background-color: var(--primary-bg);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

p {
  margin-bottom: 20px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #1449cc;
  text-decoration: none;
}

/* Header */
header {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--primary-text);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
}

.mobile-menu-toggle {
  display: none;
}

.checkbox-hack {
  display: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    background: white;
    height: 100vh;
    width: 100%;
    top: 80px;
    left: -100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: left 0.5s;
    z-index: 999;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .mobile-menu-toggle {
    display: block;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-text);
    margin: 5px 0;
    transition: 0.4s;
  }

  .checkbox-hack {
    display: block;
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 30px;
    width: 30px;
    right: 20px;
    top: 25px;
    z-index: 1001;
  }

  .checkbox-hack:checked ~ .nav-links {
    left: 0;
  }

  .checkbox-hack:checked ~ .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .checkbox-hack:checked ~ .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .checkbox-hack:checked ~ .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* Hero Section */
#hero {
  background-color: var(--primary-bg);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* About Section */
#about {
  padding: 80px 0;
  background-color: var(--secondary-bg);
}

/* Benefits Section */
#benefits {
  padding: 80px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.benefit-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 20px;
}

/* Services Section */
#services {
  padding: 80px 0;
  background-color: var(--secondary-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 20px 0;
}

/* Cases Section */
#cases {
  padding: 80px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--secondary-bg);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.testimonial-author {
  font-weight: 700;
  margin-top: 20px;
}

/* Work Process Section */
#process {
  padding: 80px 0;
  background-color: var(--secondary-bg);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 0 15px;
  margin-bottom: 30px;
}

.step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 50px;
  margin-bottom: 20px;
}

/* FAQ Section */
#faq {
  padding: 80px 0;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

details {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
}

summary {
  padding: 20px;
  background-color: var(--secondary-bg);
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

details p {
  padding: 20px;
  border-top: 1px solid #ddd;
}

/* Contact Form Section */
#contact-form {
  padding: 80px 0;
  background-color: var(--secondary-bg);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 1em;
}

select.form-control option {
  color: black;
  background-color: white;
}

.checkbox-group {
  margin-top: 10px;
  margin-bottom: 20px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-container label {
  font-weight: normal;
}

/* Contact Information Section */
#contact-info {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.contact-item {
  text-align: center;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.map-container {
  margin-top: 40px;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
}

/* Footer */
footer {
  background-color: var(--primary-text);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Thank You Page */
.thank-you-container {
  text-align: center;
  padding: 100px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--accent);
  margin-bottom: 30px;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  z-index: 9999;
  gap: 20px;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Responsive Design */
@media (max-width: 991px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .hero-text, .hero-image {
    flex: 100%;
    padding: 0;
  }
  
  .hero-text {
    margin-bottom: 30px;
  }
  
  .process-step {
    flex: 100%;
    max-width: 100%;
  }
  
  .form-container {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  #hero, #about, #benefits, #services, #cases, #process, #faq, #contact-form, #contact-info {
    padding: 60px 0;
  }
}
