/* Reset default margin and padding */
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #e53935;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* loader==================================== */
body {
    margin: 0;

    font-family: "Winky Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 18px;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure full-width layout */
.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Header image styling */
.head-img {
    position: relative;
    width: 100vw;
    height: 100vh; 
    
}

.head-img img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    

}



/* Overlay styles */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.overlay h1 {
    font-size: 56px;
    margin: 10px 0;
}

.overlay p {
    font-size: 20px;
    max-width: 600px;
}


@media (max-width:768px){
    .overlay h1{
        font-size: 39px;

    }
}


.about-img img{
    height: 300px;
    width: 500px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-img img {
        max-width: 90%;
        max-height: 200px;
    }
    .text-justify{
        width: 80%;
        margin-left: 40px;
        margin-top: 5px;
    }
}
/* style--------------------------------------------------------------------------------------- */

.img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.img img {
    width: 100%;
    height: auto;
    display: block;
}


.img:hover .overlay-img {
    opacity: 1;
}

.overlay-img h4 {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.desc p {
    font-size: 1rem;
    line-height: 1.6;
}


/* button---------------------------------------------------------- */


/* From Uiverse.io by barisdogansutcu */ 
button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
    color: white;
    text-shadow: 2px 2px rgb(0, 0, 0);
    text-transform: uppercase;
    cursor: pointer;
    border: solid 0px black;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 17px;
    background-color: hsl(0, 100%, 50%);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
  }
  
  button:active {
    transform: scale(0.9);
    transition: all 100ms ease;
  }
  
  button svg {
    transition: all 0.5s ease;
    z-index: 2;
  }
  
  .play {
    transition: all 0.5s ease;
    transition-delay: 300ms;
  }
  
  button:hover svg {
    transform: scale(3) translate(50%);
  }
  
  .now {
    position: absolute;
    left: 0;
    transform: translateX(-100%);
    transition: all 0.5s ease;
    z-index: 2;
  }
  
  button:hover .now {
    transform: translateX(10px);
    transition-delay: 300ms;
  }
  
  button:hover .play {
    transform: translateX(200%);
    transition-delay: 300ms;
  }

  
/* services---------------------------------------------------------------- */

.service-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px 0px 20px 0px;
}

.service-img img {
    height: 250px;
    width: 600px;
    object-fit: cover;
    border-radius: 20px 0px 20px 0px;
}
.text-muted{
    text-align: justify;
    margin-right: 20px;
}
@media (max-width:768px) {
    .text-muted{
        text-align: justify;
        width: 100%;
    }
}


@media (max-width: 768px) {
    .service-img img {
        height: 220px;
        width: 500px;
    }
}

/* Overlay text styling - always visible */
.overlay-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5); /* Optional background for better visibility */
    padding: 10px 20px;
    border-radius: 10px;
}

/* Style for the text */
.overlay-img h4 {
    color: white;
    font-size: 1.0rem;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

/* gallery------------------------------------------------ */

.custom-img {
    width: 430px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px; 
    transition: transform 0.6s ease-in-out, box-shadow 0.6s ease-in-out;
}

.custom-img:hover {
    transform: scale(1.05);
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.row.g-3 {
    margin-bottom: 10px; /* Adds space between rows */
}

@media(max-width:768px) {
    .custom-img{
        height: 150px;
        padding-left: 2px;
        padding-right: 2px;
    }
}

