html {
    scroll-behavior: smooth;
  }

  * {
    margin:0;
    padding: 0;
    box-sizing: border-box; 
} 

body {
    margin: 0;
    /* font-family: Arial, sans-serif; */
    font-family: 'Baloo Bhai 2', sans-serif;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* 
header {
    background-color: #333;
    padding: 10px;
} */

a{
    color: none;
    text-decoration: none; 
}


/*                      NAVBAR SECTION START                      */

nav{
    padding: 10px;
}



/*                      NAVBAR SECTION END                      */


/* .header {
    position: relative;
    background:url(../images/home-background.jpg)center/cover no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    z-index: 1;
    height: calc(100vh - 50px);
    max-height: 500px;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.header:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42,45,84,.60); */


    header {
        position: relative;
        height: calc(70vh - 50px); /* Subtract the height of the navbar */
        display: flex;
        align-items: flex-end; /* Align content to the bottom of the header */
        justify-content: center;
        overflow: hidden; /* Ensure the image doesn't overflow the header */
        background-color: #C10035; /* Set the background color */
    }

    .header-image {
        max-height: 70%; /* Make the image responsive */
        width: auto; /* Maintain the aspect ratio */
        text-align: right;
    }

    .header-content {
        z-index: 1;
        text-align: center;
        color: #fff;
        position: absolute;
        top: 50%; /* Center vertically */
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%); /* Center the content precisely */
        max-width: 600px;
        margin-bottom: 20px; /* Adjust the margin as needed */
    }

    div.header-content > h4 {
        font-size: 30px;
        text-align: left;

    }




/* SERVICE SECTION --START*/

.services-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px; 
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-around; 
    align-items: stretch;
} 

.service-card { 
    cursor: pointer; 
    width: 400px; 
    margin: 20px; 
    padding: 2rem 20px 20px 20px; 
    text-align: center; 
    border-radius: 10px; 
    transition: all 0.3s ease-in-out; 
    background-color: gray;
    color: white;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
} 

.service-card ul{
    margin-bottom: 10px;
    color: white;
    text-align: left;
    font-size: 1.2rem;
}
.service-card a.button{
    /* margin-top: auto; */
    margin: auto auto 0 auto;
    
}

.service-card a.button:hover{
    background: white;   
    color: #C10035;
    font-weight: bold;
    text-decoration: none;
    transition: background color font-weight text-decoration .2s linear;
}

.service-card a.button:hover:after{
    border-radius: 0 0 50% 50%;
    transform: translateY(-100%) scaleY(.5);
    transition-delay: 0;
}

/* 
a.button:hover{
    background: white !important;   
    color: #C10035 !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: background ! color font-weight text-decoration .2s linear;
}

a.button:hover:after{
    border-radius: 0 0 50% 50%;
    transform: translateY(-100%) scaleY(.5);
    transition-delay: 0;
} */


.service-card h3{
    color: white;
    font-weight: 600;
    margin: 10px 0 20px 0;
    -webkit-text-stroke-width: 0.0px;
    -webkit-text-stroke-color: black;
}

div.service-card a:first-child{
    text-decoration: none;
}


/* .icon-container { 
    border: 2px solid lightgreen; 
    transition: 0.3s linear; 
    width: max-content; 
    margin: 0 auto; 
    transform: rotate(45deg); 
}  */

.service-card:hover { 
    box-shadow: 0 0 30px 0 rgba(192,0,54,255); 
    transform: scale(1.05); 
} 

.service-card  a { 
    color: rgba(192,0,54,255); 
    text-decoration: none; 
} 

.service-card  a:hover { 
    color: rgba(192,0,54,255); 
    color: white;
    text-decoration: underline; 
} 

.service-card  .button { 
    background-color: rgba(192,0,54,255);
    border-radius: 10px;
    padding: 5px 10px;
    color: white;
} 

@media (max-width: 768px) { 
    .service-card { 
        width: 100%; 
    } 
} 

/* SERVICE SECTION --STOP */

.section-title{
    text-align: center; 
    /* text-transform: uppercase;  */
    margin: 50px;
    font-size: 24px;
}

section{
    margin: 20px 0;
    padding: 0;
}

.section-heading{
    margin-bottom: 30px;
    text-align: center;
    text-decoration: underline rgba(192,0,54,255);
}

div.section-title {
    text-align: left;
}

/* div.section-title > ul{
    margin: 0px 30px;
} */

ol, ul{
    margin: 0px 30px;
}


div.section-title{
    h4{
        margin: 20px 0 10px;
    }
}

/* WYCENA SECTION --START */

#wycene{
    background: gray;
}

#wycena a{
    color: black;
}

#wycena a:hover{ 
    color: rgba(192,0,54,255); 
    /* text-decoration: underline;  */
    text-decoration: none;
}

#wycena .button-container{
    text-align: center;
    margin-top: 20px;
    
}
#wycena .button-container:hover{
    transform: scale(1.03);
    transition: all 0.3s ease-in-out; 
    
    
}

#wycena  a.button { 
    background-color: rgba(192,0,54,255);
    border-radius: 10px;
    padding: 5px 10px;
    color: white;
} 

#wycena  a.button:hover { 
    color: rgba(192,0,54,255); 
    color: white;
    text-decoration: none; 
    /* transform: scale(2.1); */
}




/* WYCENA SECTION --END */




/* CONTACT SECTION --START */

.contact-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: auto;
    grid-gap: 10px;
    margin: 0 auto;
    max-width: 100%;
    /* padding-left: 180px; */
    margin: 0 auto;
    width: 80%;
}

.contact-phone,
.contact-adress,
.contact-hours,
.contact.map{
    justify-self: left;
}



.contact-phone a,
.contact-adress a{
    color: black;
}

.contact-phone a:hover,
.contact-adress a:hover{ 
    color: rgba(192,0,54,255); 
    text-decoration: underline; 
}
/* CONTACT SECTION --STOP */



/* GALLERY SECTION --START */


.gallery-container {
    padding: 40px 5%;
  }
  
  
  ul.image-gallery li {
    list-style: none;
  }
  
  /* Responsive image gallery rules begin*/
  
  .image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .image-gallery > li {
    flex: 1 1 auto; /* or flex: auto; */
    height: 300px;
    cursor: pointer;
    position: relative;
  }
  
  .image-gallery::after {
    content: "";
    flex-grow: 999;
  }
  
  .image-gallery li img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    border-radius: 5px;
  }
  
  .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(57, 57, 57, 0.502);
    top: 0;
    left: 0;
    transform: scale(0);
    transition: all 0.2s 0.1s ease-in-out;
    color: #fff;
    border-radius: 5px;
    /* center overlay content */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  /* hover */
  .image-gallery li:hover .overlay {
    transform: scale(1);
  }
  

/* GALLERY SECTION --STOP */

.section-container{
    max-width: 1600px;
    margin: auto;
}


#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
  }


footer{
    text-align: center;
    margin-top: auto;
}

footer p{
    margin: 0px;
}




@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu{ display: none; }
	.navbar .nav-item:hover .nav-link{   }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
	.navbar .nav-item .dropdown-menu{ margin-top:0; }
}	

@media (min-width:1025px) {
    .header-content {
        margin-left: -15%; /* Adjust the left margin for desktop screens */
        text-align: center; /* Align text to the left on desktop */
    }

    .header-image{
        margin-left: 15%;
    }

    .section-title{
        margin: 50px 150px;
    }

}