*{
    font-family: "Montserrat", serif;
}

html,body {
    background-color: #f6f5f5;
    max-width: 100%;
    overflow-x: clip;
   
}
small{
    color:  red;
    font-size: 1.1em;
}
i{
    font-size: 25px;
}
a{
    text-decoration: none !important;
    color: #000000;
    transition: all 0.2s;
}

.navbar {
    background-color: #ffffff;
    padding: 1rem;

}

.navbar-nav .nav-link {
    color: #000000;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;

}


.navbar-nav .nav-link {
    transition: all 0.5s;
}

.navbar-nav .nav-link:hover {
    color: #f5a841;
    border-bottom: #48443e dotted 0.5px;
}


.hero {
    position: relative;
    background: url(media/banner.webp);
    background-size: cover;
    background-position: bottom;
    min-height: 60vh;
    padding: 6rem 0 3rem;
    margin-bottom: 5.5rem;

}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(32, 26, 22, .7);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    color: #f4f2f3;
}

.hero-img {
    height: auto;
    max-width: 70%;
    margin-top: 2rem;
    position: relative;
    top: 120px;
}

.parallax{
    position: relative;
    height: 300px;
    overflow: hidden;
}



.parallax .parallax_child{
    background-image: url(media/pallarax2.webp);
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    position: absolute;
    width: 100%;
    object-position: right top;
}


.about img {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
}


.studies ul {

    padding: 2rem 2rem;
    width: 100%;
    margin: 0 auto;
}

.studies li {
    margin-bottom: 1rem;


}

.animate-list {

    padding: 0;
}

.slide-in {
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.84s ease-out;
}

.slide-in.active {
    opacity: 0.89;
    transform: translateX(0);
}

.slide-in:nth-child(2) {
    transition-delay: 0.1s;
}

.slide-in:nth-child(3) {
    transition-delay: 0.25s;
}

.slide-in:nth-child(4) {
    transition-delay: 0.4s;
}

.slide-in:nth-child(5) {
    transition-delay: 0.6s;
}

.slide-in:nth-child(6) {
    transition-delay: 0.8s;
}

.slide-in:nth-child(7) {
    transition-delay: 1s;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right:nth-child(1) {
    transition-delay: 0.1s;
}

.slide-in-right:nth-child(2) {
    transition-delay: 0.25s;
}

.slide-in-right:nth-child(3) {
    transition-delay: 0.4s;
}

.slide-in-right:nth-child(4) {
    transition-delay: 0.6s;
}

.slide-in-right:nth-child(5) {
    transition-delay: 0.75s;
}
.slide-in-right:nth-child(6) {
    transition-delay: 0.9s;
}


.helptou {
    
    padding: 4rem 0;
    margin: 3rem 0;
}

.helptou img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.symptoms .accordion{
    background-color: #f6f5f5 !important;
    --bs-accordion-bg:#f6f5f5 !important;
}
.symptoms .accordion .accordion-button{
    border-bottom:2px solid rgba(0,0,0,0.08)
  }
.symptoms .accordion .accordion-body{
  border-bottom:2px solid rgba(0,0,0,0.08)
}
.accordion-button:not(.collapsed){
    color:#000000 !important;
    background-color:#f5a74109 !important;
}
.accordion-button:focus {
    box-shadow: none !important;
}

footer {
    width: 100%;   
    bottom: 20px;
    margin-top: auto;

}

footer .container>h2 {
    text-transform: uppercase;
}

.footer-bord {
    max-width: 1024px;
    margin: 0 auto;
    background: white;
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 20%);
    padding: 2em 0;
}

.footerdata{
    background-color: #8e8381;
    padding: 2rem 0;
    margin: 2rem 0;
    width: 100%;
    position: absolute;
}

.footerdata p:nth-child(1){
    line-height: 3rem;
}
.fs6{
    font-size: 0.8rem;
}

a:hover{
    font-weight: bold;
}
/* Media queries */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding-top: 5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-img {
        margin: 2rem auto;

    }
    
    .about h2,
    .studies h2 {
        text-align: center;
    }
    
    .helptou {
        padding: 2rem 0;
    }
    .spacer {
        display: none;
    }

    .pt-5 {
        padding-top: 2rem; 
    }
    .parallax .parallax_child{
       
      background-position: left;
      background-attachment:scroll;
      
       
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .footer-bord {
        padding: 1.5rem;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.slide-in-left.active {
    animation: slideInLeft 0.8s forwards;
}

.slide-in-bottom {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-in-out;
}

.slide-in-bottom.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .helptou img {
        max-width: 90%;
        margin: 0 auto;
        display: block;
    }

    .slide-in-right {
        transform: translateX(50px); 
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }

    .slide-in-right.active {
        opacity: 1;
        transform: translateX(0);
    }
}
