/* Custom Styles */
.hero {
    background: url('https://via.placeholder.com/1920x600') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

footer {
    background-color: #fff; /* White background for the footer */
    color: #333; /* Dark color for text to ensure readability */
}

footer a {
    color: #dc3545; /* Red color for links in the footer */
}

footer img {
    max-width: 150px; /* Adjust logo size as needed */
}

.social-icons a {
    color: #dc3545; /* Red color for social icons */
}

.quote-button {
    background-color: #dc3545; /* Red background for the button */
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    padding-top: 56px; /* Adjust based on navbar height */
}

/* Navbar link hover effect */
.navbar-nav .nav-link {
    transition: color 0.3s ease !important; /* Smooth transition */
}

.navbar-nav .nav-link:hover {
    color: red !important; /* Change color to red on hover */
}
.nav-link {
    font-size: 1 rem; /* Adjust size as needed */
    text-transform: uppercase; /* Makes the text all caps */
    font-weight: bold; /* Makes the text bold */
    text-align: right; /* Center-align the text */
}

/* Spread the nav items evenly */
.navbar-nav {
    width: 40%; /* Make sure it takes the full width */
    display: flex;
    justify-content: space-around; /* Evenly spread out the items */
}

.navbar-brand {
    font-size: 1.5rem; /* Make the brand name bigger */
    font-weight: bold; /* Bold the brand name */
}

.navbar-nav .nav-item {
    flex: 1; /* Makes the items take equal space */
}

.nav-link:hover {
    color: #d9534f; /* Red color on hover for a nice effect */
}



/* The popup container */
.popup {
    display: none; 
    position: fixed; 
    bottom: 0; 
    right: 0; 
    z-index: 10000; 
    width: 350px; 
    height: 100vh; /* or any other height you prefer */
    animation: slideUp 0.5s ease-out; 
    border: 2px solid red; /* Add red border to the popup window */
    border-radius: 10px 10px 1 1; /* Maintain rounded corners */
}

/* Popup content */
.popup-content {
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box; 
    height: 100%; /* Make content fill the popup */
    overflow-y: auto; /* Ensure scroll if content exceeds height */
}

/* Styles for the close button */
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: red; /* Set background color to red */
    color: white; /* Set text color to white */
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}

/* Styles for the submit button */
.popup-content .btn-submit {
    width: 100%;
    background-color: red; /* Set background color to red */
    color: white; /* Set text color to white */
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.popup-content .btn-submit:hover {
    background-color: darkred; /* Darken color on hover */
}

/* Styles for the textboxes */
.popup-content input[type="text"],
.popup-content input[type="email"],
.popup-content textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid red; /* Add red border to textboxes */
    border-radius: 5px;
    box-sizing: border-box;
}

/* Adjusting the textarea size */
.popup-content textarea {
    height: 100px; /* Set height for the comment box */
}


/* Custom scrollbar styling for WebKit browsers */

::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color of the scrollbar track (background) */
}

::-webkit-scrollbar-thumb {
    background: red; /* Color of the scrollbar thumb (scrolling handle) */
    border-radius: 6px; /* Optional: rounded corners for the scrollbar thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: darkred; /* Color of the scrollbar thumb when hovered */
}

#about-us {
    background-color: #d9534f; /* Red background */
    color: #fff;
}

#about-us h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

#about-us p {
    font-size: 1rem;
    line-height: 1.5;
}

#about-us .btn-light {
    color: #d9534f;
    background-color: #fff;
    border-color: #fff;
}

#about-us .btn-light:hover {
    background-color: #f7f7f7;
}

/* General styles for the card */
.card {
  border: none; /* Remove default border */
  border-radius: 12px; /* Rounded corners */
  overflow: hidden; /* Ensure rounded corners apply to all content */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; /* Positioning for overlay effects */
}

/* Card image styles */
.card-img-top {
  border-bottom: 2px solid #eaeaea; /* Border under the image */
  transition: transform 0.3s ease;
}

/* Hover effect for the card image */
.card:hover .card-img-top {
  transform: scale(1.1); /* Slight zoom effect on image */
}

/* Pop-out effect on hover */
.card:hover {
  transform: scale(1.05); /* Slightly enlarges the card */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Adds a shadow for depth */
}

/* Card body styling */
.card-body {
  background: linear-gradient(135deg, #f0f0f0, #ffffff); /* Gradient background */
  padding: 20px;
  border-radius: 12px; /* Matches the card's rounded corners */
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Card title styling */
.card-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
}

/* Card text styling */
.card-text {
  font-size: 0.875rem;
  color: #666;
  margin: 15px 0;
}

/* Button styling */
.card .btn {
  border-radius: 20px; /* Rounded button corners */
  font-weight: bold;
}

/* Optional: Add a hover effect to the button */
.card .btn:hover {
  background-color: #d9534f; /* Change button color on hover */
  color: #fff; /* Ensure text is readable */
}
