/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* --- Header --- */


/* Navbar Link Styling */
.custom-navbar .navbar-nav .nav-link {
    font-size: 1rem;
    color: #444; /* Default text color */
    padding: 10px 17px;
    margin: 0 5px; /* Adds space between links */
    transition: all 0.3s ease-in-out;
}

/* Fix Hover Issue */
.custom-navbar .navbar-nav .nav-item {
    position: relative;
}

/* Hover Background Fix */
.custom-navbar .navbar-nav .nav-link:hover {
    background-color: #0056b3; /* Change this color as needed */
    color: white;
    border-radius: 5px;
    padding: 10px 17px; /* Ensures consistent padding */
    margin: 0 5px; /* Ensures spacing remains on hover */
    transition: all 0.3s ease-in-out;
}



* 🔹 Modern Navbar Styling */
.custom-navbar {
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent */
    backdrop-filter: blur(10px); /* Glass effect */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease-in-out;
}

/* 🔹 Navbar Scroll Effect */
.custom-navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

/* 🔹 Navbar Brand */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0056b3;
    display: flex;
    align-items: center;
}




/* Hero Section Fix */
.about-hero {
    position: relative;
    background: url('images/hero-bg.jpg') center/cover no-repeat, #1e1e1e;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 3rem 1rem;
}
.about-hero .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adjust transparency */
}
.about-hero h1, .about-hero p {
    position: relative;
    z-index: 2;
}

/* Ensure Text Visibility */
.about-hero h1 {
    font-size: 3rem;
    font-weight: bold;
}
.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}






/* 🔹 Brand Logo */
.brand-logo {
    height: 40px;
    margin-right: 0px;
}

/* 🔹 Navbar Links */
.navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease-in-out;
    padding: 10px 15px;
    border-radius: 7px;
}

/* 🔹 Hover & Active Effects */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: #0056b3;
    color: white;
}

/* 🔹 Dropdown Menu */
.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

/* 🔹 Contact Info */
.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-contact p,
.header-contact a {
    font-size: 0.9rem;
    font-weight: 500;
    color: hwb(211 0% 30%);
    text-decoration: none;
}

.header-contact a:hover {
    color: #002a5c;
}

/* 🔹 Mobile Navbar Adjustments */
@media (max-width: 991px) {
    .custom-navbar {
        background: rgba(255, 255, 255, 1);
    }

    .header-contact {
        display: none; /* Hide on mobile */
    }
}
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: #555;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007bff;
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown-item {
    padding: 0.75rem 1rem;
    transition: background-color 0.3s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: #f0f0f0;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto; /* Push to the right */
}
.header-contact a{
     text-decoration: none;
    color:#555;
}
/* --- Hero Section (Homepage) --- */
.hero {
    padding: 0; /* Remove padding, let the carousel fill the space */
    margin-bottom: 2rem; /* Add some space below the carousel */
}

.carousel-item img {
    object-fit: cover; /* Cover the entire space without stretching */
    height: 500px; /*  fixed height  */
    width: 100%; /* Ensure full width */
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    padding: 1rem;
    border-radius: 5px;
}

/* --- Services Section (Homepage) --- */
/* .services {
    padding: 3rem 0;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.service-item {
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center; 
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service-item:hover{
   transform: translateY(-5px); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.service-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.service-item a{
     text-decoration: none;
} */


.service-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* === Service Card Styles === */
.service-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s, box-shadow 0.4s;
    background-color: #f9f9f9;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease;
}

/* === Scroll Effect (Fade-In) === */
.service-item.show {
    transform: translateY(0);
    opacity: 1;
}

/* === Image and Text Overlay === */
.service-image {
    position: relative;
}

.service-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s;
}

/* === Text Inside Image === */
.service-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 10px 0;
    transition: background 0.4s;
}

.service-text h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.service-text p {
    font-size: 14px;
    margin: 5px 0 0;
}

/* === Hover Effect (Zoom and Shadow) === */
.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.service-item:hover img {
    transform: scale(1.1);
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, 0.8);
}

.service-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.service-btn .btn {
    background-color: #007bff;
    color: white;
    text-decoration: none;
    padding: 12px 40px;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-align: center;
}

.service-btn .btn:hover {
    background-color: #0056b3;
}


.learn-more-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    text-align: center;
}

/* .service-btn {
    text-align: center;
    width: 100%;
    margin-top: 30px;
}

.service-btn .btn {
    background-color: #007bff;
    color: white;
    text-decoration: none;
    padding: 12px 40px;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: inline-block;
}

.service-btn .btn:hover {
    background-color: #0056b3;
} */

/* === Responsive Design === */
@media (max-width: 992px) {
    .service-section {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .service-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .service-section {
        grid-template-columns: 1fr;
    }
}







/* --- About Section (Homepage) --- */
.about {
    padding: 3rem 0;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* --- Projects Section (Homepage) --- */
.projects {
    padding: 3rem 0;
    text-align: center;
}

.projects h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}
 .project-item a{
      text-decoration: none;
    color: inherit;
 }
/* --- Testimonials Section (Homepage) --- */
.testimonials {
    padding: 3rem 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.testimonial {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #fff;
}
.testimonial p::before {
    content: '"'; /* Add opening quote */
    font-size: 1.5em;
    color: #007bff;
    margin-right: 0.2em;
    font-family: Georgia, serif; /* Use a serif font for quotes */
    vertical-align: top; /* Adjust vertical alignment */

}

.testimonial p::after {
    content: '"'; /* Add closing quote */
     font-size: 1.5em;
    color: #007bff;
    margin-left: 0.2em;
    font-family: Georgia, serif;
      vertical-align: bottom;
}
/* --- Footer --- */
/* footer {
    background-color: #222;
    color: white;
    padding: 20px 0;
    text-align: center;
} */

footer {
    background-color: #f8f9fa; /* Light gray background */
    padding: 30px 0;
    font-size: 14px;
}

iframe {
    max-width: 100%;
    height: 250px;
    border-radius: 8px;
}

footer p, footer h5 {
    color: #212529 !important; /* Dark gray text */
}



.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-left {
    flex: 1;
    text-align: left;
    padding: 10px;
}

.footer-map {
    flex: 1;
    text-align: right;
    padding: 10px;
}

.footer-map iframe {
    width: 100%;
    max-width: 400px;
    height: 250px;
    border-radius: 8px;
}

/* footer {
    background-color: #f8f9fa; 
    padding: 1rem 0;
    text-align: center;
     color: #6c757d;
} */
/* --- Page-Specific Styles --- */


/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: transparent; /* Remove Green Background */
    font-size: 28px;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    box-shadow: none; /* Remove shadow if needed */
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
/* contact page  */









/* About Page */
.about-page-content {
    padding: 4rem 0;
}

.about-page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-page-content h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Services Page */
.services-page-content {
    padding: 4rem 0;
}

.services-page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
.services-page-content > p {
    text-align: center;
    margin-bottom: 2rem;
}
.service-section{
    margin-bottom: 3rem;
}
.service-section h2{
    font-size: 2rem;
    margin-bottom: 1rem;
}
/* Contact Page */
.contact-page-content {
    padding: 4rem 0;
}

.contact-page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-page-content > p {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-info h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.map-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 2rem;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Quote Page */
.quote-page-content {
    padding: 4rem 0;
}

.quote-page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.quote-page-content > p {
    text-align: center;
    margin-bottom: 2rem;
}
/*Project Page*/
.card-title{
    text-align: center;
}
.card-text{
    text-align: center;
}
/* Smooth hover effect */
.card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

/* Modal Image */
.modal-body img {
    max-height: 400px;
    object-fit: cover;
}

/* Center text */
.modal-body p {
    font-size: 16px;
    color: #555;
}


/* Section Styling */
.services-page-content {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3e6e8 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Title Styling with Fade-In Effect */
.section-title {
    font-size: 2.8rem;
    font-weight: bold;
    background: linear-gradient(90deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

/* Underline Animation */
.underline {
    width: 80px;
    height: 4px;
    background: #007bff;
    margin: 10px auto 20px;
    animation: underlineExpand 1s ease-out forwards;
}

/* Description Styling */
.section-description {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s ease-out forwards;
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineExpand {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* Optional: Background Parallax Effect */
.services-page-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("images/background-texture.jpg") no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: -1;
}



body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.navbar {
    background: #333;
    padding: 15px;
    text-align: center;
}

.navbar a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
}

.navbar a.active {
    font-weight: bold;
    text-decoration: underline;
}

.contact-header {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.contact-form, .contact-details, .map-container {
    text-align: center;
    margin: 30px auto;
    width: 80%;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
}

.contact-form button {
    background: #27ae60;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}



/* When navbar is scrolled */
.navbar.scrolled {
    background-color: #fff !important; /* Light background on scroll */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Ensure brand name is always visible */
.navbar.scrolled .navbar-brand span {
    color: #000 !important;
}

/* Ensure nav links stay visible */
.navbar.scrolled .navbar-nav .nav-link {
    color: #000 !important;
}

/* Hover effect */
.navbar.scrolled .navbar-nav .nav-link:hover {
    color: #007bff !important; /* Blue hover */
}

/* Default navbar links */
.navbar .nav-link {
    color: #fff !important; /* White default */
    transition: color 0.3s ease-in-out;
}

/* Normal hover effect */
.navbar .nav-link:hover {
    color: #007bff !important;
}


/* Ensure dropdown background is visible */
.dropdown-menu {
    background-color: #fff !important; /* White background */
    border: 1px solid #ddd !important; /* Light border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important; /* Soft shadow */
}

/* Ensure dropdown links are visible */
.dropdown-menu .dropdown-item {
    color: #000 !important; /* Black text */
    font-weight: 500;
    padding: 10px 15px;
    transition: background 0.3s ease-in-out;
}

/* Hover effect */
.dropdown-menu .dropdown-item:hover {
    background-color: #f0f0f0 !important; /* Light gray hover */
    color: #000 !important;
}

/* Fix the weird background on some elements */
.dropdown-item:focus, 
.dropdown-item:active {
    background-color: #e0e0e0 !important;
    color: #000 !important;
}

/* Make sure the dropdown opens properly */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}





.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: white !important;
}

