:root {
  --primary: #3B7EA1;
  --accent: #F39237;
  --background: #F8F9FA;
  --secondary: #4D5E6F;
  --light: #FFFFFF;
  --text: #333333;
  --heading: #2C3E50;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.1);
  --border-radius: 16px;
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}


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

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--accent);
}


.fm-clay {
  background-color: var(--light);
  border-radius: var(--border-radius);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.05),
    -8px -8px 16px rgba(255, 255, 255, 0.8),
    inset 1px 1px 1px rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: 2rem;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.fm-clay:hover {
  transform: translateY(-5px);
  box-shadow: 
    10px 10px 20px rgba(0, 0, 0, 0.08),
    -10px -10px 20px rgba(255, 255, 255, 0.9),
    inset 1px 1px 1px rgba(255, 255, 255, 0.8);
}


.fm-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.fm-section {
  padding: 5rem 0;
}

.fm-section-alt {
  background-color: rgba(59, 126, 161, 0.05);
}

.fm-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .fm-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .fm-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .fm-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fm-flex {
  display: flex;
  gap: 2rem;
}

.fm-flex-center {
  align-items: center;
  justify-content: center;
}

.fm-flex-between {
  align-items: center;
  justify-content: space-between;
}

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

@media (max-width: 768px) {
  .fm-flex {
    flex-direction: column;
  }
}


.fm-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--light);
  box-shadow: var(--shadow-soft);
  padding: 1rem 0;
  transition: all var(--transition-speed);
}

.fm-header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-medium);
}

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

.fm-nav {
  display: flex;
  align-items: center;
}

.fm-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fm-nav-item {
  margin: 0 1rem;
}

.fm-nav-link {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.fm-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-speed);
}

.fm-nav-link:hover::after,
.fm-nav-link.active::after {
  width: 100%;
}

.fm-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--heading);
}

@media (max-width: 768px) {
  .fm-nav-toggle {
    display: block;
  }
  
  .fm-nav-list {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--light);
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: height var(--transition-speed);
    box-shadow: var(--shadow-medium);
  }
  
  .fm-nav-list.active {
    height: calc(100vh - 70px);
    padding: 2rem 0;
  }
  
  .fm-nav-item {
    margin: 1rem 0;
  }
}


.fm-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
  font-family: 'IBM Plex Sans', sans-serif;
}

.fm-button-primary {
  background-color: var(--primary);
  color: var(--light);
  box-shadow: 
    5px 5px 10px rgba(0, 0, 0, 0.1),
    -5px -5px 10px rgba(255, 255, 255, 0.5);
}

.fm-button-primary:hover {
  background-color: #336b8a;
  color: var(--light);
  transform: translateY(-3px);
  box-shadow: 
    7px 7px 15px rgba(0, 0, 0, 0.15),
    -7px -7px 15px rgba(255, 255, 255, 0.6);
}

.fm-button-accent {
  background-color: var(--accent);
  color: var(--light);
  box-shadow: 
    5px 5px 10px rgba(0, 0, 0, 0.1),
    -5px -5px 10px rgba(255, 255, 255, 0.5);
}

.fm-button-accent:hover {
  background-color: #e57f20;
  color: var(--light);
  transform: translateY(-3px);
  box-shadow: 
    7px 7px 15px rgba(0, 0, 0, 0.15),
    -7px -7px 15px rgba(255, 255, 255, 0.6);
}

.fm-button-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 
    3px 3px 7px rgba(0, 0, 0, 0.05),
    -3px -3px 7px rgba(255, 255, 255, 0.3);
}

.fm-button-outline:hover {
  background-color: var(--primary);
  color: var(--light);
  transform: translateY(-3px);
  box-shadow: 
    5px 5px 10px rgba(0, 0, 0, 0.1),
    -5px -5px 10px rgba(255, 255, 255, 0.4);
}


.fm-hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.fm-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7);
}

.fm-hero-content {
  max-width: 800px;
  z-index: 1;
  color: var(--light);
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fm-hero-title {
  color: var(--light);
  margin-bottom: 1.5rem;
}

.fm-hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.fm-hero-actions {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .fm-hero {
    padding: 0 1rem;
  }
  
  .fm-hero-actions {
    flex-direction: column;
  }
}


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

.fm-feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.fm-feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}


.fm-program-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background-color: var(--light);
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--primary);
}

.fm-program-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: var(--primary);
  color: var(--light);
  border-radius: 50%;
  margin-right: 1rem;
  font-weight: 700;
}

.fm-program-title {
  display: inline-block;
  margin-bottom: 0.5rem;
}


.fm-testimonial {
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: var(--light);
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
}

.fm-testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.fm-testimonial-author {
  font-weight: 500;
  color: var(--heading);
}


.fm-form {
  margin-top: 2rem;
}

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

.fm-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.fm-form-input,
.fm-form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  font-family: 'IBM Plex Sans', sans-serif;
  transition: border-color var(--transition-speed);
}

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

.fm-form-textarea {
  min-height: 150px;
  resize: vertical;
}

.fm-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.fm-form-checkbox input {
  margin-top: 0.3rem;
}


.fm-footer {
  background-color: var(--heading);
  color: var(--light);
  padding: 4rem 0 2rem;
}

.fm-footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}

.fm-footer-title {
  color: var(--light);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.fm-footer-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent);
}

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

.fm-footer-item {
  margin-bottom: 0.8rem;
}

.fm-footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed);
}

.fm-footer-link:hover {
  color: var(--light);
}

.fm-footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.fm-social-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  gap: 1rem;
}

.fm-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light);
  transition: all var(--transition-speed);
}

.fm-social-link:hover {
  background-color: var(--accent);
  color: var(--light);
  transform: translateY(-3px);
}


.fm-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed);
  box-shadow: var(--shadow-medium);
  z-index: 99;
}

.fm-back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.fm-back-to-top:hover {
  background-color: var(--accent);
  transform: translateY(-5px);
}


.fm-cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--light);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
}

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

.fm-cookie-text {
  flex: 1;
}

.fm-cookie-text p {
  margin-bottom: 0;
}

.fm-cookie-actions {
  display: flex;
  gap: 1rem;
}

.fm-cookie-settings {
  cursor: pointer;
  text-decoration: underline;
  margin-right: 1rem;
  color: var(--primary);
}

.fm-cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed);
}

.fm-cookie-modal.active {
  opacity: 1;
  visibility: visible;
}

.fm-cookie-modal-content {
  background-color: var(--light);
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.fm-cookie-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--heading);
}

.fm-cookie-type {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.fm-cookie-type:last-child {
  border-bottom: none;
}

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

.fm-cookie-type-title {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.fm-cookie-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

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

.fm-cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

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

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

input:focus + .fm-cookie-slider {
  box-shadow: 0 0 1px var(--primary);
}

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

.fm-cookie-type-description {
  font-size: 0.9rem;
  color: var(--secondary);
}

.fm-cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .fm-cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .fm-cookie-actions {
    margin-top: 1rem;
    flex-wrap: wrap;
  }
}


.fm-methodology-card {
  margin-bottom: 3rem;
}

.fm-methodology-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.fm-case-study {
  background-color: var(--light);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-top: 3rem;
  box-shadow: var(--shadow-soft);
}


.fm-offer-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.fm-offer-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent);
  color: var(--light);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 500;
}

.fm-offer-content {
  padding: 2rem;
}

.fm-offer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.fm-offer-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading);
}


.fm-contact-info {
  margin-bottom: 3rem;
}

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

.fm-contact-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 1rem;
  min-width: 30px;
}

.fm-contact-text {
  flex: 1;
}

.fm-contact-text h4 {
  margin-bottom: 0.3rem;
}

.fm-map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.fm-map {
  width: 100%;
  height: 100%;
  border: none;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fm-animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}


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

.fm-text-right {
  text-align: right;
}

.fm-mb-1 {
  margin-bottom: 0.5rem;
}

.fm-mb-2 {
  margin-bottom: 1rem;
}

.fm-mb-3 {
  margin-bottom: 1.5rem;
}

.fm-mb-4 {
  margin-bottom: 2rem;
}

.fm-mb-5 {
  margin-bottom: 3rem;
}

.fm-mt-1 {
  margin-top: 0.5rem;
}

.fm-mt-2 {
  margin-top: 1rem;
}

.fm-mt-3 {
  margin-top: 1.5rem;
}

.fm-mt-4 {
  margin-top: 2rem;
}

.fm-mt-5 {
  margin-top: 3rem;
}

.fm-p-1 {
  padding: 0.5rem;
}

.fm-p-2 {
  padding: 1rem;
}

.fm-p-3 {
  padding: 1.5rem;
}

.fm-p-4 {
  padding: 2rem;
}

.fm-p-5 {
  padding: 3rem;
}

.fm-hidden {
  display: none;
}

.fm-visible {
  display: block;
}

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

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

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

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

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

@media (prefers-color-scheme: dark) {
  :root {
    --background: #1a1a1a;
    --light: #2c2c2c;
    --text: #e0e0e0;
    --heading: #ffffff;
  }
  
  .fm-clay {
    background-color: #2c2c2c;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
      8px 8px 16px rgba(0, 0, 0, 0.3),
      -8px -8px 16px rgba(255, 255, 255, 0.05),
      inset 1px 1px 1px rgba(255, 255, 255, 0.05);
  }
  
  .fm-clay:hover {
    box-shadow: 
      10px 10px 20px rgba(0, 0, 0, 0.4),
      -10px -10px 20px rgba(255, 255, 255, 0.07),
      inset 1px 1px 1px rgba(255, 255, 255, 0.05);
  }
  
  .fm-header,
  .fm-program-item,
  .fm-testimonial,
  .fm-cookie-consent,
  .fm-cookie-modal-content,
  .fm-case-study {
    background-color: #2c2c2c;
  }
  
  .fm-form-input,
  .fm-form-textarea {
    background-color: #333;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .fm-form-input:focus,
  .fm-form-textarea:focus {
    border-color: var(--primary);
  }
}


.iti {
  width: 100%;
}

.iti__flag {
  background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags@2x.png");
  }
}