/* =========================================================
   Ghati Host — Professional Theme Override
   ========================================================= */
:root {
  --gh-primary: #00A651;
  --gh-primary-dark: #008C44;
  --gh-primary-light: #2ECC71;
  --gh-gradient: linear-gradient(135deg, #00A651 0%, #2ECC71 100%);
  --gh-dark: #0f1c17;
  --gh-text: #1a2e26;
  --gh-muted: #5a6f66;
  --gh-bg: #f4f7f5;
  --gh-white: #ffffff;
  --gh-border: #e4ece8;
  --gh-shadow: 0 10px 40px rgba(0, 80, 40, 0.08);
  --gh-radius: 16px;
}

/* Override template primary/secondary */
:root {
  --primary: #00A651 !important;
  --secondary: #00A651 !important;
  --dark: #0f1c17 !important;
}

body {
  font-family: 'Open Sans', system-ui, sans-serif;
  color: var(--gh-text);
  background: var(--gh-white);
}

h1, h2, h3, h4, h5, h6, .fw-bold {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--gh-dark);
}

/* ---------- Logo ---------- */
.gh-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}
.gh-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gh-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 166, 81, 0.35);
  letter-spacing: -1px;
}
.gh-logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.4px;
}
.gh-logo-text span {
  color: #b8f5d0;
  font-weight: 800;
}
.sticky-top .gh-logo-text {
  color: var(--gh-dark);
}
.sticky-top .gh-logo-text span {
  color: var(--gh-primary);
}

/* ---------- Navbar ---------- */
.navbar {
  transition: all 0.3s ease;
}
.navbar.sticky-top {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}
.navbar-light .navbar-nav .nav-link {
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  text-transform: none !important;
}
.sticky-top.navbar-light .navbar-nav .nav-link {
  color: var(--gh-text) !important;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.sticky-top.navbar-light .navbar-nav .nav-link:hover,
.sticky-top.navbar-light .navbar-nav .nav-link.active {
  color: var(--gh-primary) !important;
}

.gh-btn-account {
  background: var(--gh-gradient) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  box-shadow: 0 6px 20px rgba(0, 166, 81, 0.35);
  transition: all 0.25s ease;
}
.gh-btn-account:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #fff !important;
}

/* ---------- Buttons global ---------- */
.btn-primary {
  background: var(--gh-gradient) !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 22px rgba(0, 166, 81, 0.28);
}
.btn-primary:hover {
  filter: brightness(1.08);
}
.btn-secondary {
  background: var(--gh-primary) !important;
  border: none !important;
  border-radius: 50px !important;
}

/* ---------- Hero ---------- */
.bg-primary {
  background: linear-gradient(135deg, #0B3D2E 0%, #00A651 55%, #2ECC71 100%) !important;
}
.text-primary {
  color: var(--gh-primary) !important;
}
.border-primary {
  border-color: var(--gh-primary) !important;
}

/* ---------- Professional Pricing Cards ---------- */
.gh-pricing-section {
  background: var(--gh-bg);
}
.gh-plan-card {
  background: var(--gh-white);
  border-radius: 20px;
  padding: 28px 22px 24px;
  height: 100%;
  box-shadow: var(--gh-shadow);
  border: 1px solid var(--gh-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.gh-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0, 100, 50, 0.14);
}
.gh-plan-featured {
  border: 2px solid var(--gh-primary);
  box-shadow: 0 14px 40px rgba(0, 166, 81, 0.18);
}
.gh-badge {
  position: absolute;
  top: -1px;
  right: 16px;
  background: var(--gh-gradient);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 6px 12px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.3);
}
.gh-plan-head {
  text-align: center;
  margin-bottom: 8px;
}
.gh-plan-head h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: var(--gh-dark);
}
.gh-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--gh-primary);
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
}
.gh-price .currency {
  font-size: 22px;
  font-weight: 700;
  vertical-align: super;
  margin-right: 2px;
}
.gh-price .period {
  font-size: 14px;
  font-weight: 600;
  color: var(--gh-muted);
  margin-left: 2px;
}
.gh-yearly {
  font-size: 12px;
  color: var(--gh-muted);
  margin: 8px 0 0;
}
.gh-yearly .old-price {
  text-decoration: line-through;
  color: #e74c3c;
  margin-left: 4px;
}
.gh-order-btn {
  display: block;
  text-align: center;
  background: var(--gh-gradient);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.8px;
  padding: 12px 20px;
  border-radius: 50px;
  margin: 18px 0 20px;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(0, 166, 81, 0.3);
  transition: all 0.25s ease;
}
.gh-order-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #fff !important;
}
.gh-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.gh-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eef3f0;
  font-size: 13px;
  color: var(--gh-text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.gh-features li:last-child {
  border-bottom: none;
}
.gh-features li i {
  color: var(--gh-primary);
  font-size: 12px;
  width: 16px;
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(160deg, #0B3D2E 0%, #0f1c17 100%) !important;
  background-image: none !important;
}
.footer .btn.btn-social:hover {
  color: var(--gh-primary-light) !important;
  border-color: var(--gh-primary-light) !important;
}
.footer .btn.btn-link:hover {
  color: var(--gh-primary-light) !important;
}
.footer .copyright {
  border-top: 1px solid rgba(255,255,255,0.12) !important;
}

/* ---------- Domain search / forms ---------- */
.form-control:focus {
  border-color: var(--gh-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 166, 81, 0.2) !important;
}

/* ---------- Section polish ---------- */
.section-title h1,
.section-title h3 {
  color: var(--gh-dark);
}
.back-to-top {
  background: var(--gh-gradient) !important;
  border: none !important;
  border-radius: 12px !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 991.98px) {
  .gh-logo-text { color: var(--gh-dark) !important; }
  .gh-logo-text span { color: var(--gh-primary) !important; }
  .navbar-light .navbar-nav .nav-link {
    color: var(--gh-text) !important;
  }
  .gh-price { font-size: 36px; }
}

/* ---------- Footer: match header (dark green) — text always visible ---------- */
.footer,
.container-fluid.footer,
div.footer {
  background: linear-gradient(160deg, #0B3D2E 0%, #062820 40%, #0f1c17 100%) !important;
  background-image: none !important;
  color: #ffffff !important;
}
.footer *,
.footer p,
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6,
.footer a,
.footer .btn-link,
.footer span {
  color: #ffffff !important;
}
.footer p,
.footer .btn.btn-link {
  opacity: 0.92;
}
.footer .btn.btn-link:hover,
.footer a:hover {
  color: #7dffb3 !important;
  opacity: 1;
}
.footer .btn.btn-social {
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.45) !important;
}
.footer .btn.btn-social:hover {
  color: #7dffb3 !important;
  border-color: #7dffb3 !important;
  background: transparent !important;
}
.footer .form-control {
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: #fff !important;
}
.footer .form-control::placeholder {
  color: rgba(255,255,255,0.55) !important;
}
.footer .btn-primary {
  background: var(--gh-gradient) !important;
  color: #fff !important;
}
.footer .copyright {
  border-top: 1px solid rgba(255,255,255,0.15) !important;
  color: rgba(255,255,255,0.85) !important;
}
.footer .copyright a {
  color: #b8f5d0 !important;
}
.footer .footer-menu a {
  border-right-color: rgba(255,255,255,0.25) !important;
}

/* Newsletter strip inside footer stays readable */
.footer .bg-primary {
  background: rgba(0,0,0,0.2) !important;
}

/* ---------- Review avatars (no photo needed) ---------- */
.gh-avatar {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--gh-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.3);
  letter-spacing: 0.5px;
}
.gh-testimonial-section {
  background: #f4f7f5;
}
.testimonial-item {
  background: #fff !important;
}
.testimonial-item p {
  color: #2d3d36;
  line-height: 1.6;
}
.testimonial-item h6 {
  color: #0f1c17 !important;
}
.testimonial-item small {
  color: #5a6f66 !important;
}

.gh-avatar-lg {
  width: 90px;
  height: 90px;
  min-width: 90px;
  font-size: 26px;
  margin-left: auto;
  margin-right: auto;
}
.team-item .gh-avatar {
  box-shadow: 0 8px 24px rgba(0, 166, 81, 0.28);
}


/* =========================================================
   FOOTER FORCE DARK — fixes white/invisible footer
   ========================================================= */
.footer.gh-footer,
.gh-footer,
div.container-fluid.footer,
.container-fluid.footer.gh-footer {
  background: #0B3D2E !important;
  background-color: #0B3D2E !important;
  background-image: none !important;
  color: #ffffff !important;
}

/* kill template footer background images */
.footer {
  background-image: none !important;
  background-color: #0B3D2E !important;
  background: #0B3D2E !important;
}

.footer.gh-footer::before,
.footer.gh-footer::after {
  display: none !important;
  content: none !important;
}

.footer h5,
.footer p,
.footer a,
.footer .btn-link,
.footer span,
.footer i,
.footer .copyright,
.footer .copyright a,
.footer .footer-menu a {
  color: #ffffff !important;
}

.footer .btn.btn-link {
  color: rgba(255,255,255,0.9) !important;
}
.footer .btn.btn-link:hover {
  color: #7dffb3 !important;
}

.footer .btn.btn-social {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
  background: transparent !important;
}
.footer .btn.btn-social:hover {
  color: #7dffb3 !important;
  border-color: #7dffb3 !important;
}

/* Newsletter input in footer */
.footer input.form-control.bg-white {
  background: #ffffff !important;
  color: #1a2e26 !important;
}

/* Contact form card in footer — dark glass, not white */
.gh-footer-form {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}
.gh-footer-form .form-control {
  background: rgba(255,255,255,0.95) !important;
  color: #1a2e26 !important;
  border: none !important;
}
.gh-footer-form .form-control::placeholder {
  color: #7a8a84 !important;
}
.gh-footer-form .btn-primary {
  background: linear-gradient(135deg, #00A651, #2ECC71) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
}

.footer .copyright {
  border-top: 1px solid rgba(255,255,255,0.2) !important;
  padding-top: 20px !important;
  margin-top: 10px;
}
.footer .copyright a {
  color: #b8f5d0 !important;
}


/* =========================================================
   WhatsApp Floating Button (replaces back-to-top)
   ========================================================= */
.back-to-top {
  display: none !important;
}

.gh-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: gh-wa-bounce 2.4s ease-in-out infinite;
}

.gh-whatsapp-float:hover {
  color: #fff !important;
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
  animation-play-state: paused;
}

.gh-whatsapp-float i {
  line-height: 1;
}

/* উপরে-নিচে মুভ অ্যানিমেশন */
@keyframes gh-wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 575.98px) {
  .gh-whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 26px;
    right: 16px;
    bottom: 20px;
  }
}


/* =========================================================
   Domain Pricing Table (Putul-style)
   ========================================================= */
.gh-domain-table-wrap {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 80, 40, 0.08);
  border: 1px solid #e4ece8;
  overflow: hidden;
  margin-bottom: 40px;
}
.gh-domain-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.gh-domain-table thead th {
  background: #0B3D2E;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
  border: none;
}
.gh-domain-table tbody tr {
  border-bottom: 1px solid #eef3f0;
  transition: background 0.15s;
}
.gh-domain-table tbody tr:nth-child(even) {
  background: #f6faf7;
}
.gh-domain-table tbody tr:hover {
  background: #eaf7ef;
}
.gh-domain-table tbody td {
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #1a2e26;
  vertical-align: middle;
}
.gh-tld {
  font-weight: 800;
  color: #0B3D2E;
  letter-spacing: 0.3px;
}
.gh-offer-tag {
  display: inline-block;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.5px;
}
.gh-domain-order {
  display: inline-block;
  border: 1.5px solid #00A651;
  color: #00A651 !important;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.gh-domain-order:hover {
  background: linear-gradient(135deg, #00A651, #2ECC71);
  color: #fff !important;
  border-color: transparent;
}
@media (max-width: 767.98px) {
  .gh-domain-table thead th,
  .gh-domain-table tbody td {
    padding: 10px 10px;
    font-size: 12px;
  }
}
