/* Container holds everything with a solid white base */
.mrn-final-footer-container {
    position: relative;
    width: 100%;
    background-color: #ffffff; /* Clean white background */
    overflow: hidden;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* The Wave Background Layer anchored to the top */
.mrn-wave-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    pointer-events: none;
    line-height: 0;
}

.mrn-wave-bg-layer svg {
    width: 100%;
    height: 250px; /* Adjust height to make wave deeper or shallower */
    display: block;
}

/* Footer Content - Pushed below the wave */
.mrn-actual-footer {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 44px; /* tuned for consistent vertical rhythm */
    color: #111;
}

.mrn-actual-footer p {
    margin-top: 14px;
}

.mrn-footer-top-row {
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) 2fr;
    gap: 48px;
    margin-bottom: 20px;
    align-items: start;
}

.mrn-footer-info-brand {
    text-align: left;
    min-width: 0;
}

.mrn-footer-info-brand .logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.mrn-footer-info-brand .logo img {
    display: block;
    max-width: 140px;
    height: auto;
}

.mrn-brand-tagline {
    color: #666;
    font-size: 0.95rem;
    margin: 14px 0 0;
    font-weight: 500;
    line-height: 1.6;
}

.mrn-footer-columns-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
    flex-grow: 1;
    max-width: 860px;
    width: 100%;
    align-items: start;
}

.mrn-col {
    min-width: 0;
    text-align: left;
}

.mrn-col-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #333;
}

.mrn-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mrn-list li {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mrn-list li:last-child {
    margin-bottom: 0;
}

.mrn-list li a{
    font-size: 0.9rem;
    color: #666;
   text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.45;
}
.mrn-list li a:hover {
    color: #ea580c;
    transform: translateX(2px);
}

/* Bottom Copyright Bar */
.mrn-footer-copyright-bar {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.mrn-social-links-footer a {
    text-decoration: none;
    color: inherit;
}

.mrn-social-links-footer i {
    margin: 0 10px;
    color: #444;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mrn-social-links-footer i:hover {
    color: #ea580c;
    transform: translateY(-2px);
}

.mrn-copy-txt,
.mrn-legal-footer span {
    color: #888;
    font-size: 0.85rem;
}

.mrn-copy-txt {
    margin: 0;
}

.mrn-legal-footer span {
    margin-left: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mrn-legal-footer span:hover {
    color: #ea580c;
}
/* Contact Info Container */
.mrn-contact-info {
 display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

/* Individual Contact Items */
.contact-item {
  display: flex;
  align-items: flex-start; /* Keeps icon at the top if text wraps */
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.contact-icon {
  flex-shrink: 0; /* Prevents the icon from squeezing on small screens */
  color: #ea580c; /* Change this to your brand's primary color */
  margin-top: 2px; /* Slight nudge to align with text baseline */
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Link and Button Styling */
.contact-item a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #e76d2b;
}

.email-item {
  align-items: center; /* Centers the copy button with the email */
}
/* --- RESPONSIVE DESIGN --- */

@media (max-width: 991px) {
    .mrn-footer-top-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .mrn-footer-columns-wrap {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .mrn-footer-columns-wrap {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
        gap: 30px;
    }
    .mrn-footer-copyright-bar {
        flex-direction: column;
        text-align: center;
    }
    .mrn-legal-footer span {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .mrn-actual-footer {
        padding-top: 80px; /* Less padding needed for smaller wave on mobile */
    }
    .mrn-footer-columns-wrap {
        grid-template-columns: 1fr; /* Stack into 1 column on mobile */
        gap: 30px;
    }
}
