:root {
    --color-primary: #ffffff;
    --color-headings: #111111;
    --color-body: #3f3f46;
    --color-secondary: #6b7280;
    --color-accent: #0f766e;

    --lh-tight: 1.02;
    --lh-title: 1.1;
    --lh-body: 1.45;
    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}
p {
    margin-bottom: 10px;
} 
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-body);
  line-height: var(--lh-body);
 
  padding-block: 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  color: var(--color-headings);
  margin: 0 0 1rem;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.container1 {
  width: min(1120px, calc(100% - 32px));
  background-color: var(--color-primary);
  margin-inline: auto;
  border-radius: 10px;
  padding: 85px 0 30px 0;
}

.logo {
  width: 200px;
  margin-bottom: -10px;
}
.welcome-header {
    margin-bottom: 50px;
}
.number {
    color: var(--color-headings);
    font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  min-height: 44px;
  padding: 12px 14px;

  border-radius: 10px;
  font-weight: 680;
  font-size: 13px;
  cursor: pointer;
  
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(0, 0, 0, 0.1);
  color: var(--color-body);
  transition: background-color .3s ease-out, color .3s ease-out, border .3s ease-out;
}
.btn:hover {
    border: 2px solid var(--color-headings);
    color: var(--color-headings);
}
.btn:active,
.btn:focus,
.btn:focus-visible {
    background: var(--color-headings);
    color: #fff;
    border-color: transparent;
}
.welcome-btn {
  display: flex;
  flex-direction: column;
  margin-top: 35px;
  gap: 15px;
}
.welcome-image-container {
  overflow: hidden;
  display: none;
  border-radius: 10px;
}
.welcome-image {
  width: 100%;
  object-fit: cover;
  height: 100%
}
.icon {
  width: 20px;
  height: 20px;
  fill: var(--color-body);
}
.icon-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
#date-picker {
  display: none;
}
.calender-container {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.booking,
.duration-text,
.welcome-head {
  color: var(--color-headings);
}
.booking {
  text-transform: uppercase;
}
.consultant,
.icon-container {
  font-weight: 600;
  color: gray;
  font-size: .9rem;
}
.date-picker {
  margin-top: 15px;
}
.date-btns {
  padding-block: 20px;
  margin-top: 10px;
  width: 100%;
}
.flatpickr-day {
  max-width: 63px;
  margin-block: 5px;
}
.flatpickr-day.selected {
  background-color: var(--color-accent) !important;
  border: 1px solid var(--color-accent) !important;
}
.flatpickr-calendar,
.flatpickr-innerContainer,
.flatpickr-rContainer {
  max-height: 831px;
  width: 100%;
  max-width: 500px;
}
.dayContainer,
.flatpickr-days {
  max-width: 500px;
  width: 100%;
}
.time-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.time-header,
.time-body {
  text-align: center;
}
.time-header h3, 
.time-body h3 {
    margin-bottom: -3px;
} 
.time-header {
  margin-bottom: 20px;
  padding-bottom: 10px;
}
#time-slots {
  display: grid;
  gap: 15px;
}
.time-body p {
    padding-bottom: 10px;
} 
.avatar {
  display: flex;
  justify-content: center;
}
.consultant,
.duration-text {
  text-align: center;
}
.avatar-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.time-btns {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.advisory__form {
  display: grid;
  gap: 1rem;
} 

.advisory__field {
  display: grid;
  gap: 0.4rem;
}

.advisory__label,
#status {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: #243638;
}
.advisory__honeypot {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px; 
  overflow: hidden;
}
.advisory__input,
.advisory__textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font: inherit;
  line-height: 1.5;
  color: #132224;
  background: #ffffff;
  border: 1px solid rgba(19, 34, 36, 0.14);
  border-radius: 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.advisory__input::placeholder,
.advisory__textarea::placeholder {
  color: #7b8a8d;
}

.advisory__input:focus,
.advisory__textarea:focus {
  outline: none;
  border-color: rgba(19, 34, 36, 0.3);
  box-shadow: 0 0 0 4px rgba(19, 34, 36, 0.06);
}

.advisory__textarea {
  min-height: 10rem;
  resize: vertical;
}

.advisory__actions {
  margin-top: 0.25rem;
}

.advisory__actions .btn {
  width: 100%;
  justify-content: center;
}
.advisory__note {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #6a787b;
}
.error-status {
  color: red;
  font-size: 0.8rem;
}
.booking-status {
  font-size: 0.8rem;
}
.radio__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.google,
.linkedin,
.referral,
.x {
  display: flex;
  align-items: center;
  gap: 10px;
}
.booking + ul li {
  padding-block: 5px;
}
input[type="radio"],
.advisory__label {
  cursor: pointer;
}
.section {
  display: none;
}
.section.active {
  display: grid;
}

@media (min-width: 768px) {
  .welcome-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  body {
    background: #f5f6f7;
  }
   .consultation-container {
       display: flex;
       flex-direction: column;
       Justify-content: center;
       align-items: center;
   } 
  #time-slots {
    grid-template-columns: 1fr 1fr;
  }
  .time-btn {
    width: 200px;
  }
  .container1 {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    padding: 40px;
    
    margin: 100px 0 30px 0;
  }
  .date-btns {
    padding-top: 20px;
  }
  .welcome-image-container {
    display: block;
      width: 100%;
  }
  .welcome-btn {
    display: flex;
    flex-direction: row;
  }
  .date-picker {
      margin-top: 0;
  } 
  .date-selection {
    display: none;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 30px;
  }
   .calender-container {
    align-items: center;
   }
  .form-section {
    grid-template-columns: 1fr 1fr;
  }
  .fullname {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (min-width: 1024px) {
  .details {
    width: initial;
  }

  #time-slots {
    grid-template-columns: repeat(4, 1fr);
  }
  .container1 {
    width: min(70%, 1126px);
  }

}

