/* Custom Footer Styling for Consistent Font Sizes Across All Pages */

/* Footer font size improvements */
.cs-constr-footer-content {
  font-size: 16px;
}

.cs-constr-footer-content h6 {
  font-size: 18px !important;
  font-weight: 700;
  margin-bottom: 15px;
}

.cs-constr-footer-content p {
  font-size: 16px !important;
  line-height: 1.6;
  opacity: 0.9;
}

.cs-constr-footer-menu ul li {
  font-size: 15px !important;
  padding-bottom: 15px !important;
}

.cs-constr-footer-menu ul li a span {
  font-size: 15px !important;
  font-weight: 500;
}

.cs-newsletter-email {
  font-size: 14px !important;
  padding: 12px 15px !important;
}

.cs-newsletter-btn {
  font-size: 14px !important;
  font-weight: 600;
}

.theme-social ul li a i {
  font-size: 18px !important;
}

.cs-footer-widget-title h6 {
  font-size: 18px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile responsive footer */
@media screen and (max-width: 768px) {
  .cs-constr-footer-content h6 {
    font-size: 16px !important;
  }
  
  .cs-constr-footer-content p {
    font-size: 14px !important;
  }
  
  .cs-constr-footer-menu ul li {
    font-size: 14px !important;
  }
  
  .cs-constr-footer-menu ul li a span {
    font-size: 14px !important;
  }
}

/* Additional footer improvements */
.cs-footer-widget {
  margin-bottom: 30px;
}

.cs-footer-widget-title {
  margin-bottom: 20px;
}

/* Contact information styling */
.cs-footer-widget .cs-text-style-h4 {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: white !important;
  line-height: 1.4 !important;
}

.cs-footer-widget .cs-font-size-20 {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.5 !important;
}

.cs-footer-widget p {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  margin-bottom: 5px !important;
}

.cs-footer-widget a {
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.cs-footer-widget a:hover {
  color: var(--theme-color, #696969) !important;
}

/* Contact section spacing */
.cs-footer-widget .cs-height-30 {
  height: 20px !important;
}

.cs-footer-widget .cs-height-5 {
  height: 5px !important;
}

/* Mobile responsive for contact info */
@media screen and (max-width: 768px) {
  .cs-footer-widget .cs-text-style-h4 {
    font-size: 15px !important;
  }
  
  .cs-footer-widget .cs-font-size-20 {
    font-size: 14px !important;
  }
  
  .cs-footer-widget p {
    font-size: 13px !important;
  }
}

.cs-constr-newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-newsletter-email {
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.cs-newsletter-email::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.cs-newsletter-btn {
  border-radius: 5px;
  padding: 12px 20px;
  background: var(--theme-color, #696969);
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cs-newsletter-btn:hover {
  background: var(--theme-color-hover, #e55a2b);
  transform: translateY(-2px);
}

.theme-social ul {
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-social ul li a {
  display: flex;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.theme-social ul li a:hover {
  background: var(--theme-color, #696969);
  transform: translateY(-3px);
}

/* Layout and positioning fixes for footer */
.cs-constr-footer-content .row {
  align-items: flex-start;
  row-gap: 30px; /* space between wrapped columns */
}

@media (min-width: 992px) {
  .cs-constr-footer-content .row {
    column-gap: 30px; /* breathing room between columns on large screens */
  }
}

/* Tighter widget spacing */
.cs-footer-widget {
  margin-bottom: 20px; /* was 30px */
}

/* Improve text flow and width inside widgets */
.cs-footer-widget > div > p,
.cs-footer-widget p {
  margin-bottom: 8px !important;
  max-width: 520px;
}

/* Logo sizing and alignment */
.cs-footer-widget img {
  max-width: 180px;
  height: auto;
  display: block;
}

/* Keep social icons aligned neatly */
.theme-social { display: flex; }
.theme-social ul { justify-content: flex-start; }

/* Make columns stretch uniformly and widgets fill column width */
.cs-constr-footer-content .container .row > [class*='col-'] { display: flex; }
.cs-constr-footer-content .container .row > [class*='col-'] .cs-footer-widget { width: 100%; }
