/* ===== Modernized Footer CSS ===== */
.footer-outer {
    padding: 80px 20px 60px;
    background: #fafafa;
    font-family: 'Poppins', sans-serif;
    color: #22c7b8;
    position: relative;
}
.footer-outer img { max-width: 200px; transition: all 0.3s ease; }
.footer-outer img:hover { transform: scale(1.05); }
.footer-outer p { font-size: 15px; line-height: 1.6; margin-top: 15px; color: #4a4a4a; }
.footer-outer a, .footer-outer a[href^=tel] {
    color: #4f6466; font-weight: 500; text-decoration: none; transition: all 0.3s ease;
}
.footer-outer a:hover, .footer-outer a[href^=tel]:hover { color: #22c7b8; text-decoration: underline; }
.footer-outer h3 { color: #4f6466; font-size: 24px; font-weight: 600; line-height: 1.3; margin-bottom: 25px; cursor: pointer; }
.footer-left { max-width: 400px; padding-right: 30px; }
.footer-left a.btn { display: inline-block; margin-top: 15px; padding: 10px 20px; background: linear-gradient(90deg,#22c7b8,#4f6466); color: #fff; border-radius: 6px; font-weight: 500; transition: all 0.3s ease; }
.footer-left a.btn:hover { background: linear-gradient(90deg,#4f6466,#4f6466); transform: translateY(-2px); }
.footer-outer ul { list-style: none; padding: 0; margin: 0; }
.footer-outer ul li { margin-bottom: 12px; }
.footer-outer ul li a { font-weight: 400; font-size: 14px; }
.footer-outer ul li a:hover { color: #22c7b8; text-decoration: underline; }
.ftr-social ul { display: flex; gap: 15px; padding: 0; margin-top: 20px; }
.ftr-social li img { fill: #999; width: 28px; height: 28px; transition: all 0.3s ease; }
.ftr-social li a:hover img { fill: #22c7b8; transform: scale(1.2); }
.footer-bottom { background-color: #fafafa; color: #4a4a4a; font-size: 13px; padding: 18px 20px; text-align: center; border-top: 1px solid rgba(0,0,0,0.05); }

/* Footer Grid Layout */
.footer-row {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr 1fr 1.2fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}
.footer-left { flex: 0 0 320px; }
.footer-col { flex: 1 1 220px; max-width: 260px; }
.footer-col:first-of-type { max-width: 360px; }

/* Responsive Footer */
@media(max-width:1080px){.footer-row{gap:30px}.footer-col,.footer-left{flex:1 1 100%;max-width:100%;}}
@media(max-width:767px){.footer-row{grid-template-columns:1fr;gap:30px}.footer-col,.footer-left{width:100%}}

/* Mobile Footer Accordion */
@media(max-width:600px){
.footer-outer h3{position:relative;padding-right:35px;cursor:pointer;margin-bottom:10px;}
.footer-outer h3::after{content:"▾";position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:30px;color:#22c7b8;transition:transform 0.3s ease;}
.footer-outer h3.active::after{transform:translateY(-50%) rotate(180deg);}
.footer-outer h3 + *{display:none;padding-top:10px;}
.footer-outer h3.active + *{display:block;}
}
/* ===== Footer Text Enhancements ===== */
.footer-outer p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    letter-spacing: 0.2px;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-outer p:hover {
    color: #22c7b8;
    transform: translateY(-2px);
}

.footer-outer a {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}
.footer-outer a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #22c7b8;
    transition: width 0.3s ease;
}
.footer-outer a:hover::after {
    width: 100%;
}

.footer-outer ul li a {
    font-size: 15px;
    font-weight: 500;
    color: #4f6466;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-outer ul li a:hover {
    color: #22c7b8;
    transform: translateX(3px);
}

.footer-left a.btn {
    font-size: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(34, 199, 184, 0.3);
    transition: all 0.3s ease;
}
.footer-left a.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(34, 199, 184, 0.4);
}

/* Footer headings enhancements */
.footer-outer h3 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}
.footer-outer h3:hover {
    color: #22c7b8;
}

/* Footer social icons hover effects */
.ftr-social li a img {
    transition: all 0.3s ease;
    transform-origin: center;
}
.ftr-social li a:hover img {
    fill: #22c7b8;
    transform: scale(1.3) rotate(10deg);
}


/* Footer social icons */
.ftr-social {
    display: flex;
    gap: 15px;
    padding: 0;
    margin-top: 20px;
}

.ftr-social li img {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
}

.ftr-social li a:hover img {
    transform: scale(1.3); /* hover animation */
}
/* ===============================
   Footer Latest News – FIXED & COMPACT
================================ */

/* Latest News column width control */
.footer-col .rss-recent {
  max-width: 320px;
}

/* Limit visible news items to 2 (prevents long column) */
.footer-col .rss-item:nth-of-type(n+3) {
  display: none;
}

/* Compact spacing between news items */
.rss-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

/* Image stays compact */
.rss-left {
  flex: 0 0 90px;
}

.rss-left img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Text alignment fix */
.rss-rgt {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Title clamp (prevents long titles) */
.rss-rgt h5 {
  font-size: 14.5px;
  line-height: 1.35;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Date compact */
.rss-date p {
  font-size: 12px;
  margin: 0;
  opacity: 0.8;
}


/* ===== END Modernized Footer CSS ===== */