﻿/* ── Page Loader ─────────────────────────────────────────────────────────── */
#site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#site-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
#site-loader .loader {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ball-clip-rotate > div {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: #d4a83c;
  border-right-color: rgba(212,168,60,0.4);
  border-bottom-color: rgba(212,168,60,0.15);
  animation: gr-spin 0.75s linear infinite;
}
@keyframes gr-spin {
  to { transform: rotate(360deg); }
}

/* ── Animated Background ──────────────────────────────────────────────────── */

body {
  background: #050b1f !important;
}

/* Fixed canvas layer behind all content */
.gr-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 50% 50%,
    #0d2148 0%, #081534 35%, #050b1f 70%, #02060f 100%);
}
.gr-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* All structural content above the canvas */
.main-container,
footer,
.footer-bottom {
  position: relative;
  z-index: 1;
}
/* Header must sit above main-container so navbar is always clickable */
header {
  position: relative;
  z-index: 50;
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.ownavigation {
  background-color: rgba(5, 11, 31, 0.88) !important;
  position: relative !important;
  z-index: 100 !important;
}
/* Compact nav to fit 7 items on one line */
@media (min-width: 992px) {
  .header_default .ownavigation .navbar-nav > li > a {
    font-size: 13px !important;
    letter-spacing: 0.04em !important;
    padding: 8px 0 !important;
    margin-top: 17px !important;
    margin-bottom: 17px !important;
  }
  .header_default .ownavigation .navbar-nav > li > a::after {
    padding-left: 14px !important;
  }
  .ownavigation .navbar-nav li a.demo-highlight,
  .ownavigation .navbar-nav li a.demo-highlight:visited {
    padding: 6px 12px !important;
  }
}
/* Top-level nav links — light on dark navbar */
.ownavigation .navbar-nav > li > a {
  color: #d4d4d4 !important;
}
.ownavigation .navbar-nav > li:hover > a,
.ownavigation .navbar-nav > li > a:hover,
.ownavigation .navbar-nav > .active > a,
.ownavigation .navbar-nav > .active > a:focus,
.ownavigation .navbar-nav > .active > a:hover {
  color: #d4a83c !important;
}
/* Desktop dropdown — gold background needs dark text */
.ownavigation .navbar-nav li .dropdown-menu,
.ownavigation .navbar-nav li .dropdown-menu li {
  background: linear-gradient(180deg, #f5e08a 0%, #e8c55a 55%, #c9a227 100%) !important;
}
.ownavigation .navbar-nav li .dropdown-menu > li > a,
.ownavigation .navbar-nav li .dropdown-menu li a {
  color: #1a1200 !important;
  font-weight: 600;
}
.ownavigation .navbar-nav li .dropdown-menu > li > a:hover,
.ownavigation .navbar-nav li .dropdown-menu li a:hover {
  color: #d4a83c !important;
  background-color: rgba(5, 11, 31, 0.85) !important;
  padding-left: 20px !important;
  transition: all 0.2s ease !important;
}
/* Mobile dropdown — dark bg needs light text */
@media (max-width: 991px) {
  .ownavigation .navbar-nav li .dropdown-menu,
  .ownavigation .navbar-nav li .dropdown-menu li {
    background: rgba(5, 11, 31, 0.95) !important;
  }
  .ownavigation .navbar-nav li .dropdown-menu > li > a,
  .ownavigation .navbar-nav li .dropdown-menu li a {
    color: #d4d4d4 !important;
    font-weight: 400;
  }
  .ownavigation .navbar-nav li .dropdown-menu > li > a:hover,
  .ownavigation .navbar-nav li .dropdown-menu li a:hover {
    color: #d4a83c !important;
    background-color: transparent !important;
  }
}
/* Online Demo highlight — golden pill button in nav */
.ownavigation .navbar-nav li a.demo-highlight,
.ownavigation .navbar-nav li a.demo-highlight:visited {
  background: linear-gradient(180deg, #f5e08a 0%, #e8c55a 55%, #c9a227 100%) !important;
  color: #1a1200 !important;
  border-radius: 4px !important;
  padding: 6px 18px !important;
  font-weight: 700 !important;
  margin-top: 4px !important;
  display: inline-block !important;
}
.ownavigation .navbar-nav li a.demo-highlight:hover,
.ownavigation .navbar-nav li a.demo-highlight:focus {
  background: linear-gradient(180deg, #fff0a0 0%, #f5e08a 55%, #d4a83c 100%) !important;
  color: #1a1200 !important;
}
.ownavigation .navbar-toggle {
  background: linear-gradient(180deg, #f5e08a 0%, #e8c55a 55%, #c9a227 100%) !important;
}
.default-top {
  background-color: transparent !important;
}

/* ── Section Backgrounds → transparent ─────────────────────────────────── */
.welcome-section,
.gallery-section,
.gallery-section1,
.services-section,
.testimonial-section,
.team-section,
.department-section,
.latest-news,
.blog-2column,
.blog-right-sidebar,
.blog-left-sidebar,
.about-section,
.clients,
.carrier-section,
.gallery-single-section,
.contact-us,
.tab-section,
.extra-services,
.slider-section.slider-space {
  background-color: transparent !important;
}

/* Sections that were already dark — keep dark, tint slightly */
.offer-section {
  background-color: transparent !important;
}
/* Contain the separator image so it never overflows the box */
.offer-section .offer-box h5::after {
  max-width: 100% !important;
  overflow: hidden !important;
}
/* Ensure all 6 solution boxes are equal height */
.offer-section .row {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.offer-section .row [class*="col-"] {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  margin-bottom: 30px;
}

/* ── Page Banner ────────────────────────────────────────────────────────── */
.page-banner {
  background-color: rgba(8, 21, 52, 0.80) !important;
}
.page-banner h2,
.page-banner .breadcrumb,
.page-banner li,
.page-banner li a,
.page-banner li.active {
  color: #e0e0e0 !important;
  background-color: transparent !important;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer-main {
  background-color: rgba(2, 6, 15, 0.88) !important;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}
.footer-main::before {
  background-color: rgba(2, 6, 15, 0.95) !important;
}
/* Remove the large built-in padding-top so all 3 columns start at the same level */
.footer-main .contact-info,
.footer-main .contact-form {
  padding-top: 0 !important;
}
/* Vertically align all footer columns to the top */
.footer-main .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
/* Logo column — center content */
.footer-main .row > .col-md-4:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.footer-bottom {
  background-color: #02060f !important;
}
.footer-bottom p {
  color: #777 !important;
}
.footer-bottom p a {
  color: #888 !important;
}
.footer-bottom p a:hover {
  color: #aaa !important;
}

/* ── Headings — pure white everywhere ───────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.widget-title,
.section-header h2,
.section-header h3,
.section-title,
.entry-title,
.post-title,
.team-member h3,
.services-box h3,
.department-box h3,
.welcome-section h1,
.welcome-section h2,
.welcome-section h3,
.welcome-section h4,
.welcome-section h5,
.welcome-section h6,
.services-section h1,
.services-section h2,
.services-section h3,
.services-section h4,
.about-section h1,
.about-section h2,
.about-section h3,
.about-section h4,
.team-section h1,
.team-section h2,
.team-section h3,
.team-section h4,
.gallery-section h1,
.gallery-section h2,
.gallery-section h3,
.latest-news h1,
.latest-news h2,
.latest-news h3,
.latest-news h4,
.testimonial-section h1,
.testimonial-section h2,
.testimonial-section h3,
.testimonial-section h4,
.department-section h1,
.department-section h2,
.department-section h3,
.department-section h4,
.contact-us h1,
.contact-us h2,
.contact-us h3,
.offer-section h1,
.offer-section h2,
.offer-section h3,
.blog-2column h1,
.blog-2column h2,
.blog-2column h3,
.blog-2column h4,
.carrier-section h1,
.carrier-section h2,
.carrier-section h3,
.gallery-single-section h1,
.gallery-single-section h2,
.gallery-single-section h3,
.footer-main h1,
.footer-main h2,
.footer-main h3,
.footer-main h4,
.page-banner h1,
.page-banner h2,
.page-banner h3 {
  color: #ffffff !important;
}

.section-header h3::before,
.section-header h3::after {
  background: linear-gradient(180deg, #f5e08a 0%, #e8c55a 55%, #c9a227 100%) !important;
}

/* ── Paragraphs & list items — golden rgba everywhere ───────────────────── */
p,
.welcome-section p,
.welcome-section li,
.services-section p,
.services-section li,
.about-section p,
.about-section li,
.team-section p,
.team-section li,
.team-member p,
.team-member span,
.gallery-section p,
.gallery-section li,
.latest-news p,
.latest-news li,
.testimonial-section p,
.testimonial-section li,
.department-section p,
.department-section li,
.contact-us p,
.contact-us li,
.offer-section p,
.offer-section li,
.blog-2column p,
.blog-2column li,
.carrier-section p,
.carrier-section li,
.gallery-single-section p,
.gallery-single-section li,
.tab-section p,
.tab-section li,
.extra-services p,
.extra-services li,
.section-header p,
.type-post .latest-news-content p,
.type-post .latest-news-content .post-meta,
.post-excerpt,
.post-content p,
.post-content li,
.entry-content p,
.entry-content li,
.description,
.short-desc,
.widget p,
.widget li,
.footer-main p {
  color: rgba(212, 175, 55, 0.88) !important;
}

/* ── Check-circle icons — gold ──────────────────────────────────────────── */
li .fa-check-circle,
li .fa-check,
li .fa-check-square {
  color: #d4a83c !important;
}

/* ── Offer boxes — gold bg needs dark text ──────────────────────────────── */
.offer-section .offer-box p {
  color: #1a1200 !important;
  opacity: 0.85;
}
.offer-section .offer-box h5 {
  color: #1a1200 !important;
}
.offer-section .offer-box i {
  color: #1a1200 !important;
  opacity: 0.8;
}
.offer-section .offer-box > a {
  color: #1a1200 !important;
  border-color: rgba(26,18,0,0.45) !important;
}
.offer-section .offer-box > a:hover {
  color: #1a1200 !important;
}

/* ── General link & label colors ────────────────────────────────────────── */
a {
  color: #e8c55a;
}
a:hover, a:focus {
  color: #d4a83c;
}

/* ── Cards & Content Boxes ───────────────────────────────────────────────── */
.type-post .latest-news-content {
  background-color: rgba(13, 33, 72, 0.70) !important;
}
.type-post .latest-news-content h3 a {
  color: #ffffff !important;
}

/* ── Equal-height news carousel cards ───────────────────────────────────── */

/* 1. Lock image area to a fixed height so all images are the same */
.latest-news .type-post .entry-cover {
  height: 260px !important;
  overflow: hidden;
}
.latest-news .type-post .entry-cover a {
  display: block;
  height: 100%;
}
.latest-news .type-post .entry-cover a img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 0 !important;
}

/* 2. Stretch the owl items and content boxes to equal height */
.latest-news .owl-item {
  display: flex !important;
  flex-direction: column;
}
.latest-news .owl-item .col-md-12 {
  flex: 1;
  display: flex !important;
  flex-direction: column;
}
.latest-news .owl-item .type-post {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.latest-news .owl-item .latest-news-content {
  flex: 1;
  display: flex !important;
  flex-direction: column;
}
.latest-news .owl-item .latest-news-content .entry-content {
  flex: 1;
}
/* Pin Learn More button to the bottom of every card */
.latest-news .owl-item .latest-news-content > a.read-more {
  margin-top: auto;
}

.carrier-section .carrier-box-bg {
  background-color: rgba(13, 33, 72, 0.70) !important;
}

/* Footer links */
.footer-main a,
.footer-main li,
.footer-main span {
  color: rgba(212, 175, 55, 0.70) !important;
}
.footer-main a:hover {
  color: #f5e08a !important;
}

/* Page banner text */
.page-banner .breadcrumb,
.page-banner li,
.page-banner li a,
.page-banner li.active {
  color: rgba(212, 175, 55, 0.88) !important;
  background-color: transparent !important;
}

/* ── Forms ───────────────────────────────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea,
select {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #e0e0e0 !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}
input::placeholder,
textarea::placeholder {
  color: #888 !important;
}
input:focus,
textarea:focus {
  background: rgba(255, 255, 255, 0.11) !important;
  border-color: #d4a83c !important;
  color: #ffffff !important;
}

/* ── Misc UI ─────────────────────────────────────────────────────────────── */
/* Working hours widget */
.footer-main .widget_workinghours > span {
  background-color: rgba(255, 255, 255, 0.08) !important;
}
/* Phone call link in header */
.header_s a.phone-call {
  color: #d0d0d0 !important;
  border-color: #e8c55a !important;
}

/* ── Testimonial Section ─────────────────────────────────────────────────── */
.testimonial-section {
  background: transparent !important;
  border-top: 1px solid rgba(212, 175, 55, 0.35) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35) !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}
.testimonial-section .testimonial-slider {
  width: 100%;
  max-width: 100%;
}

/* Inner boxes — keep golden gradient, flex column so content stretches */
.testimonial-content {
  background: linear-gradient(180deg, #f5e08a 0%, #e8c55a 55%, #c9a227 100%) !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
}
.testimonial-content p {
  flex: 1;
}

/* Profile image ring — fix remaining cyan to gold */
.testimonial-content > i img {
  border-color: rgba(212, 175, 55, 0.6) !important;
}

/* Text inside boxes stays dark for readability on gold bg */
.testimonial-section .testimonial-content p,
.testimonial-section .testimonial-content h5,
.testimonial-section .testimonial-content span {
  color: #1a1200 !important;
}

/* ── Revolution Slider Overrides ─────────────────────────────────────────── */
/* Caption text background block — replace dark PNG with semi-transparent gold */
.slider-section .rev_slider .tp-caption.background-block {
  background-image: none !important;
  background: linear-gradient(135deg,
    rgba(245, 224, 138, 0.90) 0%,
    rgba(232, 197, 90, 0.90) 55%,
    rgba(201, 162, 39, 0.90) 100%) !important;
}

/* Learn More button — replace dark PNG with solid golden gradient */
.slider-section .rev_slider .tp-caption.learn-btn {
  background-image: none !important;
  background: linear-gradient(180deg, #f5e08a 0%, #e8c55a 55%, #c9a227 100%) !important;
}

/* Arrow hover — dark gray → gold */
.slider-section .uranus.tparrows:hover {
  background-color: #d4a83c !important;
}

/* Slide bullets — gray → gold */
.slider-section .tp-bullets.zeus .tp-bullet {
  border-color: rgba(212, 175, 55, 0.6) !important;
}
.slider-section .tp-bullets.zeus .tp-bullet.selected {
  background-color: #d4a83c !important;
}
