/********** Template CSS **********/

/* 
    ======================================
    === 1. GLOBAL & FONT DEFINITIONS ===
    ======================================
*/

:root {
    --primary: #d3b086; /* Changed this to the Gold color for primary accents */
    --light: #ffffff;   /* Changed this to white for light backgrounds like cards */
    --dark: #33433c;    /* Changed this to your dark green/gray */
}

body {
    background-color: var(--dark); /* Sets the main page background to your dark color */
    color: #cccccc; /* Sets a default light gray text color for readability */
    font-family: 'Century Gothic', sans-serif; /* Sets Century Gothic as the main font */
}

/* Specific rule for your brand name in the navbar */
.navbar .navbar-brand h1 {
    font-family: 'Century Gothic', sans-serif !important; /* !important ensures this rule always applies */
    color: var(--primary); /* Ensures the brand name uses the primary gold color */
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
    color: var(--primary); /* Makes headings use the gold color for emphasis */
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
    color: #ffffff; /* Makes sub-headings white for contrast */
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background-color: var(--primary); /* Changed to gold */
}


/* 
    ======================================
    === 2. GENERAL STYLING (Buttons, Spinner, etc.) ===
    ======================================
*/

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--dark); /* Dark text on gold button */
}

.btn.btn-primary:hover {
    background-color: #c5a175;
    border-color: #c5a175;
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--light); /* Changed to light for visibility on dark topbar */
    border-color: #777777;
}

.btn-outline-body:hover {
    color: var(--dark);
    background: var(--light);
    border-color: var(--light);
}


/* 
    ======================================
    === 3. COMPONENT STYLING (Navbar, Header, etc.) ===
    ======================================
*/


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

/* The navbar itself needs a white background to contrast with the dark page */
.bg-white {
    background-color: #33433c !important;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
/* The content cards should have a light background for contrast */
.bg-light {
    background-color: #ffffff !important;
}

.fact-item {
    color: #333; /* Make text inside fact items dark */
}

.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e4b288; /* Changed to dark green/gray */
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: #33433c; /* Gold on hover */
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: rgba(48,67,63,255); /* Semi-transparent dark background */
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(211, 176, 134, 0.9); /* Semi-transparent gold on hover */
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--dark) !important;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: #4a5a53; /* A slightly lighter shade for the inactive tabs */
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link h3 {
    color: #fff !important;
}

.project .nav .nav-link.active h3 {
    color: var(--dark) !important;
}


/*** Team ***/
.team-item {
    color: #333; /* Dark text on light team cards */
}

.team-item .team-social .btn {
    color: var(--light);
    background: var(--dark);
}

.team-item .team-social .btn:hover {
    color: var(--dark);
    background: var(--primary);
}


/*** Appointment ***/
/* Keep appointment section light for form readability */
.appointment-section {
    background-color: #ffffff;
    color: #333;
}


/*** Footer ***/
.footer {
    background-color: #2b3a34; /* A slightly different dark shade for the footer */
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #cccccc;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}
.text-primary1 {
    color: var(--primary) !important;
    font-weight: bold;      /* <-- ADD THIS LINE */
    font-size: 1.1em;       /* <-- AND ADD THIS LINE */
}
.my-box{
    border: solid rgb(47, 9, 9);
    
}