/* Global Styles */
:root {
  --primary-color: #0d47a1;
  --primary-light: #1976d2;
  --primary-lighter: #42a5f5;
  --accent-color: #f57c00;
  --success-color: #4caf50;
  --danger-color: #f44336;
  --text-dark: #212121;
  --text-medium: #424242;
  --text-light: #757575;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
}

.logo {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 16px;
}

nav a:hover,
nav a.active {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-dark);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 700;
}

.hero p {
  font-size: 22px;
  margin-bottom: 30px;
  color: var(--text-medium);
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 18px;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: var(--shadow);
}

.cta-button:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Section Styles */
section {
  padding: 80px 20px;
}

.section-bg {
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--primary-color);
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-medium);
  line-height: 1.7;
}

/* Goals Section */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.goal-item {

  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background-color: var(--bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.goal-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.goal-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.goal-content p {
  color: var(--text-medium);
  font-size: 15px;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-lighter));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo img {
  width: 70px;
  height: 70px;
}

.team-member h3 {
  font-size: 22px;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.team-member .role {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 15px;
}

.team-member p {
  color: var(--text-medium);
  font-size: 14px;
}

/* Success Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background-color: var(--bg-white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-medium);
  font-size: 16px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-color);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 16px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 16px;
}

.testimonial-location {
  color: var(--text-light);
  font-size: 14px;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-info {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.contact-item-content h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.contact-item-content p {
  color: var(--text-medium);
  font-size: 16px;
}

.contact-item-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-item-content a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: var(--danger-color);
}

.error-message {
  color: var(--danger-color);
  font-size: 13px;
  margin-top: 5px;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

.submit-button {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.submit-button:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button:disabled {
  background-color: var(--text-light);
  cursor: not-allowed;
  transform: none;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: white;
  padding: 60px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: var(--primary-lighter);
  font-size: 20px;
}

.footer-section p,
.footer-section a {
  color: #e0e0e0;
  font-size: 15px;
  line-height: 1.8;
}

.footer-section a {
  display: block;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary-lighter);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
}

.social-icon:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #424242;
  color: #9e9e9e;
  font-size: 14px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: white;
  padding: 25px 20px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  margin-bottom: 10px;
  font-size: 15px;
}

.cookie-text a {
  color: var(--primary-lighter);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.cookie-btn.accept-all {
  background-color: var(--success-color);
  color: white;
}

.cookie-btn.accept-all:hover {
  background-color: #388e3c;
}

.cookie-btn.necessary {
  background-color: var(--text-light);
  color: white;
}

.cookie-btn.necessary:hover {
  background-color: #616161;
}

.cookie-btn.settings {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cookie-btn.settings:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Cookie Settings Modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-content h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 28px;
}

.cookie-option {
  padding: 20px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
}

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-option h3 {
  color: var(--primary-color);
  font-size: 18px;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 26px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--success-color);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-option p {
  color: var(--text-medium);
  font-size: 14px;
}

.modal-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.modal-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-btn.save {
  background-color: var(--primary-color);
  color: white;
}

.modal-btn.save:hover {
  background-color: var(--primary-light);
}

.modal-btn.cancel {
  background-color: var(--text-light);
  color: white;
}

.modal-btn.cancel:hover {
  background-color: #616161;
}

/* Legal Pages */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.legal-content h1 {
  color: var(--primary-color);
  font-size: 36px;
  margin-bottom: 20px;
}

.legal-content h2 {
  color: var(--primary-color);
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 15px;
}

.legal-content h3 {
  color: var(--primary-light);
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 20px;
}

.legal-content ul,
.legal-content ol {
  margin-left: 30px;
  margin-bottom: 20px;
}

.legal-content li {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 10px;
}

/* Thanks Page */
.thanks-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.thanks-content {
  max-width: 600px;
}

.thanks-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
}

.thanks-content h1 {
  color: var(--primary-color);
  font-size: 42px;
  margin-bottom: 20px;
}

.thanks-content p {
  color: var(--text-medium);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.back-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
}

.back-button:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 15px;
  }

  nav ul.active {
    display: flex;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .section-title {
    font-size: 28px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 500px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  section {
    padding: 50px 20px;
  }

  .services-grid,
  .goals-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}
