.calendly-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 4.688rem 4.375rem;
  max-width: 1400px;
  margin: 0 auto;
}

.calendly-section .left-side,
.calendly-section .right-side {
  flex: 1;
  min-width: 300px;
}

.calendly-section .left-side {
  flex-basis: 48%;
}

.calendly-section .right-side {
  flex-basis: 48%;
}

/* Left side content styling */

.calendly-section .left-side h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #000;
}

.first-left-text,
.second-left-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #000;
  margin-bottom: 1rem;
  font-weight: 500;

}

.icon-title-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

.icon-title {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
  color: #000;
}

.bottom-left-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #000000;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Right side - Calendly */
#calendly-scheduler {
  min-height: 630px;
  height: 630px;
  border: 2px solid #000000;
  border-radius: 45px;
  overflow: hidden;
}

#calendly-scheduler iframe {
  border: none;
  width: 100%;
  height: 100%;
}

/* Tablet breakpoint (768px - 1024px) */
@media (max-width: 1024px) {
  .calendly-section {
    padding: 3rem 2rem;
    gap: 2rem;
  }
  
  .calendly-section .left-side h2 {
    font-size: 2rem;
  }
  
  #calendly-scheduler {
    min-height: 700px;
    height: 700px;
  }
}

/* Mobile breakpoint (below 768px) */
@media (max-width: 768px) {
  .calendly-section {
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
  
  .calendly-section .left-side,
  .calendly-section .right-side {
    width: 100%;
    flex-basis: 100%;
  }
  
  .calendly-section .left-side h2 {
    font-size: 2rem;
  }
  
  .mini_titre {
    font-size: 0.75rem;
  }
  
  .first-left-text,
  .second-left-text,
  .bottom-left-text {
    font-size: 0.938rem;
  }
  
  .icon-title-block {
    margin-top: 1.5rem;
  }
  
  .icon-title {
    font-size: 2rem;
  }
  
  #calendly-scheduler {
    min-height: 600px;
    height: 600px;
    border-radius: 30px;
  }
}

/* Small mobile (below 480px) */
@media (max-width: 480px) {
  .calendly-section {
    padding: 1.5rem 1rem;
  }
  
  .calendly-section .left-side h2 {
    font-size: 1.8rem;
  }
  
  .icon-image {
    width: 32px;
    height: 32px;
  }
  
  .icon-title {
    font-size: 1.45rem;
    font-weight: 600;
  }

  
  #calendly-scheduler {
    min-height: 550px;
    height: 550px;
    border-radius: 20px;
    border-width: 1px;
  }
}

/* Extra small devices (below 360px) */
@media (max-width: 360px) {
  .calendly-section {
    padding: 1rem 0.75rem;
  }
  
  .calendly-section .left-side h2 {
    font-size: 1.25rem;
  }
  
  #calendly-scheduler {
    min-height: 500px;
    height: 500px;
  }
}
/* Big screens (between 1401px and 2560px) */
@media (min-width: 1401px) and (max-width: 2560px) {
  .calendly-section {
    max-width: 90%; /* override the 1400px fixed max */
  }
}
