html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif; /* Updated to use Roboto */
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease; /* Smooth transition for shrinking effect */
    padding: 20px 30px; /* Default padding */
}

.navbar-shrink {
    padding: 5px 15px; /* Reduced padding for shrinking effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Stronger shadow for emphasis */
    transform: scale(0.95); /* Slightly scale down the navbar */
    background-color: #f8f9fa; /* Optional: Change background color when shrinking */
}

.navbar a {
    color: #333;
    text-decoration: none;
    padding: 15px 20px;
}

.navbar a:hover {
    color: #007bff;
}

section {
    min-height: 100vh; /* Make each section take up the full viewport height */
    display: flex; /* Use Flexbox for centering */
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    padding: 20px; /* Add some padding for spacing */
    scroll-margin-top: 56px; /* Offset for fixed navbar height */
}

#home {
    margin-top: -56px; /* Offset for fixed navbar */
    padding-top: 56px; /* Offset for fixed navbar */
}

.carousel-item img {
    width: 100%;
    height: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: black; /* Set the arrow background color to black */
    background-image: none; /* Remove the default arrow icon */
}

.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
    content: ''; /* Remove default pseudo-elements */
    border: solid white; /* Create a white arrow */
    border-width: 0 5px 5px 0;
    display: inline-block;
    padding: 10px;
}

.carousel-control-prev-icon::after {
    transform: rotate(135deg); /* Rotate to point left */
}

.carousel-control-next-icon::after {
    transform: rotate(-45deg); /* Rotate to point right */
}

footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    text-align: center;
    position: relative;
}

footer p {
    margin: 0;
    color: #666;
}

.hidden {
    display: none !important; /* Use this class to hide elements explicitly */
}

.cookie-consent {
    z-index: 9999;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #343a40; /* Dark background */
    color: white;
}

.cookie-consent p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-consent a {
    color: #17a2b8; /* Bootstrap info color */
    text-decoration: underline;
}

.cookie-consent button {
    margin-left: 15px;
}

/* Add spacing and rounded edges to service boxes */
#services .row > .col-md-4 {
    margin-bottom: 30px; /* Add spacing between rows */
}

#services .p-4 {
    border-radius: 15px; /* Add rounded edges */
    margin: 10px; /* Add spacing between columns */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow for a modern look */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

#services .p-4:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
}

/* Ensure all service boxes are the same height */
#services .row {
    display: flex; /* Use Flexbox for equal height columns */
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
    justify-content: center; /* Center the content */
}

#services .col-md-4 {
    display: flex; /* Make each column a flex container */
    flex-direction: column; /* Stack content vertically */
}

#services .p-4 {
    flex: 1; /* Make the boxes grow to fill available space */
    display: flex; /* Make the box a flex container */
    flex-direction: column; /* Stack content vertically */
    justify-content: space-between; /* Distribute content evenly */
    align-items: center; /* Center content horizontally */
}

/* Styling for the Contact section */
#contact .map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styling for the Request a Call Back form */
#callback-form {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#callback-form .form-control {
    border-radius: 10px;
}

#callback-form button {
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

#callback-form button:hover {
    background-color: #0056b3;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 700; /* Use bold weight for headings */
}

button, a {
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 500; /* Use medium weight for buttons and links */
}