/* ==========================================
   Custom Footer Styles
   ========================================== */

.footer {
   position: relative;
   overflow: hidden;
   width: 100%;
   background:
      radial-gradient(circle at top left, rgba(255, 255, 255, 0.7) 0%, transparent 25%),
      radial-gradient(circle at bottom right, rgba(191, 155, 107, 0.20) 0%, transparent 30%),
      linear-gradient(135deg, #faf7f2 0%, #efe3d2 45%, #dcc1a0 100%);
   border-top: 1px solid rgba(255, 255, 255, 0.5);
}

/* PREMIUM WAVES */
.footer::before {
   content: "";
   position: absolute;
   top: -120px;
   left: -5%;
   width: 110%;
   height: 220px;
   background: rgba(255, 255, 255, 0.25);
   border-radius: 0 0 50% 50%;
   transform: rotate(-2deg);
}

.footer::after {
   content: "";
   position: absolute;
   bottom: -160px;
   right: -10%;
   width: 120%;
   height: 260px;
   background: rgba(184, 145, 92, 0.12);
   border-radius: 50% 50% 0 0;
   transform: rotate(2deg);
}

.footer-top {
   position: relative;
   z-index: 2;
   display: flex;
   justify-content: space-between;
   gap: 20px;
   padding: 70px 70px 55px;
   flex-wrap: wrap;
}

/* GLASS CARDS */
.footer-box {
   flex: 1;
   min-width: 220px;
   padding: 30px 28px;
   background: rgba(255, 255, 255, 0.25);
   backdrop-filter : blur(14px);
   border: 1px solid rgba(255, 255, 255, 0.3);
   border-radius: 28px;
   transition: 0.4s ease;
   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.logo-section {
   text-align: center;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
}

.rx-logo img {
   width: 220px;
   height: auto;
   margin-bottom: 18px;
}

.logo {
   width: 98px;
}

.description {
   font-size: 14px;
   line-height: 1.9;
   color: #314136;
   font-weight: 500;
}

.title {
   font-size: 15px;
   letter-spacing: 3px;
   margin-bottom: 32px;
   color: #2d3a32;
   text-transform: uppercase;
   font-weight: 600;
}

/* EXPLORE */
.explore-links {
   display: flex;
   flex-wrap: wrap;
   gap: 20px;
}

.explore-item {
   width: calc(33.33% - 14px);
   text-align: center;
   font-size: 13px;
   color: #333;
   transition: 0.3s ease;
}
.explore-item a {
   text-align: center;
   font-size: 13px;
   color: #333;
   transition: 0.3s ease;
}

.explore-item:hover {
   transform: translateY(-4px);
}

.explore-item i {
   width: 48px;
   height: 48px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 12px;
   border-radius: 50%;
   background: linear-gradient(135deg, #b89467, #8c6a3d);
   color: #fff;
   font-size: 17px;
   box-shadow: 0 8px 18px rgba(140, 106, 61, 0.25);
}

@media(max-width:576px) {
   .explore-links {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
   }

   .explore-item {
      font-size: 12px;
   }

   .explore-item i {
      width: 42px;
      height: 42px;
      font-size: 15px;
   }
}

/* CONTACT */
.contact-item {
   display: flex;
   gap: 14px;
   margin-bottom: 22px;
   font-size: 14px;
   line-height: 1.9;
   color: #3f3f3f;
}

.contact-item i {
   width: 36px;
   height: 36px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   background: rgba(184, 145, 92, 0.12);
   color: #8c6a3d;
   font-size: 14px;
   flex-shrink: 0;
}

/* SOCIAL */
.social-icons {
   display: flex;
   gap: 14px;
   margin-top: 35px;
}

.social-icons a {
   width: 42px;
   height: 42px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(255, 255, 255, 0.5);
   border: 1px solid rgba(184, 145, 92, 0.25);
   color: #8c6a3d;
   text-decoration: none;
}

.social-icons a:hover {
   background: #8c6a3d;
   color: #fff;
}

/* BOTTOM BAR */
.footer-bottom {
   position: relative;
   z-index: 2;
   margin: 0 40px 35px;
   border-radius: 24px;
   background: linear-gradient(135deg, #b89563, #8c6a3d);
   padding: 22px 35px;
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   box-shadow: 0 10px 35px rgba(140, 106, 61, 0.25);
}

.footer-info-box {
   display: flex;
   align-items: center;
   gap: 20px;
}

.info-card {
   display: flex;
   align-items: center;
   gap: 10px;
}

.info-card i {
   width: 36px;
   height: 36px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   background: white;
   color: #987647;
}

.info-card h4 {
   color: #fff;
   font-size: 14px;
   margin: 0;
   margin-top: 6px;
}

.copyright {
   font-size: 14px;
   color: #fff !important;
   letter-spacing: 0.5px;
}

.footer-links {
   display: flex;
   gap: 14px;
   align-items: center;
}

.footer-links a {
   color: #fff;
   text-decoration: none;
   font-size: 14px;
   transition: 0.3s;
}

.footer-links a:hover {
   opacity: 0.8;
}

/* MAP */
.map-arrow {
   color: #9b6b2f;
   font-size: 14px;
   transition: 0.3s;
}

.map-arrow:hover {
   transform: translateX(2px);
}

/* RESPONSIVE */
@media(max-width:992px) {
   .footer-top {
      padding: 50px 20px;
      flex-direction: column;
   }

   .footer-box {
      width: 100%;
   }

   .footer-bottom {
      margin: 0 20px 25px;
      gap: 18px;
      text-align: center;
      justify-content: center;
   }

   .footer-info-box {
      justify-content: center;
      width: 100%;
   }
}

@media(max-width:576px) {
   .footer-bottom {
      padding: 20px;
   }

   .title {
      font-size: 16px;
   }
}

/* Laptop / Mid-size screen fixes */
@media (min-width: 993px) and (max-width: 1440px) {
   .footer-top {
      padding: 50px 30px;
      gap: 15px;
   }

   .footer-box {
      padding: 25px 15px;
      min-width: auto;
   }

   .contact-item {
      font-size: 13px;
      gap: 10px;
      margin-bottom: 16px;
   }

   .contact-item i {
      width: 32px;
      height: 32px;
      font-size: 13px;
   }

   .title {
      font-size: 13px;
      margin-bottom: 24px;
      letter-spacing: 1px;
   }

   .explore-item {
      font-size: 12px;
   }

   .explore-item i {
      width: 38px;
      height: 38px;
      font-size: 14px;
   }

   .rx-logo img {
      width: 180px;
   }
}

@media (min-width:1024px) and (max-width:1670px) {
   .desktop-break {
      display: none;
   }

   .address-text {
      line-height: 1.8;
   }
}

.email-text {
   font-family: Arial, sans-serif;
   word-break: break-all;
}

/* MOBILE FOOTER ACCORDION */
@media (max-width: 576px) {
   .footer-box:not(.logo-section) {
      padding: 0;
      border-radius: 24px;
      overflow: hidden;
   }

   .footer-box:not(.logo-section)>.title {
      position: relative;
      margin: 0;
      padding: 25px 22px;
      font-size: 14px;
      letter-spacing: 2px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
   }

   .footer-box:not(.logo-section)>.title::after {
      content: "\f107";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      font-size: 14px;
      transition: transform 0.3s ease;
   }

   .footer-box:not(.logo-section).active>.title::after {
      transform: rotate(180deg);
   }

   .footer-box:not(.logo-section)>.title~* {
      display: none;
   }

   .footer-box:not(.logo-section).active>.title~* {
      display: block;
   }

   .footer-box:not(.logo-section).active .explore-links {
      display: flex;
      padding: 0 22px 25px;
   }

   .footer-box:not(.logo-section).active .contact-item {
      display: flex;
      margin-left: 22px;
      margin-right: 22px;
   }

   .footer-box:not(.logo-section).active .contact-item:last-child {
      margin-bottom: 25px;
   }

   .footer-top {
      gap: 15px;
   }
}

/* Hide ONLY Elfsight watermark / badge link */
a[href*="elfsight.com/instagram-feed-instashow"],
.elfsight-app-15d75ec7-b0e7-44a7-93b2-c2bded9f5338 a[href*="elfsight"],
a[class*="eapps-link"],
div[class*="BadgeContainer"] {
   display: none !important;
   opacity: 0 !important;
   visibility: hidden !important;
   pointer-events: none !important;
}