/* Modern Footer CSS - Transductr */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* CSS Variables for consistent styling */
:root {
    --primary-color: #2EB872;
    --secondary-color: #0079BF;
    --primary-light: rgba(46, 184, 114, 0.1);
    --secondary-light: rgba(0, 121, 191, 0.1);
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-dark: #102A43;
    --bg-darker: #0B1F32;
    --bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base Footer Styles */
.modern-footer {
    position: relative;
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(46, 184, 114, 0.05);
    z-index: 1;
}

.modern-footer::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0, 121, 191, 0.05);
    z-index: 1;
}

.modern-footer .container {
    position: relative;
    z-index: 2;
}

/* Footer Top */
.modern-footer-top {
    padding: 80px 0 50px;
    position: relative;
}

/* Footer Logo */
.modern-footer-logo {
    margin-bottom: 25px;
    display: inline-block;
}

.modern-footer-logo img {
    max-height: 60px;
    width: auto;
    transition: var(--transition);
}

.modern-footer-logo:hover img {
    transform: scale(1.05);
}

/* Footer About */
.modern-footer-about {
    margin-bottom: 30px;
}

.modern-footer-about-text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

/* Social Media Icons */
.modern-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.modern-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
}

.modern-footer-social-link:hover {
    background: var(--bg-gradient);
    transform: translateY(-3px);
    color: var(--text-white);
}

/* Footer Widget */
.modern-footer-widget {
    margin-bottom: 30px;
}

.modern-footer-widget-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.modern-footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--bg-gradient);
    border-radius: 3px;
}

/* Quick Links */
.modern-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-footer-links li {
    margin-bottom: 12px;
}

.modern-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.modern-footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.7;
    transition: var(--transition);
}

.modern-footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.modern-footer-links a:hover::before {
    opacity: 1;
    background-color: var(--primary-color);
}

/* Contact Info */
.modern-footer-contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.modern-footer-contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: var(--transition);
}

.modern-footer-contact-item:hover .modern-footer-contact-icon {
    background: var(--bg-gradient);
}

.modern-footer-contact-icon i {
    font-size: 16px;
    color: var(--primary-color);
    transition: var(--transition);
}

.modern-footer-contact-item:hover .modern-footer-contact-icon i {
    color: var(--text-white);
}

.modern-footer-contact-content {
    flex: 1;
}

.modern-footer-contact-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.modern-footer-contact-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.modern-footer-contact-text a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.modern-footer-contact-text a:hover {
    color: var(--primary-color);
}

/* Newsletter */
.modern-footer-newsletter {
    margin-top: 20px;
}

.modern-footer-newsletter-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.6;
}

.modern-footer-newsletter-form {
    position: relative;
    margin-top: 20px;
}

.modern-footer-newsletter-input {
    width: 100%;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0 60px 0 20px;
    color: var(--text-white);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.modern-footer-newsletter-input:focus {
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.modern-footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modern-footer-newsletter-button {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: var(--bg-gradient);
    border: none;
    color: var(--text-white);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-footer-newsletter-button:hover {
    transform: scale(1.05);
}

/* Footer Bottom */
.modern-footer-bottom {
    background-color: var(--bg-darker);
    padding: 20px 0;
    text-align: center;
    position: relative;
}

.modern-footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.modern-footer-copyright .copyright-row {
    font-weight: 500;
    margin-bottom: 5px;
}

.modern-footer-copyright .developer-row {
    font-size: 13px;
    margin-bottom: 10px;
}

.modern-footer-copyright .terms-row {
    font-size: 13px;
}

.modern-footer-copyright .divider {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.4);
}

.modern-footer-copyright a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.modern-footer-copyright a:hover {
    color: var(--secondary-color);
}

/* Back to Top Button */
.modern-back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-gradient);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(46, 184, 114, 0.3);
}

.modern-back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.modern-back-to-top:hover {
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .modern-footer-top {
        padding: 60px 0 30px;
    }
    
    .modern-footer-widget {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .modern-footer-top {
        padding: 50px 0 20px;
    }
    
    .modern-footer-widget-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .modern-footer-logo img {
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .modern-footer-social {
        flex-wrap: wrap;
    }
    
    .modern-footer-bottom {
        padding: 15px 0;
    }
    
    .modern-footer-copyright {
        font-size: 12px;
    }
    
    .modern-footer-copyright .developer-row,
    .modern-footer-copyright .terms-row {
        font-size: 11px;
    }
}
