/*******************************/
/********* General CSS *********/
/*******************************/
body {
    background: #ffffff !important; /* Ensures the underlying background is white */
    margin: 0;
    padding: 0;
}

h1,
h2, 
h3, 
h4,
h5, 
h6 {
    color: #030f27;
}

a {
    color: #666666;
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: #b18a1e;
    outline: none;
    text-decoration: none;
}

.btn:focus {
    box-shadow: none;
}

.wrapper {
    position: relative;
    width: 100%;
    max-width: 1366px;
    margin: 0 auto;
    background: #ffffff;
}

.back-to-top {
    position: fixed;
    display: none;
    background: #b18a1e;
    color: #121518;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
}

.back-to-top:hover {
    color: #b18a1e;
    background: #121518;
}

.back-to-top i {
    padding-top: 10px;
}

.btn {
    transition: .3s;
}


/**********************************/
/********** Top Bar CSS ***********/
/**********************************/
.top-bar {
    position: relative;
    height: 90px;
    background: #003351;
}

.top-bar .logo {
    padding: 15px 0;
    text-align: left;
    overflow: hidden;
}

.top-bar .logo h1 {
    margin: 0;
    color: #030f27;
    font-size: 60px;
    line-height: 60px;
    font-weight: 700;
}

.top-bar .logo img {
    max-width: 100%;
    max-height: 70px;
}

.top-bar .top-bar-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar .top-bar-icon {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar .top-bar-icon [class^="flaticon-"]::before {
    margin: 0;
    color: #030f27;
    font-size: 40px;
}

.top-bar .top-bar-text {
    padding-left: 15px;
}

.top-bar .top-bar-text h3 {
    margin: 0 0 5px 0;
    color: #030f27;
    font-size: 16px;
    font-weight: 400;
}

.top-bar .top-bar-text p {
    margin: 0;
    color: #030f27;
    font-size: 13px;
    font-weight: 400;
}

@media (min-width: 992px) {
    .top-bar {
        padding: 0 60px;
    }
}

@media (max-width: 991.98px) {
    .top-bar .logo {
        text-align: center;
    }
}


/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.nav-bar {
    position: relative;
    background: #003351;
    transition: .3s;
}

.nav-bar .container-fluid {
    padding: 0;
}

.nav-bar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 1366px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    z-index: 999;
}

.nav-bar .navbar {
    height: 100%;
    background: #003351 !important;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    padding: 10px 10px 8px 10px;
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #b18a1e;
    transition: none;
}

.nav-bar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

.nav-bar .btn {
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 0;
}

.nav-bar .btn:hover {
    color: #030f27;
    background: #b18a1e;
    border-color: #b18a1e;
}

@media (min-width: 992px) {
    .nav-bar {
        padding: 0 75px;
    }
    
    .nav-bar.nav-sticky {
        padding: 0;
    }
    
    .nav-bar .navbar {
        padding: 20px;
    }
    
    .nav-bar .navbar-brand {
        display: none;
    }
    
    .nav-bar a.nav-link {
        padding: 8px 15px;
        font-size: 15px;
        text-transform: uppercase;
    }
}

@media (max-width: 991.98px) {
    .nav-bar .navbar {
        padding: 15px;
    }
    
    .nav-bar a.nav-link {
        padding: 5px;
    }
    
    .nav-bar .dropdown-menu {
        box-shadow: none;
    }
    
    .nav-bar .btn {
        display: none;
    }
}


/*******************************/
/******** Carousel CSS *********/
/*******************************/
.carousel {
    position: relative;
    width: 100%;
    height: calc(100vh - 170px);
    min-height: 400px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.carousel .carousel-inner,
.carousel .carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps industrial photos sharp and un-stretched */
}

/* Note: The ::after overlay has been removed to keep images clear */

.carousel .carousel-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: calc(100vh - 170px);
    min-height: 400px;
    z-index: 2; /* Ensures text stays above the image */
}

.carousel .carousel-caption p {
    color: #ffffff;
    font-size: 30px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Added for readability */
}

.carousel .carousel-caption h1 {
    color: #ffffff;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 35px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* Added for readability */
}

.carousel .carousel-caption .btn {
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 0;
    transition: .3s;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Added for contrast */
}

.carousel .carousel-caption .btn:hover {
    color: #030f27;
    background: #b18a1e;
    border-color: #b18a1e;
}

@media (max-width: 767.98px) {
    .carousel .carousel-caption h1 {
        font-size: 40px;
        font-weight: 700;
    }
    
    .carousel .carousel-caption p {
        font-size: 20px;
    }
    
    .carousel .carousel-caption .btn {
        padding: 12px 30px;
        font-size: 18px;
        font-weight: 500;
        letter-spacing: 0;
    }
}

@media (max-width: 575.98px) {
    .carousel .carousel-caption h1 {
        font-size: 30px;
        font-weight: 500;
    }
    
    .carousel .carousel-caption p {
        font-size: 16px;
    }
    
    .carousel .carousel-caption .btn {
        padding: 10px 25px;
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 0;
    }
}

.carousel .animated {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
}

/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
    position: relative;
    margin-bottom: 45px;
    padding: 90px 0;
    text-align: center;
    background: #b18a1e;
}

.page-header h2 {
    position: relative;
    color: #030f27;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.page-header h2::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: calc(50% - 50px);
    bottom: 0;
    background: #030f27;
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 22px;
    color: #030f27;
}

.page-header a:hover {
    color: #ffffff;
}

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -2px;
    right: -7px;
    text-align: center;
    color: #121518;
}

.page-header a:last-child::after {
    display: none;
}

@media (max-width: 991.98px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h2 {
        font-size: 45px;
    }
    
    .page-header a {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 45px 0;
    }
    
    .page-header h2 {
        font-size: 35px;
    }
    
    .page-header a {
        font-size: 18px;
    }
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
}

.section-header p {
    color: #b18a1e;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.section-header h2 {
    margin: 0;
    position: relative;
    font-size: 50px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 30px;
    }
}


/* --- Feature Section Base --- */
.feature {
    position: relative;
    margin-bottom: 45px;
}

/* Restores original box sizing/layout */
.feature .col-md-12 {
    background: #030f27;
}
    
.feature .col-md-12:nth-child(2n) {
    background: #b18a1e;
}

.feature .feature-item {
    min-height: 250px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* --- FORCE ALL TEXT TO BLACK --- */
/* This targets the 1st and 3rd boxes */
.feature .feature-text h3 {
    margin: 0 0 10px 0;
    color: #000000 !important; /* Force Black */
    font-size: 25px;
    font-weight: 600;
}

.feature .feature-text p {
    margin: 0;
    color: #000000 !important; /* Force Black */
    font-size: 18px;
    font-weight: 400;
}

/* This targets the middle (2n) box to ensure it stays black as well */
.feature .col-md-12:nth-child(2n) h3,
.feature .col-md-12:nth-child(2n) p {
    color: #000000 !important; /* Force Black */
}

/* Adjusting icon container to avoid alignment issues if flaticons are used later */
.feature .feature-icon {
    position: relative;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.about .section-header {
    margin-bottom: 30px;
}

.about .about-img {
    position: relative;
    height: 100%;
}

.about .about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about .about-text p {
    font-size: 16px;
	color: #333333;
}

.about .about-text a.btn {
    position: relative;
    margin-top: 15px;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #030f27;
    border-radius: 0;
    background: #b18a1e;
    transition: .3s;
}

.about .about-text a.btn:hover {
    color: #b18a1e;
    background: #030f27;
}

@media (max-width: 767.98px) {
    .about .about-img {
        margin-bottom: 30px;
        height: auto;
    }
}


/*******************************/
/********** Fact CSS ***********/
/*******************************/
/* --- Fact Section Fixes --- */
.fact {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.fact .row.counters {
    display: flex;
    flex-wrap: wrap; /* Ensures boxes don't compress too much */
}

.fact .fact-left,
.fact .fact-right {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 15px;
    padding-right: 15px;
    min-height: 200px; /* Ensures consistent height */
}

/* Adjusting the column spacing to prevent text overflow */
.fact .col-6 {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the content to keep it safe from edges */
    padding: 10px;
}

.fact .fact-text {
    text-align: center;
    width: 100%;
}

.fact .fact-text h2 {
    font-size: 40px; /* Slightly larger for that 'industrial' bold look */
    font-weight: 800;
    margin-bottom: 5px;
    white-space: nowrap; /* Prevents the number from breaking */
}

.fact .fact-text p {
    margin: 0;
    font-size: 14px; /* Slightly smaller to ensure long words like 'Completed' fit */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Color Management */
.fact .fact-left {
    color: #b18a1e;
    background: #030f27;
}

.fact .fact-right {
    color: #030f27;
    background: #b18a1e;
}

.fact .fact-left h2 {
    color: #b18a1e;
}

.fact .fact-right h2 {
    color: #030f27;
}

/* Responsive adjustments for mobile so text never cuts */
@media (max-width: 767.98px) {
    .fact .fact-text h2 {
        font-size: 30px;
    }
    .fact .fact-text p {
        font-size: 12px;
    }
}

/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.service .service-item {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.service .service-img {
    position: relative;
    overflow: hidden;
}

.service .service-img img {
    width: 100%;
}

.service .service-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 15, 39, .7);
    transition: .5s;
    opacity: 0;
}

.service .service-item:hover .service-overlay {
    opacity: 1;
}

.service .service-overlay p {
    margin: 0;
    color: #ffffff;
}

.service .service-text {
    display: flex;
    align-items: center;
    height: 60px;
    background: #030f27;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.service .service-text h3 {
    margin: 0;
    padding: 0 15px 0 25px;
    width: calc(100% - 60px);
    font-size: 20px;
    font-weight: 700;
    color: #b18a1e;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.service .service-item a.btn {
    width: 60px;
    height: 60px;
    padding: 3px 0 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    line-height: 60px;
    font-weight: 100;
    color: #030f27;
    background: #b18a1e;
    border-radius: 0;
    transition: .3s;
}

.service .service-item:hover a.btn {
    color: #ffffff;
}





/**********************************/
/*********** Sidebar CSS **********/
/**********************************/
.sidebar {
    position: relative;
    width: 100%;
}

@media(max-width: 991.98px) {
    .sidebar {
        margin-top: 45px;
    }
}

.sidebar .sidebar-widget {
    position: relative;
    margin-bottom: 45px;
}

.sidebar .sidebar-widget .widget-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 5px;
    font-size: 30px;
    font-weight: 700;
}

.sidebar .sidebar-widget .widget-title::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #b18a1e;
}

.sidebar .sidebar-widget .search-widget {
    position: relative;
}

.sidebar .search-widget input {
    height: 50px;
    border: 1px solid #dddddd;
    border-radius: 0;
}

.sidebar .search-widget input:focus {
    box-shadow: none;
}

.sidebar .search-widget .btn {
    position: absolute;
    top: 6px;
    right: 15px;
    height: 40px;
    padding: 0;
    font-size: 25px;
    color: #b18a1e;
    background: none;
    border-radius: 0;
    border: none;
    transition: .3s;
}

.sidebar .search-widget .btn:hover {
    color: #030f27;
}

.sidebar .sidebar-widget .recent-post {
    position: relative;
}

.sidebar .sidebar-widget .tab-post {
    position: relative;
}

.sidebar .tab-post .nav.nav-pills .nav-link {
    color: #b18a1e;
    background: #030f27;
    border-radius: 0;
}

.sidebar .tab-post .nav.nav-pills .nav-link:hover,
.sidebar .tab-post .nav.nav-pills .nav-link.active {
    color: #030f27;
    background: #b18a1e;
}

.sidebar .tab-post .tab-content {
    padding: 15px 0 0 0;
    background: transparent;
}

.sidebar .tab-post .tab-content .container {
    padding: 0;
}

.sidebar .sidebar-widget .category-widget {
    position: relative;
}

.sidebar .category-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar .category-widget ul li {
    margin: 0 0 12px 22px; 
}

.sidebar .category-widget ul li:last-child {
    margin-bottom: 0; 
}

.sidebar .category-widget ul li a {
    display: inline-block;
    line-height: 23px;
}

.sidebar .category-widget ul li::before {
    position: absolute;
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #b18a1e;
    left: 1px;
}

.sidebar .category-widget ul li span {
    display: inline-block;
    float: right;
}

.sidebar .sidebar-widget .tag-widget {
    position: relative;
    margin: -5px -5px;
}

.single .tag-widget a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    border: 1px solid #dddddd;
}

.single .tag-widget a:hover {
    color: #b18a1e;
    background: #030f27;
}

.sidebar .image-widget {
    display: block;
    width: 100%;
    overflow: hidden;
}

.sidebar .image-widget img {
    max-width: 100%;
    transition: .3s;
}

.sidebar .image-widget img:hover {
    transform: scale(1.1);
}


/*******************************/
/******** Portfolio CSS ********/
/*******************************/
.portfolio {
    position: relative;
    padding: 45px 0;
}

.portfolio #portfolio-flters {
    padding: 0;
    margin: -15px 0 25px 0;
    list-style: none;
    font-size: 0;
    text-align: center;
}

.portfolio #portfolio-flters li,
.portfolio .load-more .btn {
    cursor: pointer;
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    color: #030f27;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 0;
    background: #b18a1e;
    border: none;
    transition: .3s;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
    background: #030f27;
    color: #b18a1e;
}

.portfolio .load-more {
    text-align: center;
}

.portfolio .load-more .btn {
    padding: 15px 35px;
    font-size: 16px;
    transition: .3s;
}

.portfolio .load-more .btn:hover {
    color: #b18a1e;
    background: #030f27;
}

.portfolio .portfolio-warp {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.portfolio .portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio .portfolio-img img {
    width: 100%;
    transition: .3s;
}

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

.portfolio .portfolio-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 15, 39, .7);
    transition: .5s;
    opacity: 0;
}

.portfolio .portfolio-warp:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio .portfolio-overlay p {
    margin: 0;
    color: #ffffff;
}

.portfolio .portfolio-text {
    display: flex;
    align-items: center;
    height: 60px;
    background: #030f27;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.portfolio .portfolio-text h3 {
    margin: 0;
    padding: 0 15px 0 25px;
    width: calc(100% - 60px);
    font-size: 20px;
    font-weight: 700;
    color: #b18a1e;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.portfolio .portfolio-warp a.btn {
    width: 60px;
    height: 60px;
    padding: 3px 0 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    line-height: 60px;
    font-weight: 100;
    color: #030f27;
    background: #ffffff;
    border-radius: 0;
    transition: .3s;
}

.portfolio .portfolio-warp:hover a.btn {
    color: #ffffff;
    background: #b18a1e;
}


/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.contact .col-md-6 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.contact .col-md-6:first-child {
    background: #030f27;
}

.contact .col-md-6:last-child {
    background: #b18a1e;
}

.contact .contact-info {
    position: relative;
    width: 100%;
    padding: 0 15px;
}

.contact .contact-item {
    position: relative;
    margin-bottom: 30px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    border: 1px solid rgba(256, 256, 256, .2);
}

.contact .contact-item [class^="flaticon-"]::before {
    margin: 0;
    color: #b18a1e;
    font-size: 40px;
}

.contact .contact-text {
    position: relative;
    width: auto;
    padding-left: 20px;
}

.contact .contact-text h2 {
    color: #b18a1e;
    font-size: 20px;
    font-weight: 600;
}

.contact .contact-text p {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
}

.contact .contact-item:last-child {
    margin-bottom: 0;
}

.contact .contact-form {
    position: relative;
    padding: 0 15px;
}

.contact .contact-form input {
    color: #ffffff;
    height: 40px;
    border-radius: 0;
    border-width: 1px;
    border-color: rgba(256, 256, 256, .4);
    background: transparent;
}

.contact .contact-form textarea {
    color: #ffffff;
    height: 185px;
    border-radius: 0;
    border-width: 1px;
    border-color: rgba(256, 256, 256, .4);
    background: transparent;
}

.contact .contact-form input:focus,
.contact .contact-form textarea {
    box-shadow: none;
}

.contact .contact-form .form-control::placeholder {
  color: #ffffff;
  opacity: 1;
}

.contact .contact-form .form-control::-ms-input-placeholder {
  color: #ffffff;
}

.contact .contact-form .form-control::-ms-input-placeholder {
  color: #ffffff;
}

.contact .contact-form .btn {
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #b18a1e;
    background: #030f27;
    border: none;
    border-radius: 0;
    transition: .3s;
}

.contact .contact-form .btn:hover {
    color: #030f27;
    background: #ffffff;
}

.contact .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    margin-top: 45px;
    padding-top: 90px;
    background: #030f27;
    color: #ffffff;
}

.footer .footer-contact,
.footer .footer-link,
.footer .newsletter {
    position: relative;
    margin-bottom: 45px;
}

.footer h2 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #b18a1e;
}

.footer h2::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    left: 0;
    bottom: 0;
    background: #b18a1e;
}

.footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    transition: .3s;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .footer-link a:hover {
    color: #b18a1e;
    letter-spacing: 1px;
}

.footer .footer-contact p i {
    width: 25px;
}

.footer .footer-social {
    position: relative;
    margin-top: 20px;
}

.footer .footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    padding: 7px 0;
    text-align: center;
    border: 1px solid rgba(256, 256, 256, .3);
    border-radius: 60px;
    transition: .3s;
}

.footer .footer-social a i {
    font-size: 15px;
    color: #ffffff;
}

.footer .footer-social a:hover {
    background: #b18a1e;
    border-color: #b18a1e;
}

.footer .footer-social a:hover i {
    color: #030f27;
}

.footer .newsletter .form {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.footer .newsletter input {
    height: 50px;
    border: 2px solid #121518;
    border-radius: 0;
}

.footer .newsletter .btn {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 40px;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #b18a1e;
    background: #121518;
    border-radius: 0;
    border: 2px solid #b18a1e;
    transition: .3s;
}

.footer .newsletter .btn:hover {
    color: #121518;
    background: #b18a1e;
}

.footer .footer-menu .f-menu {
    position: relative;
    padding: 15px 0;
    font-size: 0;
    text-align: center;
    border-top: 1px solid rgba(256, 256, 256, .1);
    border-bottom: 1px solid rgba(256, 256, 256, .1);
}

.footer .footer-menu .f-menu a {
    color: #ffffff;
    font-size: 16px;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu .f-menu a:hover {
    color: #b18a1e;
}

.footer .footer-menu .f-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


.footer .copyright {
    padding: 30px 15px;
}

.footer .copyright p {
    margin: 0;
    color: #ffffff;
}

.footer .copyright .col-md-6:last-child p {
    text-align: right;
}

.footer .copyright p a {
    color: #b18a1e;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer .copyright p a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer .copyright p,
    .footer .copyright .col-md-6:last-child p {
        margin: 5px 0;
        text-align: center;
    }
}
/* --- GOLDEN DESTINY FULL-WIDTH FIX --- */

body {
    background: #ffffff !important; /* Removes the grey background color */
    margin: 0;
    padding: 0;
}

.wrapper {
    max-width: 100% !important; /* Removes the narrow/boxed look */
    width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important; /* Removes the shadow boundary */
}

/* --- GOLDEN DESTINY BRAND COLOR OVERRIDE --- */

/* 1. Top Bar: Change from Yellow to White */
.top-bar {
    background: #ffffff !important;
}

.top-bar .top-bar-text h3, 
.top-bar .top-bar-text p {
    color: #003351 !important; /* Navy blue text for readability on white */
}

.top-bar .top-bar-icon i {
    color: #B4975A !important; /* Gold icons */
}

/* 2. Navigation Bar: Change Black to Logo Navy Blue */
.nav-bar .navbar {
    background: #003351 !important;
}

.nav-bar .navbar-nav .nav-link {
    color: #ffffff !important;
}
.nav-bar .navbar-nav .nav-link:hover,
.nav-bar .navbar-nav .nav-link.active {
    color: #B4975A !important; /* Gold on hover */
}

/* 3. All Buttons and Yellow Accents: Change to Gold */
.btn,
.nav-bar .btn,
.carousel-caption .btn,
.section-header h2::after,
.feature-item,
.service-item .service-text .btn,
.footer .newsletter .btn {
    background: #B4975A !important; /* Metallic Gold from logo */
    color: #ffffff !important;
    border-color: #B4975A !important;
}

.btn:hover {
    background: #003351 !important; /* Turns Navy Blue on hover */
    border-color: #003351 !important;
}

/* 4. Icons and Other Accents */
.feature-icon i,
.fact-icon i,
.service-item .service-img .service-overlay p,
.footer-social a:hover {
    color: #B4975A !important;
}

/* 5. Footer: Matching the Navy Blue identity */
.footer {
    background: #003351 !important;
}

/* Professional Grid Alignment */
.service-item {
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures all cards in a row have equal height */
    background: #030f27; /* Dark blue from your image */
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.service-img {
    position: relative;
    width: 100%;
    height: 250px; /* Fixed height for all images */
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops image to fill the 250px height without stretching */
    transition: transform 0.5s ease;
}

/* Hover Effect */
.service-item:hover .service-img img {
    transform: scale(1.1);
}

/* Bottom Bar Alignment */
.service-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #030f27;
    padding: 0; /* Remove padding to let the button fill the height */
    height: 60px; /* Uniform height for the text bar */
}

.service-text h3 {
    color: #b18a1e; /* Gold/Yellow from your branding */
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding-left: 15px;
}

.service-text .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 100%;
    background: #b8925f; /* The bronze/gold color for the + button */
    color: #ffffff;
    font-size: 24px;
    border-radius: 0;
    border: none;
    transition: 0.3s;
}

.service-text .btn:hover {
    background: #b18a1e;
    color: #030f27;
}

/* ==========================================================
   CROSS-BROWSER / RESPONSIVE STABILITY PATCH
   Keeps Bootstrap gutters intact and prevents viewport overflow.
   ========================================================== */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img, svg, video, iframe {
    max-width: 100%;
}

.wrapper {
    width: 100%;
    max-width: none !important;
    overflow: hidden;
}

/* Bootstrap rows use negative margins, so their parent containers
   must retain Bootstrap's normal left/right padding. */
.container-fluid {
    width: 100%;
}

.nav-bar.nav-sticky {
    left: 0;
    right: 0;
    max-width: none;
}

.top-bar .logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.carousel,
.carousel .carousel-inner,
.carousel .carousel-item {
    max-width: 100%;
}

.carousel .carousel-caption {
    left: 15%;
    right: 15%;
}

@media (max-width: 991.98px) {
    .top-bar {
        height: auto;
        min-height: 90px;
    }

    .top-bar .logo {
        padding-left: 15px;
        padding-right: 15px;
    }

    .carousel,
    .carousel .carousel-caption {
        height: 65vh;
        min-height: 420px;
    }
}

@media (max-width: 767.98px) {
    .carousel,
    .carousel .carousel-caption {
        height: 60vh;
        min-height: 380px;
    }

    .carousel .carousel-caption {
        left: 8%;
        right: 8%;
    }

    .carousel .carousel-caption h1 {
        line-height: 1.15;
        overflow-wrap: break-word;
    }
}

@media (max-width: 575.98px) {
    .carousel,
    .carousel .carousel-caption {
        height: 55vh;
        min-height: 340px;
    }

    .service-img {
        height: 220px;
    }

    .service-text {
        min-height: 60px;
        height: auto;
    }

    .service-text h3 {
        padding-top: 10px;
        padding-bottom: 10px;
        overflow-wrap: anywhere;
    }
}

/* Company-profile alignment additions */
.profile-card{height:100%;background:#fff;border:1px solid #e5e5e5;}
.profile-card .p-4{padding:28px!important;}
.profile-card h3{color:#003351;margin-bottom:6px;}
.profile-card strong{display:block;color:#b18a1e;margin-bottom:12px;}
.service-text h3{white-space:normal;line-height:1.25;}
@media (max-width:767.98px){.carousel-caption h1{font-size:30px!important;line-height:1.15!important;}.profile-card{margin-bottom:20px;}}


/* Image quality safeguards — 2026-09-24 */
img {
    max-width: 100%;
    height: auto;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
}
.carousel-item img,
.service-img img,
.portfolio-item img,
.about-img img {
    width: 100%;
    image-rendering: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
/* Preserve aspect ratio while filling designed image frames. */
.service-img img, .portfolio-item img { object-fit: cover; }
/* Never blur logos through stretching. */
.logo img, .footer-logo img, .navbar-brand img { object-fit: contain; }

/* Golden Destiny: contact-only footer */
.footer.footer-contact-only {
    padding: 34px 0;
}
.footer-contact-only .container {
    max-width: 1320px;
}
.footer-contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 2fr) repeat(4, minmax(150px, 1fr)) minmax(230px, 1.4fr);
    gap: 22px;
    align-items: center;
    width: 100%;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.5;
    min-width: 0;
}
.footer-contact-item i {
    flex: 0 0 auto;
    color: #c6a04a;
    font-size: 17px;
}
.footer-contact-item span {
    overflow-wrap: anywhere;
}
.footer-contact-address {
    justify-content: flex-start;
}
.footer-contact-email {
    justify-content: flex-end;
}
@media (max-width: 1199.98px) {
    .footer-contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-contact-address,
    .footer-contact-email {
        justify-content: center;
    }
}
@media (max-width: 767.98px) {
    .footer.footer-contact-only {
        padding: 28px 0;
    }
    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .footer-contact-item,
    .footer-contact-address,
    .footer-contact-email {
        justify-content: flex-start;
    }
}

/* Golden Destiny: centered social and footer links */
.footer-extra-row {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    width: 100%;
    text-align: center;
}
.footer-contact-only .footer-social-center {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin: 0 auto 20px !important;
    text-align: center;
}
.footer-contact-only .footer-social-center a {
    width: 40px;
    height: 40px;
    margin: 0 !important;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: .25s ease;
}
.footer-contact-only .footer-social-center a:hover {
    border-color: #c6a04a;
    background: #c6a04a;
    color: #ffffff;
}
.footer-contact-only .footer-social-center a i {
    color: inherit;
    font-size: 15px;
}
.footer-simple-menu {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.footer-simple-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    padding: 0 16px;
    border-right: 1px solid rgba(255,255,255,.16);
    transition: color .25s ease;
}
.footer-simple-menu a:last-child {
    border-right: 0;
}
.footer-simple-menu a:hover {
    color: #c6a04a;
}
@media (max-width: 767.98px) {
    .footer-extra-row {
        margin-top: 22px;
        padding-top: 20px;
    }
    .footer-contact-only .footer-social-center {
        margin-bottom: 16px !important;
    }
    .footer-simple-menu {
        row-gap: 12px;
    }
    .footer-simple-menu a {
        padding: 0 10px;
        font-size: 13px;
    }
}
