/* Reset CSS
 * --------------------------------------- */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

table {
    border-spacing: 0;
}

fieldset,
img {
    border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-weight: normal;
    font-style: normal;
}

strong {
    font-weight: bold;
}

ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

caption,
th {
    text-align: left;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 100%;
    margin: 0;
    padding: 0;
}

q:before,
q:after {
    content: '';
}

abbr,
acronym {
    border: 0;
}




@font-face {
    font-family: 'Aeonik';
    src: url('../fonts/Aeonik-Regular.otf') format("opentype");
    font-weight: 400;
    font-style: normal;
}


/* GENERAL CSS
 * --------------------------------------- */

:root {
    --site-width: 1300px;
    --purple: #A675A1;
    --light-purple: #F3EDF2;
    --teal: #344E58;
    --gray: #F9F9F9;
    --dark-gray: rgb(148, 148, 148);
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;

}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

img {
    max-width: 100%;
}

/** animated **/

.animated {
    opacity: 0;
}

.animatedParent {
    overflow: hidden;
}

@media (max-width: 590px) {
    .animated {
        /*CSS transitions*/
        -o-transition-property: none !important;
        -moz-transition-property: none !important;
        -ms-transition-property: none !important;
        -webkit-transition-property: none !important;
        transition-property: none !important;
        /*CSS transforms*/
        -o-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -webkit-transform: none !important;
        transform: none !important;
        /*CSS animations*/
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -o-animation: none !important;
        -ms-animation: none !important;
        animation: none !important;
        opacity: 1;
    }
}

/** no break **/

.nobr,
.nobr-small {
    white-space: nowrap;
}

/* general */

body {
    font-family: Aeonik, Arial, sans-serif;
    color: var(--teal);
    text-align: center;
    letter-spacing: 0em;
    overflow-x: hidden;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.7rem;
}


h1,
h2 {
    font-weight: 700;
}


/** header **/
header.container-fluid {
    padding: 0;
    transition: all 0.5s ease;
    z-index: 14;
    position: fixed;
}

header.fixed {
    top: 0;
    background: #FFF;
}

header .menu-container {
    min-height: 90px;
}

header.fixed .menu-container {
    min-height: 80px;
}

header .logo-container img {
    max-width: 140px;
    max-height: 100%;
    transition: all 0.5s ease;
}

header.fixed .logo-container img {
    max-width: 110px;
}

header .logo-container a {
    display: inline-block;
    padding: 1%;
    height: 100%;
}

.nav {
    font-weight: 700;
    font-size: 1rem;
}

.nav a {
    letter-spacing: initial;
    text-decoration: none;
}

.nav a.active {
    color: var(--purple) !important;
    border-bottom: 1px solid var(--purple);
}

header .nav-pills .nav-link {
    position: relative;
    margin-right: 10px;
    border-radius: 0px;
    text-transform: none;
}

header .fa-bars {
    font-size: 1.4rem;
}

#mobile-navbar ul li {
    padding: 10px;
    text-align: left;
}

#mobile-navbar ul li a {
    position: relative;
}

#mobile-navbar ul li i {
    float: right;
}

.dropdown-toggle::after {
    content: none;
}

#header-content>div {
    max-height: 100%;
}

/** top nav **/
.top-navigation {
    z-index: 15;
    padding-bottom: 10px;
    min-height: 70px;
}

header.fixed .top-navigation {
    min-height: 60px;
}

.top-navigation .nav-pills .show>.nav-link {
    background-color: inherit;
}

/* site width */
.site-width {
    max-width: var(--site-width) !important;
    margin: 0 auto;
}

.text-underline {
    text-decoration: underline;
}

.text-purple {
    color: var(--purple);
}

.text-teal {
    color: var(--teal);
}

.text-light-gray {
    color: var(--gray);
}

.text-gray {
    color: var(--dark-gray);
}

a.text-purple:hover,
a.text-purple:active,
a.text-purple:focus,
a.text-gray:hover,
a.text-gray:active,
a.text-gray:focus {
    color: var(--teal);
}

.full-banner {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 700px;
    height: 60vh;
    padding-top: 100px;
}

#home-banner {
    background-image: url("../images/homebanner.jpg");
    height: 100vh;
}

.bottom-scallop {
    position: relative;
    z-index: 1;
    padding-bottom: 100px;
}

.bottom-scallop::after {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    bottom: -50px;
    left: 0;
    content: '';
    position: absolute;
    width: 100%;
    height: 100px;
    background-image: url("../images/white\ scallop\ php\ and\ admissions\ and\ contact\ page.png");
    z-index: -1;
}

.bottom-scallop.teal-scallop::after {
    background-image: url("../images/teal\ scallop.png");
}

.bottom-scallop.gray-scallop::after {
    background-image: url("../images/light\ gray\ scallop\ about\ page\ top\ and\ home\ page\ our\ program\ section.png");
}

#home-banner .transparent-bg {
    background-color: rgba(255, 255, 255, 0.8);
}

#about-banner {
    background-image: url("../images/about\ hero\ image.jpg");
}

#programs-banner {
    background-image: url("../images/PHP\ hero\ image.jpg");
}

#treatment-banner {
    background-image: url("../images/treatment\ hero\ image.jpg");
}

#admissions-banner {
    background-image: url("../images/admissions\ hero\ image.jpg");
}

#take-the-next-step {
    background-image: url("../images/take\ the\ next\ step\ image.jpg");
}

#ready-to-get-started {
    background-image: url("../images/ready\ to\ get\ started.jpg");
}

#learn-more {
    background-image: url("../images/learn\ more.png");
}

#ready-to-get-started-admissions {
    background-image: url("../images/admissions\ page\ ready\ to\ get\ started\ image.jpg");
}

#your-next-step {
    background-image: url("../images/your\ next\ step\ image.jpg");
}

#contact-banner {
    background-image: url("../images/contact\ page\ background\ image.jpg");
    height: 100vh;
}

.side-scallop {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 500px;
    position: relative;
    z-index: 1;
}

.side-scallop::before {
    background-color: rgba(255, 255, 255, 0.8);
    top: 0;
    left: 0;
    content: '';
    position: absolute;
    width: 45%;
    height: 100%;
    z-index: -1;
}

.side-scallop::after {
    background-image: url("../images/take\ the\ next\ step\ scallop.png");
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.9;
    top: 0;
    left: 45%;
    content: '';
    position: absolute;
    width: 10%;
    height: 100%;
    z-index: -1;
}

.side-scallop.right::before {
    left: unset;
    right: 0;
}

.side-scallop.right::after {
    left: unset;
    right: 44.97%;
    transform: rotate(180deg);
}

.bg-gradient {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    background-image: url("../images/gradient.jpg");
}

.bg-gradient-2 {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    background-image: url("../images/beyond\ treatment\ background.jpg");
}

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

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

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

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

h1,
.h1 {
    font-size: 3.5rem;
    line-height: 4rem;
}

h2 {
    font-size: 3rem;
    line-height: 3.5rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 2rem;
}


.btn {
    border-radius: 25px;
    padding: 10px 30px;
}

.btn-primary {
    background-color: var(--purple);
    border-color: var(--purple);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--teal) !important;
    border-color: var(--teal) !important;
    box-shadow: none !important;
}

.btn-secondary {
    background-color: var(--teal);
    border-color: var(--teal);
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    background-color: var(--purple) !important;
    border-color: var(--purple) !important;
}

.rounded-border {
    border-radius: 25px;
}


.footer-logo {
    max-width: 150px;
}

.map-container {
    height: 450px;
}


.flip-card {
    perspective: 1000px;
    height: 400px;
}

.flip-card img {
    max-height: 50px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Flip on hover */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    backface-visibility: hidden;
}

/* BACK STYLE */
.flip-card-back {
    border: var(--purple) 1px solid;
    border-radius: 15px;
    transform: rotateY(180deg);
}

.support-item {
    border-radius: 25px;
}

.support-item .icon {
    max-height: 60px;
}

#benefits-of-php {
    background-image: url("../images/benefits\ of\ php\ image.png");
    background-position: left;
    background-size: 50% 100%;
    background-repeat: no-repeat;
    border-radius: 25px;
}

#benefits-of-php::after {
    content: '';
    background-image: url("../images/purple\ rainbow\ icon.png");
    background-position: center bottom;
    background-size: contain;
    width: 100px;
    height: 150px;
    background-repeat: no-repeat;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.purple-border {
    border: 2px solid var(--purple);
    border-radius: 50px;
}

.process-section {
    background: #f7f5f8;
}

.process-title {
    font-size: 2.5rem;
    color: #7d5a7b;
}

.text-purple {
    color: #7d5a7b;
    font-weight: 600;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 40px 0;
}

/* Dotted path */
.timeline .step:not(:last-of-type)::before {
    content: "";
    position: absolute;
    top: 25%;
    left: 40%;
    height: 100px;
    width: 300px;
    background-image: url("../images/footprint.png");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%) rotate(-15deg);
    z-index: 0;
}

/* Steps */
.step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.step:nth-child(even):not(:last-of-type)::before {
    transform: rotate(45deg);
    top: 0;
    left: 30%;
}

.step .icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
}

.step:nth-child(odd) .icon {
    top: 50px;
    position: relative;
}

.step:nth-child(even) .icon {
    top: -50px;
    position: relative;
}

.step-description {
    position: relative;
}

.step-description .step-inner {
    position: relative;
    width: 80%;
}

.step-right .step-description .step-inner {
    right: 0
}

.step-left .step-description .step-inner {
    left: 50%;
}


/* Labels */
.step p {
    font-size: 0.85rem;
    color: #7d5a7b;
    margin: 0;
}

.faq {
    border-bottom: 1px solid var(--teal);
}

.faq-btn {
    position: relative;
    width: 100%;
    text-align: left;
    padding-right: 40px;
    background: transparent;
    display: block;
}

/* Remove default button styles */
.faq-btn:active,
.faq-btn:hover,
.faq-btn:focus {
    text-decoration: none;
    outline: none;
}

/* PLUS icon */
.faq-btn::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 2rem;
    font-weight: bold;
    transition: 0.3s;
    font-weight: 600;
    font-family: Aeonik;
}

/* MINUS icon when open */
.faq-btn:not(.collapsed)::after {
    content: "−";
}


.form-row,
.form-control {
    border: none;
    border-bottom: 1px solid var(--teal);
    border-radius: 0;
    color: var(--teal);
}

.form-row {
    font-size: 1rem;
}

.radio-label {
    margin-bottom: 0;
}

.form-control:focus {
    border-color: var(--purple);
    outline: none;
    box-shadow: none;
}

input[type="radio"] {
    accent-color: var(--purple);
}

.flag-icon {
    max-height: 1rem;
}

/* each item */
.vertical-timeline-item {
    position: relative;
}


/* LINE SEGMENT (per item) */
.vertical-timeline-item::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--purple);
    z-index: 1;
    height: 100%;
}

/* REMOVE line ABOVE first item */
.vertical-timeline-item:first-child::before {
    top: 50%;
}

/* REMOVE line BELOW last item */
.vertical-timeline-item:last-child::before {
    bottom: 50%;
    top: unset;
}

/* number circle */
.timeline-number {
    position: absolute;
    left: -25px;
    transform: translate(-50%, 0);
    width: 38px;
    height: 38px;
    background: var(--purple);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

/* optional: align content nicely */
.vertical-timeline-item .col-md-4,
.vertical-timeline-item .col-md-8 {
    padding-left: 15px;
}

#googleMap{
    height: 400px;
}

@media (max-width: 992px) {

    #admission-process-timeline {
        padding-left: 100px;
    }
}

/* mobile tweaks */
@media (max-width: 767px) {
    #admission-process-timeline {
        padding-left: 50px;
    }

    .timeline-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
    }

    .timeline::before {
        display: none;
    }

    .step {
        margin-bottom: 30px;
    }
}

@media (max-width: 1500px) {
    .full-banner {
        min-height: 60vh;
    }

    h1,
    .h1 {
        font-size: 4rem;
        line-height: 4.5rem;
    }
}


@media screen and (orientation: portrait) {

    .full-banner {
        min-height: 50vh;
    }
}

@media (max-width: 1200px) {

    h1,
    .h1 {
        font-size: 4rem;
        line-height: 4.5rem;
    }
}


@media (max-width: 1024px) {
    .full-banner {
        min-height: 50vh;
    }


    h1,
    .h1 {
        font-size: 4rem;
        line-height: 4.5rem;
    }
}


@media (max-width: 992px) {
    .full-banner {
        height: 50vh;
        min-height: 300px;
    }

    .full-banner h2 {
        font-size: 1.1rem;
    }

    h1,
    .h1 {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    body {
        font-size: 1.2rem;
        line-height: 1.7rem;
    }

    #home-banner {
        height: 70vh;
    }

    .timeline .step:not(:last-of-type)::before {
        height: 60px;
        width: 200px;
    }

    .footer-logo {
        max-width: 100px;
    }
}

@media (max-width: 768px) {
    header .logo-container img.small {
        max-width: 140px;
    }

    h2,
    .h1 {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .h3 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .h4 {
        font-size: 1.2rem;
        line-height: 1.6rem;
    }

    .bottom-scallop {
        padding-bottom: 50px;
    }

    .bottom-scallop::after {
        bottom: -25px;
        height: 50px;
    }

    .side-scallop {
        min-height: 400px;
        display: flex;
        justify-content: end;
        flex-direction: column;
    }

    .side-scallop::before,
    .side-scallop::after {
        content: unset;
    }

    .side-scallop-text {
        background-color: rgba(255, 255, 255, 0.8);
    }

    .side-scallop-text::after {
        background-image: url("../images/white\ scallop\ php\ and\ admissions\ and\ contact\ page.png");
        top: -50px;
        left: 0;
        width: 100%;
        height: 50px;
        opacity: 0.8;
        position: absolute;
        content: '';
        background-size: cover;
    }

    .flip-card {
        height: 300px;
    }

    .flip-card .h-100{
        height: 200px !important;
    }

    #take-the-next-step {
        background-image: url("../images/home\ next\ step\ mobile.jpg");
        min-height: 800px;
    }

    #ready-to-get-started {
        background-image: url("../images/about\ mobile.jpg");
    }

    #your-next-step {
        background-image: url("../images/php\ mobile.jpg");
    }

    #learn-more {
        background-image: url("../images/treatment\ mobile.jpg");
    }

    #ready-to-get-started-admissions {
        background-image: url("../images/admissions\ mobile.jpg");
        height: 300px;
    }

    #benefits-of-php {
        height: 600px;
        background-image: url("../images/benefits\ of\ php\ image.png");
        background-position: bottom center;
        background-size: 100% 50%;
        padding-bottom: 300px;
    }

    #benefits-of-php::after {
        content: '';
        background-image: url("../images/purple\ rainbow\ icon.png");
        background-position: center bottom;
        background-size: contain;
        width: 100px;
        height: 150px;
        background-repeat: no-repeat;
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
    }

    #contact-banner {
        height: auto;
    }

    #what-to-expect-options .purple-border {
        height: 100px !important;
    }

    .step-description {
        display: flex;
        min-height: 215px;
    }

    .step-mobile {
        position: relative;
        padding-right: 1rem;
    }

    .step-mobile img {
        max-height: 50px;
    }

    .step-mobile:not(:last-of-type)::before {
        content: "";
        position: absolute;
        top: 60px;
        left: 0;
        height: 150px;
        width: 50px;
        background-image: url("../images/vertical\ footprints.png");
        background-size: contain;
        background-position: top center;
        background-repeat: no-repeat;
        z-index: 0;
    }

    .step-left .step-description .step-inner {
        left: 0;
    }

    .step-description .step-inner .h4{
        height: 50px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 575px) {
    .full-banner {
        min-height: 35vh;
    }

    h1 {
        font-size: 2rem;
        line-height: 2.5rem;
    }
    body {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    footer.small{
        font-size: 95%;
    }
    
}