
:root {
  --primary: #1A365D;
  --secondary: #2C5282;
  --accent: #805AD5;
  --gold: #D69E2E;
  --white: #FFFFFF;
  --off-white: #F7FAFC;
  --light-gray: #EDF2F7;
  --lighter-gray: #E2E8F0;
  --dark-gray: #4A5568;
  --medium-gray: #718096;
  --almost-black: #1A202C;
  --success: #38A169;
  --error: #E53E3E;
  --warning: #DD6B20;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--almost-black);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.bg-primary h3, .bg-primary h2 {
  color: white;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover, a:focus {
  color: var(--accent);
  text-decoration: none;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-accent {
  color: var(--accent);
}


.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-accent:hover, .btn-accent:focus {
  background-color: #6B46C1;
  border-color: #6B46C1;
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover, .btn-outline:focus {
  background-color: var(--primary);
  color: var(--white);
}


.container {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

.section {
  padding: 4rem 0;
}

.section-sm {
  padding: 2rem 0;
}

.section-lg {
  padding: 6rem 0;
}


.header {
  background-color: var(--white);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  
  .nav-mobile {
    display: none;
  }
}

.nav-desktop ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav-desktop li {
  margin-left: 1.5rem;
}

.nav-desktop a {
  color: var(--almost-black);
  font-weight: 500;
  padding: 0.5rem;
}

.nav-desktop a:hover, .nav-desktop a:focus {
  color: var(--accent);
}

.nav-mobile-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
  color: var(--primary);
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--white);
  transition: right 0.3s ease;
  z-index: 200;
  display: flex;
  flex-direction: column;
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--lighter-gray);
}

.nav-mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary);
}

.nav-mobile ul {
  list-style-type: none;
  margin: 0;
  padding: 2rem 1rem;
}

.nav-mobile li {
  margin-bottom: 1.5rem;
}

.nav-mobile a {
  color: var(--almost-black);
  font-size: 1.2rem;
  font-weight: 500;
}

.nav-mobile a:hover, .nav-mobile a:focus {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
}

.header-phone {
  display: none;
  margin-right: 1rem;
}

@media (min-width: 768px) {
  .header-phone {
    display: block;
  }
}

.header-phone a {
  color: var(--almost-black);
  font-weight: 500;
}


.hero {
  position: relative;
  background-color: var(--light-gray);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

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

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-content {
    padding: 6rem 0;
  }
}


.card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-header {
  padding: 1.5rem;
  background-color: var(--primary);
  color: var(--white);
}

.card-body {
  padding: 1.5rem;
}


.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card-body {
  flex-grow: 1;
  padding: 1.5rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  color: var(--primary);
}


.process-steps {
  position: relative;
}

.process-line {
  position: absolute;
  top: 2rem;
  left: 2rem;
  bottom: 2rem;
  width: 2px;
  background-color: var(--lighter-gray);
  display: none;
}

@media (min-width: 768px) {
  .process-line {
    display: block;
  }
}

.process-step {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 2rem;
}

.process-step-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  z-index: 2;
}


.case-card {
  height: 100%;
}

.case-image {
  height: 200px;
  object-fit: cover;
}

.case-card-content {
  padding: 1.5rem;
}

.case-tag {
  display: inline-block;
  background-color: var(--light-gray);
  color: var(--dark-gray);
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}


.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--almost-black);
}

input, textarea, select {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--almost-black);
  background-color: var(--white);
  background-clip: padding-box;
  border: 1px solid var(--lighter-gray);
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(128, 90, 213, 0.25);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.form-error {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}


.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer a {
  color: var(--light-gray);
}

.footer a:hover, .footer a:focus {
  color: var(--white);
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.footer-contact-icon {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: 0.875rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: var(--white);
  border-radius: 0.5rem;
  max-width: 500px;
  width: 100%;
  margin: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.show .modal-dialog {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--lighter-gray);
}

.modal-title {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark-gray);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--lighter-gray);
  display: flex;
  justify-content: flex-end;
}

.modal-success {
  text-align: center;
  padding: 2rem 1.5rem;
}

.modal-success-icon {
  font-size: 4rem;
  color: var(--success);
  margin-bottom: 1.5rem;
}


.cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 400px;
  background-color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  padding: 1.5rem;
  z-index: 100;
  display: none;
}

@media (max-width: 640px) {
  .cookie-consent {
    bottom: 0;
    left: 0;
    right: 0;
    max-width: none;
    border-radius: 0.5rem 0.5rem 0 0;
  }
}

.cookie-consent h4 {
  margin-bottom: 1rem;
}

.cookie-consent p {
  margin-bottom: 1.5rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-settings-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookie-settings-content {
  background-color: var(--white);
  border-radius: 0.5rem;
  max-width: 600px;
  width: 100%;
  margin: 1rem;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.cookie-settings-modal.show .cookie-settings-content {
  transform: scale(1);
}

.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--lighter-gray);
}

.cookie-settings-title {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.cookie-settings-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark-gray);
}

.cookie-settings-body {
  padding: 1.5rem;
}

.cookie-category {
  margin-bottom: 2rem;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-category-title {
  margin-bottom: 0;
  font-size: 1.125rem;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

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

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--lighter-gray);
  transition: .4s;
  border-radius: 24px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: var(--white);
  transition: .4s;
  border-radius: 50%;
}

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

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

.cookie-category-description {
  margin-bottom: 1rem;
}

.cookie-details {
  background-color: var(--light-gray);
  border-radius: 0.25rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.cookie-details-title {
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
}

.cookie-details-row {
  display: flex;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.cookie-details-label {
  width: 100px;
  font-weight: 500;
}

.cookie-settings-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--lighter-gray);
  display: flex;
  justify-content: space-between;
}

.tel-input-container {
  margin-bottom: 1.5rem;
}

.iti {
  width: 100%;
}


.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 2rem;
}

.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-4 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.justify-content-start {
  justify-content: flex-start;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-end {
  justify-content: flex-end;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-start {
  align-items: flex-start;
}

.align-items-center {
  align-items: center;
}

.align-items-end {
  align-items: flex-end;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

@media (min-width: 768px) {
  .d-md-none {
    display: none;
  }
  
  .d-md-block {
    display: block;
  }
  
  .d-md-flex {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .d-lg-none {
    display: none;
  }
  
  .d-lg-block {
    display: block;
  }
  
  .d-lg-flex {
    display: flex;
  }
}