/* ===========================================
   GLOBAL.CSS — Base styles for whole website
   All colors controlled via colors.php
=========================================== */

:root {
    --primary: var(--primary-color);
    --secondary: var(--secondary-color);
    --accent: var(--accent-color);

    --heading: var(--heading-color);
    --paragraph: var(--paragraph-color);
    --text: var(--text-color);

    --background: var(--background-color);

    --hover: var(--hover-color);

    --section-bg: var(--section-bg);
    --section-heading: var(--section-heading);
    --section-text: var(--section-text);

    --button-bg: var(--primary);
    --button-hover: var(--hover);
    --button-text: #fff;
}

/* ---- Global Reset ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--background);
    color: var(--paragraph);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
}

/* ---- Headings ---- */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
    font-weight: 700;
}

/* ---- Links ---- */
a {
    text-decoration: none;
    color: var(--primary);
}

a:hover {
    color: var(--hover);
}

/* ---- Buttons ---- */
button, .btn {
    background: var(--button-bg);
    color: var(--button-text);
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover, .btn:hover {
    background: var(--button-hover);
}

/* ---- Sections ---- */
section {
    padding: 70px 0;
    background: var(--section-bg);
    color: var(--section-text);
}

section h2 {
    color: var(--section-heading);
}

/* ---- Container ---- */
.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* Utility Spacing */
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* Utility Text */
.text-center { text-align: center; }
.text-white { color: #fff; }

/* Fix Elementor / UiCore forcing backgrounds */
.elementor-section,
.elementor-container,
.uicore-body-content {
    background: transparent !important;
}

/* NAVBAR ABOVE EVERYTHING */
.uicore-navbar,
header,
.uicore-header-wrapper {
    position: relative;
    z-index: 99999 !important;
}

/* SUBMENU ALWAYS ON TOP */
.uicore-menu .sub-menu {
    position: absolute !important;
    z-index: 999999 !important;
    overflow: visible !important;
}

/* PREVENT HERO FROM COVERING DROPDOWN */
.hero,
.hero-section,
.hero-inner,
.hero-media {
    overflow: visible !important;
    z-index: 1 !important;
}

/* VIDEO SHOULD NEVER BE ABOVE NAV */
.hero-video,
.hero-overlay {
    z-index: 0 !important;
}
/* Dropdown Wrapper */
.select-wrapper {
  width: 100%;
  margin-bottom: 15px;
}

/* Dropdown Input */
.service-select {
  width: 100%;
  padding: 12px 15px;
  background: #fff;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  outline: none;
  appearance: none;
  transition: 0.3s ease;
}

/* Focus effect */
.service-select:focus {
  border-color: #D9992F;
  box-shadow: 0 0 6px rgba(217,153,47,0.4);
}

/* Options styling (normal state) */
.service-select option {
  background: #fff;
  color: #000 !important; /* Force black text */
  padding: 10px;
}

/* Hover fix (this is the important part) */
.service-select option:hover {
  background-color: #eaeaea !important;
  color: #000 !important;   /* Text stays BLACK on hover */
}
/* Layout grid */
.why-choose-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

/* Icon box styling */
.icon-box {
    background: #3A3A3A;
    width: 260px;
    min-height: 360px;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Image box */
.feature-image {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}

/* Titles */
.feature-title {
    color: #D9992F;
    font-size: 18px;
    margin-bottom: 0;
}

/* List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.6;
}

/* -------------------------
   FEATURE IMAGE ASSIGNMENT
-------------------------- */

.feature-1 {
    background-image: url("https://test.bestlimos.ca/assets/images/largest.webp");
}

.feature-2 {
    background-image: url("https://test.bestlimos.ca/assets/images/24.jpg");
}

.feature-3 {
    background-image: url("https://test.bestlimos.ca/assets/images/24.jpg");
}

.feature-4 {
    background-image: url("https://test.bestlimos.ca/assets/images/24.jpg");
}

