@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Lenis Styles */

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

/* */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    /* overflow-x: hidden; */
}



html, body {
    height: 100%;  
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

strong {
    color: #ff6347;
}



/* Navigation Section */
header {
    background: linear-gradient(90deg, #ffffff, #c2ddda);
    color: #ffffff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
    height: 48px; /* Adjust the height to your desired value */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 15px; /* Adjust the height to your desired value */
}

.logo img {
    height: 23px; /* Adjust the height as needed */
    transition: fill 0.3s ease, filter 0.3s ease;
}

.logo:hover img {
    filter: invert(30%) sepia(30%) saturate(500%) hue-rotate(20deg);
}

.logo:hover {
    color: #ff6347;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease, background-color 0.3s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #ff6347;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: #ff6347;
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
    left: 0;
    background: #ff6347;
}

.nav-links .active {
    color: #ff6347;
    font-weight: bold;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 35px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-11px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-11px, -6px);
}

/* Main Section */

main {
    padding: 0rem;
    text-align: center;
    margin-top: 50px;
}

section {
    margin: 2rem 0;
}

/* Footer Section */

footer {
    /* background: linear-gradient(90deg, #ffffff, #c2ddda); */
    display: flex;
    width: 100%;
    padding: 20px 20px;
    height: 36px;
    align-items: center;
}

footer p {
    flex: auto;
    text-align: center;
    align-items: center;
}

/* spacer */
.spacer {
    display: block;
    height: 30px;
}

/* index page */

/* logo animation */

g {
    overflow: hidden;
    visibility: hidden;
}

svg {
    width: 100%;
    overflow: visible;
    max-width: 1200px;
    margin: 0 auto;
}

.intro {
    height: 60vh;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prof {
    display: flex;
    align-items: center;
    justify-content: center; /* Add this line */
    max-width: 1300px;
    margin: 0 auto; /* Add this line */
}

.svgbox {
    width: 100%;
    height: auto;
    padding: 60px;
}

.proftext {
    width: 800%;
    text-align: left;
    height: auto;
    padding: 20px;
}

.proftext h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.proftext p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}


/* .profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    margin: 30px;
    padding: 20px;
    border-radius: 20px;
    background-color: #f5f5f7;
}

.profile h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.profile p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
} */

.indexcolumns {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    padding: 20px;
    
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    width: 100%;
    max-width: 1200px;
    height: fit-content;
    justify-content: center;

}

.column {
    text-align: left;
    padding: 20px;
    width: 450px;
}

.container h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.container p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.container a {
    color: #ff6347;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, background-color 0.3s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}


/* Progress Bar Styles */

.progress-bar {
    position: relative;
    width: 100%;
    height: 400px;
    margin-left: 7%;
    margin-top: 35px;
}

.progress-horizontal {
    width: 200px; /* Adjust width as needed */
    height: 4px;
    background-color: #ff6347;
    margin-bottom: 5px;
}

.progress-vertical {
    position: absolute;
    top: 4px;
    left: 100px;
    width: 4px;
    height: 0;
    background-color: #ff6347;
    transition: height 0.3s ease;
}

.progress-bar.show-bottom-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: red;
    transition: width 0.3s ease;
}

.progress-bar.show-bottom-bar::after {
    width: 200px; /* Same width as the top horizontal bar */
}

/* approach */

/* Container for the fixed and scrolling content */
.content-wrapper {
    display: flex;
    max-width: 100%;
}

.leftside {
    position: fixed;
    top: 130px; /* Adjust based on your header height */
    left: 0;
    width: 25%; /* Adjust the width as needed */
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

 .leftside {
    position: fixed;
    top: 130px;
    left: 0;
    width: 100vw;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

}

.leftside span {
    font-weight: bolder;
    line-height: .8;
    margin-left: 4%;
    font-size: 4rem;
}

 #ai {
    margin-left: 10%;
    font-size: 6rem;
}

#practices {
    font-size: 3.3rem;
}


.rightp {
    margin-left: 7%;
    border-radius: 20px;
    /* background-color: #f5f5f7; */
    padding: 20px;
    margin-bottom: 15px;
}

.rightp p {
    position: sticky;
    font-size: 1.3rem;
    text-align: left;
    padding: 20px;
    line-height: 1.8;
}

.rightp p {
    font-size: 1.1rem;
    text-align: left;
    padding: 20px;
    line-height: 1.8;
}

.rightp h1 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.rightp li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    margin-left: 5%;
    text-align: left;
}
/* make it so the h1 is at top left, and the ...we can help at the bottom right */

#help {
    margin: 0;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: left;
}

#help1 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    text-align: left;
}

#help2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: right;
    margin-right: 5%;
}

.rightcontainer {
    display: grid;
    grid-template-columns: 1fr 3fr; /* Adjust the ratio as needed */
    margin-left: 5%;
    line-height: 1.8;
    text-align: left;
}

#tab {
    display: flex;
    overflow-y: auto;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.rightcontainertext, .rightcontainerimg {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: stretch; /* Ensure items stretch to fill the container height */
}

.rightcontainertext {
    font-size: 1.4rem;
    text-align: left;
    line-height: 1.1;
    font-weight: 900;

}

.rightcontainerimg {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rightcontainer img {
    width: 80%;
    height: auto;
    margin: 0;
    padding: 0;
}

#bigimg img {
    width: 60%; /* Adjust the percentage as needed */
    height: auto;
    margin: 0; /* Center the image horizontally if needed */
    margin-right: -100px;
}

/* Popout Image */

.popoutimage {
    width: 100%; /* Adjust as needed */
    transition: transform 0.3s ease;
}

.popoutimage:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
}

.image-overlay.active {
    display: flex;
}

.scrolling-content {
    margin-left: 25%; 
    width: 100%;
    padding: 1rem;
    overflow-y: auto;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.text-content::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.text-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}



/* service cards */

.services-section {
    text-align: center  ;
}

.services-section h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
    line-height: 1.4;
}

.services-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    margin: 15px;
    width: 30%;
    box-sizing: border-box;
    padding: 20px;
    text-align: left;
}

.service-card img {
    max-width: 100%;
    border-radius: 10px 10px 0 0;
    height: auto;
}

.service-card h3 {
    font-size: 1.5em;
    margin: 15px 0;
}

.service-card p {
    font-size: 1em;
    color: #555;
    margin-bottom: 15px;
}
/* Specialized Practices Section */

.wrapper {
    display: grid;
    text-align: left;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
    padding: 20px;
}

.boximage {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.boximage img {
    width: 100%;
    height: auto;
}

.smallp {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    /* background-color: #f5f5f7; */
    padding: 20px;
}

.smallp h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.smallp p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.largep {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    /* background-color: #f5f5f7; */
    padding: 20px;
}

.largep p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}


/* Mobile Styles */
@media (max-width: 768px) {

    svg {
        max-width: 250px;
    }

    .svgbox {
        display: none;
    }

    .progress-bar {
        display: none; /* Hide progress bar on mobile */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 30px;
        left: 0;
        background: #c2ddda;
        padding: 1rem 0;
        transition: transform 0.3s ease;
    }

    .nav-links.nav-active {
        display: flex;
        transform: translateY(18px);
    }

    .nav-links li {
        text-align: center;
        padding-right: 20px;

    }

    .burger {
        display: flex;
        z-index: 999;
    }

    .leftside {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        align-items: center;
        padding: 1rem;
    }


    .leftside span {
        font-size: 3rem;
        line-height: 1.2;
    }

    .rightp {
        overflow: hidden;
        margin-left: 0;
    }

    .service-card {
        width: 90%;
    }

    .wrapper {
        display: inline;
        width: 90%;
    }

    #ai {
        margin-left: 0;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .scrolling-content {
        margin-left: 0;
        width: 100%;
        padding: 1rem;
    }
}

/* Tablet Styles */

@media (min-width:768px) and (max-width:1024px) {
    svg {
        max-width: 400px;
    }
    .svgbox {
        display: none;
    }

    .progress-bar {
        display: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 30px;
        left: 0;
        background: #c2ddda;
        padding: 1rem 0;
        transition: transform 0.3s ease;
    }

    .nav-links.nav-active {
        display: flex;
        transform: translateY(18px);
    }

    .nav-links li {
        text-align: center;
        padding-right: 20px;
    }

    .burger {
        display: flex;
        z-index: 999;
    }

    .leftside {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        align-items: center;
    }

    .leftside span {
        font-size: 3rem;
        line-height: 1.2;
        margin-left: 0;
    }
    
    #ai {
        margin-left: 0;
    }

    .rightp {
        overflow: hidden;
        margin-left: 0;
    }

    .service-card {
        width: 90%;
    }

    .wrapper {
        display: inline;
        width: 90%;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .scrolling-content {
        margin-left: 0;
        width: 100%;
        padding: 1rem;
    }
}