@charset "utf-8";

/* =====================================================
   SANSCAPE GLOBAL BRAND OVERRIDE
   Primary Brand Colour: #2a6e3f
   This file MUST load after style-starter.css
===================================================== */

/* =====================================================
   ROOT BRAND VARIABLES
===================================================== */
:root {
    --primary-color: #2a6e3f;
    --primary-dark: #235c35;
    --primary-light: rgba(42,110,63,0.1);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bs-font-heading);
}
/* =====================================================
   HEADER + NAVBAR (Sticky, Full Width, Proper Height)
===================================================== */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff !important;
    min-height: 95px;
    z-index: 9999;
    transition: all 0.3s ease;
}

#site-header.nav-fixed {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-light .navbar-nav .nav-link {
    color: #222 !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px;
    font-size: 16px;
    padding: 12px 18px !important;
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* =====================================================
   GLOBAL LINKS
===================================================== */
a {
    color: var(--primary-color);
    transition: 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* =====================================================
   BUTTONS (GLOBAL)
===================================================== */
.btn-style,
.btn-style-primary,
.button-style,
.btn-primary,
button,
input[type="submit"] {
    background-color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    color: #ffffff !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-style:hover,
.btn-style-primary:hover,
.button-style:hover,
.btn-primary:hover,
button:hover,
input[type="submit"]:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

/* =====================================================
   ICONS
===================================================== */
.fas,
.fab,
.fa {
    color: var(--primary-color);
}

/* =====================================================
   BACKGROUND PRIMARY OVERRIDES
===================================================== */
.bg-primary,
.w3_stats,
.course-price-badge,
.page-item.active .page-link,
.list-group-item.active,
.dropdown-item.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* =====================================================
   OWL CAROUSEL NAVIGATION
===================================================== */
.owl-theme .owl-nav [class*='owl-'] {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    background-color: var(--primary-dark) !important;
}

/* =====================================================
   FEATURED PRODUCTS SLIDER
===================================================== */
.w3l-index5 .item {
    padding: 15px;
}

.w3l-index5 .content-left-sec {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.w3l-index5 .content-left-sec:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.w3l-index5 h4 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
    color: #222;
}

/* =====================================================
   INNER BOOTSTRAP CAROUSEL (PRODUCT IMAGES)
===================================================== */
.w3l-index5 .carousel-inner {
    border-radius: 12px;
    overflow: hidden;
}

.w3l-index5 .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* =====================================================
   ZOOM IMAGE HOVER EFFECT
===================================================== */
.zoom-image {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.zoom-image:hover {
    transform: scale(1.15);
}

/* =====================================================
   MINI LIGHTBOX OVERLAY
===================================================== */
.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.zoom-overlay img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    animation: fadeIn 0.3s ease;
}

/* =====================================================
   ANIMATION
===================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =====================================================
   FORM FOCUS STATES
===================================================== */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(42,110,63,0.25) !important;
}

/* =====================================================
   MOVE TO TOP BUTTON
===================================================== */
#movetop {
    background-color: var(--primary-color) !important;
}

/* =====================================================
   REMOVE ANY LEFTOVER BLUE BUTTON STYLES
===================================================== */
.btn-info,
.btn-success,
.btn-warning {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* =====================================================
   RESPONSIVE ADJUSTMENTS
===================================================== */
@media (max-width: 768px) {
    .w3l-index5 .content-left-sec {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .w3l-index5 .owl-nav {
        display: none;
    }
}
/* ===============================
   SPINNING LOGO RING
================================ */

.logo-spinner {
    width: 120px;
    height: 120px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin 1s linear infinite;
}

.logo-spinner img {
    width: 60px;
    height: auto;
    animation: counterSpin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes counterSpin {
    to { transform: rotate(-360deg); }
}

/* =====================================================
   MEGA MENU – ENTERPRISE BUILD
===================================================== */

/* -----------------------------------------------------
   ROOT
----------------------------------------------------- */
.mega-dropdown {
    position: static;
}

/* -----------------------------------------------------
   PANEL BASE
----------------------------------------------------- */
.mega-dropdown > .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    margin-top: 0;
    border: none;
    border-radius: 0;
    background: #fff;
    padding: 40px 0;
    overflow-x: hidden;
}

/* =====================================================
   DESKTOP (HOVER CONTROLLED)
===================================================== */
@media (min-width: 992px) {

    .mega-dropdown > .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* OPEN STATES */
    .mega-dropdown:hover > .dropdown-menu,
    .mega-dropdown.force-open > .dropdown-menu,
    .mega-dropdown.show > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* ONE ROW LOCK */
    .mega-dropdown .dropdown-menu .row {
        flex-wrap: nowrap;
    }

    .mega-dropdown .dropdown-menu .row > div {
        min-width: 0;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.35s ease;
    }

    /* STAGGER ANIMATION */
    .mega-dropdown:hover .row > div,
    .mega-dropdown.force-open .row > div,
    .mega-dropdown.show .row > div {
        opacity: 1;
        transform: translateY(0);
    }

    .mega-dropdown:hover .row > div:nth-child(1) { transition-delay: 0.05s; }
    .mega-dropdown:hover .row > div:nth-child(2) { transition-delay: 0.1s; }
    .mega-dropdown:hover .row > div:nth-child(3) { transition-delay: 0.15s; }
    .mega-dropdown:hover .row > div:nth-child(4) { transition-delay: 0.2s; }
    .mega-dropdown:hover .row > div:nth-child(5) { transition-delay: 0.25s; }

    /* Hover buffer */
    .mega-dropdown {
        padding-bottom: 20px;
    }
}

/* =====================================================
   MOBILE (CLICK CONTROLLED)
===================================================== */
@media (max-width: 991px) {

    .mega-dropdown > .dropdown-menu {
        display: none;
        padding: 20px;
    }

    /* Open states for mobile */
    .mega-dropdown.open > .dropdown-menu,
    .mega-dropdown.show > .dropdown-menu {
        display: block;
    }

    .mega-dropdown .dropdown-menu .row {
        flex-wrap: wrap;
    }

    .mega-promo {
        margin-top: 20px;
        border-left: none;
        border-top: 4px solid var(--primary);
    }
}

/* =====================================================
   TITLES + LINKS
===================================================== */
.mega-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    color: #333;
    transition: color 0.25s ease;
}

.mega-title:hover {
    color: var(--primary);
}

.mega-link {
    display: block;
    padding: 6px 0;
    color: #555;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    transition: 0.25s ease;
}

.mega-link:hover {
    color: var(--primary);
}

/* =====================================================
   PROMO
===================================================== */
.mega-promo {
    background: #f6fbf2;
    padding: 20px;
    border-left: 4px solid var(--primary);
    height: 100%;
}

.mega-promo span {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.mega-promo h5 {
    margin-top: 8px;
    font-weight: 700;
}

.mega-promo p {
    font-size: 14px;
    color: #555;
}

.nav-link.no-underline {
    text-decoration: none;
}

.dot{
    width:13px;
    height:13px;
    border-radius:50%;
    display:inline-block;
}
.terracotta{background:#d85b1a;}
.black{background:#2b2b2b;}
.grey{background:#655f5f;}
.green{background:#288411;}
.taupe{background:#9b7a5a;}

/* ===========================
   EXTRA COLOUR DOTS
=========================== */
.white {
    background: #ffffff;
    border: 1px solid #cfcfcf;
}
.anthracite {
    background: #2f2f2f;
}

/* NEW COLOURS */
.red { background: #ff0000; }
.pink { background: #ff69b4; }
.purple { background: #912991; }
.yellow { background: #ffff00; }
.orange { background: #ffa500; }
.lime { background: #5eec5e; }



/* ===========================
   PRODUCT COLOR DOTS (LEGEND)
   =========================== */
.product-dot {
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
}
/* ======================================
   TABLE + DOT ROW ALIGNMENT FIX
====================================== */

/* Make both columns stretch equally */
.row.align-items-stretch > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* Ensure table fills column height */
.table {
  height: 100%;
  margin-bottom: 0;
}

/* Right side wrapper fills same height as table */
.table-side-wrapper {
  display: flex;
  height: 100%;
}

/* Dot column aligns rows with table BODY */
.dot-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 52px; /* matches table thead height */
  padding-bottom: 16px;
}

/* Each dot row equals one table row */
.dot-row {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 48px; /* aligns visually with table rows */
}

/* Text box stretches full height */
.table-text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

@media (max-width: 480px) {

  .sanscape-catalogue .service-zoom-grid img {
      max-height: 120px;
  }

  /* Reduce zoom ONLY here */
  .sanscape-catalogue .service-zoom-grid img.zoomed {
      transform: scale(1.35);
  }

  .sanscape-catalogue .dot {
      width: 11px;
      height: 11px;
  }

  .sanscape-catalogue .dot-row {
      gap: 6px;
      min-height: 40px;
  }
}

/* ======================================
   SANSCAPE TABLE STYLING (UPDATED)
   Scoped – does NOT affect other pages
====================================== */

/* Header row – true green with white bold text */
.sanscape-catalogue table thead th {
    background-color: #28a745; /* header green */
    color: #ffffff;            /* white text */
    font-weight: 700;          /* bold */
    border-color: #d9ead3;
}

/* Table body – lighter green for blending */
.sanscape-catalogue table tbody tr:nth-child(even) {
    background-color: #d9f2d9; /* lighter green than header */
}

.sanscape-catalogue table tbody tr:nth-child(odd) {
    background-color: #f6fbf2; /* very light green / almost white for contrast */
}

/* Borders */
.sanscape-catalogue table.table-bordered td,
.sanscape-catalogue table.table-bordered th {
    border-color: #d9ead3;
}

/* Optional hover (slightly darker green for effect) */
.sanscape-catalogue table tbody tr:hover {
    background-color: #e0f2d9;
}

/* ===========================
   SERVICE GRID
=========================== */
.service-zoom-grid .col-lg-3 {
  display: flex;
}

/* Prevent clipping */
.service-item,
.carousel,
.carousel-inner,
.carousel-item {
  overflow: visible !important;
}

/* ===========================
   IMAGES (BASE)
=========================== */
.service-zoom-grid img {
  max-width: 100%;
  height: auto;
  cursor: zoom-in;
  position: relative;
  z-index: 1;

  /* IMPORTANT */
  transform: translateZ(0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* ===========================
   TRUE x2 ZOOM (CORRECTED)
=========================== */
.service-zoom-grid img.zoomed {
  transform: scale(1.6); /* ← VISUAL x2 after parent transforms */
  z-index: 10000;
  cursor: zoom-out;
  box-shadow: 0 25px 50px rgba(0,0,0,0.45);
}

/* ===========================
   SANSCAPE ONLY – PRODUCT GRID
=========================== */
.sanscape-catalogue .service-zoom-grid img {
    max-height: 150px;
    object-fit: contain;
}
 
/* ===========================
   BACKGROUND DIM
=========================== */
.zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.zoom-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.service-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.bottom-block:hover .service-icon {
    transform: scale(1.1);
}

.w3l-grids-block .blog-grid-1 img {
    height: 500px;
    object-fit: cover;
}
