/*
Theme Name: Fintegia Child Theme
Template: kadence
Author: Kuku Ore
Version: 1.0
Description: A custom child theme for Fintegia, built on Kadence.
*/



/* ===============================
   Fintegia Custom Styles
   =============================== */

/* 1. Header Layout Adjustments */
.site-main-header-inner-wrap {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  height: var(--header-height, 100px) !important;
  background-color: #014421 !important; 
}

.site-header-main-section-left {
  flex: 0 0 auto !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
}

.custom-logo {
  max-height: 200px !important;
  width: auto !important;
  object-fit: contain;
  display: block !important;
}

.site-header-main-section-right {
  flex: 1 1 auto !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

#primary-menu {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

#primary-menu li {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

/* Header Navigation Font and Color */
#primary-menu li a {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500;
  color: white !important;
  padding: 0 20px !important;
}


#primary-menu li a {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 20px !important;
}

/* On hover */ 
#primary-menu li a:hover {
  color: #25D366 !important; /* WhatsApp green or any accent */
}

/* Added on July 22, 2025 for logo alignment */
/* Fine-tune logo alignment with header nav */
.site-header-main-section-left {
  padding-left: 30px !important;  /* Tweak value as needed */
}

@media (min-width: 1024px) {
  .site-header-main-section-left {
    padding-left: 45px !important;  /* Desktop-specific adjustment */
  }
}


/* 2. Carousel Styles */
.kb-carousel-parent {
  position: relative;
}

.kb-carousel-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kb-carousel-item {
  display: none;
  animation: fade 0.5s ease-out;
}

.kb-carousel-item.active {
  display: block;
}

.kb-carousel-item h3 {
  color: #0D6448;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
}

.kb-carousel-item p {
  color: #333;
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-family: 'Montserrat', sans-serif;
}

/* Carousel Navigation */
.kb-carousel-nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kb-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.kb-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(13, 100, 72, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.kb-carousel-dot.active {
  background: #0D6448;
  transform: scale(1.2);
}

.kb-carousel-arrows {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.kb-carousel-arrow {
  background: rgba(13, 100, 72, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.kb-carousel-arrow:hover {
  background: #0D6448;
  transform: scale(1.1);
}

/* Animation */
@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Shared Layout */
.shared-row-wrapper {
  display: flex;
  gap: 30px;
  align-items: stretch;
  width: 100%;
}

/* 3. Footer Quick Links */
.footer-quick-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: white;
}

.footer-quick-links h4 {
  margin: 0 0 5px 0;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  color: white !important;
}

.footer-quick-links a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

.footer-quick-links a:hover {
  color: #25D366;
}

/* 4. WhatsApp Floating Button */
.floating-whatsapp {
  position: fixed;
  bottom: 110px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: all 0.3s ease;
  font-family: Verdana, sans-serif;
}

.floating-whatsapp:hover {
  background-color: #128C7E;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 80px;
    right: 15px;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
  }

  .floating-whatsapp img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }
}

/* 5. Responsive Carousel */
@media (max-width: 1024px) {
  .kb-carousel-container {
    min-height: 400px;
    padding: 30px;
  }

  .kb-carousel-item h3 {
    font-size: 1.6rem;
  }

  .shared-row-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .kb-carousel-container {
    padding: 25px;
    min-height: 350px;
  }
}


.fintegia-footer-socials {
  display: flex;
  justify-content: center;       /* horizontally center inside column */
  align-items: center;
  gap: 15px;
  padding: 0;
  height: 100%;

  position: relative;
  top: 50%;
  transform: translateY(-50%);
}



.fintegia-footer-socials .footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0D6448;     /* match your footer background */
  border-radius: 50%;
  width: 44px;
  height: 44px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.fintegia-footer-socials .footer-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.fintegia-footer-socials .footer-icon:hover {
  background-color: #25D366;     /* hover color */
  transform: scale(1.1);
}
