/********** Gajaramji Services – Brand CSS **********/

/* =====================
   BRAND COLOR VARIABLES
   ===================== */
:root {
    --bs-primary: #0E3A5F;     /* Industrial Blue */
    --bs-secondary: #2F5F87;   /* Steel Blue */
    --bs-accent: #F7941D;      /* Safety Orange */
    --bs-dark: #0B1F33;        /* Navy / Footer */
    --bs-light: #F5F7FA;       /* Light Background */
    --bs-white: #FFFFFF;
}

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

/* =====================
   GLOBAL
   ===================== */
body {
    font-family: "Work Sans", sans-serif;
    color: var(--bs-dark);
    background-color: var(--bs-light);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 40px;
    bottom: 40px;
    z-index: 99;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
    transition: all .4s ease;
    border-radius: 4px;
}

.btn-primary {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-white);
}
.btn-primary:hover {
    background: var(--bs-accent);
    border-color: var(--bs-accent);
    color: var(--bs-dark);
}

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

/* =====================
   NAVBAR
   ===================== */
.navbar {
    background: var(--bs-white);
}

.navbar .navbar-nav .nav-link {
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--bs-dark);
    letter-spacing: .8px;
}

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

/* Dropdown */
.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.navbar .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

/* =====================
   HERO / PAGE HEADER
   ===================== */
.hero-header {
    background-size: cover;
    background-position: center;
}

.page-header {
    background-size: cover;
    background-position: center;
}

/* =====================
   SECTION HEADINGS
   ===================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--bs-primary);
    font-weight: 700;
}

/* =====================
   SERVICES
   ===================== */
.service .service-item {
    background: var(--bs-white);
    border-radius: 8px;
    transition: .4s;
}

.service .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.service .service-item img {
    width: 65px;
}


/* =====================
   TESTIMONIAL
   ===================== */
.testimonial-carousel .owl-item.center .bg-light {
    background: var(--bs-primary) !important;
}

.testimonial-carousel .owl-item.center * {
    color: var(--bs-white) !important;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--bs-accent);
    color: var(--bs-dark);
}

/* =====================
   FOOTER
   ===================== */
/* =====================
   FOOTER – Gajaramji Services
===================== */
/* =====================
   FOOTER – 3 COLUMN GRID
===================== */
.footer-main {
  background-color: var(--bs-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 60px;
}

/* Grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Logo */
.footer-logo img {
  height: 75px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

/* Text */
.footer-desc {
  max-width: 420px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-contact {
  list-style: none;
  padding: 0;
}
.footer-contact li {
  margin-bottom: 0.75rem;
  display: flex;
  gap: 10px;
}
.footer-contact i {
  color: var(--bs-accent);
  margin-top: 4px;
}

/* Titles */
.footer-title {
  color: var(--bs-white);
  font-weight: 600;
  margin-bottom: 1.2rem;
  position: relative;
}
.footer-title::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--bs-accent);
  display: block;
  margin-top: 6px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a {
  color: rgba(255,255,255,0.65);
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: var(--bs-accent);
  padding-left: 6px;
}

/* Notes */
.footer-note {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 1rem;
  margin-top: 50px;
  background: #0a1726;
  font-size: 0.9rem;
}

/* =====================
   MOBILE FOOTER UX
===================== */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-logo img {
    height: 65px;
  }

  .footer-col {
    text-align: left;
  }
}


/* =====================
   LINKS & HIGHLIGHTS
   ===================== */
a {
    color: var(--bs-primary);
}
a:hover {
    color: var(--bs-accent);
}

.text-primary {
    color: var(--bs-accent) !important;
}


.page-header {
    background: url("../img/page-header.png") center center no-repeat;
    background-size: contain;   /* keeps full image visible */
    min-height: 300px;          /* REQUIRED */
    padding: 80px 0;            /* restores height */
    display: flex;
    align-items: center;
}


/* =====================
   QUICK HIGHLIGHTS – HOVER EFFECT
   ===================== */
.highlight-box {
    transition: all 0.35s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.highlight-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(14, 58, 95, 0.15);
}

/* Icon animation */
.highlight-box i {
    transition: transform 0.35s ease, color 0.35s ease;
}

.highlight-box:hover i {
    transform: scale(1.15);
    color: var(--bs-accent);
}

/* Title emphasis on hover */
.highlight-box h5 {
    transition: color 0.3s ease;
}

.highlight-box:hover h5 {
    color: var(--bs-primary);
}

/* Accessibility: disable motion if requested */
@media (prefers-reduced-motion: reduce) {
    .highlight-box,
    .highlight-box i {
        transition: none;
    }
}

/* =====================
   HERO OVERLAY & STYLES
   ===================== */
.hero-header {
    min-height: 650px;
    background: url("../img/hero-bg.png") center center / cover no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(11, 31, 51, 0.85),
        rgba(11, 31, 51, 0.75)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 650px;
}

.text-accent {
    color: var(--bs-accent);
}

/* Counters */
.counter {
    font-size: 2rem;
    font-weight: 700;
}

/* Mobile optimization */
@media (max-width: 991px) {
    .hero-header,
    .hero-content {
        min-height: auto;
        padding: 80px 0;
        text-align: center;
    }
}


/* =====================
   HERO CAROUSEL ARROW FIX (NO COLOR CHANGE)
   ===================== */

/* Ensure carousel sits above overlay */
.header-carousel {
    position: relative;
    z-index: 3;
}

/* Make nav visible and clickable */
.header-carousel .owl-nav {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    z-index: 5; /* above overlay */
}

/* Ensure buttons are visible */
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

/* Remove default outline/border issues */
.header-carousel .owl-nav button {
    border: none;
    outline: none;
}

/* IMPORTANT: prevent overlay from blocking clicks */
.hero-overlay {
    pointer-events: none;
}

/* Mobile adjustment */
@media (max-width: 991px) {
    .header-carousel .owl-nav {
        bottom: 15px;
        right: 15px;
    }
}


/* =====================
   TRUSTED BY COMPANIES
===================== */

.trusted-section {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Grid layout */
.trusted-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 50px;
  align-items: center;
  justify-items: center;
}

/* Logo wrapper */
.trusted-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}

/* Logo image – FULL COLOR */
.trusted-logo img {
  max-height: 90px;      /* increased size */
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;

  opacity: 0.95;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Subtle hover (professional, not flashy) */
.trusted-logo img:hover {
  transform: scale(1.06);
  opacity: 1;
}

/* Tablet */
@media (max-width: 992px) {
  .trusted-logos-grid {
    gap: 40px;
  }

  .trusted-logo img {
    max-height: 75px;
    max-width: 160px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .trusted-logos-grid {
    gap: 30px;
  }

  .trusted-logo img {
    max-height: 65px;
    max-width: 140px;
  }
}

/* Accessibility – Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .trusted-logo img {
    transition: none;
    transform: none;
  }
}


