/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.7;
}

h1, h2, h3, h4, h5 {
    color: #0a2540; /* Dark Navy Blue */
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    color: #dddddd !important; /* Changes text from gray to white */
    font-weight: 400; /* Makes the text bold */
    padding-left: 14px !important; /* Horizontal spacing */
    padding-right: 14px !important; /* Horizontal spacing */
    transition: color 0.3s ease; /* Smooth transition */
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff !important; /* Hover color: Pure White */
    transform: translateY(-1px); /* Subtle lift effect */
}

/* Ensure the dropdown menu items look consistent */
.dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.dropdown-item {
    font-weight: 400;
    padding: 6px 20px;
}
/* Custom Dropdown Divider Color */
.dropdown-divider {
    border-top: 1px solid #ffc107; /* BuildCare360 Warning Yellow */
    opacity: 0.5;
    margin: 0.3rem 0;
}


/* Hero Section */
.hero-section {
    background: url('../img/buildcare360.png');
    /*background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1920&q=80');*/
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    height: 100vh;
    min-height: 600px;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(rgba(10, 37, 64, 0.8), rgba(10, 37, 64, 0.7));*/ /* Dark Blue Overlay */
}

/* Section Styling */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* Service Cards - Image Style */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    }

.service-img-wrapper {
    overflow: hidden;
    height: 200px; /* Fixed height for consistency */
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.1); /* Zoom effect on hover */
}

/* Projects List Group */
.list-group-item {
    border-left: 5px solid transparent;
    transition: all 0.2s;
}

    .list-group-item:hover {
        border-left: 5px solid #ffc107;
        background-color: #f8f9fa;
    }

/* Team Images */
.rounded-circle {
    border: 5px solid #fff; /* White border for photos */
}

/* Buttons */
.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

    .btn-warning:hover {
        background-color: #ffca2c;
        border-color: #ffc720;
    }

/* Utility */
.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

/* Responsive - Updated for Mobile/Tablet Scroll Fix */
@media (max-width: 991px) {
    /* Fix: Creates a buffer zone at the top so links don't hide behind the navbar */
    html {
        scroll-padding-top: 60px;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 60px 0;
    }
}
