﻿.container {
    max-width: 1440px;
}

.full-width-slider {
    width: 100vw; /* Ensure it spans the full width */
    margin-left: calc(-50vw + 50%); /* Center the carousel */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

    .full-width-slider .carousel-item img {
        width: 100%; /* Ensure images stretch to full viewport width */
        height: auto;
        display: block;
    }

/*Full width dark background*/
.full-width-background {
    width: 100vw; /* Ensure full width */
    margin-left: calc(-50vw + 50%); /* Center the background */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    background-color: #343a40; /* Dark background color */
    padding: 50px 0; /* Add padding for content spacing */
}

.text-background {
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
    padding: 20px 40px;
    border-radius: 50px; /* Ellipse shape */
    text-align: center;
}

@media (max-width: 576px) {
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .carousel-caption h2 {
        font-size: 3rem;
    }
}

@media (min-width: 993px) {
    .carousel-caption h2 {
        font-size: 4rem;
    }
}
/*
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
}
*/
/* Target Chromium-based browsers (Chrome, Edge) */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .full-width-slider, .full-width-background {
        width: calc(100vw - 9px); /* Adjust width by subtracting scrollbar width */
    }

        .full-width-slider .carousel-item img {
            width: calc(100vw - 9px); /* Adjust image width similarly */
            height: auto;
            display: block;
        }
}

/* General container for GNCD section */
#gncd-home-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

    /* Improved 3D card shadow effect */
    #gncd-home-content .gncd-card {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother transition */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        border-radius: 10px; /* Softer edges */
    }

        #gncd-home-content .gncd-card:hover {
            transform: translateY(-12px) scale(1.03); /* Slightly more prominent lift and scale */
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
        }

    /* Improved 3D image hover effect */
    #gncd-home-content .gncd-img {
        transition: transform 0.5s ease-in-out;
        border-radius: 10px; /* Consistent rounded corners */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    }

        #gncd-home-content .gncd-img:hover {
            transform: scale(1.08) rotateY(8deg); /* Slight zoom and rotation effect */
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* More depth on hover */
        }

    /* Button hover effect */
    #gncd-home-content .gncd-btn {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-radius: 25px; /* Rounded button */
    }

        #gncd-home-content .gncd-btn:hover {
            transform: translateY(-4px); /* Lift effect on hover */
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Deeper shadow for emphasis */
        }

    /* Adjust card body padding for better layout */
    #gncd-home-content .card-body {
        padding: 1.5rem;
    }

/* Extra padding on large screens for improved spacing */
@media (min-width: 992px) {
    #gncd-home-content {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

input.border-bottom {
    border: none;
    border-bottom: 2px solid #000 !important; /* Set the color and thickness as needed */
    outline: none;
    width: auto;
    box-shadow: none; /* Ensures no shadow around the input */
}

table textarea {
    min-height: 100px !important; /* Minimum height for the textarea */
    height: auto !important; /* Auto height adjustment */
    resize: vertical !important; /* Allows vertical resizing */
    width: 100% !important; /* Ensures textarea takes up full cell width */
    overflow: auto; /* Ensures scrollbars appear if needed */
    box-sizing: border-box; /* Ensures padding and borders are included in the textarea's width/height */
}

.gncd-img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

.gncd-heading {
    color: #28a745;
}

.gncd-text {
    color: #fff;
}

/* Original css from style.css */
/* START */
.wrap {
    background: #202020;
}

    .wrap .phone a {
        color: #fff;
        font-size: 12px;
    }

.social-media {
    display: inline-block;
}

    .social-media p a {
        width: 34px;
        height: 34px;
        background: #4d4d4d;
        margin-right: 1px;
    }

        .social-media p a span {
            color: #fff;
        }

        .social-media p a:hover {
            background: #f1bc31;
            border-color: #f1bc31;
        }

            .social-media p a:hover span {
                color: #fff;
            }

.ftco-navbar-light {
    background: #fff !important;
    z-index: 3;
    padding: 0;
    -webkit-box-shadow: 0px 5px 20px -17px rgba(0, 0, 0, 0.34);
    -moz-box-shadow: 0px 5px 20px -17px rgba(0, 0, 0, 0.34);
    box-shadow: 0px 5px 20px -17px rgba(0, 0, 0, 0.34);
}

@media (max-width: 991.98px) {
    .ftco-navbar-light {
        background: #fff;
        position: relative;
        top: 0;
        padding: 10px 15px;
    }
}

.ftco-navbar-light .navbar-brand {
    color: #000;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
}

    .ftco-navbar-light .navbar-brand span {
        display: block;
        font-size: 12px;
        font-weight: 500;
    }

    .ftco-navbar-light .navbar-brand:hover, .ftco-navbar-light .navbar-brand:focus {
        color: #000;
    }

@media (max-width: 767.98px) {
    .ftco-navbar-light .navbar-brand {
        margin-bottom: 20px;
    }
}

@media (max-width: 991.98px) {
    .ftco-navbar-light .navbar-nav {
        padding-bottom: 10px;
    }
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    font-size: 11px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 500;
    color: #4d4d4d;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    opacity: 1 !important;
}

    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        bottom: 0;
        left: 0;
        background-color: #f1bc31;
        visibility: hidden;
        -webkit-transform: scaleX(0);
        -ms-transform: scaleX(0);
        transform: scaleX(0);
        -webkit-transition: all 0.2s ease-in-out 0s;
        -o-transition: all 0.2s ease-in-out 0s;
        transition: all 0.2s ease-in-out 0s;
        z-index: -1;
    }

    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover {
        color: #fff;
    }

        .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover:before {
            visibility: visible;
            background-color: #f1bc31;
            -webkit-transform: scaleX(1);
            -ms-transform: scaleX(1);
            transform: scaleX(1);
        }

@media (max-width: 991.98px) {
    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
        padding-left: 0;
        padding-right: 0;
        padding-top: .9rem;
        padding-bottom: .9rem;
    }

        .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover {
            color: #fff;
        }
}

@media (max-width: 767.98px) {
    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
}

.ftco-navbar-light .navbar-nav > .nav-item .dropdown-menu {
    border: none;
    background: #fff;
    -webkit-box-shadow: 0px 10px 34px -20px rgba(0, 0, 0, 0.41);
    -moz-box-shadow: 0px 10px 34px -20px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 10px 34px -20px rgba(0, 0, 0, 0.41);
    border-radius: 4px;
}

    .ftco-navbar-light .navbar-nav > .nav-item .dropdown-menu .dropdown-item {
        font-size: 12px;
        color: #000;
    }

        .ftco-navbar-light .navbar-nav > .nav-item .dropdown-menu .dropdown-item:hover, .ftco-navbar-light .navbar-nav > .nav-item .dropdown-menu .dropdown-item:focus {
            background: #f1bc31;
            color: #fff;
        }

@media (max-width: 991.98px) {
    .ftco-navbar-light .navbar-nav > .nav-item .dropdown-menu {
        display: block !important;
        background: #fff;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

.ftco-navbar-light .navbar-nav > .nav-item.cta > a {
    color: #fff;
    background: #f1bc31;
    border-radius: 0px;
}

@media (max-width: 767.98px) {
    .ftco-navbar-light .navbar-nav > .nav-item.cta > a {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 991.98px) {
    .ftco-navbar-light .navbar-nav > .nav-item.cta > a {
        color: #fff;
        background: #f1bc31;
        border-radius: 4px;
    }
}

.ftco-navbar-light .navbar-nav > .nav-item.active > a {
    color: #fff;
}

    .ftco-navbar-light .navbar-nav > .nav-item.active > a:before {
        visibility: visible;
        background-color: #f1bc31;
        -webkit-transform: scaleX(1);
        -ms-transform: scaleX(1);
        transform: scaleX(1);
    }

@media (max-width: 991.98px) {
    .ftco-navbar-light .navbar-nav > .nav-item.active > a {
        color: #000;
    }

        .ftco-navbar-light .navbar-nav > .nav-item.active > a:before {
            display: none;
        }
}

.ftco-navbar-light .navbar-toggler {
    border: none;
    color: rgba(0, 0, 0, 0.5) !important;
    cursor: pointer;
    padding-right: 0;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: .1em;
}

    .ftco-navbar-light .navbar-toggler:focus {
        outline: none !important;
    }

.searchform {
    height: 46px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border-radius: 5px;
}

    .searchform .form-control {
        width: calc(100% - 46px);
        border: none;
        background: #fff !important;
        color: rgba(0, 0, 0, 0.7) !important;
        font-size: 14px;
    }

        .searchform .form-control::-webkit-input-placeholder {
            /* Chrome/Opera/Safari */
            color: rgba(0, 0, 0, 0.7) !important;
        }

        .searchform .form-control::-moz-placeholder {
            /* Firefox 19+ */
            color: rgba(0, 0, 0, 0.7) !important;
        }

        .searchform .form-control:-ms-input-placeholder {
            /* IE 0+ */
            color: rgba(0, 0, 0, 0.7) !important;
        }

        .searchform .form-control:-moz-placeholder {
            /* Firefox 18- */
            color: rgba(0, 0, 0, 0.7) !important;
        }

    .searchform .search {
        width: 46px;
        height: 46px;
    }

        .searchform .search span {
            font-size: 18px;
        }

.form-control {
    height: 46px;
    background: #fff !important;
    color: #000 !important;
    font-size: 14px;
    border-radius: 0px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
    
    .form-control:focus, .form-control:active {
        border-color: #000;
    }

/* END */

.form-group.textarea.form-control {
    height: auto !important;
    min-height: 100px !important;
    resize: vertical !important;
}

/* Details Pages */
/* Styling for alternating rows in details */
.custom-row {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    margin-left: 0; /* Ensure the row content stays within the card */
    margin-right: 0;
}

    /* Alternating row colors */
    .custom-row:nth-child(even) {
        background-color: #f8f9fa; /* Light gray for even rows */
    }

    .custom-row:nth-child(odd) {
        background-color: #ffffff; /* White for odd rows */
    }

.action-buttons {
    margin-top: 20px;
}

    .action-buttons a {
        margin-right: 10px;
    }