:root {
  --fnh-teal: #04668C;
  --fnh-red: #B00F35;
  --fnh-white: #FFFFFF;
  --fnh-secondary-text: #D9D9D9;
}

.fnh-footer-container {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* SECTION 1: DISCOVER MORE */
.fnh-discover-more-section {
  position: relative;
  width: 100%;
}

.fnh-section-title {
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 25px 0;
  position: relative;
}

.fnh-discover-main-title {
  color: var(--fnh-teal);
  font-size: 24px;
}

.fnh-discover-main-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: var(--fnh-red);
}

.fnh-discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 0;
  margin-top: 35px;
  position: relative;
}

.fnh-discover-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  padding: 18px 0;
  position: relative;
  transition: all 0.3s ease;
}

.fnh-item-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.fnh-item-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  color: var(--fnh-white);
}

.fnh-item-icon-wrapper svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.fnh-item-num {
  font-weight: 600;
  color: var(--fnh-red);
  font-size: 16px;
}

.fnh-item-label {
  color: var(--fnh-white);
  font-weight: 500;
  font-size: 17px;
  transition: transform 0.3s ease;
}

.fnh-item-arrow {
  color: var(--fnh-red);
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.fnh-item-border-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

/* Hover States for Discover Items */
.fnh-discover-item:hover .fnh-item-icon-wrapper {
  border-color: var(--fnh-teal);
  box-shadow: 0 0 10px rgba(4, 102, 140, 0.3);
}

.fnh-discover-item:hover .fnh-item-label {
  transform: translateX(4px);
}

.fnh-discover-item:hover .fnh-item-arrow {
  transform: translateX(6px);
  opacity: 1;
}

.fnh-discover-item:hover .fnh-item-border-bottom {
  background: var(--fnh-teal);
}

/* World Map overlay */
.fnh-map-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' fill='%23ffffff'%3E%3Ccircle cx='100' cy='100' r='2' /%3E%3Ccircle cx='120' cy='110' r='2' /%3E%3Ccircle cx='140' cy='130' r='2' /%3E%3Ccircle cx='150' cy='160' r='2' /%3E%3Ccircle cx='180' cy='180' r='2' /%3E%3Ccircle cx='200' cy='140' r='2' /%3E%3Ccircle cx='300' cy='220' r='2' /%3E%3Ccircle cx='340' cy='230' r='2' /%3E%3Ccircle cx='350' cy='280' r='2' /%3E%3Ccircle cx='390' cy='320' r='2' /%3E%3Ccircle cx='410' cy='290' r='2' /%3E%3Ccircle cx='440' cy='350' r='2' /%3E%3Ccircle cx='500' cy='380' r='2' /%3E%3Ccircle cx='520' cy='420' r='2' /%3E%3Ccircle cx='550' cy='410' r='2' /%3E%3Ccircle cx='580' cy='460' r='2' /%3E%3Ccircle cx='600' cy='480' r='2' /%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* SECTION 2: VALUES STRIP */
.fnh-values-strip {
  width: 100%;
  padding: 30px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fnh-values-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.fnh-value-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.fnh-val-icon {
  color: var(--fnh-teal);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fnh-val-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.fnh-val-title {
  color: var(--fnh-white);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}

.fnh-val-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 30px;
  height: 2px;
  background-color: var(--fnh-red);
  transition: width 0.3s ease;
}

.fnh-value-item:hover .fnh-val-title::after {
  width: 100%;
}

.fnh-value-item:hover {
  transform: translateY(-2px);
}

/* SECTION 3: GET IN TOUCH */
.fnh-git-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.fnh-git-heading {
  color: var(--fnh-teal);
  font-size: 24px;
}

.fnh-git-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: var(--fnh-red);
}

.fnh-git-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.fnh-git-card {
  text-decoration: none;
  border-radius: 8px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  min-height: 180px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.fnh-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.fnh-card-icon-circle {
  width: 36px;
  height: 36px;
  background-color: var(--fnh-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fnh-white);
}

.fnh-card-icon-circle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.fnh-card-label {
  color: var(--fnh-teal);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

.fnh-git-desc {
  color: var(--fnh-secondary-text);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.fnh-card-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--fnh-red);
  transition: width 0.3s ease;
}

/* Hover effect on contact cards */
.fnh-git-card:hover {
  transform: translateY(-8px);
  border-color: rgba(4, 102, 140, 0.4);
  box-shadow: 0 12px 24px rgba(4, 102, 140, 0.15);
}

.fnh-git-card:hover .fnh-card-accent-line {
  width: 100%;
}

/* Standalone clean quote container */
.fnh-quote-box-standalone {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 40px 30px;
  border-radius: 8px;
  border-left: 4px solid var(--fnh-teal);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
}

.fnh-quote-box-standalone .fnh-quote-mark {
  color: var(--fnh-teal);
  font-size: 80px;
  line-height: 0;
  position: absolute;
  top: 40px;
  right: 20px;
  opacity: 0.15;
}

.fnh-quote-box-standalone .fnh-quote-content {
  color: var(--fnh-white);
  font-size: 24px;
  line-height: 1.5;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.fnh-quote-box-standalone .fnh-quote-accent-red {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--fnh-red);
}

/* SECTION 4: BRANDING */
.fnh-branding-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
  margin-top: 20px;
}

.fnh-brand-logo-desc {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.fnh-logo-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Enforce precise override of Logo Size */
{{WRAPPER}} .fnh-custom-logo {
  width: 130px !important;
  max-width: 130px !important;
  height: auto !important;
  display: block;
}

.fnh-logo-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: conic-gradient(#f1c40f, #e74c3c, #9b59b6, #3498db, #2ecc71, #f1c40f);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fnh-logo-placeholder-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #000;
}

.fnh-logo-text-block {
  display: flex;
  flex-direction: column;
}

.fnh-brand-name-title {
  color: var(--fnh-white);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.fnh-brand-tagline {
  color: var(--fnh-secondary-text);
  font-size: 12px;
  margin: 5px 0 0 0;
  line-height: 1.4;
  opacity: 0.8;
}

/* Social media connections */
.fnh-brand-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fnh-follow-text {
  color: var(--fnh-teal);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
}

.fnh-socials-row {
  display: flex;
  gap: 12px;
}

.fnh-social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fnh-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.fnh-social-icon-btn svg,
.fnh-social-icon-btn i {
  font-size: 15px;
  width: 15px;
  height: 15px;
}

.fnh-social-icon-btn:hover {
  background-color: var(--fnh-teal);
  border-color: var(--fnh-teal);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(4, 102, 140, 0.4);
}

/* Legal connections */
.fnh-legal-column {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.fnh-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fnh-legal-link {
  color: var(--fnh-secondary-text);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.fnh-legal-link:hover {
  color: var(--fnh-teal);
}

.fnh-legal-separator {
  color: var(--fnh-red);
  opacity: 0.5;
  font-size: 12px;
}

.fnh-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  margin-top: 5px;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .fnh-discover-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fnh-git-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .fnh-branding-section {
    grid-template-columns: 1fr 1fr;
  }
  .fnh-legal-column {
    justify-content: flex-start;
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .fnh-discover-grid {
    grid-template-columns: 1fr;
  }
  .fnh-values-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .fnh-git-cards-grid {
    grid-template-columns: 1fr;
  }
  .fnh-branding-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .fnh-brand-socials {
    align-items: flex-start;
  }
  .fnh-legal-column {
    grid-column: span 1;
    justify-content: flex-start;
  }
}
