:root {
    --footer-bg-color: #20295f;
    --footer-text-color: #ffffff;
    --footer-pink-accent: #ee6b9e;
    --footer-input-bg: #3b4377; /* Kept if needed elsewhere, not for newsletter now */
    --footer-divider-color: #4a5280;
    --footer-link-hover-color: #f0f0f0;
}

.new-design-footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
    border-radius: 25px;
    padding-top: 20px !important;
    padding-bottom: 0 !important;
    position: relative;
    overflow: hidden;
}

.footer-cta-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-left: 15px;
    padding-right: 15px;
}

.footer-cta-section .cta-content {
    flex-basis: 70%;
}

.footer-cta-section .cta-heading {
  
    font-weight: bold;
    color: var(--footer-text-color);
    margin-bottom: 0.5em;
    line-height: 1.2;
}

.footer-cta-section .cta-subtext {
    font-size: 1rem;
    color: var(--footer-text-color);
    opacity: 0.9;
    margin-bottom: 0;
    max-width: 90%;
}

.footer-cta-section .cta-button-container {
    flex-shrink: 0;
    position: relative; /* For positioning the arrow */
}

.cta-pink-button {
    background-color: var(--footer-pink-accent);
    color: var(--footer-text-color);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex; /* For centering the arrow */
    justify-content: center;
    align-items: center;
    text-decoration: none;
    position: relative; /* Needed for SVG absolute positioning if text was outside */
    transition: transform 0.3s ease;
}
.cta-pink-button:hover {
    transform: scale(1.05);
}

.rotating-text-svg {
    width: 100%;
    height: 100%;
    overflow: visible; /* Important for textPath to render correctly */
    animation: rotateText 20s linear infinite;
}

.rotating-text-content {
    font-size: 10px; /* Adjust as needed for your text length and circle size */
    font-weight: 500;
    fill: var(--footer-text-color);
    letter-spacing: 1.5px; /* Adjust spacing */
}

.cta-arrow-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem; /* Adjust arrow size */
    color: var(--footer-text-color);
}

@keyframes rotateText {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


.footer-divider, .footer-divider-bottom {
    border: 0;
    border-top: 1px solid var(--footer-divider-color);
    margin: 0;
}
.footer-divider {
    margin-bottom: 1.5rem;
}

.main-footer-content .single-footer-widget {
    color: var(--footer-text-color);
}

.main-footer-content .single-footer-widget h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--footer-text-color);
    margin-bottom: 1.5rem;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.ferlix-logo-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.ferlix-logo-text {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--footer-text-color);
    line-height: 1;
}

.footer-description {
    font-size: 0.95rem;
    color: var(--footer-text-color);
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.social-links li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--footer-text-color);
    border-radius: 50%;
    color: var(--footer-text-color);
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.social-links li a:hover {
    background-color: var(--footer-pink-accent);
    border-color: var(--footer-pink-accent);
    color: var(--footer-text-color);
}

.main-footer-content .quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer-content .quick-links li {
    margin-bottom: 0.8rem;
}

.main-footer-content .quick-links li:last-child {
    margin-bottom: 0;
}

.main-footer-content .quick-links li a {
    color: var(--footer-text-color);
    opacity: 0.85;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.main-footer-content .quick-links li a:hover {
    opacity: 1;
    color: var(--footer-link-hover-color);
}

/* Contact Info List Styles */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-info-list li {
    display: flex;
    align-items: flex-start; /* Align icon with the first line of text */
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--footer-text-color);
    opacity: 0.85;
}
.contact-info-list li:last-child {
    margin-bottom: 0;
}
.contact-info-list li i {
    font-size: 1.2rem;
    margin-right: 10px;
    margin-top: 2px; /* Slight adjustment for vertical alignment */
    color: var(--footer-text-color); /* Ensure icon color matches */
}
.contact-info-list li a {
    color: var(--footer-text-color);
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease;
}
.contact-info-list li a:hover {
    opacity: 1;
    color: var(--footer-link-hover-color);
}


.footer-bottom-wrapper {
    padding-bottom: 1.5rem; /* Add padding at the very bottom of the footer */
}
.footer-divider-bottom {
    margin-top: 1rem; /* Space above the last divider */
    margin-bottom: 1.5rem;
}

.footer-copyright-and-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--footer-text-color);
    opacity: 0.85;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 10px; /* Space between items if they wrap */
}
.copyright-text {
    text-align: left;
}

.footer-copyright-and-links .legal-links a {
    color: var(--footer-text-color);
    text-decoration: none;
    margin: 0 5px;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-copyright-and-links .legal-links a:hover {
    opacity: 1;
    color: var(--footer-link-hover-color);
    text-decoration: underline;
}


@media (max-width: 991px) {
    .footer-cta-section {
        flex-direction: column;
        text-align: center;
    }
    .footer-cta-section .cta-content {
        flex-basis: auto;
        margin-bottom: 20px;
    }
    .footer-cta-section .cta-subtext {
        max-width: 100%;
    }
    .main-footer-content .single-footer-widget {
        text-align: center;
    }
    .footer-logo-area, .social-links, .contact-info-list li {
        justify-content: center;
    }
    .contact-info-list li {
        text-align: left; /* Keep text left aligned even if container is centered */
        display: inline-flex; /* Helps with centering if items are short */
        width: auto; /* Adjust if needed for better centering */
    }
     .footer-copyright-and-links {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .legal-links {
        order: -1; /* Moves links above copyright text on small screens if desired */
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .new-design-footer {
        border-radius: 20px;
    }
    .footer-cta-section .cta-heading {
        font-size: 2rem;
    }
    .footer-cta-section .cta-subtext {
        font-size: 0.9rem;
    }
    .cta-pink-button {
        width: 110px;
        height: 110px;
    }
    .rotating-text-content {
        font-size: 8px; /* Smaller text for smaller button */
        letter-spacing: 1px;
    }
    .cta-arrow-icon {
        font-size: 2rem;
    }

    .main-footer-content .single-footer-widget h3 {
        font-size: 1.1rem;
    }
    .ferlix-logo-text {
        font-size: 1.8rem;
    }
    .legal-links {
        order: 0; /* Reset order or adjust as preferred */
        margin-bottom: 0;
        margin-top:10px; /* Space between links and copyright text */
    }
    .footer-copyright-and-links {
        padding-bottom: 10px; /* Ensure some space at the bottom */
    }
}