/* -------------------------------------------------------------------------
   Footer Styles & Sitewide Floating Join Telegram Button
   Gulf Grant Theme
   ------------------------------------------------------------------------- */

.gulfgrant-footer {
  background: #0f172a;
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
}

/* -------------------------------------------------------------------------
   Top Footer CTA Banner
   ------------------------------------------------------------------------- */
.gulfgrant-footer-cta-banner {
  background: linear-gradient(135deg, #006c35 0%, #004d26 100%);
  padding: 3rem 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-cta-content {
  max-width: 650px;
}

.footer-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--gulf-radius-full);
  margin-bottom: 0.75rem;
}

.footer-cta-title {
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.footer-cta-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--gulf-radius);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--gulf-transition);
}

.footer-cta-btn.tg {
  background: #ffffff;
  color: #0088cc;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.footer-cta-btn.tg:hover {
  background: #0088cc;
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-cta-btn.fb {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-cta-btn.fb:hover {
  background: #1877f2;
  border-color: #1877f2;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .footer-cta-title {
    font-size: 1.4rem;
  }
  .footer-cta-actions {
    width: 100%;
  }
  .footer-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* -------------------------------------------------------------------------
   Main Footer Grid (4 Columns)
   ------------------------------------------------------------------------- */
.gulfgrant-footer-main {
  padding: 4rem 0 3rem;
}

.gulfgrant-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

@media (max-width: 1024px) {
  .gulfgrant-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gulfgrant-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Widget Brand */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand-title {
  display: block;
  font-family: var(--gulf-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.footer-brand-tagline {
  font-size: 0.76rem;
  color: #94a3b8;
}

.footer-about-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--gulf-radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--gulf-transition);
}

.footer-social-icon.tg:hover {
  background: #0088cc;
  border-color: #0088cc;
  transform: translateY(-2px);
}

.footer-social-icon.fb:hover {
  background: #1877f2;
  border-color: #1877f2;
  transform: translateY(-2px);
}

/* Widget Lists */
.footer-widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 3px;
  background: var(--gulf-primary);
  border-radius: 2px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list li a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: #94a3b8;
  transition: var(--gulf-transition);
}

.footer-links-list li a i {
  font-size: 0.75rem;
  color: var(--gulf-primary);
  transition: transform 0.2s ease;
}

.footer-links-list li a:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

.footer-links-list li a:hover i {
  color: #ffffff;
}

/* Cloud Tags */
.footer-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-cloud-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--gulf-radius-sm);
  font-size: 0.82rem;
  color: #cbd5e1;
  transition: var(--gulf-transition);
}

.footer-cloud-tag:hover {
  background: var(--gulf-primary);
  border-color: var(--gulf-primary);
  color: #ffffff;
}

/* -------------------------------------------------------------------------
   Bottom Copyright Bar
   ------------------------------------------------------------------------- */
.gulfgrant-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright-text {
  margin-bottom: 0;
}

.copyright-text a {
  color: #ffffff;
  font-weight: 600;
}

.copyright-text a:hover {
  color: var(--gulf-primary);
}

.footer-bottom-badges {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #94a3b8;
}

.badge-item i {
  color: var(--gulf-primary);
}

/* -------------------------------------------------------------------------
   Sitewide Floating Join Telegram Button
   Rule: Creat a side button sitewide join telegram
   ------------------------------------------------------------------------- */
.gulfgrant-floating-telegram {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
}

.floating-telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem 0.65rem 0.75rem;
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
  color: #ffffff;
  border-radius: var(--gulf-radius-full);
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.38), 0 2px 6px rgba(0, 0, 0, 0.12);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--gulf-transition);
  position: relative;
  overflow: hidden;
  bottom: 2rem;
}

.floating-telegram-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 136, 204, 0.5);
  color: #ffffff;
}

.floating-tg-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--gulf-radius-full);
  background: #ffffff;
  color: #0088cc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  position: relative;
  flex-shrink: 0;
}

.floating-tg-ping {
  position: absolute;
  inset: -3px;
  border-radius: var(--gulf-radius-full);
  border: 2px solid #ffffff;
  opacity: 0.8;
  animation: tgPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes tgPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

.floating-tg-text {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .gulfgrant-floating-telegram {
    bottom: 18px;
    left: 16px;
  }
  .floating-telegram-btn {
    padding: 0.5rem;
    border-radius: var(--gulf-radius-full);
  }
  .floating-tg-text {
    display: none;
  }
}
