html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.divider-text:before, .divider-text:after {
  color: white;
  content: "";
  flex: 1;
  border-bottom: 1px solid #555;
  margin: auto 0.25rem;
  box-shadow: 0 -2px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);  /*Adds a semi-transparent dark background */
    border-radius: 50%;  /*Makes the icon circular */
    width: 50px;
    height: 50px;
}

    .carousel-control-prev-icon:hover,
    .carousel-control-next-icon:hover {
        background-color: rgba(0, 0, 0, 0.7);  /*Darker background on hover */
    }

    .carousel-control-prev-icon::before,
    .carousel-control-next-icon::before {
        filter: invert(1);  /*Inverts the color to make it white */
    }

.carousel-inner {
    height: 100%; /*Set a specific height for the carousel */
    width: 100%; /*Full width for responsiveness */
    margin-bottom: 0; /* Remove margin from the inner carousel */
}

.carousel-item {
    height: 65vh; /* Adjust the height as needed */
    min-height: auto; /* Remove any minimum height settings */
    padding-bottom: 0; /* Remove padding */
}

    .carousel-item img {
        object-fit: cover; /* Ensures the image covers the carousel item area */
        height: 100%; /* Full height of the carousel item */
        width: 100%; /* Full width of the carousel item */
    }

.carousel-caption {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust to center */
    color: white; /* Change to your preferred text color */
    text-align: center; /* Center the text */
    margin-bottom: 0; /* Remove any caption margin if present */
    padding-bottom: 0; /* Remove padding for caption */
}


@media (max-width: 768px) {
    .carousel-inner {
        height: 300px; /* Adjust height for smaller screens */
    }
}

.carousel-indicators [data-bs-target] {
    background-color: rgba(0, 0, 0, 0.5); /* Dark semi-transparent background */
    width: 15px; /* Increase width for better visibility */
    height: 15px; /* Increase height for better visibility */
    border-radius: 50%; /* Make indicators circular */
    margin: 5px; /* Space them out */
    border: 2px solid white; /* Add a white border to make them stand out */
    transition: background-color 0.3s ease; /* Smooth transition on hover and active state */
}

.carousel-indicators .active {
    background-color: white; /* Make the active indicator white */
    width: 18px; /* Make the active indicator slightly larger */
    height: 18px; /* Ensure active indicator has a larger height */
    border-color: rgba(0, 0, 0, 0.5); /* Border around the active indicator */
}

.carousel-indicators [data-bs-target]:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Darker background on hover */
}


.service-item {
    /* Optional: Add shadow and rounded corners */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .service-item:hover {
        transform: scale(1.05); /* Slightly enlarge the card */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
    }

.recent-works {
    position: relative;
    padding-bottom: 0; /* Ensure the container has no padding */
}

.btn-border {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.button-container {
    text-align: right; /* Aligns button to the right */
    margin-top: 10px; /* Adds some space above the button */
}

/* All top-level nav links (normal + dropdown) */
.navbar .navbar-nav .nav-link {
    color: #ffffff; /* default white */
}

    /* Hover / active / open state */
    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link:focus,
    .navbar .navbar-nav .show > .nav-link,
    .navbar .navbar-nav .nav-link.active {
        color: #28a745; /* your green */
    }

/* Side menu active styling */
.bg-primary .nav-pills .nav-link.active {
    color: #28a745 !important;
    /*background-color: #28a745;*/
    font-weight: 600;
}

/* Stronger blue than bg-info-subtle, but still “soft” */
.bg-info-strong {
    background-color: rgba(var(--bs-info-rgb), 0.50) !important; /* 25% instead of 10% */
}

.bg-info-light {
    background-color: #E0F7FA;
}

/* Move caption to the top on small screens for this carousel */
@media (max-width: 768px) {
    #carouselCaptions .carousel-caption {
        top: 0.5rem !important; /* near the top */
        left: 50% !important;
        transform: translateX(-50%) !important; /* only center horizontally */
        display: block !important; /* override d-flex */
        height: auto !important; /* override h-100 */
        text-align: left; /* optional: left align text */
        padding: 0.75rem 1rem; /* some padding from edges */
    }
}

.wizard-actions {
    margin-bottom: 2rem; /* space above footer */
    padding-bottom: 1rem; /* slight inner padding */
}




