/* Inotek Footer Integration for Helios */

:root {
  --inotek-theme-color: #1053f3;
  --inotek-theme-color2: #0dcaf0; /* Helios Primary fallback */
  --inotek-theme-color3: #061153;
  --inotek-white: #ffffff;
  --inotek-border-rgba: rgba(255, 255, 255, 0.1);
  --inotek-bg-rgba: rgba(255, 255, 255, 0.05);
  --inotek-text-rgba: rgba(255, 255, 255, 0.6);
  --inotek-body-font: 'Manrope', sans-serif;
  --inotek-title-font: 'Manrope', sans-serif;
}

.footer-section {
  position: relative;
  z-index: 99;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background-color: #061153 !important;
  background-image: url('../images/footer/hm1-bg01.webp');
  background-size: cover;
  background-position: center;
  color: var(--inotek-white);
  min-height: 400px;
}

.md-d-none {
  display: block;
}

@media (max-width: 1199px) {
  .md-d-none {
    display: none;
  }
}

.inotek-footer-top {
  padding: 80px 0;
  position: relative;
  display: block !important;
}

.inotek-footer-row {
  display: grid;
  grid-template-columns: 1.5fr 1.8fr 1.2fr; /* Brand, Links(nested), Blog */
  gap: 40px;
}

@media (max-width: 1200px) {
  .inotek-footer-row {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .inotek-footer-row {
    grid-template-columns: 1fr;
  }
}

.inotek-footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 575px) {
  .inotek-footer-links-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  padding-right: 50px;
  position: relative;
}

.footer-brand::after {
  content: "";
  position: absolute;
  top: -40px;
  right: 0;
  width: 1px;
  height: calc(100% + 80px);
  background: var(--inotek-border-rgba);
  z-index: 10;
}

@media (max-width: 991px) {
  .footer-brand {
    padding-right: 15px;
    margin-bottom: 50px;
  }
  .footer-brand::after {
    display: none;
  }
}

.footer-brand .logo {
  margin-bottom: 40px;
}

.footer-brand .contact-info {
  display: flex;
  gap: 40px;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--inotek-border-rgba);
  margin: 0 0 35px;
}

@media (max-width: 1280px) {
  .footer-brand .contact-info {
    gap: 20px;
    flex-direction: column;
  }
}

@media (max-width: 991px) {
  .footer-brand .contact-info {
    border-bottom: none;
  }
}

.footer-brand .contact-info .contact-item .title {
  opacity: 0.5;
  font-size: 18px;
  line-height: 24px;
  text-transform: uppercase;
  color: var(--inotek-white);
  font-weight: 500;
  margin-bottom: 10px;
}

.footer-brand .contact-info .contact-item a {
  color: var(--inotek-white);
  font-size: 16px;
  line-height: 24px;
  font-family: var(--inotek-body-font);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.4s ease;
  white-space: nowrap;
}

.footer-brand .contact-info .contact-item a i {
  color: var(--inotek-theme-color);
}

.footer-brand .contact-info .contact-item a:hover {
  color: var(--inotek-theme-color);
}

.footer-brand .social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .social-links a {
  display: inline-block;
  width: 34px;
  height: 34px;
  color: var(--inotek-white);
  text-align: center;
  line-height: 34px;
  border-radius: 50%;
  background-color: var(--inotek-bg-rgba);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: all 0.4s ease;
}

.footer-brand .social-links a::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background-color: var(--inotek-theme-color);
  z-index: -1;
  transition: all 0.4s ease;
}

.footer-brand .social-links a:hover {
  color: var(--inotek-white);
}

.footer-brand .social-links a:hover::before {
  left: 0;
  width: 100%;
}

.footer-widget .title {
  color: var(--inotek-white);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 30px;
  font-family: var(--inotek-title-font);
}

.footer-widget ul.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.footer-widget ul.list-unstyled li {
  margin-bottom: 11px;
}

.footer-widget ul li a {
  color: #AFB3BB;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  display: inline-block;
  transition: all 0.4s ease 0s;
  white-space: nowrap;
}

.footer-widget ul.list-unstyled li a:hover {
  color: var(--inotek-theme-color);
  padding-left: 18px;
}

.footer-widget ul.list-unstyled li a::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--inotek-theme-color);
  transition: all 0.4s ease;
  opacity: 0;
}

.footer-widget ul.list-unstyled li a:hover::before {
  opacity: 1;
}

.recent-post-item {
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
}

.recent-post-item .image {
  flex-shrink: 0;
}

.recent-post-item .image a {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.recent-post-item .image a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-item .image a::before {
  content: "\f0c1"; /* FA link icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 83, 243, 0.8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transform: scale(0);
  transition: all 0.4s ease;
  border-radius: 16px;
  z-index: 1;
}

.recent-post-item:hover .image a::before {
  transform: scale(1);
}

.recent-post-info .post-date {
  opacity: 0.5;
  font-size: 14px;
  color: var(--inotek-white);
  margin-bottom: 5px;
  display: block;
}

.recent-post-info .title {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  margin: 0;
}

.recent-post-info .title a {
  color: var(--inotek-white);
  text-decoration: none;
  transition: all 0.4s ease;
}

.recent-post-info .title a:hover {
  color: var(--inotek-theme-color) !important;
}

.footer-section .footer-top,
.footer-section .footer-bottom {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.inotek-footer-bottom {
  border-top: 1px solid var(--inotek-border-rgba);
  padding: 30px 0;
  position: relative;
  display: block !important;
}

.inotek-footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 767px) {
  .inotek-footer-bottom-flex {
    flex-direction: column;
    text-align: center;
  }
}

.footer-bottom p {
  color: var(--inotek-white);
  font-size: 15px;
  margin: 0;
}

.footer-bottom .footer-policy a {
  color: var(--inotek-white);
  font-size: 15px;
  margin-left: 25px;
  text-decoration: none;
  position: relative;
}

.footer-bottom .footer-policy a + a::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 15px;
  background: rgba(255, 255, 255, 0.3);
}

.footer-bottom .footer-policy a:hover {
  color: var(--inotek-theme-color2);
}

/* Utilities */
.bg-dark {
  background-color: #061153 !important;
}

.br-30 {
  border-radius: 30px;
}

.xxl-br-0 {
  border-radius: 0;
}

.mx-30 {
  margin-left: 30px;
  margin-right: 30px;
}

.mb-30 {
  margin-bottom: 30px;
}

@media (max-width: 1399px) {
  .xxl-br-0 {
    border-radius: 0;
  }
  .xxl-m-0 {
    margin: 0;
  }
}
