:root {
    --theme-primary: #023C60;
    --theme-secondary: #3CB4E5;
    --theme-grey: #ECF0F2;
    --theme-white: #fff;
    --theme-black: #050505;

    --theme-other-grey: #CDCDCD;

    --font-main: "Poppins", sans-serif;

    --font-size-sm: clamp(12.8px, 0.05vw + 12.61px, 13.5px);
    --font-size-base: clamp(18px, 1.1vw + 13px, 20px);
    --font-size-md: clamp(21px, 0.971vw + 18.6375px, 24.85px);
    --font-size-lg: clamp(28px, 1.602vw + 10.25px, 41px);
    --font-size-xl: clamp(32px, 2.0313vw + 13px, 52px);
    --font-size-xxl: clamp(50px, 27.5px + 4.3vw, 110px);
    --font-size-silly: clamp(62px, 39.5px + 7.3vw, 150px);

    font-family: var(--font-main);
    font-size: var(--font-size-base);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1,
h2 {
  font-family: var(--font-main);
  font-size: var(--font-size-xxl);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  margin: 0 0 0.5em;
}

h1 {
    color: var(--theme-white);

}

h2 {
    font-size: var(--font-size-xl);
        line-height: 1.2;
}

h3 {
  font-family: var(--font-main);
  font-size: var(--font-size-lg);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 0.5em;
}

h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: var(--font-size-md);
  letter-spacing: 0;
  margin: 0 0 0.5em;
}

p,
ol,
ul {
  font-family: var(--font-main);
  font-size: var(--font-size-md);
  font-weight: 400;
  line-height: 1.56;
}

p a,
li a,
dd a {
  font-weight: bolder;
}

[class^="btn"] {
  line-height: 1.25rem;
  letter-spacing: 2px;
  font-family: var(--font-main);
  font-size: var(--font-size-md);
  font-weight: 600;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 10px 15px;
  margin: 3px;
  text-align: center;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 5px;
  transition: all 0.3s cubic-bezier(0.42, 0, 1, 1);
}

[class^="btn"]:hover {
  transition: all 0.3s cubic-bezier(0.42, 0, 1, 1);
}

.header-btn-small {
    font-size: var(--font-size-sm);
}

.btn-primary {
    color: var(--theme-white) !important;
    background-color: var(--theme-primary);
    border: 2px solid var(--theme-primary);
    transition: all 0.3s ease;
}

.btn-secondary {
    color: var(--theme-white) !important;
    background-color: var(--theme-secondary);
    border: 2px solid var(--theme-secondary);
    transition: all 0.3s ease;
}

.btn-secondary:hover, 
.btn-primary:hover {
    color: var(--theme-white);
    background-color: transparent;
}

.btn-primary-black {
    color: var(--theme-white) !important;
    background-color: var(--theme-primary);
    border: 2px solid var(--theme-primary);
    transition: all 0.3s ease;
}

.btn-primary-black:hover {
    color: var(--theme-black) !important;
    background-color: transparent;
}

.color-primary {
    color: var(--theme-primary) !important;
}

.color-secondary {
    color: var(--theme-secondary) !important;
}

.color-white {
    color: var(--theme-white) !important;
}

.color-black {
    color: var(--theme-black);
}

.bg-primary {
    background-color: var(--theme-primary);
}

.bg-secondary {
    background-color: var(--theme-secondary);
}

.bg-grey {
    background-color: var(--theme-grey);
}

.sub-header-text {
    color: var(--theme-secondary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.container-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.container-row > div {
    display: flex;
    align-items: center;
    color: var(--theme-white);
}

.container-row > div p, 
.container-row > div a {
    color: var(--theme-white);
}

.list-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-evenly;
}

ul.info-list {
    font-family: var(--font-main);
    list-style-type: none;
    text-align: left;
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: space-evenly;
    margin: 0;
}

ul.info-list.height-50 {
    height: 50%;
}

ul.info-list.height-20 {
    height: 20%;
}

ul.info-list li {
    margin: 0 0 10px;
    color: var(--theme-primary);
    font-size: var(--font-size-base);
    display: flex;
    align-items: center;
}

ul.info-list li > a {
    text-decoration: underline;
    color: var(--theme-primary);
}

ul.info-list li > p {
    line-height: 2;
}

ul.list {
    list-style-type: circle;
    max-width: fit-content;
    margin: 0 auto;
    margin-bottom: 10px;
    padding-left: 40px;
}

ul.list li {
    margin: 0 0 10px;
    color: var(--theme-primary);
    font-size: var(--font-size-base);
}

ul.list.color-white li {
    color: var(--theme-white) !important;
}

.container-row .img-card {
margin: 15px;
width: auto;
max-height: 385px;
}

.img-card a {
display: flex;
flex-direction: column;
position: relative;
text-decoration: none;
color: #000;
transition: all 0.5s ease;
}

.img-card a > img {
    width: 100%;
    transition: all 0.5s ease;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.img-card a > p {
position: relative;
display: inline-block;
color: var(--theme-black);
font-size: var(--font-size-base);
margin: 15px 5px;
padding: 15px 5px;
text-align: center;
}

.img-card a > p::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--theme-primary);
    transition: width 0.4s ease, left 0.4s ease;
}

.img-card a:hover > p::before {
    width: 100%;
    left: 0;
}

.img-card a:hover {
    transform: scale(1.05);
}

.treatments-container {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.treatments {
    width: 275px;
    height: 275px;
    border-radius: 15px;
    border: 3px solid var(--theme-primary);
    background-color: var(--theme-primary);
    color: white;
    transition: all 500ms ease;
}
.treatments.smaller-card {
    width: 175px !important;
    height: 175px !important;
}
.treatments:nth-child(even) {
    border: 3px solid var(--theme-secondary);
    background-color: var(--theme-secondary);
}
.treatments > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    padding: 25px;
    color: var(--theme-white);
    text-align: center;
    transition: all 500ms ease;
}
.treatments > a p {
    line-height: 1.25;
}
.treatments:hover {
    transform: scale(1.03);
    background-color: transparent;
}
.treatments > a:hover {
    color: var(--theme-black);
}

.patients-container {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.resource {
    width: 282px;
    height: 420px;
    border-radius: 10px;
    background-color: var(--theme-primary);
    color: var(--theme-white);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource:nth-child(even) {
    background-color: var(--theme-secondary);
}

.resource > div {
    width: 75%;
    height: 300px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
}

.resource > div > a {
    width: 75%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    color: var(--theme-white);
    text-decoration: none;
    transition: transform 500ms ease;
}

.resource > div > a:hover {
    transform: scale(1.05);
}

.resource > div > a > p {
    margin: 0;
}

.team {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.team > div {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    background-color: var(--theme-primary);
    border: 3px solid var(--theme-primary);
    border-radius: 15px;
    padding: 1rem;
}

.team > div:nth-of-type(even) {
    background-color: var(--theme-secondary);
    border: 3px solid var(--theme-secondary);
}

.team > div img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
    border-radius: 15px;
}

.team > div .title p {
    color: var(--theme-white);
    margin: 0;
}

.team > div:nth-of-type(odd) .title p:nth-of-type(odd) {
    width: max-content;
    font-size: var(--font-size-md);
    border-bottom: 3px solid var(--theme-secondary);
    margin-bottom: 10px;
}

.team > div:nth-of-type(even) .title p:nth-of-type(odd) {
    width: max-content;
    font-size: var(--font-size-md);
    border-bottom: 3px solid var(--theme-primary);
    margin-bottom: 10px;
}

/* .team > div:nth-of-type(even) .title p {
    color: var(--theme-black);
} */

img {
    border-radius: 5px;
}

.video-background {
  position: relative; /* Establishes a positioning context for child elements */
  width: 100%;
  height: 100%;
  overflow: hidden; /* Hides any part of the video that overflows the section */
}

/* The video element itself */
.video-background video {
  position: absolute; /* Positions the video relative to the section */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Makes the video cover the entire section, cropping as needed */
  z-index: 1; /* Places the video behind all other content in the section */
}

.video-background::before {
  content: ''; /* Essential for pseudo-elements */
  position: absolute; /* Positions it relative to the .video-background-section */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Black color with 50% opacity */
  z-index: 2; /* Place it above the video (z-index -1) but below the content (z-index 1) */
}

.content-overlay {
  position: relative; /* Ensures this content stays on top */
  z-index: 3;
  /* Add more styles as needed */
}

@media screen and (max-width: 991px) {
    .team {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .container-row {
        flex-direction: column;
    }

    .flex-column {
        align-items: center;
    }

    .header-text {
        margin: 0 auto 20px;
    }

    ul.info-list {
        text-align: center;
        align-items: center;
    }

    .team {
        grid-template-columns: repeat(1, 1fr);
    }

    .team > div img {
        height: 500px;
    }
}

@media screen and (max-width: 342px) {
    h1 {
        line-height: 60px;
    }
}

@media screen and (max-width: 324px) {
    .header-btn-small {
        font-size: 10px;
    }
}































































































