/* WillGemini Global Stylesheet - public_html */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

body {
  font-family: "Nunito", sans-serif;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global Typography Cleanups & Weight Enhancements */
p,
.text-gray-600,
.text-slate-600,
.text-slate-500,
.text-gray-700 {
  font-weight: 500 !important;
  /* Slightly heavier weight for high readability and premium clean feel */
  line-height: 1.75 !important;
  /* Cleaner breathing room */
}

/* Tailwind Weight Overrides for Nunito compatibility */
.font-normal {
  font-weight: 400 !important;
}

.font-medium {
  font-weight: 500 !important;
}

.font-semibold {
  font-weight: 600 !important;
}

.font-bold {
  font-weight: 700 !important;
}

.font-extrabold {
  font-weight: 800 !important;
}

/* Navigation items clean UI */
nav a,
header a,
#mobileMenu a {
  font-weight: 600 !important;
  /* Semi-bold nav links */
  letter-spacing: -0.01em;
}

/* Input elements styling */
input,
textarea,
select {
  font-family: "Nunito", sans-serif;
  font-weight: 500 !important;
}

/* Tighten header letter spacing for a clean, premium look */
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.015em;
}


/* Mobile Spacing & Layout Overrides */
@media (max-width: 799px) {

  /* Section Padding */
  .py-24 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .py-20 {
    padding-top: 0.875rem !important;
    padding-bottom: 0.875rem !important;
  }

  .py-16 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  .py-12 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  .py-10 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  /* Section Margins */
  .my-24 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .my-16 {
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  .my-12 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  /* Vertical Margins for Text & Headers */
  .mb-20 {
    margin-bottom: 0.75rem !important;
  }

  .mb-16 {
    margin-bottom: 0.5rem !important;
  }

  .mb-12 {
    margin-bottom: 0.5rem !important;
  }

  .mb-10 {
    margin-bottom: 0.375rem !important;
  }

  .mb-8 {
    margin-bottom: 0.25rem !important;
  }

  .mb-6 {
    margin-bottom: 0.25rem !important;
  }

  .mt-16 {
    margin-top: 0.75rem !important;
  }

  .mt-12 {
    margin-top: 0.5rem !important;
  }

  .mt-10 {
    margin-top: 0.375rem !important;
  }

  .mt-8 {
    margin-top: 0.25rem !important;
  }

  .mt-6 {
    margin-top: 0.25rem !important;
  }

  .mt-5 {
    margin-top: 0.25rem !important;
  }

  /* Grid/Flex Spacing */
  .gap-16 {
    gap: 1rem !important;
  }

  .gap-12 {
    gap: 0.75rem !important;
  }

  .gap-10 {
    gap: 0.75rem !important;
  }

  /* Internal Container Padding */
  .py-4 {
    padding-top: 0.125rem !important;
    padding-bottom: 0.125rem !important;
  }

  /* Cards Padding */
  .p-12 {
    padding: 1rem !important;
  }

  .p-10 {
    padding: 1rem !important;
  }

  .p-8 {
    padding: 1rem !important;
  }

  /* Specific direction overrides (defined after py-/pt-/pb- classes so they win) */
  .pb-0 {
    padding-bottom: 0px !important;
  }

  .pb-1 {
    padding-bottom: 0.25rem !important;
  }

  .pb-2 {
    padding-bottom: 0.5rem !important;
  }

  .pb-4 {
    padding-bottom: 1rem !important;
  }

  .pt-0 {
    padding-top: 0px !important;
  }

  .pt-8 {
    padding-top: 2rem !important;
  }
}

/* Floating Call Us Widget CSS */
.wg-call-us-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999999;
  font-family: "Nunito", sans-serif;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wg-call-us-container * {
  pointer-events: auto;
  box-sizing: border-box;
}

/* The Head Office Contact Card */
.wg-call-us-card {
  position: absolute;
  bottom: 75px;
  left: 0;
  width: 310px;
  background-color: #0b8a2e;
  color: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transform-origin: bottom left;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.wg-call-us-card.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.wg-call-us-card-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin: 0;
  line-height: 1.2;
}

.wg-call-us-card-subtitle {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.wg-call-us-card-desc {
  font-size: 15px;
  text-align: center;
  color: #ffffff;
  margin: 20px 0;
  line-height: 1.4;
  opacity: 0.95;
}

/* Phone capsule link/button */
.wg-call-us-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: rgba(0, 0, 0, 0.18);
  color: #ffa500;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.wg-call-us-phone-btn:hover {
  background-color: rgba(0, 0, 0, 0.28);
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #ffb833;
}

.wg-call-us-phone-icon {
  flex-shrink: 0;
}

/* Trigger Button */
.wg-call-us-trigger {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: rgb(14, 139, 37);

  color: #ffffff;

  border: none;
  border-radius: 500px;

  padding: 12px 26px;

  height: 52px;

  font-size: 18px;
  font-weight: 700;

  cursor: pointer;

  overflow: hidden;

  box-shadow:
    0 5px 10px rgba(0, 0, 0, 0.2);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.wg-call-us-trigger:hover {
  transform: scale(1.05);

  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.25);

  background: rgb(16, 155, 42);
}

.wg-call-us-trigger.hidden {
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
  position: absolute;
}

.wg-call-us-trigger-icon {
  flex-shrink: 0;
}

/* =========================
   DUPLICATE TEXT ANIMATION
========================= */

.wg-call-us-text-wrap {
  position: relative;
  height: 22px;
  overflow: hidden;
}

.wg-call-us-text {
  display: block;
  transition: transform 0.35s ease;
}

.wg-call-us-text-clone {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  transition: transform 0.35s ease;
}

.wg-call-us-trigger:hover .wg-call-us-text {
  transform: translateY(-100%);
}

.wg-call-us-trigger:hover .wg-call-us-text-clone {
  transform: translateY(-100%);
}


/* Close Circle Button */
.wg-call-us-close {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0b8a2e;
  color: #ffffff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(11, 138, 46, 0.35);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.2s ease;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
}

.wg-call-us-close.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
  position: static;
}

.wg-call-us-close:hover {
  background-color: #0d9e35;
  transform: scale(1.08) rotate(90deg);
  box-shadow: 0 8px 25px rgba(11, 138, 46, 0.45);
}

/* Vibration Animation */
.wg-call-us-trigger.vibrate {
  animation: wgCallFloat 1.8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes wgCallFloat {

  0% {
    transform: scale(1) rotate(0deg);
  }

  15% {
    transform: scale(1.03) rotate(-3deg);
  }

  30% {
    transform: scale(1.04) rotate(3deg);
  }

  45% {
    transform: scale(1.03) rotate(-2deg);
  }

  60% {
    transform: scale(1.04) rotate(2deg);
  }

  75% {
    transform: scale(1.02) rotate(-1deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* Responsive adjustment for small screens */
@media (max-width: 480px) {
  .wg-call-us-container {
    bottom: 15px;
    left: 15px;
  }

  .wg-call-us-card {
    width: 280px;
    padding: 20px;
    bottom: 70px;
  }

  .wg-call-us-card-title {
    font-size: 18px;
  }

  .wg-call-us-phone-btn {
    font-size: 16px;
    padding: 10px 16px;
  }
}

/* ===================================
   LEGAL DISCLAIMER POPUP MODAL STYLES
   =================================== */
body.wg-disclaimer-pending> :not(.wg-disclaimer-overlay) {
  display: none !important;
}

.wg-disclaimer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(3, 4, 94, 0.45);
  /* --dark-text transparentized */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 20px;
}

.wg-disclaimer-overlay.show {
  opacity: 1;
  visibility: visible;
}

.wg-disclaimer-modal {
  background: #ffffff;
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  box-shadow: 0 25px 60px rgba(3, 4, 94, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wg-disclaimer-overlay.show .wg-disclaimer-modal {
  transform: translateY(0) scale(1);
}

.wg-disclaimer-header {
  background: linear-gradient(135deg, #03045e 0%, #0077b6 100%);
  color: #ffffff;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.wg-disclaimer-header i {
  font-size: 24px;
  color: #caf0f8;
}

.wg-disclaimer-header h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.wg-disclaimer-body {
  padding: 32px;
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.7;
  color: #495057;
  font-family: 'Nunito', sans-serif;
  scrollbar-width: thin;
  scrollbar-color: #ade8f4 transparent;
}

.wg-disclaimer-body::-webkit-scrollbar {
  width: 6px;
}

.wg-disclaimer-body::-webkit-scrollbar-thumb {
  background-color: #ade8f4;
  border-radius: 3px;
}

.wg-disclaimer-ack {
  font-weight: 700;
  color: #03045e;
  margin-bottom: 20px;
  font-size: 16px;
  border-left: 4px solid #00b4d8;
  padding-left: 12px;
}

.wg-disclaimer-p {
  margin-bottom: 18px;
  text-align: justify;
}

.wg-disclaimer-subheading {
  font-weight: 800;
  color: #03045e;
  font-size: 17px;
  margin: 24px 0 12px 0;
}

.wg-disclaimer-list {
  margin: 0 0 18px 20px;
  padding: 0;
}

.wg-disclaimer-list li {
  margin-bottom: 8px;
  list-style-type: decimal;
}

.wg-disclaimer-footer {
  padding: 20px 32px;
  border-top: 1px solid rgba(202, 240, 248, 0.5);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: #fafdfd;
  flex-shrink: 0;
}

.wg-disclaimer-agree-btn {
  background: #00b4d8;
  color: #ffffff;
  border: none;
  padding: 14px 36px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.25);
  transition: all 0.3s ease;
  font-family: 'Nunito', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wg-disclaimer-agree-btn:hover {
  background: #0077b6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.35);
}

.wg-disclaimer-agree-btn:active {
  transform: translateY(0);
}

/* Responsive adjustment for small screens */
@media (max-width: 576px) {
  .wg-disclaimer-header {
    padding: 20px 24px;
  }

  .wg-disclaimer-header h2 {
    font-size: 18px;
  }

  .wg-disclaimer-body {
    padding: 20px 24px;
    font-size: 14px;
  }

  .wg-disclaimer-footer {
    padding: 16px 24px;
  }

  .wg-disclaimer-agree-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Hide all login and registration pages/links */
a[href*="login.html"],
a[href*="register.html"],
a[href*="login"],
a[href*="register"],
a[href*="login.html" i],
a[href*="register.html" i],
#mobileMenu a[href*="login"],
#mobileMenu a[href*="register"] {
  display: none !important;
}

/* Optimize mobile layout spacing (screens below 800px) to solve large gaps */
@media (max-width: 799px) {

  /* Reduce excessive section padding */
  .py-24 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .pt-24 {
    padding-top: 1.5rem !important;
  }

  .pb-24 {
    padding-bottom: 1.5rem !important;
  }

  .py-20 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  .pt-20 {
    padding-top: 1.25rem !important;
  }

  .pb-20 {
    padding-bottom: 1.25rem !important;
  }

  .py-16 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .pt-16 {
    padding-top: 1rem !important;
  }

  .pb-16 {
    padding-bottom: 1rem !important;
  }

  /* Reduce massive margins */
  .my-24 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .mt-24 {
    margin-top: 1.5rem !important;
  }

  .mb-24 {
    margin-bottom: 1.5rem !important;
  }

  .my-20 {
    margin-top: 1.25rem !important;
    margin-bottom: 1.25rem !important;
  }

  .mt-20 {
    margin-top: 1.25rem !important;
  }

  .mb-20 {
    margin-bottom: 1.25rem !important;
  }

  .my-16 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .mt-16 {
    margin-top: 1rem !important;
  }

  .mb-16 {
    margin-bottom: 1rem !important;
  }

  /* Reduce large gaps in flex/grid layouts */
  .gap-16 {
    gap: 1rem !important;
  }

  .gap-20 {
    gap: 1.25rem !important;
  }

  .gap-24 {
    gap: 1.5rem !important;
  }
}