/* Basic Reset and Full Height Setup */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Default Colors */
.bg-fixed-white { background: #fff; }
.bg-fixed-blue { background: #a3d5ff; }
.bg-fixed-green { background: #93dc5c; }

/* Transparent header Styling */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.header-logo {
    max-height: 40px;
    display: flex;
    align-items: center;
}

.header-logo a {
    text-decoration: none;
    color: #3d5d5f;
    font-weight: 600; 
    font-size: 1.75rem; 
    transition: color 0.3s ease-in-out, font-weight 0.3s ease-in-out; 
}

.header-logo a:hover {
    color: #333;
    font-weight: 700;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 5px;
    align-items: center;
    margin: 0;
    padding: 0;
}

    nav ul li {
        display: flex;
        align-items: center;
    }

        nav ul li a, .user-link {
            text-decoration: none;
            font-weight: bold;
            color: #4f4f4f;
            padding: 10px 20px;
            border-radius: 4px;
            transition: background 0.3s, color 0.3s;
            display: flex;
            align-items: center; 
        }

            nav ul li a:hover {
                background-color: rgba(51, 51, 51, 0.7);
                color: rgba(255, 255, 255, 0.7);
                backdrop-filter: blur(2px);
            }

ul li.seperator {
    font-size: 1.8rem;
    line-height: 2rem;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: #fff;
    margin-top: -5px;
}


/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    header {
        padding: 15px;
    }
}

/* Home - Index */
/* Center the hero section in the middle of the screen */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    text-align: center;
    padding: 80px 20px;
    color: #333;
    z-index: 1;
}

/* Add a morphing blob effect behind the hero-section */
.hero-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(0, 55, 120, 0.3), rgba(0, 123, 255, 0.6));
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    animation: blob-animation 10s infinite ease-in-out;
}

/* Keyframes for blob morphing effect with size variation */
@keyframes blob-animation {
    0%, 100% {
        width: 50%;
        height: 50%;
        border-radius: 45% 55% 60% 40% / 40% 60% 55% 45%;
    }
    25% {
        width: 65%;
        height: 60%;
        border-radius: 50% 50% 45% 55% / 55% 45% 50% 50%;
    }
    50% {
        width: 60%;
        height: 75%;
        border-radius: 60% 40% 50% 50% / 50% 50% 60% 40%;
    }
    75% {
        width: 70%;
        height: 60%;
        border-radius: 55% 45% 40% 60% / 60% 40% 45% 55%;
    }
}

/* Text styling */
.hero-section h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 18px;
    margin-bottom: 40px;
}

/* Button container styling */
.hero-button-container {
    display: inline-block;
}

.hero-button-container a {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    margin: 0 10px;
    transition: background-color 0.3s ease;
}

.hero-button-container .btn-primary {
    background-color: #007bff;
    color: white;
}

.hero-button-container .btn-primary:hover {
    background-color: #0056b3;
}

.hero-button-container .btn-secondary {
    background-color: #6c757d;
    color: white;
}

.hero-button-container .btn-secondary:hover {
    background-color: #5a6268;
}


/* Container for the main content */
.renderBodyContainer {
    margin-top: 55px;
    flex: 1;
}

/* Footer Styling */
footer.sticky-footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* Navbar Styling */
.navbar-fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
}

.navbar-scroll {
    box-shadow: none;
}

.navbar-scroll .navbar-brand,
.navbar-scroll .nav-link,
.navbar-scroll .fa-bars {
    color: black;
}

.navbar-scrolled {
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.navbar-scrolled .navbar-brand,
.navbar-scrolled .nav-link,
.navbar-scrolled .fa-bars {
    color: #4f4f4f;
}

@media (max-width: 991px) {
    .navbar-scroll {
        background-color: #fff;
    }

    .navbar-scroll .navbar-brand,
    .navbar-scroll .nav-link,
    .navbar-scroll .fa-bars {
        color: #4f4f4f !important;
    }
}

/* Focus States */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-white.input-group > .form-control:focus {
    border-color: #fff;
    box-shadow: inset 0 0 0 1px #fff;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(255, 255, 255, 0.75);
}

/* Heading Styles */
.display-1 {
    font-weight: 500 !important;
    letter-spacing: 40px;
}

@media (min-width: 1600px) {
    .display-1 {
        font-size: 10rem;
    }
}

/* Intro Section Heights */
@media (max-width: 450px) {
    #intro {
        height: 950px !important;
    }
}

@media (min-width: 550px) and (max-width: 750px) {
    #intro {
        height: 1100px !important;
    }
}

@media (min-width: 800px) and (max-width: 990px) {
    #intro {
        height: 600px !important;
    }
}

/* Product Wrapper and Layout */
.product-wrapper-container {
    display: flex; 
}

.product-wrapper {
    margin-left: 0.01%;
    width: 103%;
    min-height: 120px;
    border: solid 1px #ccc;
    background: #fff;
    box-shadow: 0 0 8px #ccc;
}

.product-image {
    padding-left: 5px;
    background: #fff;
    background-size: cover;
    align-content: center;
    align-items: center;
}

.fixed-width-image {
    width: 200px;
    height: auto;
    object-fit: cover;
}

.border-right {
    border-right: 1px solid #ccc;
}

.row > .col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.small-text {
    font-size: 0.7rem;
}

.small-left-margin {
    margin: 0;
    padding-left: 0;
}

/* Totals Container Styling */
.totals-container {
    width: 320px;
    margin-right: 10px;
    margin-left: 2.5vw;
}

.totals-container .total-box {
    background: #fff;
    padding: 10px;
    padding-bottom: 0;
    border: 1px solid #ccc;
    box-shadow: 0 0 8px #ccc;
    margin-bottom: 5px;
}

.totals-container .total-box p {
    margin-top: 0;
}

.total-box,
.product-summary-container {
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 0 8px #ccc;
    margin-bottom: 10px;
}

.product-summary {
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.product-summary h5 {
    font-size: 19px;
    margin: 0;
}

.product-summary p {
    font-size: 14px;
    margin: 0;
}

.total-box h4 {
    margin-top: 5px;
}

.button-row {
    display: flex;
    justify-content: center; 
    gap: 20px; 
    margin-top: 20px;
}

.continue-box {
    background: lightgray;
    padding: 0;
    width: 50%;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 8px #ccc;
    margin: 0 auto 10px;
    font-size: 29px;
    font-weight: bold;
    text-align: center;
    transition: background 0.5s ease, width 0.5s ease;
}

.cancel-box {
    background: lightgray;
    padding: 0;
    width: 50%;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 8px #ccc;
    margin: 0 auto 10px;
    font-size: 29px;
    font-weight: bold;
    text-align: center;
    transition: background 0.5s ease, width 0.5s ease;
}

.continue-box:hover
{
    background: lightgreen;
    width: 60%;
    cursor: pointer;
}

.cancel-box:hover {
    background: lightcoral; 
    width: 60%;
    cursor: pointer;
}

.continue-box a {
    color: black;
    text-decoration: none;
}

.center-continue-box {
    width: 25%;
    margin: 0 auto;
    display: block;
}

.center-continue-box:hover {
    width: 30%;
}

#warningMessage {
    color: red;
    display: none;
    margin: 0;
    padding: 5px;
    padding-top: 0;
    margin-bottom: 5px;
    font-weight: bolder;
    border: 1px solid red;
    border-top: 0;
    animation: flashBorderRed 1s linear infinite;
    border-radius: 0 0 5px 5px;
}

@keyframes flashBorderRed {
    0% {
        border-color: red;
    }

    50% {
        border-color: transparent;
    }

    100% {
        border-color: red;
        border-width: 1px;
    }
}


/* Delivery Details Container */
.delivery-details-container {
    padding: 15px;
    border: 1px solid #ccc;
    box-shadow: 0 0 8px #ccc;
    background: #fff;
    margin-right: 0px;
}

.delivery-details-container h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.delivery-details-container .form-group {
    margin-bottom: 13px;
}

.delivery-details-container .form-control {
    width: 100%;
    box-sizing: border-box;
}


/* Projects Page Specific Styles */
.projects-page .projects-filter-options {
    background: #f8f9fa;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.projects-page .projects-clickable-card {
    cursor: pointer;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    transition: all 0.3s ease;
    text-align: left;
}

    .projects-page .projects-clickable-card:hover {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        transform: scale(1.02);
    }

.projects-page .projects-vr {
    border-left: 2px solid #007bff;
    height: 100%;
}

.projects-page .card-image {
    max-width: 60px;
    object-fit: cover;
}

.projects-page h4 {
    font-weight: 600;
}

.projects-page p {
    font-size: 14px;
    margin-bottom: 5px;
}

.projects-page .projects-clickable-card i {
    margin-right: 5px;
    color: #007bff;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-page .projects-clickable-card {
        text-align: center;
    }

    .projects-page .projects-vr {
        display: none;
    }

    .projects-page .row div.col-6 {
        width: 100%;
    }
}

.project-shared-container {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 1px 10px 0;
}

.project-details {
    background: #d2f5fe;
}

.project-delivery-details {
    background: #d2fed9;
}

.project-contractor-details {
    background: #fed2d2;
}

/* Icons */
.icon-black {
    color: black;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-menu li {
    display: block;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-toggle {
    cursor: pointer;
}
