/*

Medby Tech site styles

https://medby-tech.netlify.app

*/



@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Regular.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Light.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-SemiBold.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Bold.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #438aa6;
  --secondary-color:              #5a6f80;
  --section-bg-color:             #f0f8ff;
  --site-footer-bg-color:         #44525d;
  --custom-btn-bg-color:          #597081;
  --custom-btn-bg-hover-color:    #5bc1ac;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --border-color:                 #e9eaeb;

  --body-font-family:             'Metropolis', sans-serif;

  --h1-font-size:                 52px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  16px;
  --btn-font-size:                18px;
  --copyright-font-size:          14px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family); 
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
  letter-spacing: -1px;
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -2px;
}

h2 {
  color: var(--secondary-color);
  font-size: var(--h2-font-size);
  letter-spacing: -2px;
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  color: var(--primary-color);
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

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

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

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

.section-overlay {
  background: rgba(0, 0, 0, 0.35);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.section-overlay + .container {
  position: relative;
}


/*---------------------------------------
  CUSTOM BLOCK               
-----------------------------------------*/
.custom-block-wrap {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  transition: all 0.5s;
}

.custom-block-wrap:hover {
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}

.custom-block-body {
  padding: 30px;
}

.custom-block-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-block .custom-btn {
  border-radius: 0;
  display: block;
}


/*---------------------------------------
  PROGRESS BAR               
-----------------------------------------*/
.progress {
  background: var(--border-color);
  height: 5px;
}

.progress-bar {
  background: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM LIST               
-----------------------------------------*/
.custom-list {
  margin-bottom: 0;
  padding-left: 0;
}

.custom-list-item {
  list-style: none;
  margin-top: 10px;
  margin-bottom: 10px;
}


/*---------------------------------------
  CUSTOM TEXT BOX               
-----------------------------------------*/
.custom-text-box {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  margin-bottom: 24px;
  padding: 40px;
}

.custom-text-box-image {
  border-radius: var(--border-radius-medium);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-text-box-icon {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-large);
  color: var(--secondary-color);
  font-size: var(--h6-font-size);
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  width: 25px;
  height: 25px;
  line-height: 30px;
}


/*---------------------------------------
  AVATAR IMAGE - TESTIMONIAL, AUTHOR               
-----------------------------------------*/
.avatar-image {
  border-radius: var(--border-radius-large);
  width: 65px;
  height: 65px;
  object-fit: cover;
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--secondary-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding: 15px 25px;
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn {
  color: var(--custom-btn-bg-color);
  margin-top: 8px;
  padding: 12px 25px;
}

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

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--primary-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
  color: var(--white-color);
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
  background: var(--white-color);
  z-index: 9;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand {
  color: var(--primary-color);
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-bold);
}

.navbar-brand span {
  display: inline-block;
  vertical-align: middle;
}

.navbar-brand small {
  color: var(--secondary-color);
  display: block;
  font-size: 10px;
  line-height: normal;
  text-transform: uppercase;
}

.logo {
  width: 80px;
  height: auto;
}

/* Keep text links distinguishable without relying on color alone. */
.site-footer a:not(.social-icon-link),
.custom-text-box a,
.card-body a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.navbar-expand-lg .navbar-nav .nav-link {
  margin-right: 0;
  margin-left: 0;
  padding: 20px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  background: transparent;
  color: var(--primary-color);
}

.dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  max-width: 50px;
  padding: 0;
  margin-top: 20px;
}

.dropdown-item {
  display: inline-block;
  color: var(--p-bg-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}

.dropdown-menu li:last-child .dropdown-item {
  padding-top: 0;
}

.dropdown-item.active, 
.dropdown-item:active,
.dropdown-item:focus, 
.dropdown-item:hover {
  background: transparent;
  color: var(--primary-color);
}

.dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background: var(--primary-color);
  padding-top: 15px;
  padding-bottom: 10px;
}

.site-header p,
.site-header p a,
.site-header .social-icon-link {
  color: var(--white-color);
  font-size: var(--copyright-font-size);
}

.site-header .social-icon {
  text-align: right;
}

.site-header .social-icon-link {
  background: transparent;
  width: inherit;
  height: inherit;
  line-height: inherit;
  margin-right: 15px;
}


/*---------------------------------------
  HERO & HERO SLIDE         
-----------------------------------------*/
/* Modified CSS for dynamic shrinking */
.hero-section-full-height {
  /* REMOVE: height: 680px; */
  /* REMOVE: min-height: 680px; */
  position: relative;
}

.carousel:hover .carousel-control-next-icon, 
.carousel:hover .carousel-control-prev-icon {
  opacity: 1;
}

#hero-slide .carousel-item {
  height: 680px;
  min-height: 680px;
}

#hero-slide .carousel-caption {
  background: var(--white-color);
  clip-path: polygon(100% 100%, 100% 150px, 0 100%);
  color: var(--secondary-color);
  top: 1px;
  bottom: -1px;
  right: 0;
  left: auto;
  text-align: right;
  min-width: 680px;
  min-height: 680px;
  padding: 100px 100px 50px 100px;
}

.carousel-image {
  display: block;
  width: 100%;
  min-height: 680px;
}

#hero-slide .carousel-indicators-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}

#hero-slide .carousel-indicators {
  margin-right: 0;
  margin-left: 22px;
  justify-content: inherit;
}

.carousel-control-next, 
.carousel-control-prev {
  opacity: 1;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-large);
  background-size: 60% 60%;
  width: 80px;
  height: 80px;
  opacity: 0;
  transition: all 0.5s;
}

.carousel-control-next-icon:hover, 
.carousel-control-prev-icon:hover {
  background-color: var(--primary-color);
}


/*---------------------------------------
  FEATURE BLOCK              
-----------------------------------------*/
.featured-block {
  text-align: center;
  transition: all 0.5s ease;
  min-height: 256px;
  padding: 15px;
}

.featured-block:hover {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}

.featured-block:hover .featured-block-image {
  transform: scale(0.75);
}

.featured-block-image {
  display: block;
  margin: auto;
  transition: all 0.5s;
}

.featured-block:hover .featured-block-text {
  margin-top: 0;
}

.featured-block-text {
  color: var(--primary-color);
  font-size: var(--h5-font-size);
  margin-top: 20px;
  transition: all 0.5s;
}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.about-image {
  border-radius: var(--border-radius-medium);
  display: block;
  width: 350px;
  height: 400px;
  object-fit: cover;
}

.custom-text-block {
  padding: 60px 40px;
}


/*---------------------------------------
  COUNTER NUMBERS              
-----------------------------------------*/
.counter-thumb {
  margin: 20px;
  margin-bottom: 0;
}

.counter-number,
.counter-text {
  color: var(--secondary-color);
  display: block;
}

.counter-number,
.counter-number-text {
  color: var(--primary-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
}


/*---------------------------------------
  COLLABORATION              
-----------------------------------------*/
.collaboration-section {
  background: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.collaboration-section::after {
  content: "";
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  bottom: -110px;
  right: -80px;
  width: 350px;
  height: 350px;
}

.collaboration-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 50px;
}

.collaboration-image {
  border-radius: 100%;
  display: block;
  margin: auto;
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.collaboration-section .custom-block-body {
  max-width: 440px;
  margin: 0 auto;
}

.collaboration-section .custom-block-body p {
  line-height: 1.7;
}


/*---------------------------------------
  contact              
-----------------------------------------*/
.contact-section {
  background-image: url('../images/slide/pexels-domingos-henriques-3418942-17471222.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.contact-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 50px;
}


/*---------------------------------------
  NEWS         
-----------------------------------------*/
.news-detail-header-section {
  background-image: url('../images/pexels-laura-james-6098058.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.news-block-top {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.news-block-two-col-image-wrap {
  border-radius: var(--border-radius-small);
  position: relative;
  overflow: hidden;
  width: 150px;
  margin-right: 20px;
}

.news-category-block {
  background: var(--secondary-color);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 10px 20px;
}

.news-category-block .category-block-link {
  color: var(--white-color);
  margin-right: 10px;
}

.news-block-info {
  padding-top: 10px;
  padding-bottom: 10px;
}

.news-block-title-link {
  color: var(--dark-color);
}

.news-detail-image {
  display: block;
  border-radius: var(--border-radius-medium);
}

blockquote {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-semibold);
  color: var(--site-footer-bg-color);
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 90px 50px 50px 50px;
  text-align: center;
}

blockquote::before {
  content: "“";
  color: var(--custom-btn-bg-color);
  font-size: 100px;
  line-height: 1rem;
  display: block;
}

.author-comment-link {
  font-size: var(--copyright-font-size);
  font-weight: var(--font-weight-semibold);
}

.search-form {
  margin-top: 20px;
}

.category-block,
.subscribe-form {
  margin-top: 40px;
  margin-bottom: 40px;
}

.category-block-link {
  font-size: var(--copyright-font-size);
  margin-top: 5px;
  margin-bottom: 5px;
}

.category-block-link:hover {
  color: var(--primary-color);
}

.badge {
  background: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding-bottom: 2px;
}

.tags-block-link {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-medium);
  display: inline-block;
  font-size: var(--copyright-font-size);
  line-height: normal;
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 8px 15px;
}

.tags-block-link:hover {
  border-color: var(--dark-color);
  color: var(--dark-color);
}

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: -100px;
  left: -30px;
  margin: auto;
  width: 200px;
  height: 200px;
}

.cta-section::after {
  content: "";
  border: 20px solid var(--custom-btn-bg-color);
  border-radius: 50%;
  position: absolute;
  bottom: -100px;
  right: 0;
  left: 0;
  margin: auto;
  width: 150px;
  height: 150px;
}


/*---------------------------------------
  TESTIMONIAL CAROUSEL              
-----------------------------------------*/
.testimonial-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.testimonial-section::before {
  content: "";
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: -100px;
  left: -30px;
  margin: auto;
  width: 250px;
  height: 250px;
}

.testimonial-section::after {
  content: "";
  background: var(--custom-btn-bg-color);
  border-radius: 50%;
  position: absolute;
  bottom: -110px;
  right: -80px;
  width: 350px;
  height: 350px;
}

#testimonial-carousel .carousel-caption {
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
}

#testimonial-carousel .carousel-title {
  background: var(--section-bg-color);
  line-height: normal;
  margin-bottom: 30px;
}

#testimonial-carousel .carousel-title::before {
  content: open-quote;
  color: var(--p-color);
  font-size: var(--h1-font-size);
  position: relative;
  top: 10px;
  right: 10px;
}

#testimonial-carousel .carousel-title::after {
  content: close-quote;
  color: var(--p-color);
  font-size: var(--h1-font-size);
  position: relative;
  top: 10px;
  left: 10px;
}

#testimonial-carousel .carousel-title {
  quotes: "“" "”" "‘" "’";
}

#testimonial-carousel .carousel-name {
  background: var(--primary-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 10px 20px;
}

#testimonial-carousel .carousel-name::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  width: 0;
  height: 0;
  margin: auto;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--primary-color);
}

.carousel-name-title {
  font-weight: var(--font-weight-semibold);
}

#testimonial-carousel .carousel-indicators {
  position: relative;
  top: 150px;
  bottom: auto;
  margin-top: 50px;
  margin-bottom: 150px;
}

#testimonial-carousel .carousel-indicators li {
  text-indent: inherit;
  background: transparent;
  margin: 0 10px; 
}

#testimonial-carousel .carousel-indicators li,
#testimonial-carousel .carousel-indicators li::before {
  width: 45px;
  height: 45px; 
}

#testimonial-carousel .carousel-indicators .avatar-image {
  width: 45px;
  height: 45px; 
}

#testimonial-carousel .carousel-indicators .active,
#testimonial-carousel .carousel-indicators .active .avatar-image {
  background: transparent;
  width: 50px; 
  height: 50px;
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
  background: var(--white-color);
}

.contact-form {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  padding: 40px;
}

.contact-info-wrap {
  padding-top: 40px;
}

.contact-image-wrap {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  width: 100%;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control,
.input-group-file {
  background-color: var(--section-bg-color);
  box-shadow: none;
  border: 0;
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  outline: none;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
  border-color: var(--secondary-color);
}

.custom-form label {
  margin-bottom: 10px;
}

.custom-form .form-check-group {
  margin-bottom: 20px;
}

.contact-form .form-check-group-contact-frequency {
  padding-right: 0;
}

.form-check-group-contact-frequency + .form-check-group-contact-frequency {
  padding-right: 12px;
  padding-left: 0;
}

.form-check-group-contact-frequency .form-check-label {
  font-weight: var(--font-weight-semibold);
}

#contactFrequencyOne {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#contactFrequencyMonthly {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.custom-form .form-check-radio {
  position: relative;
  height: 100%;
  padding-left: 0;
}

.custom-form .input-group-text {
  background: var(--secondary-color);
  border: 0;
  color: var(--white-color);
}

.custom-form .form-check-radio .form-check-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.form-check-radio .form-check-input[type=radio] {
  background-color: var(--section-bg-color);
  border-radius: .25rem;
  border: 0;
  box-shadow: none;
  outline: none;
  width: 100%;
  margin-top: 0;
  margin-left: 0;
  padding: 25px 50px;
  transition: all 0.5s;
}

.form-check-radio .form-check-input:checked[type=radio] {
  background-image: none;
}

.form-check-radio .form-check-input:checked[type=radio] + .form-check-label,
.form-check-radio .form-check-input:hover + .form-check-label,
.form-check-radio .form-check-input:checked + .form-check-label {
  color: var(--white-color);
}

.form-check-radio .form-check-input:hover,
.form-check-radio .form-check-input:checked {
  background-color: var(--secondary-color);
  border-color: var(--white-color);
}

.input-group-file {
  border-radius: .25rem;
  padding: 13px .75rem;
}

.input-group-file input[type=file] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
  padding: 0;
}

.input-group-file .input-group-text {
  background: transparent;
  color: inherit;
  margin-bottom: 0;
  padding: 0;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}


/*---------------------------------------
  CONTACT AND SUBSCRIBE FORM              
-----------------------------------------*/
.contact-form .form-control {
  background: var(--white-color);
}

.search-form {
  position: relative;
}

.search-form .form-control {
  padding-right: 50px;
}

.search-form button[type="submit"] {
  background: transparent;
  position: absolute;
  top: 0;
  right: 0;
  color: var(--p-color);
  width: 50px;
  padding: 12px;
}

.search-form button[type="submit"]:hover {
  background: transparent;
  color: var(--dark-color);
}

.subscribe-form {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  padding: 30px;
}

.subscribe-form .form-control {
  background: var(--white-color);
}

.contact-form .form-control {
  margin-bottom: 0;
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-color: var(--site-footer-bg-color);
  padding-top: 70px;
}

.site-footer-bottom {
  background-color: var(--secondary-color);
  position: relative;
  z-index: 2;
  margin-top: 70px;
  padding-top: 25px;
  padding-bottom: 25px;
}

.site-footer-bottom a {
	color: var(--white-color);
}

.site-footer-bottom a:hover {
	color: #FF6;
}

.site-footer-link {
  color: var(--white-color);
}

.copyright-text {
  color: var(--section-bg-color);
  font-size: var(--copyright-font-size);
  margin-right: 30px;
}

.site-footer .custom-btn {
  font-size: var(--copyright-font-size);
}

.site-footer .custom-btn:hover {
  background: var(--primary-color);
}


/*---------------------------------------
  FOOTER MENU               
-----------------------------------------*/
.footer-menu {
  column-count: 2;
  margin: 0;
  padding: 0;
}

.footer-menu-item {
  list-style: none;
  display: block;
}

.footer-menu-link {
  font-size: var(--p-font-size);
  color: var(--white-color);
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 5px;
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--site-footer-bg-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 5px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 38px;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .featured-block {
    min-height: inherit;
  }

  .collaboration-section::after {
    width: 450px;
    height: 450px;
  }
  
  .collaboration-image {
    width: 350px;
    height: 350px;
  }
}

@media screen and (max-width: 1170px) {
  #hero-slide .carousel-image {
    height: 100%;
    object-fit: cover;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-form {
    padding-bottom: 40px;
  }

  .contact-form {
    padding: 35px;
  }

  .navbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 30px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 8px 20px;
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
    position: relative;
    margin-top: 5px;
    margin-bottom: 20px;
    left: 20px;
  }

  .site-header .social-icon {
    text-align: left;
    margin-top: 5px;
  }

  .hero-section-full-height {
    height: inherit;
  }

  .carousel:hover .carousel-control-next-icon, 
  .carousel:hover .carousel-control-prev-icon {
    opacity: 1;
  }

  #hero-slide .carousel-item {
    height: inherit;
  }

  .carousel-control-prev {
    left: 12px;
  }

  .carousel-control-next {
    right: 12px;
  }

  .carousel-control-next-icon, 
  .carousel-control-prev-icon {
    opacity: 1;
    width: 60px;
    height: 60px;
  }

  .news-detail-header-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .cta-section::before {
    width: 150px;
    height: 150px;
  }

  .cta-section::after {
    bottom: -60px;
    width: 100px;
    height: 100px;
  }

  .cta-section .row {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .collaboration-section::after {
    width: 300px;
    height: 300px;
  }

  .testimonial-section::before {
    width: 150px;
    height: 150px;
  }

  .testimonial-section::after {
    width: 200px;
    height: 200px;
  }

  #testimonial-carousel .carousel-caption {
    padding-top: 0;
  }

  blockquote {
    padding: 70px 30px 30px 30px;
  }

  .about-image {
    width: inherit;
    height: 450px;
  }

  .collaboration-image {
    width: 250px;
    height: 250px;
    margin: 0;
  }

  .custom-text-block {
    padding: 20px 0 0 0;
  }

  .custom-text-box,
  .collaboration-form {
    padding: 30px;
  }

  .counter-number, 
  .counter-number-text {
    font-size: var(--h2-font-size);
  }

  .contact-info-wrap {
    padding-top: 0;
  }

  .site-footer {
    padding-top: 50px;
  }

  .copyright-text-wrap {
    justify-content: center;
  }

  .site-footer-bottom {
    text-align: center;
    margin-top: 50px;
  }

  .site-footer-bottom .footer-menu {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 580px) {
  .hero-section-full-height,
  #hero-slide .carousel-item,
  .carousel-image {
    min-height: 520px;
  }

  #hero-slide .carousel-caption {
    clip-path: polygon(100% 100%, 100% 100px, 0 100%);
    padding-right: 50px;
    min-width: inherit;
    min-height: inherit;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  #hero-slide .carousel-caption {
    min-width: inherit;
    padding-bottom: 30px;
  }

  .carousel-control-next-icon, 
  .carousel-control-prev-icon {
    width: 45px;
    height: 45px;
  }

  .collaboration-image {
    width: 150px;
    height: 150px;
  }

  .collaboration-section::after {
    width: 200px;
    height: 200px;
  }

  .testimonial-section::before {
    top: -50px;
    width: 100px;
    height: 100px;
  }

  .testimonial-section::after {
    bottom: -150px;
    width: 200px;
    height: 200px;
  }

  .social-share .tags-block {
    margin-bottom: 10px;
  }

  .contact-form {
    padding: 25px;
  }
}



/* -------------------------------------------------------------------------
   Medby Tech visual system — consistent rhythm, editorial typography, and
   accessible, restrained interaction states.
   ------------------------------------------------------------------------- */
:root {
  --medby-ink: #142d3b;
  --medby-muted: #526875;
  --medby-primary: #0b6b68;
  --medby-primary-dark: #07514f;
  --medby-accent: #b7e4dc;
  --medby-surface: #f4f8f7;
  --medby-border: #dce8e5;
  --medby-radius: 18px;
  --medby-content-width: 1180px;
  --medby-section-space: clamp(2.75rem, 4vw, 4rem);
  --medby-body-font: "Metropolis", "Inter", "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--medby-body-font);
  color: var(--medby-ink);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--medby-ink);
  font-family: var(--medby-body-font);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.16;
}
p { color: var(--medby-muted); }
.container { max-width: var(--medby-content-width); }
.section-padding { padding-top: var(--medby-section-space); padding-bottom: var(--medby-section-space); }
section[id] { scroll-margin-top: 100px; }
a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #1a8d86;
  outline-offset: 3px;
}
.site-header { background: #102f3d; }
.site-header p, .site-header a { color: #f4fbfa; }
.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 28px rgba(20,45,59,.06);
}
.navbar-brand { gap: .75rem; }
.navbar-brand span { color: var(--medby-ink); font-weight: 700; letter-spacing: -.025em; }
.navbar-brand small { color: var(--medby-muted); font-weight: 400; letter-spacing: 0; }
.navbar-expand-lg .navbar-nav .nav-link { font-weight: 500; }
.navbar-nav .nav-link.custom-btn, .custom-btn {
  border-radius: 999px;
  font-weight: 600;
  padding: .8rem 1.25rem;
}
.hero-section-full-height, #hero-slide .carousel-item { min-height: clamp(500px, 45vw, 650px); }
#hero-slide .carousel-image {
  width: 100%;
  height: clamp(560px, 68vw, 740px);
  min-height: 0;
  object-fit: cover;
  object-position: 62% center;
}
#hero-slide .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,30,42,.82) 0%, rgba(7,30,42,.64) 46%, rgba(7,30,42,.12) 100%);
  pointer-events: none;
}
#hero-slide .carousel-caption {
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: clamp(2rem, 7vw, 7rem) max(1.5rem, calc((100vw - var(--medby-content-width))/2));
  clip-path: none;
  min-width: 0;
  min-height: 0;
}
.hero-copy { max-width: 700px; }
.hero-eyebrow, .section-eyebrow {
  margin-bottom: 1.15rem;
  color: var(--medby-primary);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
}
.hero-eyebrow { color: #b7e4dc; }
#hero-slide .hero-copy h1 {
  max-width: 680px;
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.02;
}
#hero-slide .hero-lead {
  max-width: 580px;
  margin-bottom: 2rem;
  color: rgba(255,255,255,.88);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-actions .btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
}
.hero-btn-primary { background: #b7e4dc; border: 1px solid #b7e4dc; color: #103b42; }
.hero-btn-primary:hover { background: #fff; border-color: #fff; color: #103b42; transform: translateY(-2px); }
.hero-btn-secondary { color: #fff; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.hero-btn-secondary:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.15); }
.section-heading { max-width: 760px; margin: 0 auto 3rem; }
.section-heading h2 { margin-bottom: 1rem; font-size: clamp(2rem, 3.5vw, 3.15rem); }
.section-heading > p:last-child { max-width: 650px; margin: 0 auto; font-size: 1.05rem; }
.featured-block {
  height: 100%;
  min-height: 190px;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--medby-border);
  border-radius: var(--medby-radius);
  background: #fff;
  box-shadow: 0 10px 35px rgba(20,45,59,.045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.featured-block:hover { transform: translateY(-5px); border-color: #b5d9d2; box-shadow: 0 18px 42px rgba(20,45,59,.09); }
.featured-block-image { width: 64px; height: 64px; object-fit: contain; margin-bottom: 1rem; }
.featured-block-text { margin: 0; color: var(--medby-ink); font-size: 1rem; font-weight: 500; }
.section-bg { background: var(--medby-surface); }
.custom-text-box {
  height: 100%;
  padding: clamp(1.4rem, 2.5vw, 2.1rem);
  border: 1px solid var(--medby-border);
  border-radius: var(--medby-radius);
  background: #fff;
  box-shadow: 0 10px 35px rgba(20,45,59,.045);
}
.custom-text-box h2, .custom-text-box h3 { margin-bottom: .85rem; }
.custom-text-box p:last-child { margin-bottom: 0; }
.card {
  overflow: hidden;
  border: 1px solid var(--medby-border) !important;
  border-radius: var(--medby-radius);
  box-shadow: 0 12px 34px rgba(20,45,59,.055) !important;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(20,45,59,.10) !important; }
.card-img-top { aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: clamp(1.4rem, 2.2vw, 1.9rem); }
.card-title { margin-bottom: .9rem; font-size: 1.25rem; }
.card-text { font-size: .96rem; line-height: 1.8; }
.card .btn-outline-primary {
  align-self: flex-start;
  margin-top: 1.2rem;
  border-color: var(--medby-primary);
  border-radius: 999px;
  color: var(--medby-primary);
  font-weight: 600;
  padding: .7rem 1.05rem;
}
.card .btn-outline-primary:hover { background: var(--medby-primary); border-color: var(--medby-primary); color: #fff; }
.cta-section { padding-top: clamp(2rem, 3vw, 3rem); padding-bottom: clamp(2rem, 3vw, 3rem); }
.cta-section h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.site-footer { background: #102f3d; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #b7e4dc; }
.site-footer-title { color: #fff; }
@media (max-width: 767.98px) {
  :root { --medby-section-space: 3.75rem; }
  body { font-size: 15.5px; }
  .navbar { padding-top: .65rem; padding-bottom: .65rem; }
  .navbar-brand small { font-size: .68rem; }
  .hero-section-full-height, #hero-slide .carousel-item { min-height: 520px; }
  #hero-slide .carousel-image { height: 520px; object-position: 62% center; }
  #hero-slide .carousel-item::after { background: linear-gradient(90deg, rgba(7,30,42,.82), rgba(7,30,42,.50)); }
  #hero-slide .carousel-caption { padding: 2rem 1.4rem; }
  #hero-slide .hero-copy h1 { font-size: clamp(2.45rem, 10vw, 3.6rem); }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .featured-block { min-height: 165px; padding: 1.25rem .9rem; }
  .card-body { padding: 1.25rem; }
  .cta-section { padding-top: 2rem; padding-bottom: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Hero correction: replace the template's white diagonal caption panel with a
   full-width transparent content layer over the image. */
#hero-section,
#hero-slide,
#hero-slide .carousel-inner,
#hero-slide .carousel-item {
  position: relative;
}
#hero-slide .carousel-item {
  height: clamp(500px, 48vw, 650px);
  min-height: 0;
  overflow: hidden;
}
#hero-slide .carousel-image {
  display: block;
  width: 100%;
  height: clamp(500px, 48vw, 650px);
  min-height: 0;
  object-fit: cover;
  object-position: center 38%;
}
#hero-slide .carousel-item::after {
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 31, 43, .82) 0%, rgba(8, 31, 43, .68) 42%, rgba(8, 31, 43, .18) 100%);
}
#hero-slide .carousel-caption {
  position: absolute;
  inset: 0 !important;
  width: 100%;
  height: 100%;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0;
  padding: clamp(2rem, 6vw, 5.5rem) max(1.5rem, calc((100vw - var(--medby-content-width))/2));
  background: transparent !important;
  clip-path: none !important;
  color: #fff;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
}
#hero-slide .hero-copy {
  width: min(100%, 680px);
}
@media (max-width: 767.98px) {
  #hero-slide .carousel-item,
  #hero-slide .carousel-image {
    height: 540px;
    min-height: 540px;
  }
  #hero-slide .carousel-image {
    object-position: 58% center;
  }
  #hero-slide .carousel-item::after {
    background: linear-gradient(90deg, rgba(8, 31, 43, .84), rgba(8, 31, 43, .62));
  }
  #hero-slide .carousel-caption {
    padding: 2rem 1.4rem;
  }
}


/* Our Story: keep the supporting image proportionate to the content column. */
#section_2 .row {
  align-items: center;
}
#section_2 .custom-text-box-image {
  display: block;
  width: 100%;
  height: clamp(280px, 30vw, 420px);
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 991.98px) {
  #section_2 .custom-text-box-image {
    height: clamp(240px, 55vw, 360px);
    max-height: 360px;
  }
}
@media (max-width: 575.98px) {
  #section_2 .custom-text-box-image {
    height: 260px;
  }
}


/* Compact the Our Approach and contact sections without changing their content. */
.approach-section {
  padding-top: clamp(2.75rem, 4vw, 4rem);
  padding-bottom: clamp(2.75rem, 4vw, 4rem);
}
.approach-section .custom-text-box {
  margin-bottom: 0;
  padding: clamp(1.35rem, 2.3vw, 2rem);
}
.approach-section .row.g-4 {
  --bs-gutter-y: 1.25rem;
}
.compact-contact-section {
  padding-top: clamp(2.75rem, 4vw, 4rem);
  padding-bottom: clamp(2.75rem, 4vw, 4rem);
}
.compact-contact-section .contact-info-wrap {
  padding-top: 0;
}
.compact-contact-section .contact-form {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.compact-contact-section .contact-image-wrap {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
}
.compact-contact-section .custom-form .form-control {
  margin-bottom: 1rem;
}
.compact-contact-section .custom-form textarea.form-control {
  min-height: 120px;
}
@media (max-width: 991.98px) {
  .compact-contact-section .contact-info-wrap {
    margin-bottom: 1.5rem;
  }
}


/* Homepage hero visual refresh */
#hero-section.hero-section {
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: clamp(3.5rem, 7vw, 6.25rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 88% 12%, rgba(183, 228, 220, .55), transparent 34%),
    linear-gradient(135deg, #f8fbfc 0%, #edf5f6 100%);
}
#hero-section.hero-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  right: -14rem;
  bottom: -20rem;
  border: 1px solid rgba(11, 107, 104, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(11, 107, 104, .025), 0 0 0 6rem rgba(11, 107, 104, .02);
}
#hero-section .hero-container {
  width: min(100% - 3rem, var(--medby-content-width, 1180px));
  max-width: none;
  margin-inline: auto;
}
#hero-section .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
#hero-section .hero-content { min-width: 0; max-width: 620px; padding-block: .5rem; }
#hero-section .hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.35rem;
  color: var(--medby-primary, #0b6b68);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.5;
}
#hero-section .hero-eyebrow-dot { width: .55rem; height: .55rem; flex: 0 0 auto; border-radius: 50%; background: #0b8b83; box-shadow: 0 0 0 4px rgba(11,139,131,.12); }
#hero-section .hero-content h1 {
  max-width: 12ch;
  margin: 0 0 1.35rem;
  color: #142f3d;
  font-size: clamp(2.7rem, 4.7vw, 4.65rem);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.015;
  text-wrap: balance;
}
#hero-section .hero-heading-accent { color: #087a75; }
#hero-section .hero-lead {
  max-width: 54ch;
  margin: 0 0 1.8rem;
  color: #526875;
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.8;
}
#hero-section .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
#hero-section .hero-actions .btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin: 0;
  padding: .85rem 1.2rem;
  border-radius: 999px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
}
#hero-section .hero-btn-primary { color: #fff; background: #0b6b68; border: 1px solid #0b6b68; box-shadow: 0 8px 18px rgba(11,107,104,.17); }
#hero-section .hero-btn-primary:hover { color: #fff; background: #07514f; border-color: #07514f; transform: translateY(-2px); }
#hero-section .hero-btn-secondary { color: #173b47; background: rgba(255,255,255,.7); border: 1px solid #c8dcd9; }
#hero-section .hero-btn-secondary:hover { color: #07514f; background: #fff; border-color: #0b6b68; transform: translateY(-2px); }
#hero-section .hero-principles { display: flex; flex-wrap: wrap; gap: .7rem 1.15rem; margin-top: 2rem; }
#hero-section .hero-principles span { display: inline-flex; align-items: center; gap: .45rem; color: #526875; font-size: .82rem; font-weight: 550; }
#hero-section .hero-principles i { color: #0b7772; font-size: 1rem; }
#hero-section .hero-visual { position: relative; min-width: 0; padding: .6rem .5rem 1.1rem 0; }
#hero-section .hero-image-frame { position: relative; z-index: 1; }
#hero-section .hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.08 / 1;
  max-height: 570px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 1.65rem;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 28px 70px rgba(20,45,59,.17);
}
#hero-section .hero-image-caption {
  position: absolute;
  right: -1rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: calc(100% - 1.5rem);
  padding: .95rem 1.15rem;
  border: 1px solid rgba(220,232,229,.9);
  border-radius: 1rem;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 35px rgba(20,45,59,.13);
  backdrop-filter: blur(10px);
}
#hero-section .hero-caption-icon { display: grid; width: 2.6rem; height: 2.6rem; flex: 0 0 auto; place-items: center; border-radius: .8rem; color: #087a75; background: #e8f5f2; font-size: 1.5rem; }
#hero-section .hero-image-caption strong, #hero-section .hero-image-caption small { display: block; }
#hero-section .hero-image-caption strong { color: #142f3d; font-size: .92rem; line-height: 1.35; }
#hero-section .hero-image-caption small { margin-top: .18rem; color: #637782; font-size: .74rem; line-height: 1.4; }
#hero-section .hero-orbit { position: absolute; z-index: 0; border: 1px solid rgba(11,107,104,.14); border-radius: 50%; pointer-events: none; }
#hero-section .hero-orbit-one { width: 8rem; height: 8rem; top: -1.2rem; right: -1.2rem; }
#hero-section .hero-orbit-two { width: 4.6rem; height: 4.6rem; top: .5rem; right: .5rem; border-color: rgba(11,107,104,.22); }
@media (max-width: 991.98px) {
  #hero-section.hero-section { padding: 3.5rem 0; }
  #hero-section .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 1.75rem; }
  #hero-section .hero-content h1 { font-size: clamp(2.45rem, 5vw, 3.5rem); }
  #hero-section .hero-image { aspect-ratio: 4 / 5; border-radius: 1.2rem; }
  #hero-section .hero-image-caption { right: -.35rem; }
  #hero-section .hero-principles { gap: .6rem .85rem; }
}
@media (max-width: 767.98px) {
  #hero-section.hero-section { padding: 2.75rem 0 3rem; }
  #hero-section .hero-container { width: min(100% - 2rem, 600px); }
  #hero-section .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  #hero-section .hero-content { max-width: none; padding: 0; }
  #hero-section .hero-content h1 { max-width: 13ch; font-size: clamp(2.65rem, 10.5vw, 3.8rem); }
  #hero-section .hero-lead { font-size: 1rem; line-height: 1.72; }
  #hero-section .hero-actions { align-items: stretch; }
  #hero-section .hero-actions .btn { width: 100%; }
  #hero-section .hero-principles { gap: .65rem 1rem; margin-top: 1.5rem; }
  #hero-section .hero-principles span { font-size: .8rem; }
  #hero-section .hero-visual { padding: .25rem .35rem .8rem 0; }
  #hero-section .hero-image { aspect-ratio: 16 / 11; max-height: none; border-radius: 1.1rem; object-position: center 40%; }
  #hero-section .hero-image-caption { right: -.25rem; bottom: .75rem; padding: .7rem .8rem; gap: .6rem; }
  #hero-section .hero-caption-icon { width: 2.2rem; height: 2.2rem; }
  #hero-section .hero-image-caption strong { font-size: .85rem; }
  #hero-section .hero-image-caption small { font-size: .68rem; }
  #hero-section .hero-orbit-one { right: -.4rem; }
  #hero-section .hero-orbit-two { right: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  #hero-section .hero-actions .btn { transition: none; }
}

/* Homepage hero: align the copy and image as two deliberate, independent columns. */
#hero-section.hero-section {
  min-height: 0;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fafb 0%, #eef5f7 100%);
}
#hero-section .hero-container {
  width: min(100% - 2.5rem, var(--medby-content-width, 1200px));
  max-width: none;
  margin-inline: auto;
}
#hero-section .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
#hero-section .hero-content {
  min-width: 0;
  max-width: 600px;
  padding-block: 1rem;
}
#hero-section .hero-eyebrow {
  margin: 0 0 1.15rem;
  color: #147d83;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.5;
}
#hero-section .hero-content h1 {
  max-width: 13ch;
  margin: 0 0 1.25rem;
  color: #163744;
  font-size: clamp(2.65rem, 4.4vw, 4.5rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.06;
  text-wrap: balance;
}
#hero-section .hero-lead {
  max-width: 52ch;
  margin: 0 0 1.8rem;
  color: #50636d;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.8;
}
#hero-section .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
}
#hero-section .hero-actions .btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
}
#hero-section .hero-visual {
  min-width: 0;
  position: relative;
}
#hero-section .hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  max-height: 560px;
  border-radius: 1.5rem;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 24px 60px rgba(22, 55, 68, .16);
}
@media (min-width: 1400px) {
  #hero-section .hero-image { aspect-ratio: 1.25 / 1; }
}
@media (max-width: 991.98px) {
  #hero-section.hero-section { padding: 3.5rem 0; }
  #hero-section .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 2rem;
  }
  #hero-section .hero-content h1 { font-size: clamp(2.35rem, 4.5vw, 3.3rem); }
  #hero-section .hero-image { aspect-ratio: 4 / 5; border-radius: 1.1rem; }
}
@media (max-width: 767.98px) {
  #hero-section.hero-section { padding: 2.75rem 0 3rem; }
  #hero-section .hero-container { width: min(100% - 2rem, 600px); }
  #hero-section .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  #hero-section .hero-content { max-width: none; padding: 0; }
  #hero-section .hero-content h1 { max-width: 15ch; font-size: clamp(2.4rem, 9vw, 3.5rem); }
  #hero-section .hero-lead { font-size: 1rem; line-height: 1.7; }
  #hero-section .hero-image { aspect-ratio: 16 / 10; max-height: none; object-position: center 40%; }
  #hero-section .hero-actions { align-items: stretch; }
  #hero-section .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #hero-section .hero-image { scroll-behavior: auto; }
}
