/* Navbar Styling */
.custom-navbar {
  background:rgba(0, 0, 0, 0.8) !important; /* Smooth gradient with creative balance */
  padding: 1rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1); /* Subtle border */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Soft shadow */
  transition: all 0.3s ease-in-out;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}


.nav-item a{
color:#fff !important;
}


.custom-navbar .navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff !important; /* Accent color for branding */
    text-transform: uppercase;
    transition: color 0.3s ease-in-out;
}

.custom-navbar .navbar-brand:hover {
    color: #c51a1a;
}

.custom-navbar .navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #141313; /* Default text color */
    margin: 0 1rem;
    position: relative;
    text-transform: capitalize;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.custom-navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #df1b1c; /* Underline on hover */
    transition: width 0.3s ease-in-out;
}

.custom-navbar .navbar-nav .nav-link:hover {
    color: #df1b1c;
    transform: translateY(-2px); /* Lift effect on hover */
}

.custom-navbar .navbar-nav .nav-link:hover::after {
    width: 100%; /* Full underline on hover */
}

.custom-navbar .navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: #141313;
}

.custom-navbar .navbar-toggler:focus {
    outline: none;
}

.custom-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280,0,0,1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.custom-navbar.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: #fff; /* Ensure visibility on scroll */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow when sticky */
}

/* Mobile Menu Styling */
@media (max-width: 991.98px) {
  .nav-item a{
  color:#000 !important;
  }
    .custom-navbar .navbar-nav .nav-link {
        font-size: 1.2rem;
        margin: 0.5rem 0;
        text-align: center;
    }
    .custom-navbar .navbar-collapse {
        background-color: #f8f9fa;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }
}

/* Services Header */
.services-header {
    background-size: cover;
    background-position: center;
    position: relative;
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.services-header .container {
    position: relative;
    z-index: 2;
}

.services-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.services-header p {
    font-size: 1.2rem;
    color: #f1f1f1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* About Header */
.about-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-header .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.about-header .container {
    position: relative;
    z-index: 2;
}

.about-header h1 {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.about-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
/* Contact Header */
.contact-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-header .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.contact-header .container {
    position: relative;
    z-index: 2;
}

.contact-header h1 {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.contact-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Contact Form Styling */
form .form-control {
    border-radius: 0.5rem;
}

form .btn {
    border-radius: 0.5rem;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

form .btn:hover {
    background-color: #c51a1a;
    transform: scale(1.05);
}

/* Social Icons Styling */
.social-icons a {
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #df1b1c;
}

/* Hero Section */
.hero-section {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65); /* Darker overlay for better contrast */
    z-index: 1; /* Ensure the overlay stays below the content */
}

.hero-content {
    position: relative;
    z-index: 2; /* Place text above the overlay */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for better visibility */
}

.hero-content h1 {
    font-weight: 700; /* Bold font for emphasis */
}

.hero-content p {
    font-size: 1.2rem; /* Slightly larger text for readability */
}


/* Hero Section */
.service-detail-header {
    height: 40vh;
    background-color: #df1b1c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.service-detail-header p {
    font-size: 1.2rem;
}

/* Service Details Section */
.service-detail i {
    font-size: 3rem;
    color: #df1b1c;
    margin-bottom: 1rem;
}

.service-detail h5 {
    font-size: 1.5rem;
    font-weight: bold;
}

.service-detail p {
    font-size: 1rem;
    color: #555;
}

/* Call-to-Action */
.btn-danger {
    border-radius: 0.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-danger:hover {
    background-color: #c51a1a;
    transform: scale(1.05);
}


/* Service Cards */
.service-card .service-icon {
    width: 100%;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.custom-footer {
    border-top: none; /* Removed basic border */
    position: relative;
    padding: 2rem 0;
    background-color: #f8f9fa;
    color: #141313;
}

.footer-wave {
    position: absolute;
    top: -50px; /* Adjust position for the wave */
    left: 0;
    width: 100%;
    height: 50px;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.custom-footer h5 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-footer p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
}

.custom-footer .footer-link {
    font-size: 0.95rem;
    color: #141313;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.custom-footer .footer-link:hover {
    color: #df1b1c; /* Accent color on hover */
    text-decoration: underline;
}

.custom-footer ul {
    padding: 0;
    list-style: none;
}

.custom-footer ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.custom-footer ul li i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.custom-footer .social-icons a {
    display: inline-block;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.custom-footer .social-icons a:hover {
    color: #df1b1c; /* Change color on hover */
    transform: scale(1.1); /* Slight zoom effect */
}

.custom-footer hr {
    border-color: rgba(0, 0, 0, 0.1);
}

.custom-footer p {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .custom-footer h5 {
        font-size: 1.15rem;
    }
    .custom-footer p {
        font-size: 0.85rem;
    }
    .custom-footer ul li {
        font-size: 0.9rem;
    }
    .custom-footer .social-icons a {
        font-size: 1.2rem;
    }
}
