#vision h5 {
    color: #ffffff;
    font-weight: bold;
}

#vision p {
    color: rgba(255, 255, 255, 0.8);
}

hr {
    margin: 1px 0;
}

.carousel-indicators li {
    height: 5px;
    border-radius: 50px;
}

.carousel-item {
    transition-duration: 0.5s;
    transition-property: opacity, transform;
}

.carousel-item img {
    transition: transform 0.3s;
    height: 50vh;
    object-fit: cover;
}

.carousel-inner {
    border-radius: 10px;
}


.info-horizontal:hover .description {
    transform: translatex(10px);
    transition-duration: 0.3s;
}

.info-horizontal:hover .icon {
    transform: scale(1.1);
    transition-duration: 0.3s;
}

.info:hover {
    color: black;
    font-weight: 400;
    transition-duration: 0.3s;
}

.typeWriterHeading,
.typed-cursor {
    color: #ffffff;
    font-size: 3.5em;
    font-weight: bold;
}

#contact-form-container .card {
    background-color: #170e0b;
    margin: 0 10px;
}

#contact-form .card-body {
    background-color: #170e0b;
    border-radius: 8px;
}


#services {
    min-height: 85vh;
    background-size: cover;
    background-position: center -60px;
    transition: all 0.3s ease-in-out;
}

#services .card div {
    background-color: rgba(42, 40, 40, 0.1);
}

#services .card-blog h5 {
    color: #ffffff;
}

#services .card-blog p {
    margin: 0 10px;
    color: #ffffff;
}

#services .card-blog > div {
    border-radius: 5px;
}

#services .card-blog:nth-child(n + 2) {
    margin-top: 25px;
}

.video-background {
    position: relative;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#background-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers the entire container */
    filter: brightness(0.8);
    /* Places video behind other content */
    object-fit: contain;
}

@media (max-width: 768px) {
    .video-background {
        height: 50vh; /* Reduce height on small screens */
    }

    #background-video {
        object-fit: contain; /* Prevent cropping */
        width: 100%;
        height: auto;
    }
}

.card-background .card-text {
    padding: 20px;
    border-radius: 15px;
    position: absolute;
    top: 55%;
    margin: 15px;
}

.card-text {
    visibility: visible;
    -webkit-transition: visibility 0s, opacity 0.5s linear;
    transition: visibility 0s, opacity 0.5s linear;
}

.card-background:hover .card-text {
    visibility: visible;
    opacity: 1;
    top: 10%;
    cursor: default;
    transition: opacity 0.2s linear;
}

.card.card-background img {
    position: absolute;
    top: 0;
    background-position: 50%;
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.card-background {
    border-radius: 16px;
    box-shadow: 0px 0px 0px 0px;
    position: relative;
    max-height: 400px;
    min-height: 400px;
    overflow: hidden;
}

.card-background-txt {
    padding: 20px;
    border-radius: 15px;
    position: absolute;
    top: 74%;
    margin: 15px;
    z-index: 2;
}

.card-background img {
    min-width: 100%;
    /*min-height: 400px;*/
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.img-fluid {
    object-fit: cover;
}

.card-background::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    display: block;
    content: "";
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0.625rem;
}

.card-background-hover {
    visibility: hidden;
    -webkit-transition: visibility 0s, opacity 0.5s linear;
    transition: visibility 0s, opacity 0.5s linear;
}

.card-background:hover .card-background-txt {
    top: 17%;
    transition: 0.9s;
}

.card-background:hover .card-background-hover {
    visibility: visible;
    opacity: 1;
    cursor: default;
    transition: opacity 0.5s linear;
}

.card-background-hover {
    visibility: hidden;
    -webkit-transition: visibility 0s, opacity 0.5s linear;
    transition: visibility 0s, opacity 0.5s linear;
}

.card-special1-1 {
    max-height: 320px !important;
    min-height: 320px !important;
}

.card-special1-2 {
    max-height: 450px !important;
    min-height: 450px !important;
}

.card-special2-1 {
    max-height: 500px !important;
    min-height: 500px !important;
}

.card-special2-2 {
    max-height: 400px !important;
    min-height: 400px !important;
}

.card-special3-1 {
    max-height: 425px !important;
    min-height: 425px !important;
}

.card-special3-2 {
    max-height: 475px !important;
    min-height: 475px !important;
}

.top-logo {
    position: absolute;
    top: 5%;
    left: 12%;
}

.bottom-logo {
    position: absolute;
    top: 24%;
    left: 5%;
    display: block;
}

.right-logo {
    position: absolute;
    top: 10%;
    right: 5%;
    display: block;
}

.header-title {
    font-size: 45px
}

.subtitle {
    font-size: 36px
}

.heading {
    font-size: 30px
}

p {
    font-size: 22px;
}

.para {
    font-size: 22px;
}

#fcf-form-id input {
    font-size: 18px;
}

#fcf-form-id textarea {
    font-size: 18px;
}

.form-control:focus, 
.form-control:not(:placeholder-shown) {
  background: linear-gradient(to right, #000000, #ffffff);
  color: #000;  /*Set text color to black for contrast */
  border-color: #ccc; /* Optional: Change border color when focused*/ 
}

.form-control {
  transition: background 0.3s ease, color 0.3s ease;  /*Smooth transition */
}

  .whatsapp-button {
    position:fixed; /* Ensures the icon stays visible while scrolling */
    bottom: 20px; /* Distance from the bottom of the screen */
    right: 20px; /* Distance from the right of the screen */
    background-color: #25D366; /* WhatsApp green */
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Adds a shadow */
    z-index: 1000; /* Ensures the button stays on top of other elements */
    cursor: pointer;
    text-decoration: none;
    font-size: 30px; /* Adjusts the icon size */
    transition: transform 0.3s ease; /* Smooth hover effect */
  }
  .whatsapp-button:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
    background-color: #1EBEA5; /* Slightly darker green on hover */
  }




/* Styling for gallery carousel arrows */
#gallery .carousel-control-prev,
#gallery .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    background: #5A3630; /* Custom background color */
    border-radius: 50%;
    padding: 10px;
    border: none;
    z-index: 10;
    cursor: pointer;
}

#gallery .carousel-control-prev:hover,
#gallery .carousel-control-next:hover {
    background: #0c0101 !important; /* Change background to black on hover */
}

#gallery .carousel-control-prev {
    left: -60px;
}

#gallery .carousel-control-next {
    right: -60px;
}

@media (max-width: 768px) {
    #gallery .carousel-control-prev {
        left: -30px;
    }

    #gallery .carousel-control-next {
        right: -30px;
    }

    #gallery .carousel-control-prev,
    #gallery .carousel-control-next {
        font-size: 20px;
        padding: 8px;
    }
}

/* Maintain three images per row in larger screens */
#galleryCarousel .carousel-item .col-md-4 {
    display: block;
    float: left;
    width: 33.33%; /* Ensure three images appear in one row */
}

@media (max-width: 768px) {
    #galleryCarousel .carousel-item .col-md-4 {
        display: none;
    }

    #galleryCarousel .carousel-item .col-md-4:first-child {
        display: block;
        width: 100%; /* Ensure single image per row in mobile view */
    }
}

/* Prevent hover effects on gallery images */
#galleryCarousel .carousel-item img {
    transition: none !important;
    transform: none !important;
    width: 100%; /* Ensure images take full width of their column */
    height: auto;
}

#galleryCarousel .carousel-item img:hover {
    transform: none !important;
}
