/* Global variables */
:root {
  --brand: #e11d48;
  --brand-dark: #b81239;
  --ink: #0f172a;
  --muted: #475569;
  --surface: #ffffff;
  --header-h: 96px; /* header incl. topbar */
}

/* Shared header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid #e5e7eb; }
.site-nav { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.site-nav .brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.site-nav .brand svg { width: 34px; height: 34px; }
/* Logo sizing for both desktop and mobile */
.site-nav .brand .mark { width: 140px; height: 40px; object-fit: contain; display: block; }
@media (max-width: 900px) {
  .site-nav .brand .mark { width: 120px; height: 32px; }
}
/* Hide any leftover title/subtitle if present */
.site-nav .brand .title, .site-nav .brand .subtitle { display: none !important; }
.site-nav .brand .title { font-weight: 700; letter-spacing: .2px; }
.site-nav .brand .subtitle { font-size: 12px; color: var(--muted); margin-top: -6px; }

.nav-menu { display: flex; gap: 18px; align-items: center; }
.nav-menu a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-menu a:hover { color: var(--brand); }
.nav-cta { background: var(--brand); color: #fff !important; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.nav-cta:hover { background: var(--brand-dark); }

/* Hamburger */
.nav-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; border-radius: 8px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 3px; background: var(--ink); border-radius: 4px; transition: transform .25s ease, top .25s ease, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Drawer */
.drawer[hidden] { display: none; }
.drawer { position: fixed; inset: 0; background: rgba(15,23,42,0.55); backdrop-filter: blur(2px); display: grid; place-items: stretch; }
.drawer .drawer-panel { margin-left: auto; width: min(86vw, 360px); height: 100%; background: var(--surface); border-left: 1px solid #e5e7eb; box-shadow: -12px 0 30px rgba(2,6,23,.15); transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; padding: 14px; }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer .drawer-links { display: grid; gap: 10px; margin-top: 8px; }
.drawer .drawer-links a { padding: 12px 10px; border-radius: 10px; border: 1px solid #e5e7eb; text-decoration: none; color: var(--ink); font-weight: 600; }
.drawer .drawer-links a:hover { border-color: var(--brand); color: var(--brand); }

/* Responsive behavior */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-block; }
}

/* Shared footer */
.site-footer { background: #0b1220; color: #cbd5e1; padding: 22px; text-align: center; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Utility to lock body scroll when drawer is open */
body.no-scroll { overflow: hidden; }

/* Anchor offset so sticky header doesn't cover targets */
#services, #terms, #contact, #top, #thank-you { scroll-margin-top: calc(var(--header-h) + 10px); }

/* Theme header is not fixed; avoid extra top gap on pages like FAQ */
body { padding-top: 0 !important; }

/* Social icons (reusable) */
.social { display: inline-flex; gap: 10px; align-items: center; }
.social a { --s: 36px; width: var(--s); height: var(--s); border-radius: 999px; display: grid; place-items: center; text-decoration: none; color: #e2e8f0; border: 1px solid #6b7280; background: #262b36; }
.social a:hover { color: #fff; border-color: #94a3b8; }
.social a i { font-size: 14px; }

/* Topbar above header */
.topbar { background: #0b1220; color: #cbd5e1; border-bottom: 1px solid #0f172a; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 6px 20px; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }

/* Login chip to match social buttons, but variable width */


/* Floating WhatsApp button */
.fab-whatsapp {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 54px; height: 54px;
  border-radius: 999px;
  background: #25D366; /* WhatsApp green */
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 25px rgba(2,6,23,.25);
  z-index: 1100;
  text-decoration: none;
}
.fab-whatsapp i { font-size: 26px; line-height: 1; }
.fab-whatsapp:hover { transform: translateY(-2px); filter: brightness(1.05); }


.panel .cta-row .link{ background: var(--brand); color:#fff!important; padding:10px 14px; border-radius:14px; font-weight:700; border:0; text-decoration:none; display:inline-block; }
.panel .cta-row .link:hover{ background: var(--brand-dark); }

.topbar a{ text-decoration:none; }


/* Topbar login chip: white text + white border */
.topbar .btn-login{height:36px;padding:0 14px;border-radius:999px;display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.85);background:transparent;color:#ffffff;font-weight:700;text-decoration:none;line-height:1;}
.topbar .btn-login:hover{background:rgba(255,255,255,.08);border-color:#ffffff;color:#ffffff;}

/* Fallback login chip */
.btn-login{height:36px;padding:0 12px;border-radius:999px;display:inline-flex;align-items:center;gap:8px;border:1px solid #6b7280;background:#262b36;color:#e2e8f0;font-weight:600;text-decoration:none;line-height:1;}
.btn-login:hover{color:#fff;border-color:#94a3b8;}

/* Header color overrides to match logo background */
:root{ --logo-bg:#163321; --theme-color:#0aa74f; }
.th-header.header-layout3 .header-top{ background:var(--logo-bg) !important; }
.th-header.header-layout3 .sticky-wrapper{ background:var(--logo-bg) !important; }
.th-header.header-layout3 .sticky-wrapper.is-sticky,
.th-header.header-layout3 .sticky-wrapper.sticky{ background:var(--logo-bg) !important; box-shadow:none !important; }
.th-header.header-layout3 .menu-area{ background:var(--logo-bg) !important; }
/* Ensure mobile menu drawer uses same color */
.mobile-menu-wrapper,
.th-mobile-menu,
.th-menu-toggle{ background:var(--logo-bg) !important; }
/* Match header icon + link colors to homepage */
.th-header .header-top .header-links li>i{ color: var(--theme-color) !important; }
.th-header .header-top a:hover{ color: var(--theme-color) !important; }

/* Home-3 header tweaks applied globally so all pages match */
.th-header.header-layout3{ margin-top:0 !important; }
.th-header.header-layout3 .header-top{ padding:6px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.th-header.header-layout3 .header-top::before{ display:none !important; }
.th-header .menu-area .container-fluid{ position:relative; }
.th-header .menu-area .row,
.th-header .menu-area .row > div,
.th-header .header-wrapp,
.th-header .main-menu,
.th-header .header-button{ background:transparent !important; }
.th-header .header-logo{ position:absolute; left:50%; top:90%; transform:translate(-50%, -50%); z-index:50; pointer-events:none; }
.th-header .header-logo img{ display:block; height:auto; width:auto; max-height:160px; }
@media (max-width: 991.98px){ .th-header .header-logo img{ max-height:120px; } }
@media (max-width: 575.98px){ .th-header .header-logo img{ max-height:120px; } }
/* Keep logo aligned and not cropped when sticky */
.header-layout3 .sticky-wrapper.sticky .header-logo{ margin-top:0 !important; top:50% !important; }
/* Extra vertical room on smaller screens so centered logo is fully visible */
@media (max-width: 991.98px){ .th-header.header-layout3 .menu-area{ padding:32px 0 !important; min-height:120px !important; } }
@media (max-width: 575.98px){ .th-header.header-layout3 .menu-area{ padding:20px 0 !important; min-height:130px !important; } }
/* Hide mobile CONTACT text/button as requested */
.contact-mobile{ display:none !important; }
/* Slightly reduce logo height on very small screens to prevent top cut */
@media (max-width: 575.98px){ .th-header .header-logo img{ max-height:120px !important; } }
/* Mobile: push centered logo lower to avoid cut */
@media (max-width: 575.98px){
  .th-header .header-logo{ top:120% !important; }
}
/* Also adjust position when header becomes sticky (mobile) */
@media (max-width: 575.98px){
  .header-layout3 .sticky-wrapper.sticky .header-logo{ top:50% !important; }
}

/* Side menu: make logo large and visible on all screens */
.sidemenu-wrapper .side-logo{ padding-top: 10px; margin-bottom: 22px; }
.sidemenu-wrapper .side-logo img{ display:block; height:auto; width:auto; max-height: 150px !important; }
@media (max-width: 991.98px){ .sidemenu-wrapper .side-logo img{ max-height: 130px !important; } }
@media (max-width: 575.98px){ .sidemenu-wrapper .side-logo img{ max-height: 110px !important; } }

/* Side menu contact block: always visible; remove theme bg image/overlay */
.sidemenu-wrapper .widget.side-menu-contact{ background:none !important; }
.sidemenu-wrapper .widget.side-menu-contact:before{ display:none !important; }
@media (max-width: 767.98px){
  .sidemenu-wrapper .widget.side-menu-contact{ display:block !important; height:auto !important; min-width:auto !important; padding:24px 16px !important; }
}
/* Ensure enough vertical room so centered logo is not cropped */
.th-header.header-layout3 .menu-area{ padding:26px 0 !important; overflow:visible; }

/* Readability: dark text in white sections */
#about-sec .list-unstyled li,
.about-wrap .checklist li,
.about-wrap p,
.gallery-wrap .title-area .sec-title,
.gallery-wrap .title-area .sub-title2,
.gallery-wrap .box-text,
.gallery-wrap .box-link{
  color:#0b0b0b !important;
}

/* Home only: About section uses dark background; force light text there */
#about-sec .extra-text,
#about-sec .list-unstyled li,
#about-sec .box-text,
#about-sec p,
#about-sec li,
#about-sec a{
  color:#ffffff !important;
}

