/* style.css */

body, html {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
	padding: 20px;
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700; /* Bold */
}

p {
    font-family: 'Inter', sans-serif;
    font-weight: 300; /* Regular */
	color: #959595;
}

.light-text {
    font-family: 'Inter', sans-serif;
    font-weight: 300; /* Light */
}

.intro {
    height: calc(100vh - 40px);
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to the bottom */
    align-items: flex-start; /* Align content to the left */
    color: white;
    text-align: left; /* Align text to the left */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    padding: 20px; /* Add some padding for spacing */
}

.intro h1,
.intro p,
.intro .btn {
    margin-bottom: 10px; /* Add margin between elements */
}

.intro.loaded {
    opacity: 1;
}

.intro h1, .intro p, .intro .btn {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.intro h1.loaded, .intro p.loaded, .intro .btn.loaded {
    opacity: 1;
}

.sticky-header {
    position: absolute;
    top: 40px;
	left: 0;
    background-color: none;
    z-index: 100;
    width: 100%; /* Ensure full width */
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.3s ease-in-out; /* Combined transition */
    transform: translateY(0);
}

.sticky-header.loaded {
    opacity: 1;
}

.section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
	flex-direction: column;
}

.text-col {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center */
    align-items: flex-start; /* Horizontally left */
}

#therapy .col-md-6 {
	min-height: 50vh;
}
#therapy .text-col { 
	padding: 3rem;
}
#therapy .image-col {
	border-radius: 2rem;
	overflow: hidden;
}
#therapy .image-col img {
	opacity: 0;
}

.text-col h2 {
    white-space: nowrap; /* Keep heading on one line */
}

.contact-inner {
    width: 100%;
    height: 100%;
    background: rgba(1, 61, 72, 0.2);
    display: flex; /* Ensure inner div uses flexbox */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically */
    text-align: center; /* Center text within the div */
	position: absolute;
	border-radius: 2rem;
}

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

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    z-index: -1;
}

.fade-up {
    opacity: 0;
    transform: translateY(100px); /* Corrected: added 'px' unit */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 {
    transition-delay: 0.1s;
}

.fade-up-delay-2 {
    transition-delay: 0.2s;
}
.fade-up-delay-3 {
    transition-delay: 0.3s;
}

.modal {
    display: none;
    position: fixed;
    z-index: 101;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.modal-content .close {
    position: absolute;
    right: 10px;
    top: 5px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

footer {
    background-color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer a {
    margin: 0 10px;
}

.slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
	min-height: 500px;
	border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide-content {
    width: 80%; /* Adjust content width */
}

.slide.active {
    opacity: 1;
}

.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    margin: 0 5px;
    cursor: pointer;
	opacity: .5;
}

.dot.active {
    background-color: #fff;
	opacity: 1;
}

@media (max-width: 768px) {
    .desktop-appointment-btn {
        display: none; /* Hide desktop button on mobile */
    }

    #appointmentBtn {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 80%;
		font-size: 16px;
		text-align: center;
        opacity: 0;
        transition: opacity 0.5sease-in-out;
        z-index: 102;
    }

    #appointmentBtn.visible {
        opacity: 1;
    }
}

@media (min-width: 769px) { /* Styles for desktop */
    #appointmentBtn {
        display: none; /* Hide mobile button on desktop */
    }
}