/* Schedule A Call Section Styles */

.schedule-call-section {
  position: relative;
  width: 100%;
  padding: 50px 0;
  background-color: #8B5A3C;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  background-size: 40px 40px;
}

.schedule-call-wrapper {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Section Title Styles */
.schedule-call-section .qodef-section-title {
  margin-bottom: 50px;
  text-align: center;
}

.schedule-call-section .qodef-section-title .qodef-m-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2em;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 20px;
  text-align: center;
}

.schedule-call-section .qodef-section-title .qodef-m-text {
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8em;
  letter-spacing: 0.3em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

/* Button Wrapper */
.schedule-call-button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

/* Button Styles - Filled Layout with Animated Borders */
.schedule-call-section .qodef-button.qodef-layout--filled {
  position: relative;
  display: inline-block;
  padding: 13px 70px;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-decoration: none;
  color: #C28562;
  background-color: #FFFFFF;
  border: 1px solid rgba(194, 133, 98, 0.5);
  transition: color 0.2s ease-out, background-color 0.2s ease-out, border-color 0.2s ease-out;
  overflow: hidden;
}

.schedule-call-section .qodef-button.qodef-layout--filled:hover {
  color: #C28562;
  background-color: #FFFFFF;
  border-color: #C28562;
}

.schedule-call-section .qodef-button .qodef-m-text {
  position: relative;
  z-index: 1;
}

/* Animated Border Effect */
.schedule-call-section .qodef-button.qodef-layout--borders-animated .qodef-border-holder {
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(194, 133, 98, 0.5);
}

.schedule-call-section .qodef-button.qodef-layout--borders-animated .qodef-top-border,
.schedule-call-section .qodef-button.qodef-layout--borders-animated .qodef-right-border,
.schedule-call-section .qodef-button.qodef-layout--borders-animated .qodef-bottom-border,
.schedule-call-section .qodef-button.qodef-layout--borders-animated .qodef-left-border {
  position: absolute;
  background-color: rgb(194, 133, 98);
  transition: 0.5s cubic-bezier(0.71, 0.29, 0.18, 0.97);
}

.schedule-call-section .qodef-button.qodef-layout--borders-animated .qodef-top-border,
.schedule-call-section .qodef-button.qodef-layout--borders-animated .qodef-bottom-border {
  width: 0px;
  height: 1px;
}

.schedule-call-section .qodef-button.qodef-layout--borders-animated .qodef-left-border,
.schedule-call-section .qodef-button.qodef-layout--borders-animated .qodef-right-border {
  width: 1px;
  height: 0px;
}

.schedule-call-section .qodef-button.qodef-layout--borders-animated .qodef-top-border {
  top: -1px;
  right: 0px;
}

.schedule-call-section .qodef-button.qodef-layout--borders-animated .qodef-bottom-border {
  left: 0px;
  bottom: -1px;
}

.schedule-call-section .qodef-button.qodef-layout--borders-animated .qodef-right-border {
  top: 0px;
  right: -1px;
}

.schedule-call-section .qodef-button.qodef-layout--borders-animated .qodef-left-border {
  left: -1px;
  bottom: 0px;
}

/* Hover state - expand borders */
.schedule-call-section .qodef-button.qodef-layout--borders-animated:hover .qodef-top-border,
.schedule-call-section .qodef-button.qodef-layout--borders-animated:hover .qodef-bottom-border {
  width: calc(100% + 1px);
}

.schedule-call-section .qodef-button.qodef-layout--borders-animated:hover .qodef-left-border,
.schedule-call-section .qodef-button.qodef-layout--borders-animated:hover .qodef-right-border {
  height: calc(100% + 1px);
}

/* Responsive */
@media only screen and (max-width: 768px) {
  .schedule-call-section {
    padding: 100px 0;
  }
  
  .schedule-call-wrapper {
    padding: 0 20px;
  }
  
  .schedule-call-section .qodef-section-title .qodef-m-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .schedule-call-section .qodef-section-title .qodef-m-text {
    font-size: 11px;
    letter-spacing: 0.2em;
  }
  
  .schedule-call-button-wrapper {
    margin-top: 30px;
  }
  
  .schedule-call-section .qodef-button.qodef-layout--filled {
    padding: 12px 40px;
    font-size: 11px;
  }
}

@media only screen and (max-width: 480px) {
  .schedule-call-section {
    padding: 80px 0;
  }
  
  .schedule-call-section .qodef-section-title .qodef-m-title {
    font-size: 28px;
  }
  
  .schedule-call-section .qodef-button.qodef-layout--filled {
    padding: 10px 30px;
    font-size: 10px;
    letter-spacing: 0.15em;
  }
}

