
/* === ROOT DARK MODE ==== */
:root {
       
    --bg-color: #ffffff;
    --text-color: #080808;
    --section-bg: #f8f9fa;
    --section-text: #000000;
    
    --text-strong-color: #535252;       
    --text-strong-weight: 600;

    --card-bg: #ffffff;
    --card-text: #000000;
    --input-bg: #ffffff;
    --input-text: #000000;
    --title-main-color: #111111;
    --title-main-border-color: #b18d3d;
    --title-small-color: #b18d3d;
    --title-small-border-color: #000000;
    --title-line-color: #b18d3d;
    --section-title-color: #111111;
    --service-title-color: #e2e2e2;
    --service-card-bg: #f8f9fa;
    --service-card-text: #000000;
    --header-bg: #ffffff;
    --header-text: #000000;
    --dropdown-bg: #f8f9fa;
    --dropdown-text: #000000;
    --menu-bg: #f7f7f7;
    --menu-text-main: #111;
    --menu-text-sub: #b18d3d;
    --menu-border: #ccc;
    --menu-link-hover: #b18d3d;
    --toggler-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    --toggler-margin: 0.8rem;
    --nav-link-color: #000000;
    --nav-link-hover: #b18d3d;
    --cookie-bg: #ffffff;
    --cookie-text: #222;
    --cookie-border: #ddd;
    --btn-outline-primary: #b18d3d;

    --color-text-primary: #000;
    --color-text-secondary: #444;
    --color-border: #ccc;

    --table-bg: #fff;
    --table-striped-bg: rgba(0,0,0,0.05);
    --table-hover-bg: rgba(0,0,0,0.075);
    --table-active-bg: rgba(0,0,0,0.1);

    --input-bg: #fff;
    --input-text: #000;
    --input-border: #aaa;
    --input-focus-border: #b18d3d;
    --input-focus-shadow: rgba(214, 168, 16, 0.25);

    --gold-color: #b18d3d;
    --gold-color-hover: #b18d3d;

    --hr-color: #b18d3d;   
    --h3-color: #111111;
    --h3-font-weight: 700;

    --accordion-bg: #ffffff;
    --accordion-text: #222;
    --accordion-border: #ddd;

    --accordion-active-bg: #f8f9fa;
    --accordion-active-text: #b18d3d;

    --accordion-icon-color: #555;

    --pagination-bg: #ffffff;
    --pagination-text: #b18d3d;
    --pagination-border: #dee2e6;

    --pagination-hover-bg: #f1f1f1;
    --pagination-active-text: #fff;

    --breadcrumb-text: #6c757d;
    --bg-light-dynamic: #d9dcdf; 

    --text-color: #0f0f0f;
    --font-weight: 700;

}



.light-theme {

    --bg-color: #000000;
    --text-color: #b3aeae;
    --section-bg: #050505;
    --section-text: #ffffff;

    --text-strong-color: #b8b7b7;      
    --text-strong-weight: 600;

    --card-bg: #111111;
    --card-text: #ffffff;
    --input-bg: #1a1a1a;
    --input-text: #ffffff;
    --title-main-color: #ffffff;
    --title-main-border-color: #b18d3d;
    --title-small-color: #b18d3d;
    --title-small-border-color: #ffffff;
    --title-line-color: #b18d3d;
    --section-title-color: #ffffff;
    --service-title-color: #e2e2e2;
    --service-card-bg: #111;
    --service-card-text: #ffffff;
    --header-bg: #0d0d0d;
    --header-text: #ffffff;
    --dropdown-bg: #111111;
    --dropdown-text: #ffffff;
    --menu-bg: #111;
    --menu-text-main: #fff;
    --menu-text-sub: #b18d3d;
    --menu-border: #444;
    --menu-link-hover: #b18d3d;
    --toggler-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    --toggler-margin: 1.5rem;
    --nav-link-color: #ffffff;
    --nav-link-hover: #b18d3d;
    --cookie-bg: #1f1f1f;
    --cookie-text: #eaeaea;
    --cookie-border: #222;
    --btn-outline-primary: #b18d3d; 

    --color-text-primary: #a0a0a0;
    --color-text-secondary: #888;
    --color-border: #333;
    
    --table-bg: #0d0d0d;
    --table-striped-bg: #191919;
    --table-hover-bg: #1f1f1f;
    --table-active-bg: #252525;

    --input-bg: #111;
    --input-text: #a0a0a0;
    --input-border: #666;
    --input-focus-border: #b18d3d;
    --input-focus-shadow: rgba(214, 168, 16, 0.25);

    --gold-color: #b18d3d;
    --gold-color-hover: #b18d3d;

    --hr-color: #b18d3d;   
    --h3-color: #ffffff;
    --h3-font-weight: 700;

    /* Accordion */
    --accordion-bg: #0d0d0d;
    --accordion-text: #a0a0a0;
    --accordion-border: #c5c3c3;

    --accordion-active-bg: #191919;
    --accordion-active-text: #b18d3d;

    --accordion-focus-border: #b18d3d;
    --accordion-focus-shadow: rgba(177, 141, 61, 0.25);

    --accordion-icon-color: #a0a0a0;
    --accordion-icon-active: #b18d3d;

    /* Pagination */
    --pagination-bg: #0d0d0d;
    --pagination-text: #b18d3d;
    --pagination-border: #333;

    --pagination-hover-bg: #1f1f1f;
    --pagination-hover-text: #b18d3d;

    --pagination-active-bg: #b18d3d;
    --pagination-active-text: #000;

    /* Breadcrumb */
    --breadcrumb-text: #888;
    --breadcrumb-divider: "/";

    --bg-light-dynamic: #111111; 
 
    --text-color: #adb5bd;
    --font-weight: 700;

}



.navbar-toggler-icon {
    background-image: var(--toggler-icon) !important;
}

.navbar-toggler {
    margin-right: var(--toggler-margin) !important;
}

    
body {

    background: var(--bg-color) !important;
    color: var(--text-color) !important;
    transition: 0.3s ease-in-out;
}


.bg-dark:not(.navbar),
.bg-secondary,
.team-item,
.service-item,
.testimonial-item {
    background: var(--section-bg) !important;
    color: var(--section-text) !important;
}


.card,
.card-body {
    background: var(--card-bg) !important;
    color: var(--card-text) !important;
    transition: 0.3s ease-in-out;
}


.team-body,
.service-text,
.list-group-item {
    background: var(--section-bg) !important;
    color: var(--section-text) !important;
}

.text-light,
.text-white {
    color: var(--text-color) !important;
}

input, .form-control {
    background: var(--input-bg) !important;
    color: var(--input-text) !important;
    border-color: #777;
    transition: 0.3s;
}

strong,
b {
    color: var(--text-strong-color);
    font-weight: var(--text-strong-weight);
}

.footer p strong {
    color: var(--text-strong-color);
    font-weight: var(--text-strong-weight);
}


/* 
=======================
TITLE BASE H1 H2 STYLES
=======================
*/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1,
.title .title-left h2,
.title .title-center h2,
.title .title-right h2 {
    color: var(--title-main-color) !important;
    color: var(---bs-white-50) !important;
    border-bottom: 1px solid var(--title-main-border-color) !important;
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    font-size: clamp(1.4rem, 4vw, 2.5rem);
}

.title .title-left h2,
.title .title-center h2,
.title .title-right h2 {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
}


.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-weight: 300;
    font-size: clamp(0.8rem, 2.5vw, 1.125rem);
    color: var(--title-small-color) !important;
    overflow: visible;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    top: 9px;
    width: 500%;
    border-bottom: 1px solid var(--title-line-color) !important;
    pointer-events: none;
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

h3 {
    color: var(--h3-color);
    font-weight: var(--h3-font-weight);
}

@media (max-width: 576px) {

    .title {
        margin-bottom: 1.5rem;
    }

    .title .title-left,
    .title .title-center,
    .title .title-right {
        max-width: 100%;
    }
}



.text-uppercase {
    text-transform: uppercase !important;
    color: var(--service-title-color) !important;
}


.row.g-0.align-items-center {
    background: var(--service-card-bg) !important;
    color: var(--service-card-text) !important;

    border-radius: 16px;
    padding: 22px;

    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s ease-in-out;
}

.light-theme .row.g-0.align-items-center {
    border-color: rgba(0,0,0,0.15) !important;
}

.row.g-0.align-items-center:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.navbar {
    background: var(--header-bg) !important;
    color: var(--header-text) !important;
}
.navbar a {
    color: var(--header-text) !important;
}


.mega-menu, .dropdown-menu {
    background: var(--dropdown-bg) !important;
    color: var(--dropdown-text) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

.light-theme .mega-menu,
.light-theme .dropdown-menu {
    border-color: rgba(0,0,0,0.15) !important;
}

.dropdown-menu a {
    color: var(--dropdown-text) !important;
}




/* ================================
   BOOTSTRAP TABLE SYSTEM – FIXED
   ================================ */

/* Base table variables */
.table {
    /* Core */
    --bs-table-bg: var(--table-bg);
    --bs-table-color: var(--color-text-primary);

    /* States */
    --bs-table-striped-bg: var(--table-striped-bg);
    --bs-table-hover-bg: var(--table-hover-bg);
    --bs-table-active-bg: var(--table-active-bg);

    /* Default accent (VERY IMPORTANT) */
    --bs-table-accent-bg: var(--table-bg);

    --bs-table-striped-color: var(--color-text-primary);
    --bs-table-hover-color: var(--color-text-primary);
    --bs-table-active-color: var(--color-text-primary);

    width: 100%;
    color: var(--color-text-primary);
    border-color: var(--color-border);
    background-color: var(--bs-table-bg);
}

/* Table head */
.table thead th {
    color: var(--color-text-primary);
    background-color: var(--table-bg);
    border-bottom: 1px solid var(--color-border);
}

/* Cells (td + th) */
.table > :not(caption) > * > * {
    padding: .5rem;
    background-color: transparent;
    color: var(--bs-table-color);
    border-bottom: 1px solid var(--color-border);

    /* Bootstrap background engine */
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

/* Striped rows */
.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
}

/* Hover rows */
.table-hover > tbody > tr:hover {
    --bs-table-accent-bg: var(--bs-table-hover-bg);
}

/* Active row */
.table-active {
    --bs-table-accent-bg: var(--bs-table-active-bg);
}

/* =================================
   CONTEXTUAL BOOTSTRAP ROWS
   ================================= */

.table-info {
    --bs-table-accent-bg: rgba(13, 202, 240, 0.15);
    --bs-table-color: var(--color-text-primary);
}

.table-success {
    --bs-table-accent-bg: rgba(25, 135, 84, 0.18);
    --bs-table-color: var(--color-text-primary);
}

.table-warning {
    --bs-table-accent-bg: rgba(255, 193, 7, 0.18);
    --bs-table-color: var(--color-text-primary);
}

.table-danger {
    --bs-table-accent-bg: rgba(220, 53, 69, 0.18);
    --bs-table-color: var(--color-text-primary);
}

/* Optional: brand-gold variant */
.table-gold {
    --bs-table-accent-bg: rgba(177, 141, 61, 0.18);
    --bs-table-color: var(--section-text);
}




.form-control,
.form-control-sm,
.form-control-lg,
textarea.form-control {
    color: var(--input-text);
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: .375rem;
    padding: .375rem .75rem;
}

.form-control:focus {
    color: var(--input-text);
    background-color: var(--input-bg);
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 .25rem var(--input-focus-shadow);
}

.form-control:disabled,
.form-control[readonly] {
    background-color: var(--input-bg);
    opacity: .65;
}


.form-select {
    color: var(--input-text);
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
}

.form-select:focus {
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 .25rem var(--input-focus-shadow);
}


.form-check-input {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
}

.form-check-input:checked {
    background-color: var(--input-focus-border);
    border-color: var(--input-focus-border);
}


.form-range::-webkit-slider-thumb {
    background-color: var(--input-focus-border);
}

.form-range::-moz-range-thumb {
    background-color: var(--input-focus-border);
}


.form-control[type="file"] {
    color: var(--input-text);
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
}


.btn-outline-primary {
    color: var(--btn-outline-primary);
    border-color: var(--btn-outline-primary);
}

.btn-outline-primary:hover {
    background-color: var(--btn-outline-primary);
    color: #000;
}


hr {
    margin: 1rem 0;
    color: var(--hr-color);
    background-color: currentColor;
    border: 0;
    opacity: .25;
}

hr:not([size]) {
    height: 1px;
}





.form-floating i {
    color: var(--gold-color);
}

.form-floating .form-control:focus ~ i {
    color: var(--gold-color-hover);
}

i.fa-solid {
    color: #b18d3d; 

}

i.fa-solid:hover {
    color: #b18d3d;
}


.fw-bold {
  font-weight: var(--font-weight);
}







.accordion-button {
    color: var(--accordion-text);
    background-color: var(--accordion-bg);
    transition: color .15s, background-color .15s, box-shadow .15s;
}

.accordion-button:not(.collapsed) {
    color: var(--accordion-active-text);
    background-color: var(--accordion-active-bg);
    box-shadow: inset 0 -1px 0 var(--accordion-border);
}

.accordion-button:focus {
    border-color: var(--accordion-focus-border);
    box-shadow: 0 0 0 .25rem var(--accordion-focus-shadow);
}

.accordion-item {
    background-color: var(--accordion-bg);
    border: 1px solid var(--accordion-border);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23a0a0a0' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646L8 10.293l6.354-5.647.708.708-7.062 6.062a.5.5 0 0 1-.708 0L.938 5.354z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23b18d3d' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646L8 10.293l6.354-5.647.708.708-7.062 6.062a.5.5 0 0 1-.708 0L.938 5.354z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}


.page-link {
    color: var(--pagination-text);
    background-color: var(--pagination-bg);
    border: 1px solid var(--pagination-border);
}

.page-link:hover {
    color: var(--pagination-hover-text);
    background-color: var(--pagination-hover-bg);
}

.page-item.active .page-link {
    color: var(--pagination-active-text);
    background-color: var(--pagination-active-bg);
    border-color: var(--pagination-active-bg);
}



.breadcrumb-item {
    color: var(--breadcrumb-text);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: var(--breadcrumb-divider);
    color: var(--breadcrumb-text);
}





.blog-hidden {
  display: none !important;
}
/* 
======================
COOKIE CONSENT STYLES 
======================
*/
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--cookie-bg);
    color: var(--cookie-text);
    padding: 20px;
    z-index: 9999;
    display: none;
    border-top: 1px solid var(--border-color);
    animation: slideUp 0.6s ease;
    backdrop-filter: blur(8px);
}

.cookie-box {
    max-width: 900px;
    margin: auto;
}

.cookie-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cookie-text {
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.cookie-buttons button {
    margin-right: 10px;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/*
=================
 SETTINGS MODAL
================= 
*/

.cookie-settings {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    display: none;
    z-index: 10000;
}

.settings-box {
    background: var(--cookie-bg);
    color: var(--cookie-text);
    width: 90%;
    max-width: 500px;
    padding: 25px;
    margin: 100px auto;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.settings-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.setting-item {
    margin: 12px 0;
}

.settings-buttons {
    margin-top: 20px;
}

.settings-buttons button {
    margin-right: 10px;
}


@media (max-width: 600px) {
    .settings-box {
        margin: 40px auto;
        width: 92%;
    }
}
/*
================
MOBILE COOKIE 
================
*/
@media (max-width: 600px) {

    .cookie-consent {
        padding: 12px 14px;
    }

    .cookie-box {
        max-width: 100%;
    }

    .cookie-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .cookie-text {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .cookie-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .cookie-buttons button {
        font-size: 0.75rem;
        padding: 6px 10px;
        margin-right: 0;
        flex: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

#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;
}

.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.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: inherit;
}

.btn-primary {
    color: var(--bs-white);
}

/*
======================
Header, menu, buttons
======================
*/
/* ================= NAVBAR ================= */

.navbar {
    position: relative;
    padding: 0 15px;
    z-index: 9999;
    height: auto;        
    min-height: unset;    
}

/* ================= LOGO ================= */

.logo-img {
    height: 140px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease;
}

/* ================= NAV LINKS ================= */

.navbar-nav {
    flex: 1;
    justify-content: center;
    padding-right: 130px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--nav-link-color) !important;
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    white-space: nowrap;
    transition: color .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--nav-link-hover) !important;
}

/* ================= DESKTOP ACTIONS ================= */

.desktop-actions-wrap {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 9999;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1600px) {
    .logo-img { height: 105px; }
    .navbar-nav { padding-right: 120px; }
    .desktop-actions-wrap {
        gap: 16px;
        transform: translateY(-50%) scale(0.95);
    }
}

@media (max-width: 1400px) {
    .logo-img { height: 100px; }
    .navbar-nav { padding-right: 115px; }
    .desktop-actions-wrap {
        gap: 14px;
        transform: translateY(-50%) scale(0.90);
    }
}

@media (max-width: 1200px) {
    .logo-img { height: 95px; }
    .navbar-nav { padding-right: 110px; }
    .desktop-actions-wrap {
        gap: 12px;
        transform: translateY(-50%) scale(0.85);
    }
}

@media (max-width: 1050px) {
    .logo-img { height: 90px; }
    .navbar-nav { padding-right: 105px; }
    .desktop-actions-wrap {
        gap: 10px;
        transform: translateY(-50%) scale(0.80);
    }
}

@media (max-width: 991px) {
    .desktop-actions-wrap {
        display: none !important;
    }

    .navbar-nav {
        padding-right: 0 !important;
    }

    .logo-img {
        height: 80px;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 0;
        font-size: 16px;
    }
}

/*
=====================
   PREMIUM MEGA MENU 
=====================
*/

.mega-parent {
    position: static !important;
}

.mega-menu {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    padding: 25px 35px;
    background: var(--menu-bg);
    border-top: 1px solid var(--menu-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.28s ease-in-out;
    z-index: 9999;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.mega-menu.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (min-width: 992px) {
    .mega-menu {
        max-height: none;
    }
    .mega-menu .col-lg-3 {
        max-height: 290px;
        overflow-y: auto;
        padding-right: 12px;
        scrollbar-width: thin;
    }
}

@media (max-width: 991px) {
    .mega-menu {
        max-height: 450px;
        overflow-y: auto;
    }
    .mega-menu .col-lg-3 {
        max-height: none !important;
        overflow: visible !important;
    }
}

.mega-menu .col-lg-3::-webkit-scrollbar {
    width: 6px;
}
.mega-menu .col-lg-3::-webkit-scrollbar-track {
    background: transparent;
}
.mega-menu .col-lg-3::-webkit-scrollbar-thumb {
    background-color: var(--menu-text-sub);
    border-radius: 4px;
}

.mega-menu span.h6 {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--menu-text-main);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--menu-border);
    padding-bottom: 7px;
}

.mega-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-menu ul li {
    margin-bottom: 4px;
}
.mega-menu ul li a {
    display: block;
    padding: 7px 0;
    color: var(--menu-text-sub);
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    border-radius: 5px;
}
.mega-menu ul li a:hover {
    padding-left: 6px;
    color: var(--menu-link-hover);
    background: rgba(255,255,255,0.05);
}

img {
    pointer-events: none !important;
    -webkit-user-drag: none !important;
    user-select: none !important;
}

.mega-menu ul li {
    opacity: 0;
    transform: translateY(6px);
    animation: fadeInList 0.35s forwards ease;
}
.mega-menu.show ul li {
    animation-delay: 0.05s;
}

@keyframes fadeInList {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.theme-switch input { display: none !important; }

.switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 62px;
    height: 32px;
    background: linear-gradient(135deg, #222, #333);
    border-radius: 50px;
    padding: 0 6px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.switch .slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    transition: 0.4s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    z-index: 1;
}

.switch .icon { font-size: 16px; z-index: 2; opacity: 0.6; transition: 0.3s; }
.switch .sun { color: #b18d3d; }
.switch .moon { color: #b18d3d; }

.theme-switch input:checked + .switch {
    background: linear-gradient(135deg, #ffd84c, #ffb800);
    box-shadow: 0 0 15px rgba(255,200,0,0.6);
}

.theme-switch input:checked + .switch .slider {
    transform: translateX(30px);
}

.theme-switch input:checked + .switch .sun { opacity: 1; }
.theme-switch input:checked + .switch .moon { opacity: 0.3; }

@media (max-width: 991px) {
    .desktop-actions-wrap {
        display: none !important;
    }
}
@media (max-width: 1600px) {
    .navbar .nav-link { font-size: 16.5px; margin-right: 20px; }
    .navbar-nav { padding-right: 100px; }
    .desktop-actions-wrap { gap: 15px; }
}

@media (max-width: 1400px) {
    .navbar .nav-link { font-size: 16px; margin-right: 18px; }
    .navbar-nav { padding-right: 80px; }
    .desktop-actions-wrap { gap: 13px; }
}

@media (max-width: 1200px) {
    .navbar .nav-link { font-size: 15.5px; margin-right: 15px; }
    .navbar-nav { padding-right: 60px; }
    .desktop-actions-wrap { gap: 12px; }
}

@media (max-width: 1100px) {
    .navbar .nav-link { font-size: 15px; margin-right: 12px; }
    .navbar-nav { padding-right: 40px; }
    .desktop-actions-wrap { gap: 11px; }
}

@media (max-width: 1050px) {
    .navbar .nav-link { font-size: 14.5px; margin-right: 10px; }
    .navbar-nav { padding-right: 30px; }
    .desktop-actions-wrap { gap: 10px; }
}

@media (max-width: 991px) {
    .navbar-nav {
        text-align: left !important;
        padding-left: 20px !important;
    }
    .nav-link {
        text-align: left !important;
    }
    [dir="rtl"] .navbar-nav {
        text-align: right !important;
        padding-left: 0 !important;
        padding-right: 20px !important;
    }
    [dir="rtl"] .nav-link {
        text-align: right !important;
    }
}

/*
===============
Themes Switch 
===============
*/

.theme-switch input { 
    display: none !important; 

}

.switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 62px;
    height: 32px;
    background: linear-gradient(135deg, #727272, #e2e0e0);
    border-radius: 50px;
    padding: 0 6px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 10px rgba(143, 142, 142, 0.5);

    direction: ltr !important;     
    flex-direction: row !important;

}

.switch .slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    transition: 0.4s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    z-index: 1;
}

.switch .icon { font-size: 16px; z-index: 2; opacity: 0.6; transition: 0.3s; }

.switch .sun {
    color: #b18d3d;
    order: 1;   
}

.switch .moon {
    color: #b18d3d;
    order: 2;  
}

.theme-switch input:not(:checked) + .switch .sun {
    opacity: 1;
}
.theme-switch input:not(:checked) + .switch .moon {
    opacity: 0.3;
}
.theme-switch input:checked + .switch .sun {
    opacity: 0.3;
}
.theme-switch input:checked + .switch .moon {
    opacity: 1;
}

.theme-switch input:checked + .switch {
    background: linear-gradient(135deg, #ffd84c, #ffb800);
    box-shadow: 0 0 15px rgba(255,200,0,0.6);
}

.theme-switch input:checked + .switch .slider {
    transform: translateX(30px);
}

.theme-switch input:checked + .switch .sun { opacity: 1; }
.theme-switch input:checked + .switch .moon { opacity: 0.3; }

[dir="rtl"] .switch {
    flex-direction: row !important; 
}

/*
=================
Language Switcher
=================
*/

.lang-switcher { 
    position: relative; 
    display: inline-block; 
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1.5px solid var(--header-text);
    border-radius: 8px;
    padding: 6px 9px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: var(--header-text);
    transition: 0.25s ease;
    white-space: nowrap;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.flag {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--header-bg);
    border: 1.5px solid var(--header-text);
    border-radius: 10px;
    min-width: 120px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.lang-switcher.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    font-size: 13px;
    text-decoration: none;
    color: var(--header-text);
}

.lang-opt:hover {
    background: rgba(255,255,255,0.12);
}

[dir="rtl"] .lang-menu {
    right: auto;
    left: 0; 
}

[dir="rtl"] .lang-opt {
    justify-content: flex-end; 
    flex-direction: row-reverse;
}

/*
=================
 Header Carousel 
=================
*/

#header-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#header-carousel .carousel-item {
    position: relative;
    width: 100%;
    height: 100vh; 
    min-height: 500px;
}

#header-carousel .carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption h1,
.carousel-caption h2 {
    font-size: clamp(1.6rem, 4vw, 3.2rem);
    line-height: 1.2;
    max-width: 900px;
    word-wrap: break-word;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    z-index: 1;
}

.carousel-caption h5 {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: bold;
    text-transform: uppercase;
}

.carousel-caption h1 {
    font-size: 2rem;
}

@media (max-width: 992px) {
    .carousel-caption h1 { font-size: 1.5rem; }
}

@media (max-width: 576px) {
    .carousel-caption h1 { font-size: 1rem; }
}

.carousel-caption p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 90%;
    margin-bottom: 2rem;
}

.carousel-caption .btn {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    padding: 0.75rem 2rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 100%;
}

@media (max-width: 768px) {
    .title.mx-5.px-5 {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        height: 80vh;
        min-height: 450px;
    }
    
    .carousel-caption {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 12%;
    }
}


/*
=======================
   Marquee Container
=======================
*/

.logos-marquee {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  direction: ltr; 
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: marquee 50s linear infinite;
  will-change: transform;
}

/* Base Logo */
.logo-item {
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 1;
}

/* Size Variants */
.logo-i1 { height: 180px; }
.logo-i2 { height: 120px; }


@media (prefers-reduced-motion: reduce) {
  .logos-track {
    animation-duration: 50s;
    animation-timing-function: linear;
  }
}


/* Animation */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/*
====================
Modern Card Style 
====================
*/
.service-item {
    background: var(--bs-white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.service-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.service-item .service-img img {
    transition: transform 0.6s ease;
}

.service-item:hover .service-img img {
    transform: scale(1.1);
}

.service-item .service-text {
    background: var(--bs-white);
}

body.dark .service-item,
body.dark .service-text {
    background: var(--bs-dark) !important;
}
body.dark .service-text p {
    color: #aaa !important;
}

/*
====================
Page Header All
====================
*/
.page-header {
    padding-top: 120px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 420px;
    width: 100%;
    display: flex;
    align-items: center;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}



/* HERO TYPOGRAPHY & RESPONSIVE FIX */
.hero-title h1,
.hero-title h2 {
  line-height: 1.2;
  word-break: break-word;
  max-width: 1000px;
  margin: auto;
}

.hero-title h1 {
  font-size: 3.2rem;
}

.hero-title h2 {
  font-size: 2.6rem;
}

.hero-description {
  max-width: 900px;
  font-size: 1.05rem;
  padding: 0 20px;
}

.hero-locations {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Tablet */
@media (max-width: 991px) {
  .hero-title h1 {
    font-size: 2.4rem;
  }
  .hero-title h2 {
    font-size: 2.1rem;
  }
  .hero-description {
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .hero-title h1,
  .hero-title h2 {
    font-size: 1.9rem;
  }
}


/*
============
Teams Item
============
*/

.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


  
/* 
==============
 MAP  
==============
*/


.map-wrapper {
     position: relative;
     padding-bottom: 75%; 
     height: 0;
     overflow: hidden;
     border-radius: 8px;
  }

.map-wrapper iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100% !important;
     height: 100% !important;
     border: 0;
}

.country-code-select {
      
    font-weight: 500;
}

 @media (max-width: 576px) {
     .input-group {

        flex-wrap: wrap;
 }

 .country-code-select {
max-width: 100%;
margin-bottom: 0.5rem;
    
}
.input-group > .form-control {
            
    flex: 1 1 auto;
   }
}

@media (min-width: 992px) {
    
    .bg-secondary.rounded.p-4 {
         
        padding: 2.5rem !important;
  }
}

.hover-text-primary {
    transition: color 0.3s ease;
 }
    
 .hover-text-primary:hover {
     color: var(--bs-primary) !important;
 }

.bg-secondary {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
}
   
.bg-secondary:hover {
     transform: translateY(-8px);
     box-shadow: 0 20px 40px rgba(0,0,0,0.15);
 }

@media (max-width: 768px) {
            
.col-lg-4 { 
   
    margin-bottom: 1.5rem;
       
   }
}

.portfolio-wrap {
    overflow: hidden;
    cursor: pointer;
  }
.portfolio-overlay {
    transition: background-color 0.4s ease;
  }
.portfolio-wrap:hover .portfolio-overlay {
    background-color: rgba(0, 0, 0, 0.7) !important; 
  }
.portfolio-wrap:hover img {
    transform: scale(1.1);
    transition: transform 0.5s ease;
  }
  
  
  
  
  
  
  
  
/* 
==============
End Footer 
==============
*/


@keyframes footerAnimatedBg {
    0%   { background-position: 0 0; }
    100% { background-position: -2000px 0; }  
}

.footer {
    background-image: url(../icon/footer/footer.png);
    background-repeat: repeat-x;
    background-position: 0 0;
    animation: footerAnimatedBg 60s linear infinite;
    will-change: background-position;       
}

.footer p {
  font-size: 14px;
  color: var(--text-color);
}

/* Logo */
.footer .logo-img {
  max-width: 170px;
  opacity: 0.95;
}

/* Social buttons */
.btn-xs-square {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-xs-square i {
  font-size: 14px;
}

/* Legal links */
.legal-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 13px;
}

.legal-badges span {
  opacity: 0.5;
}

/* Badges */
.icon-container {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.icon-container img {
  width: 60px;
  max-height: 42px;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 768px) {
  .footer p { font-size: 13px; }
  .footer .logo-img { max-width: 140px; }
}

@media (max-width: 480px) {
  .footer p { font-size: 12.5px; }
  .legal-badges span { display: none; }
}


  
  
  
  
  
  
  
  
  
  