.service-section-five {
    position: relative;
    margin: 120px 0 88px;
}

@media (max-width: 575.98px) {
    .service-section-five .sec-title {
        margin-bottom: 30px;
    }
}

@media (max-width: 575.98px) {
    .service-section-five .sec-title .sub-title {
        margin-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .service-section-five .sec-title h2 {
        font-size: 32px;
    }
}

.service-block-five {
    margin-bottom: 24px;
}

.service-block-five .inner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background-color: #f4f4f4;
    background-image: url(../images/resource/pattern1.png);
    position: relative;
    text-align: center;
    border: 2px solid #f8f5f0;
    padding: 45px 32px 42px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.service-block-five .inner-box:hover {
    background-color: var(--theme-color-dark);
}

.service-block-five .inner-box:hover .content-box .title {
    color: var(--theme-color-light);
}

.service-block-five .inner-box:hover .content-box .text {
    color: var(--theme-color-light);
}

.service-block-five .inner-box:hover .icon-box {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
}

.service-block-five .inner-box:hover .icon-box i {
    color: #fff;
}

.service-block-five .inner-box .icon-box {
    margin-bottom: 11px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.service-block-five .inner-box .icon-box i {
    color: #ab8555;
    font-size: 58px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.service-block-five .inner-box .content-box .title {
    margin-bottom: 18px;
}

.service-block-five .inner-box .content-box .text {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-align:justify;
}


.contact-box {
    position: relative;
    background-image: url('https://sjunkins.wordpress.com/wp-content/uploads/2012/04/the-best-top-desktop-hd-dark-black-wallpapers-dark-black-wallpaper-dark-background-dark-wallpaper-23.jpg');
}

.contact-box::before {
    content: "";
    position: absolute;
    width: 80px;
    /* Adjust the size as needed */
    height: 70px;
    /* Adjust the size as needed */
    background-color: #4d4646;
    /* Change the color as needed */
    top: 50%;
    /* Center vertically */
    left: 70px;
    /* Adjust the distance from the left as needed */
    transform: translateY(-50%);
    /* Center vertically */
    z-index: 1;
    /* Ensure it is behind the text */
}

.text-container {
    position: relative;
    z-index: 2;
    /* Ensure it is in front of the square */
}





.box-section {
    text-align: center;
    padding: 0px 0;
}

.box-item {
    padding: 20px;
}

.box-icon {
    display: inline-block;
    /* width: 40px;
    height: 40px; */
    /* border: 2px solid #007bff; */
    margin-bottom: 10px;
}

.box-icon i {
    color: #ab8555;
}

.box-number {
    font-size: 2.5rem;
    font-weight: bold;
}

.box-text {
    text-transform: uppercase;
    font-weight: bold;
}

/* General styles for box items */
.box-item {
    border: none;
    /* Default state without borders */
}

/* Borders only on large screens */
@media (min-width: 992px) {
    .box-item {
        border-bottom: 1px solid white;
        border-right: 1px solid white;
    }

    /* Remove the right border from the last item in each row */
    .box-item:nth-child(4n) {
        border-right: none;
    }

    /* Remove the bottom border from the last row of items */
    .box-item:nth-last-child(-n+4) {
        border-bottom: none;
    }
}


.product-items .card-body h5 {
    font-size: 15px;
    font-weight: bolder;
}

.product-items .card-body h6 {
    font-size: 14px;
}


.logo-section .slick-slide {
    margin: 0 10px;
}

.logo-section .slick-slide img {
    width: 90%;
    display: block;
}

.product-section .up {
    /* color: #55DD11; */
}

.product-section .card {
    color: #FFFFFF;
    width: 100%;
    height: 430px;
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

.product-section .flipper {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 10px;
    perspective: 1000px;
}

/* flip the pane when hovered */
.product-section .flipper.flip .card {
    transform: rotateY(180deg);
}

.product-section .front,
.product-section .back {
    width: 100%;
    /* padding: 5px; */
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

/* front pane, placed above back */
.product-section .front {
    z-index: 2;
    transform: rotateY(0deg);
}

.product-section .front {
    z-index: 2;
    transform: rotateY(0deg);
    background-color: #f8f9fa;
    /* Example background color */
    color: #000;
    /* Text color, adjust as needed */
    /* padding: 15px; Adjust padding if needed */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Optional shadow for better visual separation */
}

.product-section .front h5 {
    font-size: 17px;
    font-weight: bold;
}

.product-section .front h6 {
    font-size: 15px;
}

/* back, initially hidden pane */
.product-section .back {
    transform: rotateY(180deg);
    background-color: rgb(43, 96, 78);
}

/* Scrollable content within the back */
.product-section .scrollable-content {
    max-height: 350px;
    /* Adjust based on the desired visible height */
    overflow-y: auto;
    /* Enable vertical scrolling */

}

/* Customize scrollbar for WebKit browsers */
.product-section .scrollable-content::-webkit-scrollbar {
    width: 5px;
}

.product-section .scrollable-content::-webkit-scrollbar-track {
    /* background: #c01313;
    border-radius: 10px; */
    display: none;
}

.product-section .scrollable-content::-webkit-scrollbar-thumb {
    background: #302d2d;
    border-radius: 10px;
}

.product-section .scrollable-content::-webkit-scrollbar-thumb:hover {
    background: #9f9a9a;
}

/* Remove the scrollbar buttons for WebKit browsers */
.product-section .scrollable-content::-webkit-scrollbar-button {}

/* Customize scrollbar for Firefox */
.product-section .scrollable-content {
    /* scrollbar-width: thin;
    scrollbar-color: #5a2c2c #f1f1f1; */
}

/* Hide scrollbar buttons for Firefox */
.product-section .scrollable-content {
    scrollbar-gutter: stable both-edges;
}

/* Style for the goback element */
.product-section .goback {
    position: absolute;
    bottom: 0px;
    padding-left: 20px;
    left: 0px;
    text-decoration: underline;
    cursor: pointer;
}


.gallery-block.grid-gallery {
    padding-bottom: 60px;
    /* padding-top: 60px; */
}

.gallery-block.grid-gallery .heading {
    margin-bottom: 50px;
    text-align: center;
}

.gallery-block.grid-gallery .heading h2 {
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.gallery-block.grid-gallery a:hover {
    opacity: 0.8;
}

.gallery-block.grid-gallery .item img {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
    transition: 0.4s;
}

.gallery-block.grid-gallery .item {
    margin-bottom: 20px;
}

@media (min-width: 576px) {

    .gallery-block.grid-gallery .scale-on-hover:hover {
        transform: scale(1.05);
        box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important;
    }
}


.select {
    position: relative;
    display: flex;
    width: 20em;
    height: 3em;
    line-height: 3;
    border: 2px solid #ab8555;

    /* background: #5c6664; */
    overflow: hidden;
    border-radius: 2em;
    margin: 0 auto;
    /* Centering the select box */
    margin-bottom: 120px;
    padding: 10px;
}

.select:hover {
    border: 2px rgb(145, 133, 133) solid;
}

select {
    /* -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none; */
    /* outline: 0; */
    box-shadow: none;
    background: white;
    background-image: none;
    flex: 1;
    /* padding: 0 1em; */
    color: #151414;
    cursor: pointer;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
}

select::-ms-expand {
    display: none;
}


.video-section .card {
    position: relative;
    overflow: hidden;
}

.video-section .card-img-container {
    position: relative;
    overflow: hidden;
}

.video-section .card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.video-section .card-img-container:hover .card-img-overlay {
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.video-section .video-play-button {
    font-size: 50px;
    color: white;
}

.video-section .card:hover .card-body .card-text {
    color: rgb(194, 5, 5);
}

/* sign-in-up popups  */


/* Modal styles */
/* Modal styles */
.signin-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1200; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    background-color: rgba(0, 0, 0, 0.4); /* Black background with opacity */
}
  
  /* Modal content */
  .modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 30%; /* Could be more or less, depending on screen size */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Add some shadow for better visibility */
  }
  
  /* Close button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  /* Base styles (Laptop and larger screens) remain unchanged */

/* Responsive styles for mobile view */
@media (max-width: 767px) {
    .modal-content {
      width: 94%; /* Adjust modal width to fit within mobile screens */
      padding: 5px; /* Add some padding for better spacing */
      box-sizing: border-box; /* Ensure padding does not affect width */
    }
  
    .text-end {
      text-align: right; /* Align close button on the right */
    }
  
    .d-flex {
      flex-direction: column; /* Stack elements vertically on mobile */
      align-items: center; /* Center align elements */
    }
  
    .sign-in-form {
      width: 100%; /* Full width form */
      padding: 0; /* Remove padding for better fit */
    }
  
    .sign-in-input input {
      width: 100%; /* Full width inputs */
      font-size: 14px; /* Adjust font size for mobile */
    }
  
    .input-group {
      width: 100%; /* Make input groups full width */
    }
  
    .form-check-label, .form-check-input {
      font-size: 14px; /* Smaller font size for mobile */
      margin-top: 5px; /* Add margin for spacing */
    }
  
    .form-check-input {
      transform: scale(0.8); /* Smaller switch for mobile */
    }
  
    .theme-btn {
      width: 100%; /* Full width button for easier tapping */
      margin-top: 10px; /* Add space above button */
    }
  
    .mt-5, .mb-4, .mt-3, .mb-3 {
      margin-top: 10px;
      margin-bottom: 10px; /* Adjust margins for spacing */
    }
  
    h6, h5 {
      font-size: 16px; /* Adjust heading font size */
    }
  
    .modal img {
      max-width: 100%; /* Ensure image fits within mobile width */
      height: auto; /* Maintain aspect ratio */
    }
  
    .modal-content .close {
      font-size: 24px; /* Larger close button for easier tapping */
    }
  
    #togglePassword {
      right: 10px; /* Ensure icon is visible within input */
    }
  }
  

  .otp-input {
    display: flex;
    justify-content: center;
    align-items: center;
  
  }
  
  .input {
    width: 36px;
    border: none;
    border: 1px solid rgb(63, 61, 61);
    border-radius: 5px;
    margin: 0 10px;
    text-align: center;
    font-size: 18px;
    cursor: not-allowed;
    pointer-events: none;
  }
  
  .input:focus {
    border: 2px solid #ab8555;
    outline: none;
  }
  
  .input:nth-child(1) {
    cursor: pointer;
    pointer-events: all;
  }
  
  /* Custom CSS to prevent wrapping */
  .inputs.row {
    flex-wrap: nowrap;
    overflow-x: hidden;
    /* -webkit-overflow-scrolling: touch; */
  }
  
  .inputs .col-auto {
    flex: 0 0 auto;
  }
  


  /* Styling for the +91 text and vertical line container */
.input-group-text {
    background-color: white; /* Match input background */
    border-right: none; /* Remove default right border */
    position: relative; /* For absolute positioning of divider */
    padding-right: 10px; /* Space between +91 and the divider */
  }
  
  /* Vertical line divider */
  .divider {
    position: absolute; /* Absolute positioning inside the container */
    right: 5px; /* Positioning the line at the end */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for proper vertical centering */
    width: 1px; /* Line width */
    height: 1.5em; /* Adjust the height of the vertical line */
    background-color: #000; /* Line color */
  }
  
  /* Remove left border of the input to blend with the input group text */
  /* .form-control {
    border-left: none;
  } */
  
/* Default styling for the input group and its elements */
.input-group {
  display: flex;
  align-items: center;
  border: 1px solid #f3eeee;
  border-radius: 4px;
  
}

.input-group-text {
  border: none;
  background-color: #fff;
  border-right: 1px solid #f3eeee;
  padding: 0.375rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Focus within effect */
.input-group:focus-within {
  border: 2px solid #ab8555; /* Change border color when any child is focused */
}

.input-group:focus-within .input-group-text {
  border-color: #ab8555; /* Change border color for the country code div */
}

.input-group:focus-within .form-control {
  border-color: #ab8555; /* Change border color for the input field */
}

.mobile .form-control {
  border: none;
  border-left: 1px solid #f3eeee;
  background-color: #fff;
  outline: none;
  /* padding: 0.375rem 0.75rem; */
}

/* Optional: Remove outline when the input is focused */
.mobile .form-control:focus {
  outline: none;
  box-shadow: none;
}



 /* Popup container */
 .popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Background overlay */
  }

  /* Popup content */
.popup-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    text-align: center;
    position: absolute;
    border-radius: 20px;
    /* Change to absolute positioning */
    top: 50%;
    /* Center vertically */
    left: 50%;
    /* Center horizontally */
    transform: translate(-50%, -50%);
    /* Offset by half of its own size */
    box-sizing: border-box;
    /* Ensures padding is included in the width */
}

  /* Close button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  .close:hover,
  .close:focus {
    color: #000;
    cursor: pointer;
  }

  .card-body {
    max-height: 300px;
    overflow-y: auto;
  }

  /* Custom Scrollbar for WebKit browsers (Chrome, Safari) */
  .custom-scrollbar::-webkit-scrollbar {
    width: 5px;
    /* Width of the scrollbar */
  }

  .custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Background of the scrollbar track */
    border-radius: 10px !important;
  }

  .custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #888;
    /* Scrollbar color */
    border-radius: 10px;
    /* Rounded edges */
    border: 2px solid #7c7b7b;
    /* Optional: To create space between the thumb and track */
  }

  /* Remove the up and down arrows in WebKit browsers */
  .custom-scrollbar::-webkit-scrollbar-button {
    height: 0;
    /* Remove height of up/down buttons */
    width: 0;
    /* Remove width of up/down buttons */
    display: none !important;
    /* Ensures scrollbar buttons are hidden */
  }


  .service-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  }


  .service-block{
    cursor:pointer;
  }


.product-block {
    perspective: 1000px;
    /* width: 300px; */
    /* Set a fixed width */
    /* height: 400px; */
    /* Set a fixed height */
}

    .product-block .inner-box {
        position: relative;
        width: 100%;
        height: 100%;
        transform-style: preserve-3d;
        /* Enables 3D transformations */
        transition: transform 0.8s ease;
    }

        .product-block .inner-box.flipped {
            transform: rotateY(180deg);
            /* Flip 180 degrees */
        }

/* Front of the card */
.front {
    position: absolute;
    width: 100%;
    /* height: 100%; */
    backface-visibility: hidden;
    /* Hide back when facing front */
    /* background-color: white; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 2;
    transform: rotateY(0deg);
}

/* Back of the card */
.flip-back {
    padding: 10px;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #aa8453;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    z-index: 1;
}

    .flip-back p {
        padding: 5px;
        font-size: 16px;
        text-align: left;
    }

.product-block .scrollable-content {
    max-height: 300px;
    overflow-y: auto;
}

.scrollable-content::-webkit-scrollbar {
    width: 5px;
}

.scrollable-content::-webkit-scrollbar-track {
    display: none;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: #302d2d;
    border-radius: 10px;
}

    .scrollable-content::-webkit-scrollbar-thumb:hover {
        background: #9f9a9a;
    }

.scrollable-content {
    scrollbar-gutter: stable both-edges;
}

.product-block .content h4 {
    font-size: 15px;
}

.product-block .hover-icon {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    text-align: center;
    /* margin-top: 10px; */
}

.product-block:hover .hover-icon {
    opacity: 1;
    transform: translateY(0);
}

