/*
Theme Name: Ongyee Tents & Catering
Theme URI: https://logistics.ongyee.com
Author: Runard6 Ongyee
Description: One-page corporate gateway for Ongyee.Com – Born to Serve
Version: 1.2
*/

/* ============================================================
   ROOT FONT CONFIGURATION – INTER
============================================================ */

:root {
  --ongyee-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
                 'Helvetica Neue', Arial, sans-serif;
}
html,
body {
  font-family: var(--ongyee-font);
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font-family: var(--ongyee-font);
}


.hero {
  position: relative;
  background: linear-gradient(
    135deg,
    #020617 0%,
    #1e1b4b 55%,
    #312e81 100%
  );
  color: #ffffff;
  padding: 160px 0;
  text-align: center;
}


.service-card {
  border-radius: 14px;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #fff;
  padding: 14px 18px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration:none;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  z-index: 999;
}

footer {
  background: #0f172a;
  color: #fff;
  padding: 30px 0;
}
/* ============================================================
   MSN-STYLE MOBILE HEADER (ONGYEE.COM)
============================================================ */

/* Mobile header bar */
.ongyee-mobile-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  /*background: #1f1f1f;*/
	background: #020617;
  height: 56px;
  z-index: 1000;
}

.ongyee-mobile-header button {
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
}

/* Brand text */
.ongyee-mobile-brand {
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}

/* Search container */
.ongyee-mobile-search {
  flex: 1;
  transition: all 0.25s ease;
}

/* Search input */
.ongyee-mobile-search input {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
}

.ongyee-mobile-search input:focus {
  outline: none;
}

/* Search expand animation */
.ongyee-mobile-header.search-active .ongyee-mobile-brand {
  opacity: 0.3;
}

.ongyee-mobile-header.search-active .ongyee-mobile-search {
  flex: 1 1 100%;
}


/* ============================================================
   AJAX SEARCH RESULTS (MOBILE)
============================================================ */

.ongyee-search-results {
  display: none;
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  background: #ffffff;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.ongyee-search-results.show {
  display: block;
}

.ongyee-search-results a {
  display: block;
  padding: 12px 16px;
  color: #0f172a;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #eeeeee;
}

.ongyee-search-results a:hover {
  background: #f8fafc;
}


/* ============================================================
   MSN-STYLE LEFT OFFCANVAS MENU
============================================================ */

.ongyee-offcanvas {
  /*background: #2f2f2f;*/
	background: #020617;
  color: #ffffff;
  width: 280px;
}

@media (max-width: 768px) {
  .ongyee-offcanvas {
    width: 85%;
  }
}

.ongyee-offcanvas .offcanvas-header {
  border-bottom: 1px solid #444444;
}

.ongyee-offcanvas strong {
  font-size: 18px;
}

.ongyee-offcanvas small {
  color: #cfcfcf;
}

/* Menu list */
.ongyee-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ongyee-menu li a {
  display: block;
  padding: 14px 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
}

.ongyee-menu li a:hover {
  /*background: #3a3a3a;*/
	background:#1e1b4b;
}

/* MSN-style Desktop Header */
.ongyee-desktop-header {
 /* background: #1f1f1f;*/
	background: #020617;
  color: #fff;
  height: 64px;
  display: flex;
  align-items: center;
}

.ongyee-desktop-brand strong {
  font-size: 18px;
  display: block;
}

.ongyee-desktop-brand small {
  font-size: 12px;
  color: #cfcfcf;
}

.ongyee-desktop-search input {
  width: 420px;
  max-width: 40vw;
  border-radius: 999px;
  border: none;
  padding: 8px 16px;
}

.ongyee-desktop-search input:focus {
  outline: none;
}

.ongyee-desktop-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 18px;
  font-size: 14px;
}

.ongyee-desktop-nav a:hover {
  text-decoration: underline;
}
/* ============================================================
   CRITICAL FIXES – REQUIRED FOR OFFCANVAS TO WORK
============================================================ */

/* Hamburger button (mobile + desktop) */
.ongyee-hamburger {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 6px 10px;
  line-height: 1;
}

.ongyee-hamburger:focus {
  outline: none;
}

/* Ensure headers are clickable but below offcanvas */
.ongyee-mobile-header,
.ongyee-desktop-header {
  position: relative;
  z-index: 2000;
}

/* Offcanvas must be ABOVE everything */
.offcanvas {
  z-index: 3000 !important;
}

/* Search results must appear above header */
.ongyee-search-results {
  z-index: 2500;
}

/* ============================================================
   DESKTOP HEADER LAYOUT FIX
============================================================ */

.ongyee-desktop-header {
  padding: 0 20px;
  justify-content: space-between;
}

.ongyee-desktop-search {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* ============================================================
   BOOTSTRAP SAFETY FIX
============================================================ */

/* Prevent Bootstrap from disabling pointer events */
.offcanvas-backdrop {
  z-index: 2500;
}

/* Desktop brand (name + tagline) */
.ongyee-desktop-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.ongyee-desktop-brand strong {
  font-size: 18px;
  font-weight: 600;
}

.ongyee-desktop-brand small {
  margin-top: 0.2em; /* very small gap */
  font-size: 8px;
  color: #cfcfcf;
}
/* Mobile brand (name + tagline) */
.ongyee-mobile-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}

.ongyee-mobile-brand strong {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.ongyee-mobile-brand small {
  margin-top: 0.2em; /* tight gap */
  font-size: 8px;
  color: #cfcfcf;
}
/* ============================================================
   DESKTOP NAV HOVER — CENTER OUT (1s SMOOTH)
============================================================ */

.ongyee-desktop-nav a {
  position: relative;
  padding-bottom: 6px;
  transition: color 0.3s ease;
}

/* animated underline */
.ongyee-desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 1s ease;
}

/* hover effect */
.ongyee-desktop-nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* optional: slight color soften */
.ongyee-desktop-nav a:hover {
  color: #e5e7eb;
	text-decoration:none;
}
/* Normalize WP menu inside desktop nav */
.ongyee-desktop-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 18px;
}

.ongyee-desktop-nav li {
  list-style: none;
}

.ongyee-desktop-nav li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  padding-bottom: 6px;
}
/* Desktop WP menu – horizontal */
.ongyee-desktop-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ongyee-desktop-menu li {
  margin: 0;
  padding: 0;
}

/* ============================================================
   SETTINGS BUTTON
============================================================ */
.ongyee-settings-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  padding: 6px 10px;
  cursor: pointer;
}

.ongyee-settings-btn:hover {
  color: #e5e7eb;
}

/* ============================================================
   SETTINGS MODAL (DARK, CLEAN)
============================================================ */
.ongyee-settings-modal {
  border-radius: 14px;
  overflow: hidden;
}

.ongyee-settings-modal .modal-header {
  background: #1f1f1f;
  color: #ffffff;
  border-bottom: 1px solid #2f2f2f;
}

.ongyee-settings-modal .modal-body {
  background: #ffffff;
}

.ongyee-settings-link {
  display: block;
  padding: 16px 20px;
  color: #0f172a;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #eeeeee;
}

.ongyee-settings-link:hover {
  background: #f8fafc;
}
.invoice-icon .material-icons {
  color: #ffffff;
  font-size: 22px;
}
/* ============================================================
   ONG YEE – MODERN INVOICE MODAL
============================================================ */

.ongyee-modern-modal {
  border-radius: 18px;
  overflow: hidden;
  border: none;
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
}

/* Header */
.ongyee-modal-header {
  background: linear-gradient(135deg, #1f1f1f, #2b2f8f);
  color: #ffffff;
  border-bottom: none;
}

.ongyee-modal-header h5 {
  margin: 0;
  font-weight: 600;
}

.ongyee-modal-header small {
  font-size: 12px;
  color: #e5e7eb;
}

/* Body */
.ongyee-modal-body {
  background: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Invoice cards */
.ongyee-invoice-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f8fafc;
  text-decoration: none;
  color: #0f172a;
  transition: transform .25s ease, box-shadow .25s ease;
}

.ongyee-invoice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* Icon */
.ongyee-invoice-card .material-icons {
  font-size: 26px;
  color: #2b2f8f;
}

/* Text */
.ongyee-invoice-card strong {
  display: block;
  font-size: 15px;
}

.ongyee-invoice-card small {
  font-size: 12px;
  color: #64748b;
}

/* Push footer to bottom */
.ongyee-offcanvas-main {
  flex: 1;
}

/* Divider */
.ongyee-offcanvas-divider {
  height: 1px;
  background: rgba(255,255,255,.15);
  margin: 8px 0;
}

/* Invoice links */
.ongyee-invoice-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
}

.ongyee-invoice-link:hover {
  background: #3a3a3a;
}

/* Icon */
.ongyee-invoice-link .material-icons {
  font-size: 20px;
  color: #c7d2fe;
}

/* ============================================================
   ABOUT CONTENT INSIDE MODAL
============================================================ */

.ongyee-about-modal {
  max-height: 65vh;
  overflow-y: auto;
  padding: 20px 22px;
}

.ongyee-about-modal p {
  font-size: 14px;
  line-height: 1.7;
  color: #0f172a;
}

.ongyee-about-modal h1,
.ongyee-about-modal h2,
.ongyee-about-modal h3 {
  margin-top: 0.6em;
  font-weight: 600;
}

.ongyee-about-modal img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.service-card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,.12);
}
#hero-brand,
#hero-cta {
  display: inline-block;
  white-space: nowrap;
}

/* ============================================================
   SERVICE CARDS – DARK HOVER (MODERN)
============================================================ */

.service-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: 14px;
  transition: 
    background 1s ease,
    color 1s ease,
    box-shadow 1s ease,
    transform 1s ease;
}

/* Text inside card */
.service-card h5,
.service-card p,
.service-card .material-icons {
  transition: color 1s ease;
}

/* Hover state */
.service-card:hover {
  background: linear-gradient(135deg, #1f2937, #2b3a67);
  color: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

/* Force all text white on hover */
.service-card:hover h5,
.service-card:hover p {
  color: #ffffff;
}

/* Icon color on hover */
.service-card:hover .material-icons {
  color: #ffffff !important;
}
/* ============================================================
   ONGyee FOOTER
============================================================ */

.ongyee-footer {
  background: linear-gradient(135deg, #020617, #1e1b4b);
  color: #e5e7eb;
  padding: 60px 0 30px;
  font-size: 14px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

.footer-tagline {
  font-size: 13px;
  color: #c7d2fe;
  margin-bottom: 12px;
}

.footer-about {
  font-size: 13px;
  line-height: 1.6;
  color: #9ca3af;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #ffffff;
}

/* Footer menu */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 8px;
}

.footer-menu a {
  color: #9ca3af;
  text-decoration: none;
  transition: color .3s ease;
}

.footer-menu a:hover {
  color: #ffffff;
}

/* Contact list */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #9ca3af;
}

.footer-contact .material-icons {
  font-size: 18px;
  color: #c7d2fe;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #ffffff;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}
.footer-powered {
	
	font-size:7px;
}
.footer-powered a{
	text-decoration:none;
	font-size:7px;
	color:inherit;
}
:root {
  --ongyee-header-height: 64px;
  --ongyee-header-height-mobile: 56px;
}
.ongyee-desktop-header {
  height: var(--ongyee-header-height);
}

@media (max-width: 768px) {
  .ongyee-mobile-header {
    height: var(--ongyee-header-height-mobile);
  }
}
.hero {
  min-height: calc(100vh - var(--ongyee-header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background: linear-gradient(
    135deg,
    #020617 0%,
    #1e1b4b 55%,
    #312e81 100%
  );

  color: #ffffff;
}
/* ============================================================
   SERVICE CARD – SCROLL ANIMATION
============================================================ */

.service-card {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    box-shadow 0.6s ease;
}

/* When visible */
.service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card .material-icons {
  transition: transform 0.6s ease;
}

.service-card:hover .material-icons {
  transform: translateY(-4px);
}

/* ============================================================
   SERVICE CARDS – BEAUTIFIED (PREMIUM)
============================================================ */

.service-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid #e5e7eb;

  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 6px 20px rgba(0,0,0,0.04);

  transition:
    transform 0.8s ease,
    box-shadow 0.8s ease,
    background 0.8s ease;
}

/* Icon styling */
.service-card .material-icons {
  font-size: 34px;
  color: #312e81;
  margin-bottom: 14px;
  transition: transform 0.8s ease, color 0.8s ease;
}

/* Title */
.service-card h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Description */
.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

/* Hover – dark modern */
.service-card:hover {
  background: linear-gradient(
    135deg,
    #020617,
    #1e1b4b
  );
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

/* Text on hover */
.service-card:hover h5,
.service-card:hover p {
  color: #ffffff;
}

/* Icon on hover */
.service-card:hover .material-icons {
  color: #c7d2fe;
  transform: translateY(-6px);
}
.service-card::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #312e81;
  border-radius: 3px;
  margin-bottom: 14px;
}

@media (hover: none) {
  .service-card:hover {
    transform: none;
    box-shadow: none;
    background: #ffffff;
  }
}
/* ============================================================
   SERVICE CARD – TOP LINE ANIMATION
============================================================ */

.service-card {
  position: relative;
  overflow: hidden;
}

/* Top accent line */
.service-card::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 28px;

  width: 42px;
  height: 3px;
  background: #312e81;
  border-radius: 3px;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s ease;
}

/* Grow line on hover */
.service-card:hover::before {
  transform: scaleX(1);
}

/* Center modal title + tagline */
.ongyee-modal-header {
  position: relative;
  text-align: center;
}

/* Wrapper holding title + tagline */
.ongyee-modal-header > div {
  margin: 0 auto;
}

/* Title */
.ongyee-modal-header .modal-title {
  width: 100%;
  text-align: center;
}

/* Tagline */
.ongyee-modal-header small {
  display: block;
  text-align: center;
  margin-top: 4px;
  opacity: 0.85;
}

/* Keep close button on the right */
.ongyee-modal-header .btn-close {
  position: absolute;
  right: 16px;
  top: 16px;
}

.container-narrow {
  max-width: 1200px;   /* adjust: 680 / 720 / 800 */
}
